Skip to main content

Material Cost Ontology

Engineering Cost Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 December 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
MATERIAL COST ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-01
Branch: Engineering Entities / Engineering Cost Entities
Canonical reference: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/material-cost-ontology.html
Status: Proposed formal representation; live page not verified.

01. ENTITY DEFINITION
MaterialCost ⊆ EngineeringCost
A MaterialCost is a monetary valuation of material acquisition, consumption or loss within a defined engineering boundary and accounting period.
MC = (id, material, quantity, unit, rate, currency, basis, time, scope, revision, evidence, status)
Distinguish actual, estimated, committed and standard costs; they are alternative measurement bases, not additive categories.

02. ENTITY GRAPH
MaterialCost → values → MaterialQuantity
MaterialCost → references → MaterialSpecification
MaterialCost → originatesFrom → PurchaseOrderLine
MaterialCost → allocatedTo → WorkPackage
MaterialCost → associatedWith → MaterialBatch
MaterialCost → measuredAgainst → CostBaseline
MaterialCost → supportedBy → Invoice / GoodsReceipt / InventoryIssue
MaterialCost → contributesTo → ManufacturingCost / EngineeringCost
MaterialCost → affectedBy → EngineeringChange / SupplyChainRisk
Relations are proposed semantic predicates, not verified published identifiers.

03. FLOW COMPOSITION
Requirement → BOM → MaterialDemand → Procurement → Receipt → Inventory → Issue → Transformation → Product / Scrap
F_total = F_issue ∘ F_inventory ∘ F_receipt ∘ F_procurement ∘ F_demand
Composition is evaluated right to left; each transition preserves source identifiers and units.
Information flows may precede physical flows; commitments do not imply receipt or consumption.

04. QUANTITY AND YIELD ALGEBRA
For net material requirement Q_net ≥ 0 and yield 0 < y ≤ 1:
Q_gross = Q_net / y
Q_loss = Q_gross − Q_net
For discrete purchasing, Q_order = pack × ceil(Q_gross / pack), subject to minimum order quantity.
Q_order − Q_gross is surplus stock, not automatically waste.
Mass balance: M_input = M_product + M_scrap + M_other_loss + ΔM_WIP, for a consistent physical boundary.
Do not combine incompatible quantity units without documented conversion.

05. ACQUISITION COST
C_purchase = Σ_i q_i p_i
C_landed = C_purchase − discounts + freight + duties + nonrecoverable taxes + attributable handling
p_landed = C_landed / Q_received, if Q_received > 0 and costs refer to that receipt.
Recoverable taxes are excluded from the material cost basis.
Shared freight allocation uses documented weights w_i ≥ 0 with Σ_i w_i = 1.
C_freight,i = w_i C_freight
Currency normalisation: C_base = C_foreign × FX(base currency per foreign currency, valuation date).

06. INVENTORY AND CONSUMPTION
Q_close = Q_open + Q_receipt + Q_return_in − Q_issue − Q_return_out − Q_writeoff + Q_adjustment
Inventory quantity and valuation ledgers must reconcile independently.
Weighted average rate (before issue) = (V_open + V_receipt)/(Q_open + Q_receipt), for positive denominator and compatible material pools.
C_issue = Σ_l q_issue,l × p_valuation,l
FIFO, weighted average or specific identification must be explicitly recorded; do not mix methods silently.
C_net_consumption = C_issue − C_returns_to_stock
A purchase is not necessarily a period expense; distinguish stock, work in progress and recognised consumption.

07. COST ALLOCATION AND WASTE
For cost pool C and allocation fractions a_j ≥ 0, Σ_j a_j = 1:
C_j = a_j C; Σ_j C_j = C.
C_scrap_gross = Q_scrap × p_assigned
C_scrap_net = C_scrap_gross + disposal_cost − recovery_value
If scrap is already included in issued material cost, do not add its gross value again.
Normal and abnormal losses may require different accounting treatment; record the chosen policy.

08. BASELINE AND VARIANCE
For standard quantity QS allowed for actual output, actual quantity QA, standard price PS and actual price PA:
C_standard = QS × PS
C_actual = QA × PA
ΔC = C_actual − C_standard
PriceVariance = QA × (PA − PS)
UsageVariance = PS × (QA − QS)
ΔC = PriceVariance + UsageVariance
Positive variance denotes adverse cost under this convention.
Compare the same material, output, period, currency and cost boundary.
Forecast = actual_to_date + estimate_to_complete; exclude commitments already represented in either term.

09. RECURSIVE BOM AND IMPACT FLOW
Let A_ij denote units of child i required per unit of parent j, including documented yield adjustments. Let d be independent demand.
x = d + A x
For a finite acyclic BOM, A is nilpotent after topological ordering and x = Σ_k A^k d terminates.
For a nonnegative cyclic model, convergence of this series requires spectral radius ρ(A) < 1; otherwise flag the model for review.
Material cost = pᵀ x for purchased-material nodes only; do not count intermediate assemblies and their embedded materials twice.
Change impact closure: S_(k+1) = S_k ∪ successors(S_k), S_0 = changed nodes.
For a finite graph this monotone set iteration terminates; it does not establish convergence of monetary feedback loops.

10. UNCERTAINTY AND OPTIMISATION
For scenarios s with probabilities π_s ≥ 0 and Σ_s π_s = 1:
E[C] = Σ_s π_s C_s
Var(C) = Σ_s π_s (C_s − E[C])²
Preserve correlations between price, demand and yield when constructing scenarios.
Minimise Σ_i landed_cost_i × order_i + holding_cost + expected_shortage_cost, subject to demand, approved suppliers, technical conformity, capacity and budget constraints.
Cost minimisation never overrides mandatory safety or engineering requirements.

11. LIFECYCLE AND CONTROL
Estimated → Reviewed → Baselined → Committed → Received → Valued → Allocated → Reconciled → Closed
These are illustrative workflow stages; actual commitments and receipts can be partial or concurrent.
Corrections create linked revisions or reversal transactions rather than erasing history.
Change flow: request → impact assessment → approval → revised baseline → implementation → reconciliation.
Preserve effective time and recording time separately.

12. VALIDATION AND COHERENCE INVARIANTS
V1: Every cost record has unique identity, valuation basis, scope, currency and evidence reference.
V2: Quantity × rate has monetary dimensions.
V3: Allocation conserves the source cost pool.
V4: Actual, committed and forecast values are not double counted.
V5: Material substitution requires documented technical approval.
V6: Missing prices, quantities or evidence are UNKNOWN, not zero.
V7: Historical transactions retain applicable price and specification revisions.
V8: Reconciliation differences are recorded and investigated, not silently removed.

13. AI SEARCH AND REASONING FLOW
Aliases: material cost; raw material expenditure; material consumption cost; landed material cost; material price variance; material usage variance.
Query → entity resolution → scope and period filter → evidence retrieval → unit/currency normalisation → cost computation → invariant checks → cited answer.
Example queries: What caused material cost variance? Which work packages are affected by a supplier price change? What is the cost of scrap? Which BOM revision supports this estimate?
Return entity IDs, source records, assumptions, formula, currency, valuation date and uncertainty. If evidence is absent, return an unresolved state rather than invented values.
Related branches: Engineering Cost Entities; Engineering Supply Chain Entities; Engineering Configuration Entities.

14. WORKED EXAMPLE
Illustrative values only, GBP, one material and one production run.
Net required mass = 90 kg; expected yield = 0.90; standard gross quantity = 100 kg.
Actual issued quantity = 105 kg; standard rate = £4/kg; actual valuation rate = £4.50/kg.
Standard cost = £400; actual issue cost = £472.50.
Price variance = 105 × 0.50 = £52.50 adverse.
Usage variance = 4 × (105 − 100) = £20 adverse.
Total variance = £72.50 adverse, equal to £472.50 − £400.
If actual output incorporates 90 kg and no WIP change or other loss exists, scrap = 15 kg.
Scrap recovery of £10 gives net material cost £462.50 if credited to this run; do not add the scrap material value again.

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ