Skip to main content

Heat Source 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 "HeatSource" v1.0

# ---------- IDENTITY ----------
id: "thermal-engineering.heat-source"
name: "Heat Source Ontology"
category: "Engineering Entities / Thermal Engineering Entities"
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/heat-source-ontology.html"
source.title: "Heat Source Ontology"
source.revised: "2026-08-04"
source.note: "New Flow Algebra representation based on the ontology title and engineering domain; not a verbatim extraction of hidden page code."

# ---------- PURPOSE ----------
purpose: "Represent a source of thermal energy, its transfer interfaces, operating state, constraints, evidence and downstream thermal effects."

# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): {source_type, fuel_or_input, power_input_W, heat_output_W, temperature_K, ambient_temperature_K, flow_rate_kg_s, efficiency, operating_mode, sensor_evidence}
R: {energy_balance, heat_transfer, causality, conservation, control, classification}
B: {rated_power_W, max_temperature_K, allowable_pressure_Pa, operating_envelope, isolation_requirements, safety_interlocks}
K: {material_properties, thermal_resistance_K_W, heat_capacity_J_K, calibration, provenance, uncertainty}
operating_mode: ["off", "standby", "starting", "active", "modulating", "fault", "isolated"]

# ---------- ENTITIES ----------
entity HeatSource: ThermalEngineeringEntity
entity ThermalSystem: EngineeringSystem
entity HeatSink: ThermalEngineeringEntity
entity HeatTransferMedium: MaterialEntity
entity TemperatureSensor: MeasurementEntity
entity ThermalController: ControlEntity
entity EnergyInput: EnergyEntity
entity HeatFlux: ThermalFlowEntity
entity ThermalBoundary: EngineeringBoundary
entity SafetyInterlock: SafetyEntity
entity FailureEvent: FailureEntity

relation HeatSource --supplies_heat_to--> ThermalSystem
relation HeatSource --receives--> EnergyInput
relation HeatSource --transfers_heat_via--> HeatTransferMedium
relation ThermalSystem --rejects_heat_to--> HeatSink
relation TemperatureSensor --measures--> HeatSource
relation ThermalController --regulates--> HeatSource
relation SafetyInterlock --constrains--> HeatSource
relation HeatSource --crosses--> ThermalBoundary

# ---------- PATHWAYS ----------
pathway "ClassifySource":
  input: {source_type, energy_input}
  process: identify("electrical", "combustion", "solar", "geothermal", "waste_heat", "chemical", "other")
  output: {source_class, evidence}

pathway "EnergyBalance":
  input: {power_input_W, heat_output_W, losses_W, stored_energy_change_W}
  rule: power_input_W = heat_output_W + losses_W + stored_energy_change_W
  guard: all_terms_use_consistent_time_basis
  output: {balance_residual_W, balance_status}

pathway "HeatTransfer":
  input: {source_temperature_K, sink_temperature_K, thermal_resistance_K_W}
  guard: thermal_resistance_K_W > 0
  rule: heat_rate_W = (source_temperature_K - sink_temperature_K) / thermal_resistance_K_W
  note: "Lumped steady-state approximation; use detailed conduction, convection or radiation models where required."
  output: {heat_rate_W, direction, model_assumptions}

pathway "ThermalControl":
  input: {target_temperature_K, measured_temperature_K, control_limits}
  rule: error_K = target_temperature_K - measured_temperature_K
  process: apply_bounded_control(error_K, control_limits)
  output: {control_request, bounded_status}

pathway "SafetyEvaluation":
  input: {measured_temperature_K, max_temperature_K, interlock_status, sensor_health}
  guard: sensor_health == "valid"
  rule: measured_temperature_K > max_temperature_K => fault("overtemperature")
  rule: interlock_status == "tripped" => require("safe_shutdown")
  rule: sensor_health != "valid" => require("fail_safe_review")
  output: {safety_state, fault_evidence, required_action}

# ---------- MINI_RECURSION_ENGINE ----------
engine "HeatSourceReasoning":
  initialise: S(0)
  expand: candidates(t) = expand(I(t), R)
  validate: viable(t) = filter(candidates(t), B, K)
  rank: preferred(t) = argmax(viable(t), confidence_and_consistency)
  update: I(t+1) = reconcile(I(t), preferred(t), new_evidence)
  terminate_when: stable_state OR fault_detected OR iteration_limit_reached
  max_iterations: 8
  on_empty_candidates: return("insufficient_evidence")

# ---------- INFERENCE_RULES ----------
rule "EnergyConservation":
  when: absolute(balance_residual_W) > permitted_balance_tolerance_W
  infer: "unaccounted_energy_or_measurement_error"
  confidence: conditional_on_measurement_quality

rule "HeatDirection":
  when: source_temperature_K > sink_temperature_K AND passive_transfer
  infer: "net_heat_transfer_from_source_to_sink"

rule "ThermalOverload":
  when: requested_heat_output_W > rated_power_W
  infer: "demand_exceeds_rated_capacity"

rule "SourceUnavailable":
  when: operating_mode IN ["off", "fault", "isolated"]
  infer: "heat_supply_unavailable_or_restricted"

rule "SensorUncertainty":
  when: sensor_evidence == "missing" OR calibration == "expired"
  infer: "reduced_confidence_in_thermal_state"

# ---------- CONFIDENCE ----------
confidence.inputs: ["sensor_calibration", "energy_balance_residual", "model_validity", "evidence_recency", "source_traceability"]
confidence.policy: "Report uncertainty explicitly; never convert an inferred safe state into a certified safety claim."
confidence.missing_data: "unknown"

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "heat source" ~ "thermal energy source" WHEN context == "thermal_engineering"
related "heater" -> "heat source" WHEN heater_is_operating_as_thermal_input
related "boiler" -> "heat source" WHEN boiler_supplies_heat_to_system
related "heat pump" -> "heat source" WHEN evaluating_delivered_thermal_output
not_equivalent "heat source" != "heat sink"
not_equivalent "heat source" != "temperature sensor"

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical_UTF-8_flow_content_excluding_hash_value"
flow_hash.value: "compute_on_publication"

# ---------- UPDATE_MODEL ----------
update.trigger: ["ontology_revision", "new_evidence", "new_failure_mode", "model_correction", "safety_requirement_change"]
update.policy: "Preserve provenance, version history, units, assumptions and traceable inference changes."
update.review: "Engineering validation required before operational use."

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