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
AI CORE / ENTITY GRAPH / ENGINEERING ENTITIES / ENGINEERING COST ENTITIES
MAINTENANCE COST ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8
Source URI: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/maintenance-cost-ontology.html
Status: Proposed formal representation; not a verified transcription of the source page.
01. ENTITY DEFINITION
MaintenanceCost ⊆ EngineeringCost
A maintenance cost is a monetary valuation of resources consumed or obligations incurred in preserving or restoring an asset's required function, within a defined accounting boundary.
MC = (id, asset, intervention, category, amount, currency, priceDate, period, scenario, status, evidence, revision)
Distinguish direct expenditure, allocated overhead and consequential economic loss. Downtime loss is not automatically an accounting expense.
02. ENTITY GRAPH
MaintenanceCost → incurredBy → MaintenanceIntervention
MaintenanceIntervention → maintains → Asset
MaintenanceIntervention → consumes → LabourResource | SparePart | Consumable
MaintenanceCost → allocatedTo → CostCentre
MaintenanceCost → supportedBy → Invoice | WorkOrder | Timesheet | InventoryIssue
MaintenanceCost → comparedAgainst → BudgetBaseline
MaintenanceCost → contributesTo → LifecycleCost
MaintenanceCost → associatedWith → FailureEvent | DowntimeEvent
Each relation is typed, dated and attributable to evidence.
03. FLOW COMPOSITION
F = F_reconcile ∘ F_allocate ∘ F_value ∘ F_measure ∘ F_identify
Asset → MaintenanceNeed → WorkOrder → ResourceConsumption → CostRecord → Validation → CostLedger
Composition is evaluated right to left. Each operator preserves asset identity, intervention identity and provenance. Missing evidence produces an unresolved record rather than an assumed zero.
04. COST CLASSIFICATION AND AGGREGATION
Categories: preventive, predictive, corrective, condition-based, inspection, overhaul.
Resource classes: labour, parts, consumables, external services, tools and allocated overhead.
C_direct(w) = Σ_i h_i r_i + Σ_j q_j p_j + C_external + C_other
h: labour hours; r: currency/hour; q: quantity; p: currency/unit.
C_accounting(w) = C_direct(w) + C_allocated(w)
C_economic(w) = C_accounting(w) + L_incremental(w)
Only mutually exclusive cost lines may be summed. Maintenance classification and resource classification are separate dimensions, not additive totals.
05. ALLOCATION AND NORMALISATION
For shared cost S and eligible assets A, choose documented weights α_a ≥ 0 with Σ_a α_a = 1.
Allocation(a,S) = α_a S; Σ_a Allocation(a,S) = S.
C_base = C_native × FX(native,base,t) × I(baseDate)/I(priceDate)
Apply escalation or deflation only when required by the comparison basis; use compatible indices and rates. Retain original currency and valuation date.
06. DOWNTIME AND RELIABILITY
D(w) = duration(union of attributable outage intervals).
L_incremental = ∫_outage lostContributionRate(t) dt + incrementalRecoveryCost − avoidedCost
Use net incremental losses; exclude amounts already recorded in direct maintenance costs. Do not sum overlapping asset outages as system downtime.
For a simple constant-rate repairable asset, expected failures over T operating hours = λT.
E[C_corrective] = λT × E[C_perFailure] under stationary assumptions.
Availability approximation A = MTBF/(MTBF + MTTR) under alternating uptime/repair assumptions.
07. BUDGET AND FORECAST
B = approved maintenance budget for a specified scope and period.
AC = recognised actual cost; OC = outstanding commitments not included in AC.
ETC = estimated remaining cost including relevant outstanding commitments.
EAC = AC + ETC; forecast variance = EAC − B (positive means overrun).
Never add OC again when already included in ETC. Compare like-for-like scope and currency.
08. LIFECYCLE AND POLICY OPTIMISATION
PV_MC = Σ_t E[C_t]/(1+r)^t, where r > −1 and t is in years.
Use real costs with real discount rates, or nominal costs with nominal rates.
Choose policy π* ∈ argmin_π E[PV_MC(π) + PV_incrementalLoss(π)] subject to safety, reliability, regulatory, staffing and availability constraints.
A lower expected cost does not authorise deferral of mandatory maintenance.
Capital improvements and routine maintenance must be classified according to the applicable accounting policy.
09. UNCERTAINTY AND RISK
For scenarios s with probabilities p_s ≥ 0 and Σ_s p_s = 1:
E[C] = Σ_s p_s C_s; Var(C) = Σ_s p_s(C_s − E[C])².
Retain correlations when aggregating shared risks. Quantiles require a specified distribution or scenario model.
Unknown probability is not zero probability. Record assumptions, estimation date and confidence separately.
10. RECURSIVE IMPACT PROPAGATION
Let G=(V,E) be a finite typed dependency graph of assets, work orders, budgets and cost records.
S_0 = changed entities; S_(k+1) = S_k ∪ {v : ∃u ∈ S_k, (u,v) ∈ E_impact}.
Stop when S_(k+1)=S_k. Monotone reachability converges in at most |V| strict expansions.
Recompute affected costs from unique source lines; reachability does not imply monetary additivity.
For numerical feedback x_(k+1)=b+Wx_k, convergence is guaranteed if spectral radius ρ(W)<1. Otherwise flag for review rather than assume convergence.
11. LIFECYCLE AND CHANGE CONTROL
Estimated → Budgeted → Committed → Incurred → Verified → Posted → Closed
These are illustrative record states, not a mandatory linear accounting process. Commitment and payment may be tracked separately.
Revision creates a new record linked to its predecessor. Corrections to posted amounts use authorised adjustment records, retaining history.
ΔC = C_new − C_old only for equivalent scope and valuation basis.
12. VALIDATION AND COHERENCE INVARIANTS
Unique cost-line identifiers; valid asset and work-order references; compatible units; explicit currency and period; documented allocation weights; no duplicate postings; authorised revisions; evidence appropriate to status.
Validate(record) ∈ {pass, fail, unknown}.
Unknown evidence must not be treated as a pass. Negative amounts require an identified credit or adjustment. Maintain a separate economic-loss view to avoid mixing accounting and opportunity costs.
13. AI SEARCH AND REASONING FLOW
Aliases: maintenance expenditure, maintenance expense, MRO cost, repair cost, preventive maintenance cost, corrective maintenance cost, asset upkeep cost.
Intent: definition | calculation | comparison | budget variance | lifecycle | traceability | optimisation.
Query → EntityResolution → ScopeResolution → GraphTraversal → EvidenceRetrieval → UnitNormalisation → ConstraintValidation → AnswerWithProvenance.
Example queries: What is the maintenance cost of an asset? Which work orders caused a budget overrun? How does preventive maintenance affect lifecycle cost?
Resolve asset, period, currency, cost boundary and actual/forecast status before comparing values. Distinguish maintenance cost from operating cost, capital cost and total lifecycle cost. Return unknown where records are incomplete.
14. WORKED EXAMPLE (ILLUSTRATIVE)
Pump P-01, corrective work order W-01: 6 labour hours × £45/hour = £270; two parts × £80 = £160; external service £100; allocated overhead £70.
Direct cost = £530; accounting cost = £600.
Incremental downtime loss = 3 hours × £120/hour = £360, assuming no overlap or double counting.
Economic cost = £960. Against a comparable accounting budget of £550, actual variance = +£50.
For annual expected maintenance expenditure of £600 over three years at 5% discount rate, PV = 600/1.05 + 600/1.05² + 600/1.05³ = approximately £1,633.95.
Trace: P-01 → W-01 → resource lines → verified cost record → maintenance ledger → budget and lifecycle analysis.
END OF FLOW ALGEBRA