Skip to main content

Valve State Ontology

Valve and Flow-Control Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
FLOW ALGEBRA — VALVE 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/valve-and-flow-control-entities/valve-ontology.html
Status: Newly generated ontology-aligned formal reasoning representation; not a verbatim extraction of the page's embedded code.

PURPOSE
Represent valves as engineered flow-control entities with explicit identity, interfaces, states, operating constraints, control actions, causal relationships and validation pathways. Separate asserted facts, derived inferences and unknown properties.

ENTITY MODEL
Valve := (Identity, Type, Body, ClosureElement, Seat, StemOrActuator, Ports, Fluid, Ratings, State, Control, Evidence)
Identity := (entity_id, name, revision, provenance)
Type ∈ {isolation, throttling, non_return, pressure_control, directional_control, safety_relief, other}
Ports := ordered set of (port_id, connection, direction, pressure, temperature, flow)
State := (opening_fraction, command, actual_position, delta_pressure, mass_flow, temperature, health, timestamp)
Health ∈ {normal, degraded, failed, unknown}
Evidence := (source, observation_time, method, confidence)

RELATIONSHIPS
Valve IS_A FluidControlComponent
Valve PART_OF FluidSystem
Valve HAS_PART ValveBody
Valve HAS_PART ClosureElement
Valve HAS_INTERFACE InletPort
Valve HAS_INTERFACE OutletPort
Valve MAY_HAVE Actuator
Valve MAY_HAVE PositionSensor
Valve REGULATES FluidFlow
Valve INTERACTS_WITH PressureBoundary
Valve SUBJECT_TO OperatingEnvelope
Valve CONTROLLED_BY CommandOrPhysicalCondition

STATE MODEL
S_t := (I_t, R_t, B_t, K_t)
I_t = observed and declared valve facts at time t
R_t = entity relationships and physical/control rules
B_t = design, safety and evidence boundaries
K_t = validated domain knowledge and provenance
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and consistent(x, K_t)}
Candidate_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, Candidate_t, new_evidence)

OPERATING STATES
UNKNOWN -> IDENTIFIED -> INSTALLED -> COMMISSIONED -> AVAILABLE
AVAILABLE -> OPENING -> OPEN
AVAILABLE -> CLOSING -> CLOSED
OPEN <-> THROTTLING <-> CLOSED  [only if design permits modulating service]
ANY -> DEGRADED -> FAILED
FAILED -> ISOLATED -> INSPECTED -> REPAIRED -> TESTED -> AVAILABLE
State transitions require supported commands, observations and interlock conditions.

FLOW AND PRESSURE RULES
For steady single-inlet/single-outlet operation without leakage:
  mass_flow_in = mass_flow_out
For incompressible fluid under an applicable valve flow model:
  Q = Cv * sqrt(DeltaP / SG) * C_units
  where Cv convention, C_units, units and fluid conditions must be declared.
For compressible flow, cavitating liquid flow or choked flow:
  use the applicable validated model; do not extrapolate the incompressible equation.
Pressure loss and capacity depend on valve geometry, opening, fluid state and Reynolds regime.
A nominally CLOSED valve does not imply zero leakage unless verified against a specified leakage class.
A non-return valve's position is primarily governed by differential pressure and design, not necessarily an external command.
A safety-relief valve's opening is governed by its set-pressure behaviour and applicable service conditions.

INFERENCE RULES
RULE V01: IF type = isolation AND actual_position = closed THEN infer intended_function = block_flow; do not infer leak_tight = true.
RULE V02: IF opening_fraction increases AND all other relevant conditions are comparable THEN infer potential_flow_capacity = nondecreasing only where the characterised valve curve supports it.
RULE V03: IF measured_pressure > rated_pressure THEN flag operating_envelope_violation.
RULE V04: IF measured_temperature outside rated_temperature_range THEN flag operating_envelope_violation.
RULE V05: IF command != actual_position beyond allowed response_time THEN flag actuator_or_mechanism_discrepancy.
RULE V06: IF flow is observed across a closed valve THEN flag possible_seat_leakage_or_sensor_error; request corroboration.
RULE V07: IF liquid pressure falls below applicable vapour-pressure threshold locally THEN flag cavitation_risk; assess with validated sizing method.
RULE V08: IF pressure drop and flow exceed allowable operating region THEN flag performance_review_required.
RULE V09: IF relief valve set pressure is undocumented THEN mark safety_assessment = incomplete.
RULE V10: IF evidence is insufficient THEN return unknown rather than inventing valve ratings or suitability.

PATHWAYS
Identification: identify -> classify -> link system -> record interfaces -> verify evidence
Selection: service requirements -> fluid conditions -> valve function -> sizing -> material compatibility -> standards review
Operation: observe -> validate -> command/physical stimulus -> transition -> monitor -> confirm
Fault analysis: anomaly -> isolate hypotheses -> test evidence -> classify -> remediate -> verify
Lifecycle: specification -> procurement -> installation -> commissioning -> service -> inspection -> retirement

MINI RECURSION ENGINE
1. Read observed state, declared ratings and provenance.
2. Expand relevant relationships and applicable physical rules.
3. Filter candidates using evidence, operating envelope and safety constraints.
4. Rank remaining explanations by evidence quality, not assumed certainty.
5. Emit conclusion, confidence, limitations and required tests.
6. Incorporate validated new evidence; repeat until stable or bounded by iteration limit.
Termination: stop when no material state change, evidence exhausted, or max_iterations reached.

SEMANTIC EQUIVALENCE
valve ~= flow-control valve [context dependent]
shut-off valve ~= isolation valve [function-level, not design identity]
check valve ~= non-return valve
control valve ~= modulating valve [only when modulating function is verified]
relief valve != general isolation valve
valve position != measured flow rate
valve command != verified valve position

VALIDATION
- Require stable identity, type and provenance.
- Confirm pressure, temperature, material and connection ratings before suitability claims.
- Validate units and model assumptions for any calculated flow.
- Keep commanded, indicated and independently observed states distinct.
- Report unknown, contradictory and stale evidence explicitly.
- Never treat this ontology as a substitute for engineering codes, manufacturer data or qualified safety review.

CONFIDENCE
High: measured, traceable, independently verified facts.
Medium: model-based inference within a documented validated operating envelope.
Low: qualitative analogy, incomplete ratings or uncertain operating conditions.
Unknown: absent or conflicting evidence.

UPDATE MODEL
Version every change; retain source URL, evidence timestamps, validation results and change rationale. Recompute dependent inferences after changing valve type, ratings, control mode or fluid properties.

FLOW HASH
Canonical hash: compute SHA-256 over the deployed UTF-8 content after final approval; not precomputed here.

CITATION
Higgins, Mark Anthony; Sky — Recursive AI. Valve Ontology, Kireth Research, source URL above. Flow Algebra adaptation dated 2026-11-16.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ