flow "ACMotorOntology" v1.0
# ---------- IDENTITY ----------
id: "engineering.electrical_machine.ac_motor"
title: "AC Motor Ontology – Flow Algebra"
category: "Electrical Machine Entities"
entity_type: "ACMotor"
locale: "en-GB"
# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Kireth Research Open Research Licence; citation required"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/ac-motor-ontology.html"
source.title: "AC Motor Ontology"
source.revised: "2026-08-04"
source.note: "Original Flow Algebra interpretation constructed from the ontology topic; page's full embedded specification was not available in the retrieved text."
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Represent AC motors, their electromechanical conversion, operating states, constraints, measurements and fault reasoning as connected semantic entities."
# ---------- STATE_MODEL ----------
state.operating_mode: enum[OFF, STARTING, RUNNING, STOPPING, TRIPPED, FAULTED, MAINTENANCE]
state.supply: enum[ABSENT, PRESENT, ABNORMAL]
state.rotation: enum[STATIONARY, ACCELERATING, STEADY, DECELERATING]
state.temperature: enum[NORMAL, WARNING, EXCESSIVE]
state.load: enum[NO_LOAD, PART_LOAD, RATED, OVERLOAD]
state.protection: enum[READY, ALARM, TRIPPED]
state.observations: [voltage_v, current_a, frequency_hz, speed_rpm, torque_nm, winding_temperature_c, vibration]
state.unknown_values: "unknown; never substitute fabricated readings"
# ---------- ENTITIES ----------
entity ACMotor:
is_a: ElectricalMachine
converts: ElectricalEnergy -> MechanicalEnergy
supplied_by: ACSource
contains: [Stator, Rotor, Windings, Shaft, Bearings, Frame]
optionally_contains: [CoolingFan, ThermalSensor, Encoder]
controlled_by: [Starter, Contactor, VariableFrequencyDrive]
protected_by: [OverloadProtection, ShortCircuitProtection, EarthingSystem]
drives: MechanicalLoad
entity InductionMotor:
is_a: ACMotor
principle: "Rotor current induced by rotating stator magnetic field"
entity SynchronousMotor:
is_a: ACMotor
principle: "Rotor locks to synchronous rotating field during steady synchronous operation"
entity MechanicalLoad:
attributes: [load_torque, inertia, duty_cycle]
entity Measurement:
attributes: [value, unit, timestamp, source, uncertainty, quality]
# ---------- PATHWAYS ----------
pathway "SupplyToRotation":
ACSource -> StatorWindings -> RotatingMagneticField -> RotorTorque -> ShaftRotation -> MechanicalLoad
precondition: supply == PRESENT and protection == READY
postcondition: state.operating_mode in [STARTING, RUNNING]
pathway "Startup":
OFF -> STARTING -> RUNNING
guard: "authorised start request, correct supply, healthy protection and permissible load"
on_failure: STARTING -> FAULTED
pathway "NormalStop":
RUNNING -> STOPPING -> OFF
guard: "authorised stop and controlled run-down"
pathway "ProtectiveTrip":
RUNNING -> TRIPPED
trigger: "validated protection trip"
action: "remove drive command and request safe isolation per equipment design"
recovery: "inspect cause, verify safe condition and obtain authorised reset"
pathway "ConditionMonitoring":
Measurement -> ValidateQuality -> CompareWithRatedLimits -> ClassifyCondition -> RecordEvidence
guard: "rated limits are sourced from motor nameplate, design and applicable standards"
# ---------- ENGINEERING_RELATIONSHIPS ----------
relation "SynchronousSpeed":
expression: "n_sync_rpm = 120 * frequency_hz / pole_count"
domain: "positive frequency; positive even pole count for conventional rotating machines"
relation "InductionMotorSlip":
expression: "slip = (n_sync_rpm - rotor_speed_rpm) / n_sync_rpm"
domain: "n_sync_rpm > 0; signed slip depends on operating regime"
relation "MechanicalPower":
expression: "P_mech_w = torque_nm * angular_speed_rad_per_s"
expression_2: "angular_speed_rad_per_s = 2 * pi * speed_rpm / 60"
relation "ThreePhaseRealInputPower":
expression: "P_in_w = sqrt(3) * V_line_rms * I_line_rms * power_factor"
guard: "balanced sinusoidal three-phase steady-state approximation"
relation "Efficiency":
expression: "efficiency = P_mech_out_w / P_electrical_in_w"
guard: "consistent boundaries and operating conditions; P_electrical_in_w > 0"
# ---------- MINI_RECURSION_ENGINE ----------
engine "ACMotorReasoner":
input: [motor_identity, rated_data, measurements, operating_mode, topology, protection_events]
cycle:
1: "Validate source, units, timestamps and measurement quality"
2: "Resolve motor subtype and relevant operating regime"
3: "Expand connected supply, drive, motor, load and protection entities"
4: "Derive permitted electrical and mechanical quantities"
5: "Check observations against equipment-specific constraints"
6: "Generate hypotheses with evidence and alternatives"
7: "Rank conclusions by confidence and preserve uncertainty"
8: "Stop at stable state, missing evidence or safety boundary"
max_iterations: 8
termination: "no new supported inference or safety stop"
# ---------- INFERENCE_RULES ----------
rule "NoSupply":
when: "supply == ABSENT and motor_command == START"
infer: "motor cannot start from the specified supply"
confidence: high
rule "PossibleOverload":
when: "measured_current > rated_current and measurement_quality == VALID"
infer: "possible overload or abnormal electrical operating condition"
require: "evaluate duration, starting transient, voltage, phase balance and protection settings"
rule "PossibleCoolingProblem":
when: "winding_temperature > rated_temperature_limit"
infer: "overtemperature condition; investigate load, cooling and sensor integrity"
action: "follow configured protection and manufacturer procedure"
rule "PossiblePhaseImbalance":
when: "phase_current_imbalance exceeds equipment_limit"
infer: "possible phase imbalance, supply issue or winding fault"
require: "corroborate with voltage and winding measurements"
rule "ExcessiveVibration":
when: "vibration exceeds configured_limit"
infer: "possible bearing, alignment, mounting or load issue"
require: "inspect trend and machine-specific vibration criteria"
rule "UncertainDiagnosis":
when: "required measurements are missing or contradictory"
infer: "insufficient evidence for definitive diagnosis"
action: "request further safe measurements"
# ---------- SAFETY_CONSTRAINTS ----------
constraint "ElectricalSafety": "Do not bypass protective devices or interlocks."
constraint "Isolation": "De-energisation, lock-off and proving dead require competent personnel and approved procedures."
constraint "UnexpectedRestart": "Account for stored energy and automatic restart before maintenance."
constraint "ThermalMechanical": "Treat hot surfaces, rotating shafts and coupled loads as hazards."
constraint "RatedLimits": "Do not infer safe operation without verified nameplate and manufacturer ratings."
constraint "Standards": "Apply relevant local electrical safety law and applicable standards; this ontology is not an installation or commissioning instruction."
# ---------- CONFIDENCE ----------
confidence.high: "directly supported by validated readings and known physical relationships"
confidence.medium: "supported by consistent but incomplete observations"
confidence.low: "plausible hypothesis with missing or uncertain evidence"
confidence.rule: "do not promote a hypothesis to a confirmed fault without corroboration"
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "AC motor" <-> "alternating-current motor"
related "ACMotor" -> "ElectricalMachine"
related "InductionMotor" -> "AsynchronousMotor"
related "SynchronousMotor" -> "ACMotor"
distinguish "ACMotor" != "DCMotor"
distinguish "SynchronousSpeed" != "RotorSpeed" # for an induction motor under load
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 file content excluding any subsequently populated hash value"
flow_hash.value: "computed on publication; not asserted here"
# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.review_triggers: ["ontology revision", "new machine subtype", "verified engineering correction", "standards change"]
update.policy: "retain provenance, version changes and citations"
update.validation: "check entity links, dimensions, guards, safety constraints and source provenance"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard