flow "HydraulicCircuitOntology" v1.1
# Kireth Research Semantic Library | Flow Algebra representation
# SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/hydraulic-entities/hydraulic-circuit-ontology.html
# AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
# STATUS: Newly authored interpretation; not a verbatim extraction of website code.
# NOTE: Formal reasoning specification; engineering checks require verified parameters and standards.
PURPOSE:
Represent hydraulic circuits as connected components, fluid pathways,
energy-transfer processes, operating states and bounded inferences.
ENTITIES:
HydraulicCircuit -> HydraulicSystem
HydraulicCircuit -> contains -> HydraulicPump
HydraulicCircuit -> contains -> HydraulicReservoir
HydraulicCircuit -> contains -> HydraulicValve
HydraulicCircuit -> contains -> HydraulicActuator
HydraulicCircuit -> contains -> HydraulicConduit
HydraulicCircuit -> may_contain -> HydraulicFilter
HydraulicCircuit -> may_contain -> HydraulicAccumulator
HydraulicCircuit -> may_contain -> PressureSensor
HydraulicCircuit -> may_contain -> FlowSensor
HydraulicCircuit -> may_contain -> HeatExchanger
HydraulicConduit -> specialises_as -> Pipe | Hose | Manifold | Fitting
HydraulicValve -> specialises_as -> DirectionalControlValve | PressureControlValve | FlowControlValve
HydraulicActuator -> specialises_as -> HydraulicCylinder | HydraulicMotor
STATE_MODEL:
CircuitState = (Topology, FluidState, ComponentStates, Command, Load, Constraints)
FluidState = (Pressure, Temperature, Density, Viscosity, FlowRate, Contamination)
ComponentStates = (PumpState, ValvePositions, ActuatorState, FilterState, SensorState)
CircuitMode = OFF | IDLE | PRESSURISED | OPERATING | RELIEVING | FAULT | ISOLATED
PATHWAYS:
P1: Reservoir -> PumpInlet -> PumpOutlet -> DirectionalValve -> Actuator -> ReturnLine -> Reservoir
P2: PumpOutlet -> PressureReliefValve -> Reservoir [when relief path opens]
P3: PumpOutlet -> Accumulator [when charging permitted]
P4: Accumulator -> HydraulicLoad [when discharge permitted]
P5: ReturnLine -> Filter -> Reservoir [where return filtration is fitted]
TRANSITIONS:
OFF -> IDLE when power_available AND start_command
IDLE -> PRESSURISED when pump_running AND pressure_building
PRESSURISED -> OPERATING when flow_path_open AND actuator_command_valid
OPERATING -> RELIEVING when relief_valve_opens
ANY -> FAULT when verified_fault_condition
FAULT -> ISOLATED when isolation_procedure_completed
ISOLATED -> IDLE when inspection_complete AND restart_authorised
PHYSICAL_CONSTRAINTS:
C1: At a junction, sum(mass_flow_in) - sum(mass_flow_out) = accumulation_rate
C2: For steady incompressible flow, sum(volume_flow_in) = sum(volume_flow_out)
C3: HydraulicPower = pressure_difference * volumetric_flow_rate
C4: DeliveredMechanicalPower <= HydraulicInputPower under passive-loss assumptions
C5: PressureDrop = function(flow_rate, geometry, viscosity, roughness, fittings)
C6: ComponentPressure <= verified_component_pressure_limit during permitted operation
C7: FluidTemperature within validated operating range
C8: PumpInletConditions satisfy manufacturer cavitation/air-ingress limits
C9: Relief and isolation provisions must be evaluated for trapped pressure
C10: Real-fluid compressibility, leakage and transient effects must be modelled when material
INFERENCE_RULES:
R1: IF pump_running AND commanded_path_closed
THEN assess_pressure_rise_and_relief_path
R2: IF actuator_speed_below_expected AND flow_rate_low
THEN investigate_restriction_or_pump_delivery
R3: IF pressure_drop_across_filter_above_limit
THEN flag_filter_restriction
R4: IF reservoir_level_below_minimum
THEN flag_air_ingress_and_supply_risk
R5: IF fluid_temperature_above_limit
THEN flag_viscosity_change_and_component_risk
R6: IF actuator_moves_without_command
THEN investigate_internal_leakage_or_valve_fault
R7: IF measured_pressure_exceeds_verified_limit
THEN flag_overpressure_condition
R8: IF sensor_data_missing_or_conflicting
THEN mark_diagnosis_uncertain
MINI_RECURSION_ENGINE:
INPUT -> normalise_component_names
-> resolve_topology
-> map_operating_state
-> check_mass_balance
-> check_pressure_and_temperature_limits
-> evaluate_fault_hypotheses
-> rank_evidence_supported_explanations
-> emit_result_with_uncertainty
-> repeat_if_new_evidence
STOP when evidence_exhausted OR confidence_stable OR iteration_limit_reached
SEMANTIC_EQUIVALENCE:
"hydraulic circuit" ~= "hydraulic fluid-power circuit" [context_dependent]
"pressure line" ~= "supply line" [only when topology confirms]
"return line" ~= "tank line" [only when destination confirms]
"directional valve" ~= "directional control valve"
"hydraulic power unit" != "hydraulic circuit" [unit is a subsystem]
VALIDATION:
Require unique component identifiers and explicit port connections.
Reject disconnected mandatory flow paths unless intentionally isolated.
Record units, measurement conditions, fluid type and component ratings.
Distinguish measured, specified, estimated and inferred values.
Never infer safety compliance from topology alone.
Flag unresolved constraints rather than assigning arbitrary values.
CONFIDENCE:
HIGH when topology, ratings and measurements corroborate the conclusion
MEDIUM when topology is known but operating measurements are incomplete
LOW when components or boundary conditions are inferred
OUTPUT:
HydraulicCircuitGraph
OperatingState
ConservationChecks
ConstraintViolations
RankedFaultHypotheses
EvidenceAndUncertainty
CITATION_BACKLINK:
https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/hydraulic-entities/hydraulic-circuit-ontology.html
END FLOW
Download Code
Copy to Clipboard