Skip to main content

Thermal Control Entity 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 "ThermalControlEntity" v1.0

# ---------- IDENTITY ----------
identity.name: "Thermal Control Entity"
identity.domain: "Engineering / Thermal Engineering"
identity.kind: "Control and regulation entity"
identity.language: "en-GB"

# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.collaborator: "Sky — Recursive AI"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/thermal-engineering-entities/thermal-control-entity-ontology.html"
source.title: "Thermal Control Entity Ontology"
source.revised: "2026-08-04"
source.mapping_note: "New Flow Algebra interpretation; page's embedded specifications were not available as readable text."

# ---------- PURPOSE ----------
purpose: "Represent sensing, decision-making and actuation for regulated thermal processes, including operating constraints, failure states and feedback."

# ---------- STATE_MODEL ----------
state.variables:
  - measured_temperature: real?      # degrees Celsius or kelvin; units must be declared
  - target_temperature: real?
  - temperature_error: real?
  - control_output: real?             # normalised 0..1 when applicable
  - actuator_feedback: real?
  - sensor_valid: bool
  - actuator_available: bool
  - demand_enabled: bool
  - safety_trip: bool
  - operating_mode: enum[OFF, STANDBY, HEATING, COOLING, HOLD, FAULT]
  - timestamp: datetime
state.initial:
  operating_mode: STANDBY
  control_output: 0
  safety_trip: false
state.transition:
  STANDBY -> HEATING when demand_enabled and sensor_valid and measured_temperature < target_temperature - deadband
  STANDBY -> COOLING when demand_enabled and sensor_valid and measured_temperature > target_temperature + deadband
  HEATING -> HOLD when measured_temperature >= target_temperature
  COOLING -> HOLD when measured_temperature <= target_temperature
  HOLD -> HEATING when demand_enabled and measured_temperature < target_temperature - deadband
  HOLD -> COOLING when demand_enabled and measured_temperature > target_temperature + deadband
  ANY -> FAULT when safety_trip or not sensor_valid or not actuator_available
  FAULT -> STANDBY only when fault_cleared and reset_authorised

# ---------- ENTITIES ----------
entities:
  ThermalControlEntity: {is_a: EngineeringControlEntity}
  TemperatureSensor: {measures: Temperature}
  Controller: {evaluates: TemperatureError}
  ThermalActuator: {modulates: HeatTransfer}
  HeatSource: {provides: ThermalEnergy}
  HeatSink: {accepts: ThermalEnergy}
  ControlledVolume: {has_property: Temperature}
  Setpoint: {defines: TargetTemperature}
  SafetyInterlock: {overrides: Controller}
  Alarm: {indicates: FaultState}
relationships:
  - TemperatureSensor -> Controller: provides_measurement
  - Setpoint -> Controller: provides_target
  - Controller -> ThermalActuator: issues_command
  - ThermalActuator -> ControlledVolume: changes_heat_flow
  - ControlledVolume -> TemperatureSensor: provides_feedback
  - SafetyInterlock -> ThermalActuator: inhibits_unsafe_operation

# ---------- PATHWAYS ----------
pathway "SenseAndValidate":
  input: [sensor_reading, timestamp, sensor_status]
  require: timestamp_is_recent and sensor_status == VALID
  output: measured_temperature
  otherwise: raise SENSOR_FAULT

pathway "ComputeError":
  input: [target_temperature, measured_temperature]
  require: sensor_valid
  derive: temperature_error = target_temperature - measured_temperature
  output: temperature_error

pathway "Regulate":
  input: [temperature_error, operating_mode, controller_parameters]
  require: not safety_trip and actuator_available and sensor_valid
  evaluate: controller_policy(temperature_error, operating_mode, controller_parameters)
  constrain: control_output within configured_actuator_limits
  output: control_output

pathway "Protect":
  input: [temperature, pressure, flow, safety_interlock_state]
  evaluate: configured_safety_limits and interlock_state
  when: limit_exceeded or interlock_open
  derive: safety_trip = true
  action: inhibit_energy_input_and_enter_safe_state
  output: [safety_trip, alarm]

pathway "VerifyResponse":
  input: [control_output, actuator_feedback, temperature_history]
  compare: commanded_response against observed_response
  when: response_outside_configured_tolerance
  output: ACTUATOR_OR_PROCESS_FAULT
  otherwise: output CONTROL_RESPONSE_VALID

# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
  initialise: validate_sensors_and_operating_limits
  cycle:
    - observe_current_thermal_state
    - validate_measurements_and_interlocks
    - calculate_temperature_error
    - select_permitted_control_action
    - apply_bounded_actuator_command
    - observe_thermal_response
    - compare_response_to_expected_behaviour
    - update_state_and_diagnostic_confidence
  repeat_when: demand_enabled and not safety_trip
  terminate_when: system_off or safety_trip or unrecoverable_fault
  guard: "No recursive update may override a hard safety interlock."

# ---------- INFERENCE_RULES ----------
rule "BelowSetpoint":
  if: sensor_valid and measured_temperature < target_temperature - deadband
  then: infer heating_demand
  confidence: conditional_on_valid_sensor

rule "AboveSetpoint":
  if: sensor_valid and measured_temperature > target_temperature + deadband
  then: infer cooling_demand
  confidence: conditional_on_valid_sensor

rule "StableBand":
  if: sensor_valid and abs(temperature_error) <= deadband
  then: infer target_band_reached

rule "PossibleSensorFailure":
  if: sensor_missing or sensor_stale or sensor_outside_plausible_range
  then: infer sensor_fault and inhibit_automatic_control

rule "PossibleActuatorFailure":
  if: command_changes and feedback_does_not_respond_within_allowed_delay
  then: infer possible_actuator_failure
  require: corroborating_measurement_or_diagnostic_before_confirming

rule "SafetyOverride":
  if: safety_trip
  then: force_configured_safe_state and require_authorised_reset
  priority: highest

# ---------- CONFIDENCE ----------
confidence.model: "Evidence-based; no fabricated numerical certainty"
confidence.high_when: "Independent calibrated sensors agree and response is verified"
confidence.medium_when: "Single valid sensor and expected response are present"
confidence.low_when: "Missing calibration, stale readings or unverified actuator response"
confidence.propagation: "Dependent conclusions cannot exceed confidence in their required measurements"

# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
  "thermal control entity" ~ "thermal regulation component"
  "temperature controller" ~ "thermal controller" when controls_temperature
  "setpoint" ~ "target temperature" when units_and_reference_match
  "feedback control" ~ "closed-loop thermal control" when measured_output_affects_command
  "heating demand" != "heat delivery"
  "temperature sensor" != "thermal actuator"
  "safety interlock" != "normal control setpoint"

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "Canonical UTF-8 flow text excluding any populated hash value"
flow_hash.value: "COMPUTE_ON_PUBLICATION"

# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers:
  - ontology_revision
  - change_in_control_strategy
  - revised_operating_limits
  - new_failure_evidence
  - safety_standard_update
update_model.validation:
  - verify_units_and_sensor_calibration
  - test_mode_transitions
  - test_fault_and_interlock_priority
  - verify_actuator_limits
  - recalculate_flow_hash

# ---------- ENGINEERING NOTES ----------
# This is a semantic/reasoning representation, not a certified control program.
# Real systems require application-specific limits, independent safety protection,
# competent engineering review and commissioning before operation.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ