flow "WaterSupplyNetwork" v1.0
# Kireth Research Semantic Library — original Flow Algebra representation
IDENTITY:
name: "Water Supply Network"
class: "EngineeringEntity > CivilEngineeringEntity > WaterSupplyNetwork"
domain: [civil_engineering, water_engineering, hydraulics, public_health, infrastructure]
definition: "Interconnected assets that abstract, treat, store, convey and distribute water to designated consumers under specified quantity, pressure and quality constraints."
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; attribution and citation required"
SOURCE:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/civil-engineering-entities/water-supply-network-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/civil-engineering-entities/water-supply-network-ontology.html"
status: "Original domain-informed semantic model; not a verified extraction of the linked page"
PURPOSE:
primary: "Represent water supply infrastructure, hydraulic behaviour, water quality, reliability and operational decisions as auditable semantic relationships."
objectives: [trace_water_paths, validate_hydraulic_constraints, protect_water_quality, detect_losses, assess_resilience, support_maintenance]
non_goal: "Not a substitute for site surveys, statutory compliance, qualified engineering design or validated hydraulic simulation."
STATE_MODEL:
S = (I, R, B, K)
I: "Observed or proposed network configuration, demand, asset condition and operating state"
R: "Hydraulic, water-quality, operational and spatial relationships"
B: "Physical limits, legal standards, safety controls and design boundaries"
K: "Provenance-linked measurements, asset records, models and engineering knowledge"
temporal_state: "S_t evolves with demand, valve positions, pump operation, tank levels, leakage and water quality"
ENTITIES:
WaterSupplyNetwork:
attributes: [network_id, service_area, ownership, operating_status, design_horizon, pressure_zones]
contains: [WaterSource, TreatmentWorks, TransmissionMain, DistributionMain, ServiceConnection, StorageAsset, PumpStation, Valve, Instrument]
WaterSource:
subtypes: [reservoir, river_intake, borehole, spring, imported_bulk_supply]
attributes: [abstraction_capacity, raw_water_quality, availability, abstraction_permissions]
TreatmentWorks:
attributes: [rated_capacity, treatment_processes, disinfection, monitoring, compliance_status]
Pipe:
subtypes: [transmission_main, distribution_main, service_pipe, trunk_main]
attributes: [pipe_id, length_m, internal_diameter_m, material, roughness, elevation_profile, pressure_rating, installation_date, condition]
Junction:
attributes: [node_id, elevation_m, demand_m3_per_s, hydraulic_head_m, pressure_kPa]
StorageAsset:
subtypes: [service_reservoir, elevated_tank, balancing_tank]
attributes: [capacity_m3, water_level_m, minimum_operating_level_m, maximum_operating_level_m, turnover_time]
PumpStation:
attributes: [pump_curve, efficiency_curve, duty_standby_configuration, control_setpoints, power_supply, backup_power]
Valve:
subtypes: [isolation, pressure_reducing, pressure_sustaining, check, control, air_release, scour]
attributes: [position, setting, operability, maintenance_status]
ServiceConnection:
attributes: [customer_id_pseudonymous, meter, backflow_protection, demand_profile, service_pressure]
Instrument:
subtypes: [flow_meter, pressure_sensor, level_sensor, chlorine_analyser, turbidity_analyser, acoustic_logger]
attributes: [measurement, unit, timestamp, calibration_status, uncertainty]
PressureZone:
attributes: [zone_id, elevation_range, inlet_controls, minimum_service_pressure, maximum_allowable_pressure]
WaterQualitySample:
attributes: [location, sample_time, determinand, result, method, detection_limit, laboratory_provenance]
Incident:
subtypes: [burst, contamination, loss_of_pressure, pump_failure, power_outage, main_isolation, drought_shortage]
attributes: [severity, affected_area, response_owner, mitigation, recovery_status]
PATHWAYS:
abstraction_to_supply:
steps: [source_assessment, abstraction, treatment, disinfection, storage, transmission, distribution, customer_delivery]
hydraulic_evaluation:
steps: [validate_topology, assign_demands, establish_boundary_heads, calculate_flows_and_heads, check_pressure_and_velocity, assess_scenarios]
water_quality_assurance:
steps: [sample, validate_method_and_provenance, compare_to_applicable_standards, identify_deviation, isolate_risk, remediate, verify]
leakage_response:
steps: [detect_anomaly, compare_district_metered_area_balance, localise, inspect, isolate, repair, flush_if_required, verify_recovery]
outage_response:
steps: [identify_failure, determine_isolation_boundary, assess_critical_consumers, activate_contingency, communicate, restore, sample_and_verify]
maintenance:
steps: [inspect, prioritise_by_risk, plan_isolation, authorise_work, execute, test, record_asset_change]
RELATIONS:
- "WaterSource supplies TreatmentWorks"
- "TreatmentWorks feeds TransmissionMain"
- "Pipe connects Junction to Junction"
- "PumpStation raises hydraulic_head subject to pump_curve"
- "Valve regulates or isolates flow"
- "StorageAsset balances temporal demand and supply"
- "PressureZone groups hydraulically related nodes"
- "Instrument observes Asset or hydraulic_state"
- "ServiceConnection delivers water to Consumer"
- "Incident affects Asset, PressureZone or Customer"
HYDRAULIC_CONSTRAINTS:
continuity: "At each node, sum(inflows) - sum(outflows) = demand + storage_rate, with consistent sign convention"
energy: "Along each path, total_head_upstream + pump_head - head_loss = total_head_downstream"
head: "H = z + p/(rho*g) + v^2/(2*g), where terms are appropriate to the model"
flow: "Q = A*v"
friction: "Darcy-Weisbach: h_f = f*(L/D)*(v^2/(2*g)); determine f using applicable flow regime and roughness"
pressure: "p = rho*g*(H - z - velocity_head) under the adopted head convention"
storage_balance: "dV/dt = Q_in - Q_out"
water_age: "Transport and residence-time calculations require a calibrated time-dependent model"
note: "Equations are conceptual checks; real networks require calibrated models and uncertainty assessment."
BOUNDARIES:
hydraulic: [minimum_service_pressure, maximum_operating_pressure, allowable_velocity, pump_operating_envelope, reservoir_level_limits]
public_health: [applicable_drinking_water_quality_regulations, disinfection_controls, contamination_prevention, backflow_protection]
environmental: [abstraction_licences, ecological_flow_constraints, discharge_permissions, energy_use]
operational: [isolation_access, redundancy, emergency_supply, cyber_security, asset_integrity]
evidence: "Never infer statutory compliance solely from a theoretical model or a single sensor reading."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}"
select: "x_star = argmax P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, verified_observations, provenance)"
halt: "If V_t is empty or safety-critical evidence is insufficient, flag for human engineering review."
INFERENCE_RULES:
R01: "IF a distribution node has persistent low pressure AND demand is elevated THEN investigate head losses, restrictions, leaks and supply capacity."
R02: "IF a pressure transient exceeds an asset's verified operating envelope THEN flag possible surge damage and require investigation."
R03: "IF measured district inflow materially exceeds legitimate consumption and authorised uses after uncertainty adjustment THEN flag possible non-revenue water."
R04: "IF upstream and downstream flow imbalance is sustained AND meter calibration is valid THEN prioritise leak localisation."
R05: "IF tank level falls below the approved minimum THEN initiate contingency review; do not assume adequate emergency storage."
R06: "IF pump duty point lies outside the validated curve THEN flag performance or control mismatch."
R07: "IF residual disinfectant or another quality parameter breaches an applicable operational threshold THEN trigger water-quality response procedures."
R08: "IF a cross-connection lacks verified backflow protection THEN flag contamination pathway."
R09: "IF an isolation operation disconnects critical customers THEN require approved alternative-supply and communications plan."
R10: "IF a valve is closed THEN recompute network connectivity and affected demands before claiming service continuity."
R11: "IF pressure remains high in a leakage-prone zone THEN evaluate approved pressure management without compromising minimum service pressure."
R12: "IF sensor calibration has expired THEN reduce confidence in derived hydraulic conclusions."
R13: "IF pipe roughness or diameter is unknown THEN report a range of model outcomes rather than a precise head-loss claim."
R14: "IF a single failure disconnects a pressure zone THEN identify a resilience vulnerability."
R15: "IF measured water quality conflicts with model predictions THEN prioritise verified sampling and investigation over model assumptions."
R16: "IF asset deterioration or burst frequency increases THEN reassess renewal priority using consequence and likelihood."
CONFIDENCE:
evidence_levels:
high: "Recent calibrated measurements, validated topology, confirmed asset specifications and repeatable tests"
medium: "Partially calibrated model or indirect corroborating observations"
low: "Unverified records, inferred topology, stale measurements or unsupported assumptions"
propagation: "Derived claims inherit uncertainty from demand, elevation, roughness, sensor quality and boundary conditions."
safety_rule: "Uncertain conclusions cannot certify drinking-water safety or hydraulic adequacy."
SEMANTIC_EQUIVALENCE:
canonical: "WaterSupplyNetwork"
aliases: [water_distribution_network, potable_water_network, drinking_water_supply_system]
distinctions:
- "A distribution network is often a subset of a complete supply system including source and treatment."
- "A sewer network conveys wastewater and must not be conflated with potable-water infrastructure."
- "A drainage network conveys runoff or wastewater depending on design and is not inherently potable."
VALIDATION:
- "Every modelled pipe endpoint resolves to a defined junction or boundary asset."
- "Flow, pressure, head and elevation units are explicit and consistent."
- "Pump, valve and tank states correspond to the same simulation time."
- "Pressure zones and critical-customer dependencies are traceable."
- "Sampling locations, timestamps and analytical provenance are retained."
- "Operational decisions require authorised review and relevant current regulations."
FLOW_HASH:
method: "SHA-256 of canonical UTF-8 flow content excluding the FLOW_HASH value"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
triggers: [asset_replacement, network_extension, pressure_zone_change, revised_demand, regulatory_update, validated_incident, new_monitoring_evidence]
procedure: [record_change, verify_source, revise_entities_and_relations, rerun_constraints, peer_review, publish_with_version_and_citation]
provenance: "Retain prior versions, authorship, date and supporting evidence."
END_FLOW
Download Code
Copy to Clipboard