Skip to main content

Heating System Ontology

Thermal Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
flow "HeatingSystem" v1.0

# ---------- IDENTITY ----------
id: "thermal-engineering.heating-system"
entity_type: "HeatingSystem"
domain: "ThermalEngineering"
locale: "en-GB"

# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Kireth Research Open Research Licence; citation required"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/thermal-engineering-entities/heating-system-ontology.html"
source.title: "Heating System Ontology"
source.revised: "2026-08-04"
source.mode: "Newly constructed semantic Flow Algebra mapping; not verbatim page code"

# ---------- PURPOSE ----------
purpose: "Represent heating-system components, energy transfers, operating states, control decisions, faults and safety boundaries for semantic reasoning."

# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): {heat_demand, setpoint_C, supply_C, return_C, ambient_C, flow_kg_s, input_power_W, pump_state, source_state, sensor_valid, fault_flags}
R: {energy_balance, temperature_control, circulation, equipment_interlocks, thermal_limits}
B: {design_temperature_limits, design_pressure_limits, manufacturer_limits, authorised_controls, maintenance_isolation}
K: {equipment_specifications, system_topology, sensor_calibration, performance_history, maintenance_records}
state.operating_mode: [OFF, STANDBY, STARTING, HEATING, MODULATING, SATISFIED, SHUTDOWN, FAULT_LOCKOUT]

# ---------- ENTITIES ----------
entity HeatingSystem: ThermalSystem
entity HeatSource: ThermalEngineeringEntity
entity Boiler: HeatSource
entity HeatPump: HeatSource
entity ElectricHeater: HeatSource
entity HeatDistributionLoop: ThermalSubsystem
entity CirculationPump: FluidTransportComponent
entity HeatEmitter: ThermalComponent
entity Radiator: HeatEmitter
entity UnderfloorHeating: HeatEmitter
entity HeatExchanger: ThermalComponent
entity Thermostat: ControlSensor
entity TemperatureSensor: MeasurementEntity
entity ExpansionVessel: PressureManagementComponent
entity SafetyValve: SafetyComponent
entity Controller: ControlEntity
entity ThermalLoad: DemandEntity
entity WorkingFluid: HeatTransferMedium

relation HeatingSystem contains HeatSource
relation HeatingSystem contains HeatDistributionLoop
relation HeatDistributionLoop connects HeatEmitter
relation CirculationPump drives WorkingFluid
relation TemperatureSensor measures HeatingSystem
relation Thermostat requests Controller
relation Controller regulates HeatSource
relation SafetyValve protects HeatingSystem
relation HeatSource supplies ThermalLoad

# ---------- PATHWAYS ----------
pathway "HeatDemandDetection":
  input: [setpoint_C, ambient_C, sensor_valid]
  guard: sensor_valid == true
  derive: heat_demand = max(0, setpoint_C - ambient_C)
  output: [heat_demand]

pathway "HeatProduction":
  input: [heat_demand, source_state, fault_flags]
  guard: heat_demand > 0 and fault_flags == none
  transition: STANDBY -> STARTING -> HEATING
  action: request_heat_source_within_rated_limits
  output: [thermal_power_W, source_state]

pathway "HeatDistribution":
  input: [flow_kg_s, supply_C, return_C, fluid_specific_heat_J_kgK]
  guard: flow_kg_s > 0 and supply_C >= return_C
  derive: delivered_heat_W = flow_kg_s * fluid_specific_heat_J_kgK * (supply_C - return_C)
  output: [delivered_heat_W]

pathway "TemperatureRegulation":
  input: [setpoint_C, ambient_C, heat_demand, source_state]
  guard: sensor_valid == true and fault_flags == none
  action: modulate_heat_output_to_match_demand
  transition: HEATING -> MODULATING -> SATISFIED
  output: [control_request, operating_mode]

pathway "ControlledShutdown":
  input: [heat_demand, source_state]
  guard: heat_demand == 0
  action: follow_manufacturer_shutdown_and_pump_overrun_sequence
  transition: SATISFIED -> SHUTDOWN -> STANDBY

pathway "SafetyLockout":
  input: [fault_flags, sensor_valid, temperature_limits, pressure_limits]
  guard: fault_flags != none or sensor_valid == false or limits_exceeded == true
  action: invoke_certified_equipment_protection_and_isolation
  transition: any_operating_mode -> FAULT_LOCKOUT
  output: [fault_record, maintenance_required]

# ---------- MINI_RECURSION_ENGINE ----------
recursion.start: I(t)
recursion.expand: E(t) = expand(I(t), R)
recursion.validate: V(t) = filter(E(t), B, K)
recursion.select: A(t) = argmax_{x in V(t)} P(x | I(t), R, B, K)
recursion.update: I(t+1) = observe(apply(A(t)))
recursion.stop_when: [setpoint_satisfied, stable_control, safety_lockout, insufficient_valid_data]
recursion.constraint: "Never infer permission to bypass hardware safety interlocks."

# ---------- INFERENCE_RULES ----------
rule "DemandPresent":
  when: ambient_C < setpoint_C and sensor_valid == true
  infer: heat_demand > 0

rule "HeatTransfer":
  when: flow_kg_s > 0 and supply_C > return_C
  infer: delivered_heat_W > 0

rule "PossibleFlowFault":
  when: heat_source_active == true and flow_kg_s <= minimum_required_flow
  infer: [insufficient_circulation_possible, inspect_pump_valves_and_blockages]

rule "PossibleHeatLoss":
  when: heat_input_W > expected_heat_load_W and ambient_C_fails_to_rise == true
  infer: [distribution_loss_or_underperformance_possible, further_measurement_required]

rule "SensorUncertainty":
  when: sensor_valid == false
  infer: [control_estimate_unreliable, fail_safe_action_required]

rule "Overtemperature":
  when: measured_temperature_C > rated_maximum_temperature_C
  infer: [unsafe_temperature, certified_protection_required]

# ---------- CONFIDENCE ----------
confidence.measurement: "Based on sensor calibration, resolution and freshness."
confidence.inference: "Lower when topology, fluid properties or operating conditions are unknown."
confidence.policy: "Distinguish confirmed faults from possible causes; never present inferred diagnoses as measured facts."

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "HeatingSystem": ["space heating system", "central heating installation", "thermal heating network"]
equivalent "HeatEmitter": ["radiator", "heating coil", "underfloor heating circuit"]
equivalent "HeatDemand": ["thermal demand", "heating load", "requested heat output"]
distinguish "HeatSource" from "HeatEmitter"
distinguish "HeatTransferRate" from "StoredThermalEnergy"
distinguish "ControlSetpoint" from "MeasuredTemperature"

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.value: "GENERATE_ON_PUBLICATION_FROM_CANONICAL_FILE_BYTES"
flow_hash.note: "Placeholder; no hash is asserted until calculated by the publishing pipeline."

# ---------- UPDATE_MODEL ----------
update.trigger: ["ontology revision", "component addition", "new validated evidence", "safety specification change"]
update.action: ["revalidate entity links", "review equations and units", "retest inference rules", "recalculate flow hash"]
update.version_policy: "Increment version on semantic or structural change."

# ---------- SAFETY ----------
safety: "Semantic research model only; not an equipment control program or substitute for competent engineering design, applicable standards or manufacturer instructions."

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ