flow "SynchronousMotor" v1.0
# ---------- IDENTITY ----------
id: "engineering.electrical_machine.synchronous_motor"
type: "ElectricalMachineEntity"
category: "Electrical Machine Entities"
locale: "en-GB"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/synchronous-motor-ontology.html"
source.title: "Synchronous Motor Ontology"
source.revised: "2026-08-04"
source.representation: "Newly constructed Flow Algebra model; not a verbatim extraction"
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Represent the identity, operation, control, diagnostics and safety boundaries of an AC synchronous motor."
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): measured motor state and operating request
R: electrical, mechanical and control relations
B: nameplate limits, protection boundaries and permitted transitions
K: motor topology, parameters and validated engineering knowledge
state.variables:
electrical: [voltage_rms, current_rms, supply_frequency, phase_sequence, power_factor, excitation_current]
mechanical: [shaft_speed_rpm, shaft_torque_nm, rotor_position, load_torque_nm, vibration]
thermal: [winding_temperature, bearing_temperature, ambient_temperature]
operational: [mode, synchronised, breaker_state, protection_state, cooling_state]
state.modes: [isolated, ready, starting, synchronising, running, stopping, tripped, maintenance]
# ---------- ENTITIES ----------
entity SynchronousMotor isa ElectricalMachine
entity StatorWinding part_of SynchronousMotor
entity Rotor part_of SynchronousMotor
entity AirGap part_of SynchronousMotor
entity Shaft part_of SynchronousMotor
entity Bearing part_of SynchronousMotor
entity ExcitationSystem optional_part_of SynchronousMotor
entity PermanentMagnetRotor optional_part_of SynchronousMotor
entity MotorDrive controls SynchronousMotor
entity ProtectionRelay protects SynchronousMotor
entity MechanicalLoad coupled_to Shaft
entity CoolingSystem removes_heat_from SynchronousMotor
# ---------- PATHWAYS ----------
pathway "ElectricalToMechanicalEnergy":
AC_supply -> stator_magnetic_field -> rotor_field_coupling -> shaft_torque -> mechanical_load
constraint: "Energy conservation, ratings and losses apply"
pathway "SynchronousSpeed":
input: supply_frequency_hz, pole_count
require: supply_frequency_hz >= 0
require: pole_count > 0 and pole_count % 2 == 0
derive: synchronous_speed_rpm = 120 * supply_frequency_hz / pole_count
assert: "Steady synchronised rotor speed equals synchronous speed; transient oscillation may occur"
pathway "PowerBalance":
input: input_power_w, shaft_torque_nm, shaft_speed_rpm
derive: angular_speed_rad_s = 2 * pi * shaft_speed_rpm / 60
derive: mechanical_output_w = shaft_torque_nm * angular_speed_rad_s
derive: total_loss_w = input_power_w - mechanical_output_w
when input_power_w > 0 and mechanical_output_w >= 0:
derive: efficiency = mechanical_output_w / input_power_w
require: "Compare only under consistent sign conventions and measurement boundaries"
pathway "Synchronisation":
isolated -> ready -> starting -> synchronising -> running
require: "Approved starting method and excitation or drive strategy"
require: "Speed, rotor angle, voltage and protection conditions within validated limits"
reject: "Unsafe direct connection or unverified synchronisation"
pathway "NormalShutdown":
running -> stopping -> isolated
require: "Load, switching and residual energy handled according to approved procedure"
pathway "ProtectiveTrip":
any_operating_mode -> tripped
trigger: "Verified protection operation or critical unsafe condition"
action: "Command protective shutdown and record evidence"
require: "Isolation must be independently verified before maintenance"
# ---------- MINI_RECURSION_ENGINE ----------
engine "SynchronousMotorAssessment":
read: I(t)
expand: candidates = expand(I(t), R)
filter: admissible = candidates satisfying B
evaluate: [synchronism, temperature_margin, current_margin, vibration, excitation_health, cooling_health]
select: best_supported_state = argmax P(candidate | I(t), R, B, K) over admissible
update: I(t+1) = observe(best_supported_state, new_measurements)
stop_when: "State stable, evidence insufficient, or protective boundary reached"
max_iterations: 8
fail_closed: true
# ---------- INFERENCE_RULES ----------
rule "SpeedConsistency":
when synchronised == true and abs(shaft_speed_rpm - synchronous_speed_rpm) > validated_tolerance:
infer: "Possible measurement error, loss of synchronism or transient disturbance"
action: "Investigate; apply protection policy"
rule "Overtemperature":
when winding_temperature > approved_winding_limit:
infer: "Thermal limit exceeded"
action: "Invoke validated protection response"
rule "Overcurrent":
when current_rms > approved_current_limit for approved_trip_delay:
infer: "Overcurrent condition"
action: "Invoke protection coordination"
rule "ExcitationAbnormal":
when excitation_required and excitation_current outside approved_excitation_range:
infer: "Possible excitation fault or unstable operating condition"
action: "Evaluate synchronism and protection status"
rule "VibrationAbnormal":
when vibration > approved_vibration_limit:
infer: "Potential bearing, alignment, rotor or load issue"
action: "Flag maintenance assessment; apply safety policy"
rule "EvidenceGap":
when critical_measurement_missing or sensor_quality_invalid:
infer: "State confidence reduced"
action: "Do not assert safe operation from incomplete evidence"
# ---------- CONFIDENCE ----------
confidence.inputs: [sensor_calibration, measurement_freshness, model_validity, operating_context]
confidence.policy: "Separate observed facts, calculated quantities and inferred diagnoses"
confidence.thresholds: "Site-specific; do not invent numeric trip thresholds"
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms:
"synchronous AC motor" ~= "synchronous motor"
"synchronous rotational speed" ~= "synchronous speed"
"field excitation" ~= "rotor excitation" where excitation_system_present
non_equivalence:
"synchronous motor" != "induction motor"
"loss of synchronism" != "normal steady-state slip"
# ---------- SAFETY_CONSTRAINTS ----------
safety:
- "This ontology is not a commissioning or switching procedure"
- "Use manufacturer ratings, site-specific studies and applicable electrical standards"
- "Never bypass interlocks or protection to satisfy an inferred operating objective"
- "Isolate, lock off and verify absence of voltage before authorised maintenance"
- "Account for stored electrical and mechanical energy"
# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 of canonical UTF-8 flow content when published"
flow_hash.value: "UNCOMPUTED"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.trigger: [source_revision, engineering_review, corrected_relationship, new_verified_evidence]
update_model.policy: "Preserve provenance, version history and citation backlink"
update_model.validation: "Review dimensions, motor type, operating assumptions and protective boundaries"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard