flow "AirRegulator" v1.0
# ---------- IDENTITY ----------
ENTITY_ID: "engineering.pneumatic.air_regulator"
ENTITY_TYPE: "PneumaticPressureRegulatingDevice"
DOMAIN: "Engineering > Pneumatic Entities"
LANGUAGE: "en-GB"
# ---------- AUTHORS ----------
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE_AUTHOR: "Mark Anthony Higgins"
LICENCE: "Kireth Research Open Research Licence — citation required"
# ---------- SOURCE ----------
SOURCE_URL: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/pneumatic-entities/air-regulator-ontology.html"
SOURCE_TITLE: "Air Regulator Ontology"
SOURCE_REVISED: "2026-08-04"
CITATION_BACKLINK: SOURCE_URL
DERIVATION: "New Flow Algebra representation informed by the page title and pneumatic engineering principles; not a verbatim extraction of embedded page code."
# ---------- PURPOSE ----------
PURPOSE: "Represent the function, state, relationships, control behaviour, faults and safe operating boundaries of a compressed-air pressure regulator."
# ---------- STATE_MODEL ----------
state AirRegulator {
inlet_pressure: Pressure
outlet_pressure: Pressure
target_pressure: Pressure
flow_rate: VolumetricFlowRate
valve_position: Ratio
diaphragm_force: Force
spring_force: Force
downstream_demand: VolumetricFlowRate
relieving_enabled: Boolean
condition: {isolated, ready, regulating, saturated, fault, maintenance}
}
invariant pressure_nonnegative:
inlet_pressure >= 0 and outlet_pressure >= 0
invariant valid_valve_position:
0 <= valve_position and valve_position <= 1
invariant rated_limits:
inlet_pressure <= rated_inlet_pressure and outlet_pressure <= rated_outlet_pressure
# ---------- ENTITIES ----------
entity AirRegulator: PneumaticComponent
entity CompressedAirSupply: PressureSource
entity InletPort: PneumaticPort
entity OutletPort: PneumaticPort
entity ValveSeat: FlowRestriction
entity ValveElement: MovingComponent
entity Diaphragm: PressureSensingElement
entity AdjustmentSpring: MechanicalReference
entity AdjustmentKnob: SetpointControl
entity PressureGauge: MeasuringInstrument
entity DownstreamCircuit: PneumaticLoad
entity ReliefVent: OptionalExhaustPath
entity AirFilter: UpstreamConditioningComponent
relation AirRegulator receives_air_from CompressedAirSupply
relation AirRegulator has_port InletPort
relation AirRegulator has_port OutletPort
relation AirRegulator senses_pressure_at OutletPort
relation AdjustmentKnob changes_compression_of AdjustmentSpring
relation Diaphragm opposes AdjustmentSpring
relation ValveElement meters_flow_through ValveSeat
relation OutletPort supplies DownstreamCircuit
relation AirFilter may_precede AirRegulator
relation ReliefVent exists_only_if relieving_enabled
# ---------- PATHWAYS ----------
pathway normal_regulation:
when condition in {ready, regulating}
and inlet_pressure > target_pressure
and downstream_demand > 0
then sense(outlet_pressure)
-> compare(target_pressure, outlet_pressure)
-> adjust(valve_position)
-> meter_air(InletPort, OutletPort)
-> update(outlet_pressure)
-> condition := regulating
pathway pressure_droop:
when downstream_demand increases
then outlet_pressure may_decrease
-> diaphragm_force decreases
-> valve_position increases_if_capacity_available
-> flow_rate increases_if_supply_sufficient
pathway setpoint_reached:
when outlet_pressure approaches target_pressure
then diaphragm_force balances spring_force
-> valve_position reduces_as_required
-> maintain_outlet_pressure_within_tolerance
pathway supply_insufficient:
when inlet_pressure <= target_pressure or supply_capacity < downstream_demand
then condition := saturated
-> report("Regulator cannot maintain requested outlet pressure")
pathway downstream_overpressure:
when outlet_pressure > permitted_outlet_pressure
then condition := fault
-> isolate_or_trigger_independent_protection
-> report("Downstream overpressure")
pathway relieving_action:
when relieving_enabled and outlet_pressure > target_pressure + relief_deadband
then vent_downstream_air_if_design_permits
-> monitor(outlet_pressure)
pathway non_relieving_action:
when not relieving_enabled and outlet_pressure > target_pressure
then do_not_assume_automatic_venting
-> require_safe_external_pressure_reduction
# ---------- MINI_RECURSION_ENGINE ----------
recursive regulate(observation, depth):
require depth <= MAX_RECURSION_DEPTH
error := target_pressure - observation.outlet_pressure
if abs(error) <= regulation_tolerance:
return state("stable")
if observation.inlet_pressure <= observation.outlet_pressure:
return state("insufficient_supply_or_reverse_gradient")
if observation.condition in {fault, isolated, maintenance}:
return state("control_inhibited")
proposal := bounded_valve_adjustment(error, observation.valve_position)
next := observe_after(proposal)
return regulate(next, depth + 1)
# ---------- INFERENCE_RULES ----------
rule R01:
if outlet_pressure < target_pressure and inlet_pressure > outlet_pressure
then infer("Valve opening may increase to restore downstream pressure")
rule R02:
if outlet_pressure falls as flow_rate rises
then infer("Possible regulator droop, undersizing or insufficient supply")
rule R03:
if outlet_pressure rises above target_pressure at zero demand
then infer("Possible seat leakage or regulator creep; inspect")
rule R04:
if outlet_pressure oscillates
then infer("Possible hunting, unstable demand or inappropriate regulator sizing")
rule R05:
if particulate_contamination detected
then infer("Check upstream filtration and regulator seat condition")
rule R06:
if relieving_enabled == false
then infer("Setpoint reduction alone may not depressurise downstream circuit")
# ---------- CONFIDENCE ----------
confidence ontology_classification: high
confidence qualitative_regulation_model: high
confidence specific_performance_values: unknown_until_manufacturer_data
confidence fault_diagnosis: conditional_on_measurements
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "air pressure regulator" ~ "pneumatic pressure regulator"
equivalent "pressure reducing regulator" ~ "downstream pressure regulator" where device_reduces_pressure
not_equivalent "air regulator" != "air filter"
not_equivalent "air regulator" != "pressure relief valve"
not_equivalent "air regulator" != "flow control valve"
# ---------- SAFETY_CONSTRAINTS ----------
constraint use_manufacturer_ratings:
verify(rated_inlet_pressure, rated_outlet_pressure, flow_capacity, media_compatibility)
constraint maintenance_isolation:
isolate_supply -> depressurise_both_sides -> verify_zero_pressure -> service
constraint protective_design:
do_not_treat_regulator_as_independent_overpressure_protection
constraint reverse_flow:
do_not_assume_reverse_flow_permitted_without_product_specification
constraint environmental:
verify(temperature_limits, contamination_limits, vent_discharge_safety)
# ---------- FLOW_HASH ----------
FLOW_HASH_METHOD: "SHA-256 over canonical UTF-8 flow content; calculate after final publication"
FLOW_HASH: "PENDING_CANONICALISATION"
# ---------- UPDATE_MODEL ----------
VERSION: "1.0"
LAST_GENERATED: "2026-11-16"
UPDATE_TRIGGER: ["ontology_revision", "manufacturer_specification_change", "validated_engineering_correction"]
UPDATE_POLICY: "Preserve source attribution, increment version, regenerate canonical hash and revalidate safety constraints."
Download Code
Copy to Clipboard