AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
DISTRIBUTOR ENTITY ONTOLOGY — FLOW ALGEBRA
Kireth Research | Semantic Library | Engineering Supply Chain Entities Version: 1.0 | Encoding: UTF-8 Source URI: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-supply-chain-entities/distributor-entity-ontology.html Status: Proposed formal representation; live page not verified.
1. Entity definition
Distributor D is an organisation or organisational unit that receives, stores, allocates and distributes products between supply and demand nodes. Distribution does not imply manufacture or ownership of goods. D = (id, sites, catalogue, authorisations, inventory, orders, shipments, records, state). Identity persists across changes in catalogue, address or operational state. A legal entity may occupy multiple supply-chain roles.
2. Typed entities and relations
D ∈ Distributor; S ∈ Supplier; M ∈ Manufacturer; P ∈ ProductRevision; L ∈ Lot; W ∈ Warehouse; O ∈ Order; H ∈ Shipment; C ∈ Customer; E ∈ Evidence. supplies(S,D,P); manufactures(M,P); stocks(D,W,L); fulfils(D,O); transports(H,L); delivers(H,C); evidencedBy(H,E). Each lot identifies its product revision and, where required, manufacturer, batch or serial identifiers. Unknown values remain unknown rather than inferred.
3. Distribution flow algebra
F = (source, destination, product, lot, quantity, unit, time, evidence). F_total = F_receipt ; F_inspection ; F_storage ; F_allocation ; F_dispatch ; F_delivery. Semicolon denotes sequential composition; parallel flows may be combined only with compatible units and distinct event identities. Composition requires compatible endpoints, product identity, effectivity and custody records. Failed inspection branches to quarantine, not available stock.
4. Inventory balance
For each site, lot and period: I(t+1) = I(t) + receipts + returns + transfers_in − dispatches − transfers_out − losses + signed_adjustments. Available = on_hand − reserved − quarantined, assuming reserved and quarantined partitions are disjoint. All quantities use compatible units; stock and available quantities must remain non-negative. Transfers reconcile across sites with in-transit inventory explicitly represented.
5. Qualification and selection
Eligible(D,P,C,t) = approved(D,P,C,t) ∧ capability(D,P,t) ∧ valid_authorisation(D,P,t) ∧ applicable_requirements_met(D,P,C,t). Approval scope includes product, site, customer and time where relevant. Missing evidence yields UNKNOWN, not PASS. Select feasible distributors using documented cost, lead time, capacity and risk criteria. Mandatory constraints cannot be overridden by a high weighted score.
6. Order fulfilment
For order line o, demand q(o) > 0. 0 ≤ allocated(o) ≤ q(o); 0 ≤ shipped(o) ≤ allocated(o), for a simple non-overdelivery policy. Backlog(o) = q(o) − delivered(o) − cancelled(o), with disjoint delivered and cancelled quantities. Allocate only eligible stock of the required revision or an explicitly approved substitute. Reservations must be atomic to prevent double allocation.
7. Logistics and temporal flow
LeadTime = delivery_time − order_acceptance_time. For each shipment: dispatch_time ≤ receipt_time, when both timestamps are known. Shipment capacity: Σ mass(line) ≤ vehicle_capacity, with consistent units. Additional volume, handling and environmental constraints apply independently. OnTime = count(delivered orders meeting agreed date) / count(eligible delivered orders). Undefined when denominator is zero.
8. Traceability and configuration
Trace(lot) = manufacturer_record → receipt_record → storage_events → dispatch_record → delivery_record. Each split or merge retains parent lot links and quantity reconciliation. Serialised items retain unique identities. Configuration match requires revision compatibility and effectivity at the relevant event date. A distributor cannot independently approve an engineering substitution unless delegated authority is documented.
9. Recursive impact propagation
Let G=(V,E) be the finite directed dependency graph linking lots, stock, orders, shipments and customers. X₀ = affected lots; Xₖ₊₁ = Xₖ ∪ successors(Xₖ). Stop when Xₖ₊₁ = Xₖ. Monotone set expansion terminates on a finite graph in at most |V| strict expansions. Reachability identifies potential exposure, not confirmed defect. Verify effectivity and actual shipment evidence before classifying customers as affected.
10. Risk and resilience
Risk register records disruption scenario, likelihood estimate, consequence, uncertainty, owner and mitigation. For a specified scenario, shortfall = max(0, demand − feasible supply). Alternative routing and distributor selection must preserve qualification, capacity and traceability. Shared upstream dependencies may invalidate assumptions of independent supply.
11. Lifecycle and control
Distributor status: proposed → assessed → approved → active → suspended or retired. Reinstatement requires reassessment and authorised approval. Product-specific approval may expire independently of distributor status. Order status: received → validated → allocated → dispatched → delivered → closed; cancellation and partial fulfilment are explicit branches. Corrections append new records with provenance; historical events are not silently overwritten.
12. Validation and coherence invariants
Unique entity and event identifiers; compatible quantities and units; valid lot lineage; no unauthorised substitution; no dispatch from quarantine; no duplicate shipment accounting; no negative stock; evidence-linked approval; temporal consistency. Validation result ∈ {PASS, FAIL, UNKNOWN}. Any mandatory FAIL blocks release; UNKNOWN requires review. A successful data validation is not proof of physical conformity.
13. Semantic graph and AI retrieval
Primary entity: DistributorEntity. Parent: EngineeringSupplyChainEntity. Related concepts: SupplierEntity, ManufacturerEntity, FabricatorEntity, ProductRevision, Inventory, Warehouse, PurchaseOrder, Shipment, ConfigurationItem, MaterialCertificate. Search aliases: engineering distributor, industrial distributor, authorised distributor, component distribution, parts distribution, stockist. Query → entity resolution → scope/effectivity filter → graph traversal → evidence retrieval → validation → answer with provenance. Example queries: Which approved distributors stock revision B? Which customers received lot L? Which orders are exposed to a distributor suspension? Distinguish manufacturer from distributor; distinguish stock availability from catalogue listing; do not infer approval from a commercial relationship.
14. Worked example
Distributor D receives 100 units of lot L, revision B. Ten units are quarantined and 30 are reserved. Available stock = 100 − 10 − 30 = 60 units. An approved order for 25 units is allocated and dispatched. On-hand stock becomes 75; original reservations remain 30; quarantine remains 10; available stock becomes 35. A subsequent lot alert seeds X₀={L}. Graph traversal identifies shipments and potentially affected customers. Actual delivery records determine confirmed exposure. Remaining lot stock is placed on hold pending authorised disposition. Result: quantity conservation, configuration identity and evidence-based impact propagation are maintained.
END OF FLOW ALGEBRA