FLOW ALGEBRA — GEAR PUMP ONTOLOGY
Version: 1.0
Date: 2026-11-16
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/pump-and-compressor-entities/gear-pump-ontology.html
Citation: Kireth Research, Gear Pump Ontology (revised 04 August 2026).
Status: Newly generated semantic representation; not a verbatim extraction of the site's downloadable code.
FLOW "GearPumpOntology" v1.0
PURPOSE:
Represent a gear pump as a positive-displacement hydraulic machine, model
component relations and operating states, and reason about flow, pressure,
leakage, efficiency, protection, and fault conditions.
STATE_MODEL:
S_t = (I_t, R, B, K)
I_t = observed pump, fluid, operating and environmental information
R = typed entity relations and inference rules
B = operating, material, safety and evidence boundaries
K = verified engineering knowledge and provenance
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) and supported(x, K)}
O_t = argmax_{x in V_t} confidence(x | I_t, R, B, K)
I_(t+1) = update(I_t, O_t, observations)
ENTITIES:
GearPump: subclass_of PositiveDisplacementPump
ExternalGearPump: subclass_of GearPump
InternalGearPump: subclass_of GearPump
DriveGear: subclass_of RotatingGear
DrivenGear: subclass_of RotatingGear
IdlerGear: subclass_of RotatingGear
Housing: subclass_of PumpComponent
Shaft: subclass_of PumpComponent
Bearing: subclass_of PumpComponent
Seal: subclass_of PumpComponent
InletPort: subclass_of FluidPort
OutletPort: subclass_of FluidPort
DisplacementChamber: subclass_of FluidVolume
ReliefValve: subclass_of PressureProtectionDevice
WorkingFluid: subclass_of Fluid
PumpDrive: subclass_of MechanicalPowerSource
PressureDifferential: subclass_of OperatingQuantity
VolumetricFlowRate: subclass_of OperatingQuantity
RotationalSpeed: subclass_of OperatingQuantity
VolumetricEfficiency: subclass_of PerformanceQuantity
MechanicalEfficiency: subclass_of PerformanceQuantity
Leakage: subclass_of LossMechanism
Cavitation: subclass_of FailureMechanism
Wear: subclass_of DegradationMechanism
RELATIONSHIPS:
GearPump has_component Housing
GearPump has_component Shaft
GearPump has_port InletPort
GearPump has_port OutletPort
GearPump contains DisplacementChamber
GearPump transports WorkingFluid
GearPump driven_by PumpDrive
ExternalGearPump uses DriveGear
ExternalGearPump uses DrivenGear
InternalGearPump may_use IdlerGear
DriveGear transmits_rotation_to DrivenGear
DisplacementChamber connects InletPort to OutletPort through rotation
Seal limits Leakage
Bearing supports Shaft
ReliefValve protects GearPump against excessive differential pressure
Wear may_increase Leakage
InletRestriction may_cause Cavitation
STATE_VARIABLES:
speed_rpm: number >= 0
displacement_m3_per_rev: number > 0
inlet_pressure_pa: number
outlet_pressure_pa: number
fluid_density_kg_per_m3: number > 0
dynamic_viscosity_pa_s: number > 0
volumetric_efficiency: number in [0, 1]
mechanical_efficiency: number in (0, 1]
temperature_k: number > 0
actual_flow_m3_per_s: number >= 0
leakage_flow_m3_per_s: number >= 0
operating_state: {stopped, priming, running, degraded, fault, isolated}
PHYSICAL_MODEL:
rotation_rate_rev_per_s = speed_rpm / 60
theoretical_flow_m3_per_s = displacement_m3_per_rev * rotation_rate_rev_per_s
actual_flow_m3_per_s = theoretical_flow_m3_per_s * volumetric_efficiency
leakage_flow_m3_per_s = theoretical_flow_m3_per_s - actual_flow_m3_per_s
delta_pressure_pa = outlet_pressure_pa - inlet_pressure_pa
hydraulic_power_w = delta_pressure_pa * actual_flow_m3_per_s
shaft_power_w = hydraulic_power_w / (volumetric_efficiency * mechanical_efficiency)
# Last expression assumes efficiencies are defined relative to theoretical
# displacement power; check the manufacturer's efficiency conventions.
nominal_shaft_power_w = delta_pressure_pa * theoretical_flow_m3_per_s / mechanical_efficiency
# Hydraulic and shaft power expressions require consistent sign conventions,
# steady operation and an appropriate efficiency definition.
BOUNDARIES:
require manufacturer_rated_speed not exceeded
require manufacturer_rated_pressure not exceeded
require fluid compatible with wetted materials and seals
require adequate inlet conditions and lubrication
require relief/protection path where positive displacement could overpressure
require operating temperature within approved range
require maintenance and isolation procedures before service
reject numerical design approval without verified ratings and measurements
INFERENCE_RULES:
R01 IF pump_type = GearPump THEN classification = PositiveDisplacementPump
R02 IF speed rises AND displacement constant AND efficiency comparable
THEN predicted_flow rises approximately proportionally
R03 IF outlet resistance rises AND pump speed unchanged
THEN differential_pressure may_rise; flow need_not rise
R04 IF internal clearances increase THEN internal_leakage may_increase
R05 IF internal_leakage increases at comparable conditions
THEN volumetric_efficiency may_decrease
R06 IF inlet pressure insufficient for fluid vapour conditions
THEN cavitation_risk = elevated
R07 IF discharge blocked AND no effective pressure protection
THEN overpressure_risk = critical
R08 IF viscosity changes THEN leakage, friction and inlet losses may_change
R09 IF measured_flow below predicted_flow THEN investigate
{leakage, speed, viscosity, inlet_supply, wear, measurement_error}
R10 IF abnormal_noise OR vibration OR temperature_rise THEN inspect
{cavitation, bearing_damage, misalignment, wear, overpressure}
PATHWAYS:
identify -> classify -> map_components -> collect_operating_data
-> calculate_theoretical_flow -> compare_measured_flow
-> evaluate_pressure_and_inlet_conditions -> validate_boundaries
-> infer_condition -> record_evidence -> update_state
MINI_RECURSION_ENGINE:
input: new observation or query
1. normalise units and terminology
2. map observation to entities and relations
3. expand candidate explanations with inference rules
4. filter against safety, physics and evidence boundaries
5. rank surviving hypotheses by supporting measurements
6. emit explanation with uncertainty and provenance
7. request missing measurements if conclusion underdetermined
8. update state only when evidence supports change
terminate when stable, bounded or insufficient evidence
SEMANTIC_EQUIVALENCE:
"gear-type pump" ~ "gear pump" [context: fluid machinery]
"external gear pump" is_a "gear pump"
"internal gear pump" is_a "gear pump"
"positive displacement gear pump" ~ "gear pump" [typical engineering usage]
"gear pump" != "centrifugal pump"
"flow rate" != "pressure"
"theoretical displacement flow" != "measured delivered flow"
VALIDATION:
V01 all physical quantities use coherent SI units
V02 pressure values specify absolute or gauge reference
V03 predicted flow is nonnegative for stated forward rotation convention
V04 efficiency values remain within physically meaningful bounds
V05 no unsupported numerical operating limit is invented
V06 component relations distinguish external and internal gear designs
V07 safety-critical claims require manufacturer documentation
V08 every derived conclusion records input assumptions
CONFIDENCE:
high: verified geometry, ratings and instrumented observations
medium: accepted physical principles with partial measurements
low: qualitative inference without adequate operational evidence
UPDATE_MODEL:
record timestamp, source, unit, operating point and revision
preserve previous state for traceability
invalidate conclusions dependent on superseded observations
FLOW_HASH:
implementation_defined; compute over canonical UTF-8 representation
OUTPUT:
typed_entity_graph
operating_state
calculated_performance
constraint_assessment
fault_hypotheses
confidence_and_provenance
recommended_next_measurements
END FLOW
Download Code
Copy to Clipboard