AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — SEMANTIC LIBRARY
OPERATING COST ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8
Canonical reference: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/operating-cost-ontology.html
Parent: Engineering Cost Entities
Status: Proposed formal representation; live page not verified.
1. ENTITY DEFINITION
OperatingCost := expenditure attributable to operating an engineering asset, system or service during a defined period and accounting boundary.
O = (id, asset, activity, category, period, quantity, unit, rate, currency, basis, status, evidence, revision).
Distinguish cash expenditure, accrued expense and allocated accounting cost. Capital expenditure is separately classified according to applicable accounting policy.
2. ENTITY CLASSIFICATION
OperatingCost → EngineeringCost
Categories := {EnergyCost, LabourCost, ConsumableCost, MaintenanceCost, UtilityCost, ServiceCost, OperatingOverhead}.
Behaviour := {Fixed, Variable, SemiVariable, StepFixed}.
Behaviour depends on the activity range and time horizon; it is not an immutable property of a category.
3. FLOW COMPOSITION
Asset → OperatingActivity → ResourceDemand → ResourceConsumption → CostMeasurement → CostRecord → CostAllocation → OperatingCostReport.
F = F_report ∘ F_allocate ∘ F_record ∘ F_measure ∘ F_consume ∘ F_demand.
Each transformation preserves source identifiers, period, currency and revision provenance.
4. RESOURCE COST ALGEBRA
For resource i and period t:
C_i(t) = q_i(t) × r_i(t) + f_i(t), where q is measured quantity, r is price per matching unit and f is a separately attributable fixed charge.
C_op(t) = Σ_i C_i(t) + C_overhead(t), provided no charge is counted twice.
For time-varying electricity tariffs: C_energy = ∫ P(t) r(t) dt + demand charges + standing charges; P in kW, t in hours, r in currency/kWh.
C_labour = Σ_j hours_j × loaded_rate_j; loaded rates must disclose included overheads.
5. COST BEHAVIOUR AND EFFICIENCY
Within a linear relevant range: C(Q) = F + vQ.
UnitOperatingCost = C(Q)/Q for Q > 0; undefined otherwise.
EnergyIntensity = EnergyConsumed/UsefulOutput for positive output.
A lower unit cost does not independently establish improved safety, quality or reliability.
6. ALLOCATION AND COST BOUNDARIES
For shared cost pool H and allocation drivers d_j ≥ 0:
w_j = d_j/Σ_k d_k when denominator > 0.
AllocatedCost_j = w_j H; Σ_j AllocatedCost_j = H.
If drivers are missing or sum to zero, retain H as unallocated pending review.
Do not aggregate both the original pool and its allocated children in the same total.
7. BUDGET AND FORECAST ALGEBRA
Variance(t) = Actual(t) − Budget(t); positive indicates overspend under this convention.
ForecastAtCompletion = ActualToDate + EstimateToComplete.
For comparable variable costs: price variance = q_actual(r_actual − r_budget); quantity variance = r_budget(q_actual − q_budget).
Their sum equals actual variable cost minus budgeted variable cost.
Committed costs are not automatically actual expenses; reconcile commitments against accrued or invoiced amounts.
8. TEMPORAL AND LIFECYCLE ALGEBRA
PV_OPEX = Σ_{t=1..T} C_op(t)/(1+d)^t, with end-period costs and d > −1.
LifecycleCost = CAPEX + PV_OPEX + PV_Disposal − PV_ResidualValue, using consistent boundaries and price bases.
Nominal cash flows require nominal discount rates; real cash flows require real rates.
Convert currencies using documented exchange rate, date and direction before aggregation.
9. UNCERTAINTY AND RISK
Let X be a random vector of consumption, tariffs, downtime and maintenance demand.
ExpectedOperatingCost = E[C(X)].
Var(Σ_i C_i) = Σ_i Var(C_i) + 2Σ_{i<j} Cov(C_i,C_j).
Scenario cost = Σ_s p_s C_s for mutually exclusive exhaustive scenarios with Σ_s p_s = 1.
Unknown probability is not zero probability. Report assumptions and ranges rather than unsupported precision.
10. RECURSIVE CHANGE IMPACT
G = (V,E), with typed dependency edges linking assets, activities, resources, tariffs, budgets and cost records.
Affected_0 = changed entities.
Affected_{n+1} = Affected_n ∪ successors(Affected_n).
On a finite graph this monotone reachability iteration reaches a fixed point after at most |V| strict expansions.
Recompute affected costs in dependency order for acyclic calculation graphs. Cyclic cost allocation requires an explicit solvable model; reachability convergence does not prove numerical convergence.
ΔC = C_new − C_old under equivalent scope and period.
11. LIFECYCLE AND CONTROL
Draft → Estimated → Reviewed → ApprovedBudget → ActiveMonitoring → Reconciled → Closed.
Actual records may follow Recorded → Verified → Posted → Corrected/Closed.
Corrections preserve original records and link reversing or replacement entries. Budget revisions require approval and retain prior baselines.
12. VALIDATION AND COHERENCE
V1: Every cost record has a unique identifier, scope and accounting period.
V2: Quantity and rate units are dimensionally compatible.
V3: Currency and price basis are explicit.
V4: Allocation conserves the source cost pool.
V5: Actual, budget, forecast and commitment statuses remain distinct.
V6: Missing evidence produces unknown or provisional status, not a zero cost.
V7: Credits and reversals are explicitly typed and traceable.
V8: Optimisation must respect engineering safety, reliability and service constraints.
13. SEMANTIC GRAPH AND AI SEARCH FLOW
OperatingCost —isA→ EngineeringCost
OperatingCost —attributedTo→ EngineeringAsset
OperatingCost —arisesFrom→ OperatingActivity
OperatingCost —measuredBy→ ResourceConsumptionRecord
OperatingCost —pricedBy→ TariffOrRate
OperatingCost —allocatedTo→ CostCentre
OperatingCost —comparedAgainst→ BudgetBaseline
OperatingCost —contributesTo→ LifecycleCost
OperatingCost —supportedBy→ InvoiceOrMeasurement
OperatingCost —affectedBy→ EngineeringChange
Search aliases: operating expenditure, OPEX, running cost, operational cost, recurring engineering expenditure.
Query → resolve entity and period → retrieve cost records and evidence → normalise units and currency → apply scope filters → aggregate → compare baseline → return result with provenance and uncertainty.
Example query: What caused the increase in pump operating costs this quarter?
Retrieve energy consumption, tariff revisions, labour and maintenance records; compare like-for-like periods; decompose variances; distinguish measured evidence from inferred causes.
14. WORKED EXAMPLE
Illustrative monthly pump operating costs (GBP): electricity 4,000 kWh × £0.25/kWh = £1,000; labour 20 h × £30/h = £600; consumables £150; routine maintenance £250; separately allocated overhead £100.
Total OPEX = £2,100/month. Budget = £2,000/month. Variance = +£100 (overspend).
If electricity consumption falls to 3,600 kWh with unchanged tariff and other costs, revised OPEX = £2,000/month and saving = £100/month. This scenario assumes unchanged useful output and no additional implementation cost.
Annual undiscounted saving = £1,200 if the monthly reduction persists for twelve months.
Coherence check: £900 + £600 + £150 + £250 + £100 = £2,000.
END OF FLOW ALGEBRA