Skip to main content

Energy 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
AI CORE / ENTITY GRAPH / ENGINEERING ENTITIES / ENGINEERING COST ENTITIES
ENERGY COST ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8
Canonical reference: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/energy-cost-ontology.html
Status: Proposed formal representation; live page not verified.

1. ENTITY DEFINITION
EnergyCost is an economic quantity attributable to the acquisition, conversion, storage, distribution or consumption of energy within a defined engineering boundary and accounting period.
EC = (id, asset, boundary, carrier, period, quantity, tariff, currency, basis, evidence, revision, status).
EnergyCost isA EngineeringCost; it is not identical to EnergyConsumption.
Basis ∈ {estimated, budgeted, committed, accrued, invoiced, paid}.
Carrier ∈ {electricity, gas, fuel, steam, heat, other}.

2. ENTITY GRAPH
EnergyCost → attributableTo → EngineeringAsset
EnergyCost → derivedFrom → EnergyMeasurement
EnergyCost → pricedBy → EnergyTariff
EnergyCost → allocatedTo → CostCentre
EnergyCost → reconciledWith → Invoice
EnergyCost → governedBy → SupplyContract
EnergyCost → contributesTo → OperatingCost
EnergyCost → contributesTo → LifecycleCost
EnergyTariff → hasEffectivity → TimeInterval
EnergyMeasurement → recordedBy → EnergyMeter
Relations are proposed semantic links, not assertions that specific live ontology pages exist.

3. FLOW COMPOSITION
F_measure: (meter, interval) → validated energy quantity
F_price: (quantity, tariff, interval) → charge
F_allocate: (charge, allocation policy) → cost-centre entries
F_reconcile: (entries, invoice) → discrepancy record
F_report = F_reconcile ∘ F_allocate ∘ F_price ∘ F_measure.
Composition is valid only where output and input types, boundaries and time intervals agree. Missing evidence produces UNKNOWN, not zero.

4. ENERGY QUANTITY ALGEBRA
E_i = integral over interval i of P(t) dt.
For constant average power: E_i = P_i × Δt_i.
Power in kW and time in hours yield energy in kWh.
E_total = Σ_i E_i for disjoint intervals of the same carrier and boundary.
For fuel: E = mass × specific calorific value, using a declared HHV or LHV basis.
For a conversion system: E_in = E_out + E_loss + ΔE_stored, with all terms on a consistent energy basis.
Do not sum upstream and downstream meter readings as independent purchases.

5. TARIFF AND CHARGE ALGEBRA
C_energy = Σ_i E_import,i × r_import,i − Σ_i E_export,i × r_export,i.
C_demand = Σ_b d_b × max_{i∈b}(P_avg,i), where b is a contract-defined billing window and d_b is the demand rate.
C_total = C_energy + C_demand + C_fixed + C_network + C_tax − C_credit.
Terms must be mutually exclusive; bundled network charges must not be added twice.
Tiered tariff: C_tier = Σ_j r_j × max(0,min(E,U_j)−L_j), for contiguous non-overlapping tiers.
Actual contract rules govern ratchets, minimum bills, reactive power and export compensation.
Tariff selection requires carrier, site, contract, currency and effective interval to match.

6. COST ALLOCATION AND AGGREGATION
For shared charge C_s and allocation weights w_j ≥ 0 with Σ_j w_j = 1:
C_j = C_direct,j + w_j C_s.
Σ_j C_j = Σ_j C_direct,j + C_s.
Weights may derive from metered consumption, coincident peak contribution or another documented policy.
Unallocated costs remain explicit rather than being silently discarded.
Convert currencies using a recorded exchange rate and date before aggregation.
Distinguish gross/net tax basis and cash/accrual basis.

7. VARIANCE AND PERFORMANCE
For one comparable energy quantity and unit rate:
ΔC = E_actual r_actual − E_budget r_budget
    = (E_actual−E_budget)r_budget + E_actual(r_actual−r_budget).
For multiple intervals, sum the corresponding terms; reconcile demand and fixed charge differences separately.
Specific energy cost = C_total / useful output, if output > 0.
Energy intensity = E_consumed / useful output.
Efficiency η = useful energy output / energy input, for a declared conversion boundary and nonzero input.
Compare like-for-like production volumes, weather, operating hours and service levels.

8. LIFECYCLE COST AND OPTIMISATION
PV_energy = Σ_{t=1..T} C_energy,total(t)/(1+d)^t, with d > −1.
Use real costs with real discount rates or nominal costs with nominal rates.
Optimisation: minimise Σ_i tariffCost(E_i,P_i) + switchingCost + other relevant incremental costs.
Subject to production demand, equipment capacity, storage balance, safety, service quality and contractual constraints.
Storage: S_{i+1}=S_i+η_c E_charge,i−E_discharge,i/η_d−L_i; 0≤S_i≤S_max.
A cost reduction is not necessarily an energy reduction; report both independently.
Avoid counting energy expenditure twice when combining operating and lifecycle cost models.

9. UNCERTAINTY AND RISK
Scenario s defines consumption, tariff, availability and operating conditions.
Expected cost = Σ_s p_s C_s, with p_s≥0 and Σ_s p_s=1.
Variance = Σ_s p_s(C_s−Expected cost)^2.
Report scenario assumptions, correlation and uncertainty ranges; unknown probabilities do not imply equal probabilities.
Risk drivers include tariff volatility, meter error, demand peaks, supply interruption and equipment degradation.
Stress-test demand and price jointly when correlated.

10. RECURSIVE IMPACT PROPAGATION
Let G=(V,A) be a finite directed dependency graph of meters, tariffs, assets, cost records and budgets.
For changed nodes S, R_0=S; R_{k+1}=R_k ∪ {v : ∃u∈R_k, (u,v)∈A}.
Stop when R_{k+1}=R_k; finite monotone set expansion terminates after at most |V| strict expansions.
The resulting set identifies records requiring review, not automatically the monetary impact.
Recompute affected costs from authoritative inputs in dependency order. For cyclic numeric models, require a separately justified solver and convergence criterion; reachability convergence does not establish numeric convergence.
Preserve previous approved cost records and create revised records with provenance.

11. LIFECYCLE AND CONTROL
Estimated → Budgeted → Reviewed → Approved.
Measured → Validated → Accrued → Reconciled → Closed.
Invoiced and Paid are separate financial status dimensions, not proof of measurement accuracy.
Disputed records may return to reconciliation; corrections supersede rather than erase historical evidence.
Each transition records actor, time, reason, source and authorisation where required.
Tariff amendments apply only to their contractual effectivity interval.

12. VALIDATION AND COHERENCE INVARIANTS
I1: Each record has a unique identity and revision.
I2: Quantity units and rate denominators are dimensionally compatible.
I3: Meter intervals do not overlap within an aggregation series.
I4: Tariff validity covers the priced interval; gaps are flagged.
I5: Import/export signs and credits are explicitly defined.
I6: Allocation totals reconcile to source charges within declared rounding tolerance.
I7: No double counting across cost centres, meter hierarchies or accounting bases.
I8: Evidence links identify readings, contracts and invoices used.
I9: Missing readings, rates or approvals remain UNKNOWN until resolved.
I10: Financial optimisation cannot override mandatory engineering safety constraints.

13. AI SEARCH, RETRIEVAL AND REASONING FLOW
Query → resolve EnergyCost intent → identify asset/carrier/period → retrieve measurement and tariff evidence → validate effectivity and units → compute or retrieve cost → reconcile → return answer with provenance.
Search aliases: energy expenditure, electricity cost, fuel cost, utility cost, energy tariff, demand charge, cost per kWh, industrial energy cost.
Example queries: What is the energy cost of asset A in period T? Which tariff revision was applied? What explains the energy cost variance? Which budgets are affected by a tariff amendment?
Inference: valid meter quantity AND applicable tariff AND complete charge rules → calculable charge.
A cost record alone cannot establish consumption without sufficient tariff and charge detail.
Return status ∈ {supported, partial, conflicting, unknown}; include source identifiers and assumptions. Never infer a missing rate from an unrelated supplier.

14. WORKED EXAMPLE (ILLUSTRATIVE)
An engineering facility imports 1,200 kWh at £0.20/kWh and 800 kWh at £0.12/kWh in two disjoint tariff periods.
Energy charge = £240 + £96 = £336.
Contract-defined peak demand = 30 kW at £8/kW per billing period: £240.
Fixed charge = £40. No additional network charges, taxes or credits assumed.
Total = £616 for the period.
Two cost centres share the bill using approved weights 0.60 and 0.40: £369.60 and £246.40; sum = £616.
If the first tariff increases to £0.22/kWh with all other inputs unchanged, revised total = £640; variance = £24.
Impact flow: tariff revision → energy charge → total cost → allocation → operating budget → lifecycle forecast (where applicable).
END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ