flow "PressureRegulatingValveOntology" v1.1
# SEMANTIC LIBRARY — ENGINEERING ENTITY GRAPH
# Category: Valve and Flow-Control Entities
# Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/pressure-regulating-valve-ontology.html
# Authors: Mark Anthony Higgins — Sky Recursive AI
# Generated: 2026-11-16
# Status: Original Flow Algebra interpretation; not verbatim website code.
AUTHORS:
primary: "Mark Anthony Higgins"
collaborator: "Sky — Recursive AI"
SOURCE:
title: "Pressure-Regulating Valve Ontology"
uri: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/pressure-regulating-valve-ontology.html"
CITATION_BACKLINK:
required: true
target: SOURCE.uri
PURPOSE:
represent pressure-regulating valves as physical control entities;
connect sensed pressure, reference setpoint, actuator response,
valve opening, flow and downstream pressure;
infer operating states and flag unsupported or unsafe conditions.
ENTITY:
PressureRegulatingValve <: Valve <: FluidControlComponent
has_part -> ValveBody, Seat, ClosureElement, Actuator
may_have_part -> Spring, Diaphragm, Pilot, PressureSensor, Controller
connects -> UpstreamFluidNode, DownstreamFluidNode
regulates -> ControlledPressure
responds_to -> PressureError
installed_in -> FluidNetwork
DISTINCTIONS:
PressureReducingValve -> regulates downstream pressure under suitable supply conditions
BackPressureRegulator -> regulates upstream pressure by modulating discharge
PilotOperatedRegulator -> uses pilot pressure to influence main valve
DirectActingRegulator -> uses direct mechanical pressure-force balance
SafetyReliefValve -> distinct protective device; not interchangeable by name
STATE_MODEL:
state S(t) = (I(t), R, B, K)
I(t) = observed pressures, flow, temperature, valve position,
actuator force, setpoint, sensor health, time
R = governing flow, force balance, actuator and control relations
B = design envelope, permitted media, pressure ratings, travel limits
K = component identity, connectivity, configuration and provenance
operating_state in {isolated, closed, regulating, fully_open,
insufficient_supply, unstable, faulted, unknown}
measured_pressure: quantity[Pa]
target_pressure: quantity[Pa]
upstream_pressure: quantity[Pa]
downstream_pressure: quantity[Pa]
volumetric_flow: quantity[m3/s]
opening_fraction: real[0..1]
actuator_command: real[0..1]?
PATHWAYS:
sensing: fluid pressure -> sensor/mechanical element -> feedback
comparison: feedback + target -> pressure error
actuation: pressure error -> actuator force/command -> opening
hydraulic: opening + differential pressure + fluid properties -> flow
response: flow + network demand -> controlled pressure
monitoring: observations -> constraint checks -> state classification
RELATIONS:
error_downstream = target_pressure - downstream_pressure
when regulator_type == PressureReducingValve
error_upstream = target_pressure - upstream_pressure
when regulator_type == BackPressureRegulator
pressure_drop = upstream_pressure - downstream_pressure
mass_flow = density * volumetric_flow
continuity: sum(mass_flow_in) - sum(mass_flow_out) = accumulation_rate
valve_capacity: volumetric_flow = f(opening_fraction,
pressure_drop, fluid_properties, valve_characteristic)
note: use validated compressible or incompressible equations as applicable;
do not assume a single capacity equation fits all operating regimes.
INFERENCE_RULES:
IF sensor_valid AND within_operating_envelope AND
abs(controlled_pressure - target_pressure) <= tolerance
THEN infer operating_state = regulating
confidence = conditional
IF regulator_type == PressureReducingValve AND
upstream_pressure <= target_pressure + required_headroom
THEN infer operating_state = insufficient_supply
flag "Downstream setpoint may not be maintainable"
IF opening_fraction == 0 AND abs(volumetric_flow) <= leak_tolerance
THEN infer operating_state = closed
IF opening_fraction == 1 AND pressure_error_persists
THEN infer operating_state = fully_open
flag "Control authority exhausted"
IF sustained_pressure_oscillation AND sensor_valid
THEN infer operating_state = unstable
request investigation of tuning, demand and mechanical dynamics
IF sensor_invalid OR actuator_fault OR pressure_rating_exceeded
THEN infer operating_state = faulted
prohibit claim of verified regulation
MINI_RECURSION_ENGINE:
seed = I(t)
expand(seed, R) -> candidate states and causal explanations
filter(candidates, B) -> physically admissible candidates
rank(admissible, K, evidence_quality) -> preferred interpretation
validate(preferred, measured_data) -> confirmed | uncertain | rejected
update I(t+1) from new observations
repeat until stable classification OR iteration_limit reached
preserve uncertainty where measurements are absent or inconsistent
SEMANTIC_EQUIVALENCE:
"pressure regulator" ~= "pressure-regulating valve"
only when the referenced device is a valve-based regulator
"pressure reducing valve" ~= "downstream pressure regulator"
when functional configuration matches
"back pressure valve" ~= "upstream pressure regulator"
when functional configuration matches
NOT_EQUIVALENT:
pressure-regulating valve != pressure relief valve
pressure-regulating valve != flow-control valve
pressure-regulating valve != pressure sensor
VALIDATION:
require identified control_side: upstream | downstream
require pressure_units and setpoint_reference: gauge | absolute
require fluid_phase and temperature_range
require rated_pressure >= verified operating_pressure
require pressure sensors and flow measurements have provenance
reject contradictory node connections or impossible port direction
flag cavitation, flashing, choked_flow or erosion risk when applicable
avoid asserting compliance with standards without documentary evidence
CONFIDENCE:
high -> instrumented, calibrated and validated operating state
medium -> partial observations consistent with verified design
low -> inferred configuration or missing measurements
unknown -> contradictory or absent evidence
UPDATE_MODEL:
refresh on sensor change, maintenance, calibration, setpoint change,
component replacement, control tuning or new operating evidence
retain revision history and source provenance
FLOW_HASH:
method: SHA-256 of canonical UTF-8 flow text
value: to_be_computed_on_publication
EXECUTION_GUARANTEE:
rules are declarative constraints and inference pathways;
execution requires an implementation with measured inputs and
domain-validated component models. No safety certification implied.
Download Code
Copy to Clipboard