Skip to main content

Fluid Tank Ontology

Fluid Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
FLOW ALGEBRA — FLUID TANK ONTOLOGY
Version: 1.0
Date: 2026-11-16
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/fluid-tank-ontology.html
Category: Engineering Entities / Fluid Engineering Entities
Licence: Open Research Licence — citation required; consult source for terms.
Status: Newly generated semantic representation; not a verbatim extraction of the webpage's downloadable code.

FLOW "FluidTankOntology" v1.0

PURPOSE:
  Represent a fluid tank as a bounded engineered vessel that stores, receives,
  supplies, measures or conditions fluid, with explicit operating limits.

ENTITY:
  id: engineering.fluid.fluid_tank
  label: Fluid Tank
  parent: Fluid Engineering Entity
  related: [Fluid Reservoir, Fluid System, Pipe, Valve, Pump,
            Fluid Stream, Flow Path, Sensor, Pressure Vessel]

STATE_MODEL:
  S(t) = (I, R, B, K, X(t))
  I = {tank_id, design_type, material, geometry, location, intended_fluid}
  R = {contains, receives_from, discharges_to, connects_via,
       is_monitored_by, is_protected_by, is_supported_by}
  B = {minimum_volume, maximum_working_volume, pressure_limits,
       temperature_limits, compatibility_limits, structural_limits}
  K = {mass_conservation, fluid_properties, geometry_relations,
       operating_procedures, inspection_rules}
  X(t) = {volume, level, mass, pressure, temperature, composition,
          inflow_rate, outflow_rate, leak_rate, operating_mode}

ENTITIES:
  TankShell: structural containment boundary
  TankBase: supports hydrostatic and structural loading
  InletPort: fluid entry interface
  OutletPort: fluid exit interface
  Vent: gas exchange or pressure-management interface, if fitted
  Overflow: controlled high-level discharge, if fitted
  Drain: low-point emptying interface, if fitted
  LevelSensor: measurement of inventory or height
  PressureSensor: measurement of internal pressure
  TemperatureSensor: measurement of fluid temperature
  ReliefDevice: overpressure protection, where required
  ContainedFluid: fluid inventory inside tank boundary
  Headspace: unfilled internal volume, where present

RELATIONSHIPS:
  FluidTank contains ContainedFluid
  FluidTank has_part TankShell
  FluidTank may_have InletPort, OutletPort, Vent, Overflow, Drain
  FluidTank may_connect_to Pipe, Pump, Valve, Manifold
  FluidTank may_be_monitored_by LevelSensor, PressureSensor, TemperatureSensor
  FluidTank may_be_protected_by ReliefDevice
  ContainedFluid has_property Density, Viscosity, Temperature, Composition

PATHWAYS:
  Receive: Source -> InletPort -> TankInventory
  Store: TankInventory -> Containment -> Monitoring
  Discharge: TankInventory -> OutletPort -> DownstreamSystem
  Protect: MeasuredState -> LimitCheck -> AlarmOrProtectiveAction
  Inspect: Observations -> IntegrityAssessment -> MaintenanceDecision

PHYSICAL_CONSTRAINTS:
  0 <= V(t) <= V_working_max <= V_geometric
  m(t) = integral_over_inventory(rho dV)
  dm/dt = sum(m_dot_in) - sum(m_dot_out) - m_dot_leak
  For incompressible, constant-density contents:
    dV/dt = sum(Q_in) - sum(Q_out) - Q_leak
  For a tank of constant horizontal cross-sectional area A:
    dh/dt = (sum(Q_in) - sum(Q_out) - Q_leak) / A
  Hydrostatic gauge pressure at depth h for a static homogeneous fluid:
    p_gauge = rho * g * h
  For varying tank geometry:
    dV/dh = A(h)
  Above equations are conditional models, not universal design formulas.

INFERENCE_RULES:
  IF level >= configured_high_level THEN flag HIGH_LEVEL
  IF level <= configured_low_level THEN flag LOW_LEVEL
  IF pressure > maximum_allowable_pressure THEN flag OVERPRESSURE
  IF temperature outside design_range THEN flag THERMAL_LIMIT
  IF material incompatible_with fluid THEN flag COMPATIBILITY_RISK
  IF measured_inventory_change differs from net_metered_flow
     beyond uncertainty_tolerance THEN flag POSSIBLE_LEAK_OR_SENSOR_FAULT
  IF outlet_open AND available_head > required_head
     THEN discharge MAY occur, subject to network resistance
  IF maintenance_due OR integrity_check_failed
     THEN flag INSPECTION_REQUIRED

MINI_RECURSION_ENGINE:
  1. Observe measurements and component status.
  2. Update X(t) and check sensor validity.
  3. Evaluate B and conservation residuals.
  4. Infer operating state and plausible causes of anomalies.
  5. Select permissible monitoring or protective actions.
  6. Record evidence, confidence and changed state.
  7. Repeat after a new measurement or event.

SEMANTIC_EQUIVALENCE:
  "storage tank" ~= FluidTank where intended function is fluid storage
  "holding tank" ~= FluidTank where contents are temporarily retained
  "process tank" is_a FluidTank when part of an industrial process
  "pressure vessel" overlaps FluidTank but is NOT universally equivalent
  "reservoir" overlaps FluidTank but may denote natural/open storage

VALIDATION:
  Require unique tank_id and explicit units.
  Require known design and operating limits before safety assessment.
  Check measurement timestamps, uncertainty and sensor health.
  Distinguish geometric capacity from permitted working capacity.
  Distinguish gauge pressure from absolute pressure.
  Reject impossible negative inventory and inconsistent geometry.
  Do not infer regulatory compliance from ontology classification alone.

CONFIDENCE:
  High: measured and calibrated observations within validated models.
  Medium: indirect inference with stated assumptions.
  Low: missing measurements, uncertain fluid properties or abnormal states.

UPDATE_MODEL:
  Trigger: measurement, maintenance, configuration change, inspection,
           alarm, transfer operation or material change.
  Preserve provenance, timestamps, revisions and prior states.

FLOW_HASH:
  Generate SHA-256 from canonicalised published flow text at deployment.
  No hash is asserted in this draft.

CITATION:
  Higgins, Mark Anthony; Sky — Recursive AI.
  "Fluid Tank Ontology", Kireth Research, revised 04 August 2026.
  Source URL above. Flow Algebra interpretation generated 16 November 2026.

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