Skip to main content

Thermal Storage 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 "ThermalStorageEntity" v1.0

# ---------- IDENTITY ----------
identity.id: "thermal-storage-entity"
identity.class: "ThermalEngineeringEntity"
identity.name: "Thermal Storage Entity"
identity.domain: "Engineering / Thermal Engineering / Energy Storage"
identity.language: "en-GB"

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

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/thermal-engineering-entities/thermal-storage-entity-ontology.html"
source.title: "Thermal Storage Entity Ontology"
source.revised: "2026-08-04"
source.derivation: "Newly constructed Flow Algebra interpretation; not a verbatim extraction of embedded page code"

# ---------- PURPOSE ----------
purpose: "Represent thermal energy storage, charging, retention, discharging, loss, operating limits and system interactions as traceable semantic flows."

# ---------- STATE_MODEL ----------
state S(t) = (I(t), R(t), B(t), K(t))
state I(t): observations, measured temperatures, flow rates, phase fractions, energy and operating commands
state R(t): physical relationships, transitions and inference rules
state B(t): safety, thermodynamic, equipment and validity boundaries
state K(t): material properties, geometry, history and verified system knowledge
state E(t) = expand(I(t), R(t))
state V(t) = filter(E(t), B(t), K(t))
state A(t) = argmax[ P(x | I(t), R(t), B(t), K(t)) for x in V(t) ]
state I(t+1) = update(I(t), A(t), observations(t+1))

# ---------- ENTITIES ----------
entity ThermalStorageEntity: stores recoverable thermal energy across time
entity SensibleHeatStore: stores energy through temperature change
entity LatentHeatStore: stores energy through phase transition
entity ThermochemicalStore: stores energy through reversible reaction or sorption
entity StorageMedium: water, molten salt, solid, phase-change material or reactive medium
entity StorageContainer: vessel, tank, module or packed bed
entity HeatTransferInterface: coil, exchanger, pipework or contact surface
entity Insulation: reduces undesired heat exchange
entity ChargingSource: supplies heat or cooling capacity to the store
entity DischargeLoad: receives stored heating or cooling capacity
entity ThermalSensor: measures temperature distribution
entity FlowSensor: measures heat-transfer fluid movement
entity Controller: selects permitted operating mode
entity SafetyProtection: prevents operation outside validated limits

# ---------- STATE_VARIABLES ----------
variable T_store: temperature or spatial temperature field [K]
variable T_reference: reference temperature [K]
variable m: storage-medium mass [kg]
variable cp: specific heat capacity [J/(kg K)]
variable latent_heat: phase-transition enthalpy [J/kg]
variable phase_fraction: fraction of material in designated phase [0..1]
variable E_stored: stored thermal energy relative to defined reference [J]
variable E_usable: recoverable thermal energy under system constraints [J]
variable Q_charge: charging heat-transfer rate [W]
variable Q_discharge: discharging heat-transfer rate [W]
variable Q_loss: net undesired heat-transfer rate leaving store [W]
variable SOC: thermal state of charge [0..1]
variable mode: idle | charging | holding | discharging | fault | isolated

# ---------- RELATIONSHIPS ----------
relation ThermalStorageEntity contains StorageMedium
relation ThermalStorageEntity protected_by Insulation
relation ThermalStorageEntity exchanges_heat_via HeatTransferInterface
relation ChargingSource transfers_energy_to ThermalStorageEntity
relation ThermalStorageEntity transfers_energy_to DischargeLoad
relation Controller reads ThermalSensor
relation Controller reads FlowSensor
relation Controller constrained_by SafetyProtection
relation SensibleHeatStore subtype_of ThermalStorageEntity
relation LatentHeatStore subtype_of ThermalStorageEntity
relation ThermochemicalStore subtype_of ThermalStorageEntity

# ---------- PATHWAYS ----------
pathway "IdentifyStorage":
  input: medium, geometry, reference_state, material_properties
  require: material_properties are valid for operating temperature range
  derive: storage_mechanism = classify(medium, sensible, latent, thermochemical)
  output: storage_mechanism, permitted_temperature_range

pathway "EstimateSensibleCapacity":
  input: m, cp, T_store, T_reference
  require: m >= 0 and cp > 0
  derive: E_sensible = m * cp * (T_store - T_reference)
  note: use integral of temperature-dependent cp when variation is significant
  output: E_sensible

pathway "EstimateLatentCapacity":
  input: m, latent_heat, phase_fraction
  require: m >= 0 and latent_heat >= 0 and 0 <= phase_fraction <= 1
  derive: E_latent = m * latent_heat * phase_fraction
  note: include sensible contributions separately and use a consistent phase reference
  output: E_latent

pathway "ThermalEnergyBalance":
  input: E_stored, Q_charge, Q_discharge, Q_loss, dt
  require: dt > 0 and all heat rates use the declared sign convention
  derive: dE_dt = Q_charge - Q_discharge - Q_loss
  derive: E_next = E_stored + dE_dt * dt
  note: for varying heat rates integrate over time rather than assuming constants
  output: dE_dt, E_next

pathway "DetermineStateOfCharge":
  input: E_usable, E_min, E_max
  require: E_max > E_min
  derive: SOC = clamp((E_usable - E_min) / (E_max - E_min), 0, 1)
  note: SOC depends on usable energy and load-specific delivery temperature
  output: SOC

pathway "ChargeStore":
  input: charge_request, source_available, SOC, safety_status
  when: charge_request and source_available and SOC < 1 and safety_status == safe
  transition: mode -> charging
  action: permit controlled heat exchange within verified equipment limits
  output: charging

pathway "DischargeStore":
  input: demand, E_usable, delivery_temperature, safety_status
  when: demand and E_usable > 0 and delivery_temperature satisfies load requirement and safety_status == safe
  transition: mode -> discharging
  action: permit controlled delivery within validated limits
  output: discharging

pathway "HoldStore":
  input: demand, charge_request, safety_status
  when: not demand and not charge_request and safety_status == safe
  transition: mode -> holding
  action: minimise avoidable heat losses
  output: holding

pathway "DetectFault":
  input: sensor_validity, containment_integrity, pressure, temperature, permitted_limits
  when: not sensor_validity or not containment_integrity or outside_limits(pressure, temperature, permitted_limits)
  transition: mode -> fault
  action: inhibit unsafe charging and discharging; request authorised inspection
  output: fault, diagnostic_evidence

# ---------- MINI_RECURSION_ENGINE ----------
recursion.input: latest measurements, previous state, operating request
recursion.expand: infer candidate energy states and permissible transitions
recursion.validate: enforce conservation, sensor validity and safety boundaries
recursion.select: prefer valid, evidence-supported state with highest confidence
recursion.update: append accepted observations and revise estimated stored energy
recursion.stop: stable state established or safe fault state entered
recursion.limit: finite iterations; never override protection devices

# ---------- INFERENCE_RULES ----------
rule R01: if Q_charge > Q_discharge + Q_loss then E_stored tends_to increase
rule R02: if Q_discharge + Q_loss > Q_charge then E_stored tends_to decrease
rule R03: if insulation_performance decreases then standby_loss tends_to increase under comparable conditions
rule R04: if thermal_stratification persists then temperature_at_outlet may differ from bulk_average_temperature
rule R05: if phase_change_active then energy may change substantially while local temperature remains approximately constant
rule R06: if E_stored > 0 and delivery_temperature below load_requirement then E_usable may be insufficient
rule R07: if sensor_data inconsistent with energy_balance then flag measurement_or_model_anomaly
rule R08: if pressure or temperature exceeds rated boundary then enter fault and isolate according to approved controls
rule R09: if thermal_cycling repeated then evaluate material fatigue and storage degradation
rule R10: if storage_medium undergoes chemical reaction then include reaction enthalpy and conversion limits

# ---------- BOUNDARIES ----------
boundary B01: energy conservation must hold within stated measurement uncertainty
boundary B02: no operating setpoints are supplied without validated design information
boundary B03: pressure, temperature, expansion and containment limits are mandatory
boundary B04: account for scalding, freezing, overpressure, leakage and material compatibility risks
boundary B05: account for phase-change expansion, supercooling and cycling degradation where relevant
boundary B06: thermochemical media require reaction-specific hazard assessment
boundary B07: inferred values do not replace qualified engineering assessment

# ---------- CONFIDENCE ----------
confidence.high: validated measurements, known material properties and closed energy balance
confidence.medium: partial measurements with documented assumptions
confidence.low: unknown medium, unverified capacity or conflicting sensor evidence
confidence.rule: reduce confidence when uncertainty, missing data or model residual increases

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalence "thermal energy store" ~ "thermal storage entity" when context == energy_storage
 equivalence "heat storage" ~ "thermal storage" when heating_context == true
 equivalence "cold storage" ~ "thermal storage" when stored_capacity_is_cooling == true
 equivalence "PCM store" ~ "latent heat store" when medium == phase_change_material
non_equivalence "thermal reservoir" != "finite thermal store" unless idealised reservoir assumptions declared
non_equivalence "stored heat" != "usable heat" unless delivery constraints satisfied

# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 over canonical UTF-8 content excluding populated hash field"
flow_hash.value: "computed-at-publication"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-16"
update.trigger: revised ontology, validated properties, new measurements or engineering review
update.policy: preserve provenance, increment version and revalidate inference boundaries
update.status: "interpretive Flow Algebra draft"

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