FLOW ALGEBRA v1.0 — BUTTERFLY VALVE ONTOLOGY
============================================================
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/butterfly-valve-ontology.html
SOURCE AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE REVISED: 2026-08-04
GENERATED: 2026-11-16
STATUS: Newly generated semantic interpretation; not a verbatim extraction of embedded source code.
PURPOSE: Model a butterfly valve's structure, actuation, flow control, operating state, constraints and diagnostic inference.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/butterfly-valve-ontology.html
flow "ButterflyValveOntology" v1.0 {
LOCALE: en-GB
DOMAIN: Engineering > Valve and Flow-Control Entities
ENTITY: ButterflyValve
PARENT: Valve
STATE_MODEL:
S(t) = (I(t), R, B, K)
I(t) = observed valve configuration, pressure, flow, actuator and condition
R = component relations and physical operating rules
B = operating, mechanical and safety boundaries
K = validated engineering knowledge and design data
E(t) = expand(I(t), R)
V(t) = {x in E(t) | satisfies(x, B, K)}
I(t+1) = update(I(t), argmax[x in V(t)] confidence(x | I(t),R,B,K))
ENTITIES:
ButterflyValve: quarter-turn valve controlling flow using a rotating disc
ValveBody: pressure-containing housing with inlet and outlet
Disc: rotating obstruction within flow passage
Shaft: transmits torque to disc
Seat: sealing interface between disc and body
Actuator: manual, electric, pneumatic or hydraulic drive
Bearing: supports shaft rotation
Seal: limits external leakage
Fluid: liquid or gas passing through valve
FlowPath: hydraulic passage through valve
PositionSensor: optional disc-position feedback
PressureSensor: optional inlet/outlet pressure measurement
RELATIONS:
ButterflyValve is_a Valve
ButterflyValve contains ValveBody, Disc, Shaft, Seat
Shaft drives Disc
Actuator rotates Shaft
Disc obstructs FlowPath
Seat contacts Disc when shut
ValveBody connects upstream and downstream systems
PositionSensor observes Disc position
PressureSensor observes pressure differential
PARAMETERS:
theta_deg: disc angle [degrees], 0 nominally closed, 90 nominally open
Q_m3_s: volumetric flow rate [m^3/s]
P_up_Pa: upstream absolute pressure [Pa]
P_down_Pa: downstream absolute pressure [Pa]
dP_Pa: differential pressure [Pa]
rho_kg_m3: fluid density [kg/m^3]
Cv_or_Kv: valve flow coefficient (manufacturer-specific convention)
T_Nm: required operating torque [N m]
T_rated_Nm: available actuator torque [N m]
P_rated_Pa: rated operating pressure [Pa]
T_fluid_K: fluid temperature [K]
leak_rate: measured seat or external leakage
seat_limit: specified acceptable leakage
condition: {healthy, degraded, failed, unknown}
PATHWAYS:
OPEN: actuator_command(open) -> shaft_rotation -> disc_alignment -> reduced_flow_obstruction
CLOSE: actuator_command(close) -> shaft_rotation -> disc_seat_contact -> flow_isolation
MODULATE: position_command(theta) -> disc_position -> effective_flow_area -> flow_response
MONITOR: sensors -> compare_with_design_limits -> condition_assessment
MAINTAIN: isolate_and_depressurise -> inspect_seat_disc_shaft -> repair -> test -> recommission
INFERENCE_RULES:
R01: IF theta_deg approximately 0 AND seat_integrity=true THEN infer nominally_closed
R02: IF theta_deg approximately 90 THEN infer nominally_open
R03: IF 0 < theta_deg < 90 THEN infer partially_open
R04: IF dP_Pa = P_up_Pa - P_down_Pa THEN infer pressure_difference_defined
R05: IF T_Nm > T_rated_Nm THEN infer actuator_torque_inadequate
R06: IF leak_rate > seat_limit AND commanded_closed THEN infer possible_seat_leakage
R07: IF measured_position != commanded_position beyond_tolerance THEN infer possible_actuation_fault
R08: IF P_up_Pa or P_down_Pa exceeds applicable pressure_rating THEN infer pressure_limit_violation
R09: IF fluid_temperature outside approved_seat_material_range THEN infer material_compatibility_risk
R10: IF cavitation_or_choked_flow_detected THEN infer operating_regime_requires_review
PHYSICAL_CONSTRAINTS:
C01: 0 <= theta_deg <= 90 for nominal quarter-turn travel; actual stops follow manufacturer design
C02: pressure, temperature and fluid compatibility must satisfy approved valve specification
C03: actuator torque must cover breakaway, running and seating torque with design margin
C04: valve flow coefficient is position-dependent and must come from validated characteristic data
C05: pressure loss and flow are coupled; do not assume a linear angle-to-flow relationship
C06: isolation quality depends on disc, seat, pressure direction and rated leakage class
C07: fluid forces may create dynamic torque and vibration at partial opening
C08: conservation of mass applies to steady, leak-free single-inlet/single-outlet operation
EQUATIONS:
deltaP = P_up - P_down
mass_flow = rho * Q
steady_continuity: mass_flow_in = mass_flow_out (no leaks or accumulation)
hydraulic_power_W = Q * deltaP
torque_margin_Nm = T_rated_Nm - T_required_Nm
Note: actual Q(deltaP,theta) requires calibrated valve characteristic and fluid regime.
SEMANTIC_EQUIVALENCE:
butterfly valve ~= quarter-turn disc valve [contextual synonym]
wafer butterfly valve is_a ButterflyValve [mounting subtype]
lug butterfly valve is_a ButterflyValve [mounting subtype]
double-offset butterfly valve is_a ButterflyValve [disc/seat geometry subtype]
triple-offset butterfly valve is_a ButterflyValve [disc/seat geometry subtype]
ButterflyValve != BallValve
ButterflyValve != GateValve
VALIDATION:
V01: ensure units and pressure basis are explicit
V02: reject missing design limits as proof of safe operation
V03: verify disc position from feedback where available
V04: validate leakage against applicable seat test specification
V05: distinguish measured, manufacturer-rated and inferred quantities
V06: mark uncertain diagnoses as hypotheses requiring inspection
MINI_RECURSION_ENGINE:
INPUT: component graph, measurements, commands, operating specification
STEP_1: normalise units and entity identifiers
STEP_2: expand relationships to actuator, disc, seat, flow and pressure
STEP_3: apply operating and conservation constraints
STEP_4: infer operational state and possible faults
STEP_5: score evidence confidence and reject unsupported assertions
STEP_6: update validated state, preserve provenance and repeat on new observations
TERMINATE: stable state or unresolved uncertainty requiring additional evidence
CONFIDENCE:
high: independently measured and specification-validated
medium: inferred from reliable but incomplete evidence
low: qualitative or unverified hypothesis
UPDATE_MODEL:
version: 1.0
source_revision: 2026-08-04
generated: 2026-11-16
revision_trigger: changed source ontology, verified equipment data or engineering standards
provenance: preserve original source URL and distinguish derived rules from source claims
}
ENGINEERING NOTE:
This semantic representation is for ontology/reasoning use, not an engineering design approval.
Pressure, temperature, flow and actuation limits must be checked against the actual valve manufacturer's data.
Download Code
Copy to Clipboard