flow "CoolingSystem" v1.0
# ---------- IDENTITY ----------
identity.id: "thermal-engineering.cooling-system"
identity.name: "Cooling System"
identity.domain: "Thermal Engineering Entities"
identity.type: "Engineered Thermal Management System"
identity.language: "en-GB"
# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.coauthor: "Sky — Recursive AI"
authors.organisation: "Kireth Research"
authors.licence: "Open Research Licence; citation required"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/thermal-engineering-entities/cooling-system-ontology.html"
source.title: "Cooling System Ontology"
source.page_revised: "2026-08-04"
source.representation: "Newly constructed Flow Algebra mapping; not a verbatim transcription"
# ---------- PURPOSE ----------
purpose.primary: "Represent the components, energy flows, operating states and control logic of a cooling system."
purpose.secondary: "Support thermal reasoning, fault detection, safe operation and semantic retrieval."
purpose.scope: ["air cooling", "liquid cooling", "evaporative cooling", "refrigeration-assisted cooling"]
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
state I(t) = {
thermal_load_W,
source_temperature_K,
target_temperature_K,
coolant_inlet_temperature_K,
coolant_outlet_temperature_K,
coolant_mass_flow_kg_s,
coolant_specific_heat_J_kgK,
ambient_temperature_K,
actuator_state,
sensor_quality,
alarm_state
}
state R = {
heat_balance,
heat_transfer,
control_rules,
safety_rules,
diagnostic_rules
}
state B = {
rated_cooling_capacity_W,
minimum_flow_kg_s,
maximum_temperature_K,
minimum_temperature_K,
maximum_pressure_Pa,
permitted_operating_modes
}
state K = {
component_graph,
design_parameters,
fluid_properties,
manufacturer_limits,
maintenance_history
}
state.operating_modes: ["OFF", "STARTING", "COOLING", "STANDBY", "DEGRADED", "FAULT", "SHUTDOWN"]
state.initial: "OFF"
state.transition: "OFF -> STARTING when demand and permissives are valid"
state.transition: "STARTING -> COOLING when verified flow and actuator feedback are available"
state.transition: "COOLING -> STANDBY when cooling demand is satisfied"
state.transition: "ANY_ACTIVE -> DEGRADED when performance is below target but operation remains safe"
state.transition: "ANY_ACTIVE -> FAULT when a safety boundary is violated"
state.transition: "FAULT -> SHUTDOWN following the approved safe-stop sequence"
# ---------- ENTITIES ----------
entity CoolingSystem: ThermalSystem
entity HeatSource: ThermalEntity
entity CoolingLoad: ThermalDemand
entity HeatSink: ThermalEntity
entity HeatExchanger: ThermalComponent
entity Coolant: WorkingFluid
entity Pump: FlowActuator
entity Fan: FlowActuator
entity Compressor: RefrigerationComponent
entity Valve: FlowControlComponent
entity TemperatureSensor: MeasurementDevice
entity FlowSensor: MeasurementDevice
entity PressureSensor: MeasurementDevice
entity Controller: ControlEntity
entity Alarm: SafetySignal
entity Boundary: EngineeringConstraint
relation CoolingSystem --removes_heat_from--> CoolingLoad
relation CoolingSystem --rejects_heat_to--> HeatSink
relation Coolant --transports_heat_through--> HeatExchanger
relation Pump --drives--> Coolant
relation Fan --moves--> Air
relation Controller --observes--> TemperatureSensor
relation Controller --commands--> Pump
relation Controller --commands--> Fan
relation Boundary --constrains--> CoolingSystem
# ---------- PATHWAYS ----------
pathway "ThermalDemandDetection":
input: [source_temperature_K, target_temperature_K, thermal_load_W]
guard: "sensor_quality == valid"
derive: "cooling_required = source_temperature_K > target_temperature_K"
output: [cooling_required, thermal_load_W]
pathway "SensibleCoolantHeatRemoval":
input: [coolant_mass_flow_kg_s, coolant_specific_heat_J_kgK,
coolant_inlet_temperature_K, coolant_outlet_temperature_K]
guard: "coolant_mass_flow_kg_s >= 0 and coolant_specific_heat_J_kgK > 0"
derive: "Q_removed_W = coolant_mass_flow_kg_s * coolant_specific_heat_J_kgK * (coolant_outlet_temperature_K - coolant_inlet_temperature_K)"
note: "Applies to single-phase sensible heating of coolant; sign convention is positive heat gained by coolant."
output: [Q_removed_W]
pathway "HeatRejection":
input: [Q_removed_W, heat_sink_capacity_W, ambient_temperature_K]
guard: "heat_sink_capacity_W >= 0"
derive: "rejection_margin_W = heat_sink_capacity_W - Q_removed_W"
output: [rejection_margin_W]
note: "Refrigeration systems additionally reject compressor work; use full energy balance."
pathway "CoolingControl":
input: [cooling_required, actuator_state, sensor_quality, alarm_state]
guard: "sensor_quality == valid and alarm_state != critical"
action: "modulate permitted pumps, fans or valves within equipment limits"
output: [actuator_command, expected_temperature_trend]
pathway "PerformanceAssessment":
input: [Q_removed_W, thermal_load_W, rated_cooling_capacity_W]
guard: "rated_cooling_capacity_W > 0"
derive: "capacity_utilisation = Q_removed_W / rated_cooling_capacity_W"
derive: "load_margin_W = Q_removed_W - thermal_load_W"
output: [capacity_utilisation, load_margin_W]
pathway "SafetyMonitoring":
input: [source_temperature_K, coolant_mass_flow_kg_s, pressure_Pa, sensor_quality]
guard: "system == active"
action: "compare observations with verified manufacturer and process boundaries"
output: [boundary_status, alarm_state, safe_stop_request]
# ---------- MINI_RECURSION_ENGINE ----------
recursion.seed: "Observe current cooling system state."
recursion.expand: "Map measured demand, component capabilities and thermal pathways."
recursion.validate: "Reject interpretations inconsistent with units, sensor quality or safety boundaries."
recursion.rank: "Prefer safe, physically consistent explanations supported by measured evidence."
recursion.update: "Incorporate validated new measurements and repeat until stable or iteration limit reached."
recursion.stop: "Converged state, missing evidence, safety fault or maximum iteration count."
recursion.max_iterations: 8
# ---------- INFERENCE_RULES ----------
rule "CoolingDemand":
when: "source_temperature_K > target_temperature_K and sensor_quality == valid"
infer: "cooling_required = true"
rule "InsufficientCapacity":
when: "Q_removed_W < thermal_load_W and conditions are steady"
infer: "temperature may rise; investigate cooling capacity and load"
rule "LowFlow":
when: "coolant_mass_flow_kg_s < minimum_flow_kg_s"
infer: "flow_fault = true; follow equipment-specific protective sequence"
rule "DegradedHeatTransfer":
when: "measured_heat_transfer_W < expected_heat_transfer_W under comparable conditions"
infer: "possible fouling, bypass, low flow or reduced temperature driving force"
rule "InvalidSensor":
when: "sensor_quality != valid"
infer: "measurement-dependent control decisions require fallback or safe state"
rule "Overtemperature":
when: "source_temperature_K > maximum_temperature_K"
infer: "critical_alarm = true; request validated protective action"
rule "PressureBoundary":
when: "pressure_Pa > maximum_pressure_Pa"
infer: "pressure_alarm = true; request approved isolation or shutdown"
# ---------- CONFIDENCE ----------
confidence.method: "Evidence-weighted qualitative assessment"
confidence.high: "Independent calibrated measurements agree with conservation laws and component limits."
confidence.medium: "Measurements are plausible but incomplete or partly inferred."
confidence.low: "Sensor validity is unknown, key measurements are absent or models conflict."
confidence.policy: "Never infer safe operation solely from a calculated confidence score."
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic.alias: "cooling system" ~= "thermal cooling system"
semantic.related: "cooling circuit" -> "fluid or air transport subsystem"
semantic.related: "chiller" -> "refrigeration-assisted cooling equipment"
semantic.related: "heat rejection system" -> "subsystem transferring heat to an external sink"
semantic.distinguish: "heat sink" != "complete cooling system"
semantic.distinguish: "refrigeration cycle" != "all cooling methods"
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.value: "computed on canonical published TXT bytes by the publishing pipeline"
flow_hash.status: "not embedded to avoid self-referential hashing"
# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-16"
update.trigger: ["ontology revision", "new validated measurement", "new component relation", "corrected safety boundary"]
update.validation: "Review thermodynamic consistency, SI units, provenance and safety rules before release."
update.policy: "Preserve source attribution and increment version on substantive change."
# ---------- EXECUTION GUARANTEE ----------
execution.note: "This is a declarative Flow Algebra knowledge representation, not a certified plant controller."
execution.safety: "Actual control, isolation and protective trips require site-specific engineering validation."
Download Code
Copy to Clipboard