Skip to main content

Fluid Reservoir 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 RESERVOIR 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-reservoir-ontology.html
Status: Newly generated semantic interpretation; not a verbatim extraction of the page's embedded code.
Purpose: Model the identity, storage function, interfaces, physical state, conservation constraints and failure modes of fluid reservoirs.

flow "FluidReservoirOntology" v1.0

AUTHORS:
  primary: "Mark Anthony Higgins"
  collaborator: "Sky — Recursive AI"
SOURCE:
  canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/fluid-reservoir-ontology.html"
  category: "Engineering Entities > Fluid Engineering Entities"
CITATION_BACKLINK:
  required: true
  url: SOURCE.canonical_url
PURPOSE:
  represent: "A vessel or bounded storage region that holds fluid for supply, buffering, circulation, or process operation"
  distinguish_from: ["pipeline", "fluid stream", "pump", "pressurised accumulator"]

STATE_MODEL:
  S_t = (I_t, R_t, B_t, K_t)
  I_t: identified reservoir and measured operating conditions
  R_t: entity relationships, component connectivity and transfer rules
  B_t: physical boundaries, capacity limits and safety constraints
  K_t: domain knowledge, material properties and operating history
  E_t = expand(I_t, R_t)
  V_t = {x in E_t | satisfies(x, B_t)}
  x_star = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
  I_(t+1) = update(I_t, x_star, observations_t)
  # Probability ranking applies to candidate explanations, not conservation laws.

ENTITIES:
  FluidReservoir:
    is_a: ["FluidEngineeringEntity", "StorageComponent"]
    attributes: ["reservoir_id", "fluid_type", "capacity_m3", "stored_volume_m3", "pressure_Pa", "temperature_K", "fluid_density_kg_m3", "level_m", "material", "design_pressure_Pa", "operating_state"]
  ReservoirBoundary:
    attributes: ["wall", "base", "cover", "liner", "seal", "vent"]
  FluidInventory:
    attributes: ["mass_kg", "volume_m3", "composition", "contamination_level"]
  FluidPort:
    types: ["inlet", "outlet", "drain", "overflow", "vent", "return"]
  Sensor:
    types: ["level", "pressure", "temperature", "flow", "leak"]
  Actuator:
    types: ["inlet_valve", "outlet_valve", "drain_valve", "pump"]
  Environment:
    attributes: ["ambient_pressure", "ambient_temperature", "external_load"]

RELATIONSHIPS:
  FluidReservoir --contains--> FluidInventory
  FluidReservoir --bounded_by--> ReservoirBoundary
  FluidReservoir --connects_via--> FluidPort
  FluidPort --connects_to--> FlowPath
  Sensor --measures--> FluidReservoir
  Actuator --regulates--> FluidPort
  FluidReservoir --exchanges_heat_with--> Environment
  FluidReservoir --supplies_or_receives--> FluidSystem

PATHWAYS:
  fill: source -> inlet -> inventory -> level_change
  discharge: inventory -> outlet -> downstream_system
  recirculate: return_port -> inventory -> supply_port
  overflow: excess_inventory -> overflow_port -> safe_discharge
  drain: inventory -> drain_port -> maintenance_or_disposal
  vent: gas_space -> vent_port -> controlled_environment

PHYSICAL_CONSTRAINTS:
  capacity: 0 <= stored_volume_m3 <= usable_capacity_m3 <= geometric_capacity_m3
  mass_balance: dM/dt = sum(mass_flow_in) - sum(mass_flow_out) + mass_generated - mass_consumed
  incompressible_single_phase_approximation: dV/dt = sum(volume_flow_in) - sum(volume_flow_out)
  level_geometry: dV/dh = wetted_cross_sectional_area(h)
  hydrostatic_pressure: p(h) = p_surface + rho*g*depth_below_surface
  thermal_energy_balance: dU/dt = sum(enthalpy_flow_in) - sum(enthalpy_flow_out) + heat_transfer - shaft_work
  operating_limits: pressure <= design_pressure AND temperature within material_rating
  # Formulae require suitable assumptions; density, pressure, geometry and phase may vary.

INFERENCE_RULES:
  R01: IF inflow > outflow AND no compensating losses THEN inventory increases.
  R02: IF outflow > inflow AND no replenishment THEN inventory decreases.
  R03: IF level >= high_high_limit THEN flag overfill risk and request protective action.
  R04: IF level <= low_low_limit THEN flag dry-run or supply-interruption risk.
  R05: IF observed_mass_balance_residual exceeds tolerance THEN investigate leakage, instrumentation and unmodelled transfers.
  R06: IF measured_pressure > permitted_pressure THEN flag overpressure hazard.
  R07: IF fluid and boundary materials are incompatible THEN flag corrosion or degradation risk.
  R08: IF venting is obstructed during filling or emptying THEN flag pressure/vacuum risk.
  R09: IF contamination exceeds specification THEN mark inventory unsuitable for specified use.
  R10: IF thermal expansion reduces free volume below required margin THEN flag expansion/overflow risk.

MINI_RECURSION_ENGINE:
  observe -> identify_state -> expand_candidate_causes -> filter_by_constraints -> rank_explanations -> recommend_checks -> update_knowledge -> repeat
  stop_when: ["state_stable", "confidence_sufficient", "safety_intervention_required", "insufficient_data"]

SEMANTIC_EQUIVALENCE:
  related_terms: ["fluid storage vessel", "storage tank", "holding tank", "sump", "header tank", "reservoir"]
  caution: "These terms overlap but are not universally interchangeable; pressure class, purpose and geometry differ."
  not_equivalent_to: ["fluid stream", "pipeline", "pump", "accumulator in every context"]

CONFIDENCE:
  evidence_levels: ["measured", "calculated", "inferred", "unknown"]
  preserve_uncertainty: true
  rule: "Do not promote an inferred fault to a confirmed fault without corroborating evidence."

VALIDATION:
  require: ["reservoir_id", "fluid_type", "capacity_m3", "operating_state"]
  checks:
    - "Volumes and capacities are non-negative and physically consistent"
    - "Pressure and temperature use declared reference scales and units"
    - "Inlet/outlet direction is consistent with observed mass balance"
    - "Sensor readings include timestamps and uncertainty where available"
    - "Safety limits refer to applicable design conditions"
    - "Any assumed steady state or incompressibility is declared"

FLOW_HASH:
  method: "SHA-256 of normalised published flow text"
  value: "compute_on_publication"
UPDATE_MODEL:
  revision: "1.0"
  change_policy: "Version all ontology, rule and constraint modifications"
  provenance: "Retain source URL and citation attribution"

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