flow "ThermalEngineeringEntity" v1.0
# ---------- IDENTITY ----------
identity.id: "thermal-engineering-entity"
identity.type: "EngineeringEntity.Thermal"
identity.domain: "Thermal Engineering"
identity.language: "en-GB"
# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.collaborator: "Sky — Recursive AI"
authors.attribution: "Kireth Research — citation required"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/thermal-engineering-entities/thermal-engineering-entity-ontology.html"
source.title: "Thermal Engineering Entity Ontology"
source.original_date: "2025-10-11"
source.revised_date: "2026-08-04"
source.mapping_note: "Original Flow Algebra interpretation based on the visible ontology heading and engineering principles; not a verbatim extraction of the page's downloadable code."
# ---------- PURPOSE ----------
purpose: "Represent thermal engineering entities, heat-transfer processes, state transitions, constraints, and evidence-based inference in a machine-readable semantic flow."
# ---------- STATE_MODEL ----------
state.variables:
- temperature_K: real
- pressure_Pa: real?
- mass_kg: real?
- specific_heat_J_per_kgK: real?
- thermal_conductivity_W_per_mK: real?
- heat_transfer_rate_W: real?
- thermal_energy_J: real?
- phase: enum[solid, liquid, gas, plasma, mixed, unknown]
- operating_mode: enum[idle, heating, cooling, equilibrium, fault, unknown]
- boundary_condition: enum[fixed_temperature, fixed_flux, convective, insulated, mixed, unknown]
state.initial: "unknown until observed or supplied"
state.validity: "Temperature must be non-negative on the Kelvin scale; measurements carry units, uncertainty, and provenance."
state.transition: "S(t+1) = update(S(t), observed_inputs, physical_constraints)"
# ---------- ENTITIES ----------
entities.root: ThermalEngineeringEntity
entities.children:
- ThermalSystem
- ThermalComponent
- HeatSource
- HeatSink
- ThermalBoundary
- ThermalInterface
- ThermalMaterial
- ThermalSensor
- HeatExchanger
- Insulation
- ThermalControlSystem
- ThermalProcess
- ThermalFailure
entities.related:
- Energy
- Temperature
- HeatTransfer
- Conduction
- Convection
- Radiation
- Thermodynamics
- FluidFlow
- MechanicalSystem
entities.relations:
- "ThermalSystem contains ThermalComponent"
- "HeatSource supplies thermal energy to ThermalSystem"
- "HeatSink receives thermal energy from ThermalSystem"
- "ThermalBoundary constrains HeatTransfer"
- "ThermalSensor measures Temperature"
- "ThermalControlSystem regulates ThermalProcess"
- "ThermalFailure affects ThermalSystem"
# ---------- PATHWAYS ----------
pathway "ClassifyThermalEntity":
input: entity_description
require: entity_description is present
steps:
- detect thermal function, boundary, material, component, or process
- match candidate classes against entities.children
- preserve unknown classification when evidence is insufficient
output: classification, evidence, confidence
pathway "EvaluateHeatBalance":
input: heat_in_W, heat_out_W, work_in_W?, work_out_W?, time_s?
require: "Inputs share a consistent sign convention and system boundary"
steps:
- "net_energy_rate_W = heat_in_W - heat_out_W + work_in_W - work_out_W"
- "when time_s is known, delta_energy_J = net_energy_rate_W * time_s"
- "check conservation and measurement uncertainty"
output: net_energy_rate_W, delta_energy_J?, confidence
pathway "EstimateConduction":
input: conductivity_W_per_mK, area_m2, hot_K, cold_K, thickness_m
require: "thickness_m > 0; conductivity_W_per_mK >= 0; area_m2 >= 0"
assumptions: "One-dimensional, steady-state conduction through a uniform plane layer"
steps:
- "temperature_difference_K = hot_K - cold_K"
- "heat_rate_W = conductivity_W_per_mK * area_m2 * temperature_difference_K / thickness_m"
output: heat_rate_W, assumptions, confidence
pathway "EstimateConvection":
input: heat_transfer_coefficient_W_per_m2K, area_m2, surface_K, fluid_K
require: "heat_transfer_coefficient_W_per_m2K >= 0; area_m2 >= 0"
assumptions: "Lumped convection coefficient applies to the selected surface"
steps:
- "heat_rate_W = heat_transfer_coefficient_W_per_m2K * area_m2 * (surface_K - fluid_K)"
output: heat_rate_W, assumptions, confidence
pathway "DetectThermalAnomaly":
input: measured_temperature_K, permitted_min_K, permitted_max_K, sensor_status
require: "permitted_min_K <= permitted_max_K"
steps:
- "if sensor_status != valid then mark measurement unreliable"
- "if measured_temperature_K > permitted_max_K then flag overtemperature"
- "if measured_temperature_K < permitted_min_K then flag undertemperature"
- "otherwise flag within specified range"
output: status, evidence, recommended_review
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine.goal: "Refine the thermal entity interpretation without overriding evidence or physical constraints"
mini_recursion_engine.seed: "Initial entity class and measured state"
mini_recursion_engine.loop:
- expand candidate relationships from entities.relations
- compare candidates with observations and governing constraints
- reject contradictory or unsupported candidates
- update the state and preserve uncertainty
- stop when stable, evidence exhausted, or iteration limit reached
mini_recursion_engine.max_iterations: 8
mini_recursion_engine.stop_condition: "no supported state change OR no new evidence OR iteration limit"
# ---------- INFERENCE_RULES ----------
rule "ConductionGradient":
when: "thermal_conductivity > 0 AND temperature_gradient exists"
infer: "conductive heat transfer may occur in the direction of decreasing temperature"
confidence: "conditional on geometry and material assumptions"
rule "ThermalEquilibrium":
when: "net heat and work transfer is zero AND internal state is stable"
infer: "system may be in thermal steady state; thermodynamic equilibrium requires further conditions"
confidence: "conditional"
rule "OvertemperatureRisk":
when: "reliable measured temperature exceeds a documented component limit"
infer: "thermal operating limit exceeded; inspection or protective action required"
confidence: "high when limit and sensor evidence are verified"
rule "InsulationEffect":
when: "thermal resistance increases under otherwise comparable boundary conditions"
infer: "conductive heat transfer magnitude decreases"
confidence: "high within the stated model"
rule "MissingEvidence":
when: "critical material, geometry, units, or boundary data are absent"
infer: "do not produce an unqualified numerical prediction"
confidence: "insufficient"
# ---------- CONFIDENCE ----------
confidence.method: "Evidence-weighted; distinguish direct observation, derived calculation, and hypothesis"
confidence.levels: [high, medium, low, insufficient]
confidence.constraints:
- "Do not assign a numeric certainty without calibration"
- "Retain assumptions, units, and sensor provenance"
- "Prefer explicit unknown over fabricated values"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
- "thermal engineering entity ~= thermal system element (context-dependent)"
- "heat transfer rate ~= thermal power (W)"
- "thermal energy != temperature"
- "heat != stored internal energy"
- "steady state != necessarily thermodynamic equilibrium"
- "temperature gradient != heat flow without a transport mechanism"
# ---------- SAFETY_CONSTRAINTS ----------
safety:
- "Never infer safe operating temperature or pressure without rated component data"
- "Do not substitute model estimates for certified design or inspection"
- "Flag thermal burns, fire, pressure and phase-change hazards where relevant"
- "Require qualified engineering review for safety-critical applications"
# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 of canonical published file content"
flow_hash.value: "UNSET — calculate at publication after canonicalisation"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.created: "2026-11-16"
update_model.trigger: "Source ontology revision, new validated evidence, or corrected physical model"
update_model.policy: "Preserve source attribution, record changes, and increment version"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard