AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA — FLOW METER ENTITY ONTOLOGY
Version: 1.1
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/flow-meter-entity-ontology.html
Citation: Kireth Research, Flow Meter Entity Ontology (revised 04 August 2026).
Status: Original derived Flow Algebra representation; not a verbatim extraction.
flow "FlowMeterEntityOntology" v1.1
# ---------- PURPOSE ----------
PURPOSE:
Represent a flow meter as a measurement entity in a fluid network.
Resolve measurement principle, measured quantity, installation context,
operating envelope, uncertainty, calibration and inferred validity.
# ---------- ENTITY MODEL ----------
ENTITIES:
FlowMeter is_a MeasurementDevice
FlowMeter measures FlowQuantity
FlowMeter installed_in FlowPath
FlowMeter interfaces_with FluidStream
FlowMeter produces MeasurementSignal
FlowMeter governed_by CalibrationRecord
FlowMeter constrained_by OperatingEnvelope
FlowMeter may_contain PrimarySensor
FlowMeter may_contain SignalTransmitter
FlowQuantity := {volumetric_flow_rate, mass_flow_rate, flow_velocity}
MeasurementPrinciple := {differential_pressure, turbine, electromagnetic,
ultrasonic, coriolis, vortex, positive_displacement,
thermal_mass, variable_area, other}
MeasurementState := {unconfigured, installed, calibrated, measuring,
degraded, fault, isolated, maintenance}
# ---------- INPUT / OUTPUT ----------
INPUT:
meter_id, principle, fluid_type, pipe_diameter, orientation
measured_signal, timestamp, calibration, range_min, range_max
fluid_temperature, fluid_pressure, fluid_density, fluid_viscosity
upstream_conditions, downstream_conditions, installation_constraints
OUTPUT:
measured_quantity, measured_value, unit, uncertainty
validity_state, quality_flags, provenance, recommended_action
# ---------- STATE MODEL ----------
STATE_MODEL:
S(t) = (I(t), R, B, K)
I(t) := live observations, meter configuration, installation data
R := entity relations and measurement transformation rules
B := physical, operational and calibration boundaries
K := known meter principle, design limits and evidence
unconfigured -> installed when identity and installation verified
installed -> calibrated when calibration evidence accepted
calibrated -> measuring when signal and conditions valid
measuring -> degraded when uncertainty or diagnostics deteriorate
measuring -> fault when measurement integrity fails
degraded -> maintenance when inspection required
fault -> isolated when operation is unsafe or untrustworthy
maintenance -> calibrated after verified corrective action
# ---------- PATHWAYS ----------
PATHWAYS:
measurement:
observe raw_signal
-> identify measurement_principle
-> apply calibrated_conversion
-> compensate when supported and required
-> evaluate operating_envelope
-> propagate uncertainty
-> emit measured_value + quality_flags
diagnostics:
inspect signal_continuity
-> check calibration_age
-> check range_and_fluid_compatibility
-> check installation_disturbances
-> classify validity_state
-> request inspection if evidence insufficient
# ---------- INFERENCE RULES ----------
INFERENCE_RULES:
IF calibration missing THEN measurement_status = unverified
IF measured_value outside specified_range THEN flag = out_of_range
IF signal absent AND meter expected_active THEN flag = signal_loss
IF operating_conditions exceed manufacturer_limits THEN flag = outside_envelope
IF installation violates required straight_run THEN flag = installation_bias_possible
IF principle = electromagnetic AND fluid nonconductive THEN flag = incompatible_principle
IF principle = differential_pressure THEN infer flow only with valid geometry,
discharge_coefficient, density and differential_pressure
IF principle = coriolis THEN measured_quantity may be mass_flow_rate
IF density known AND mass_flow_rate valid THEN volumetric_flow_rate = mass_flow_rate / density
IF uncertainty unknown THEN do_not_claim precision
# ---------- PHYSICAL / SEMANTIC CONSTRAINTS ----------
CONSTRAINTS:
mass_flow_rate [kg/s] = density [kg/m^3] * volumetric_flow_rate [m^3/s]
volumetric_flow_rate [m^3/s] = mean_velocity [m/s] * area [m^2]
fluid_density > 0
pipe_area > 0
range_min <= range_max
calibrated_conversion must match measurement_principle
measurement units must be dimensionally consistent
no universal accuracy claim without meter-specific evidence
do_not_infer direction from unsigned magnitude alone
# ---------- SEMANTIC EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
flowmeter ~ flow_meter
flow_rate_meter ~ flow_meter when context is fluid measurement
flow_sensor ~ flow_meter only when sensor is part of a measurement function
mass_flow_meter != volumetric_flow_meter unless conversion supported
flow_indicator != flow_controller
measured_flow != commanded_flow
# ---------- MINI RECURSION ENGINE ----------
MINI_RECURSION_ENGINE:
E(t) = expand(I(t), R)
V(t) = filter(E(t), B, K)
H(t) = argmax_h confidence(h | I(t), R, B, K)
I(t+1) = update(I(t), validated(H(t)), new_evidence)
repeat until:
measurement validated
OR uncertainty remains unresolved
OR safety boundary requires isolation
preserve raw observations and rejected hypotheses for audit
# ---------- VALIDATION ----------
VALIDATION:
require meter identity and quantity type
require units and timestamp
require calibration reference or explicit unverified status
check plausible operating conditions
check principle-fluid compatibility
propagate calibration and measurement uncertainty
distinguish observed data from inferred results
never assert a regulatory compliance status without evidence
# ---------- CONFIDENCE ----------
CONFIDENCE:
high := calibrated + in_range + diagnostics_pass + suitable_installation
medium := partial evidence with bounded uncertainty
low := stale calibration OR unknown conditions OR inconsistent signals
unknown := no trustworthy evidence
# ---------- UPDATE MODEL ----------
UPDATE_MODEL:
Trigger on new calibration, installation changes, sensor replacement,
diagnostic alarms, fluid changes, range changes or revised evidence.
Re-evaluate all dependent inferences after any relevant update.
# ---------- FLOW HASH ----------
FLOW_HASH:
Identity fields := (flow_name, version, source_url, entity_class)
Compute implementation hash on canonicalised TXT content when published.
END FLOW