flow "ElectricMotor" v1.0
# ---------- IDENTITY ----------
identity.name: "Electric Motor"
identity.class: "Electrical Machine Entity"
identity.domain: "Electrical Engineering / Electromechanical Conversion"
identity.language: "en-GB"
identity.representation: "Flow Algebra"
# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.collaborator: "Sky — Recursive AI"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electric-motor-ontology.html"
source.title: "Electric Motor Ontology"
source.revised: "2026-08-04"
source.status: "Newly constructed semantic flow; not a verbatim extraction of embedded page code"
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose.primary: "Represent an electric motor as an entity converting electrical input into mechanical shaft output."
purpose.secondary: "Support semantic classification, state tracking, performance reasoning, fault detection and safe operating constraints."
# ---------- STATE_MODEL ----------
state.variables:
supply_voltage_v: real?
supply_current_a: real?
electrical_input_w: real?
shaft_speed_rpm: real?
shaft_torque_nm: real?
shaft_output_w: real?
efficiency_ratio: real?
winding_temperature_c: real?
vibration_level: real?
insulation_condition: enum[unknown, satisfactory, degraded, failed]
rotation_state: enum[stopped, starting, running, stopping, stalled]
protection_state: enum[normal, warning, tripped, isolated]
operating_mode: enum[off, start, steady, transient, fault, maintenance]
supply_type: enum[ac, dc, unknown]
state.initial:
rotation_state = stopped
protection_state = isolated
operating_mode = off
state.transitions:
off -> start when authorised_start and protection_state == normal
start -> steady when speed_stable and load_within_rating
start -> fault when start_timeout or protection_trip
steady -> transient when speed_or_load_changes
transient -> steady when stabilised and limits_satisfied
any_energised -> fault when protection_trip or unsafe_condition
fault -> maintenance when isolated_and_verified
maintenance -> off when inspection_complete and release_authorised
# ---------- ENTITIES ----------
entities.core:
- ElectricMotor
- Stator
- Rotor
- Winding
- MagneticField
- Shaft
- Bearing
- Housing
- Terminal
- InsulationSystem
- CoolingArrangement
- MotorProtection
entities.related:
- ElectricalSource
- MotorController
- VariableFrequencyDrive
- MechanicalLoad
- Coupling
- SpeedSensor
- TemperatureSensor
- CurrentSensor
- EarthingSystem
entities.types:
- ACInductionMotor
- SynchronousMotor
- PermanentMagnetMotor
- BrushedDCMotor
- BrushlessDCMotor
- StepperMotor
- ServoMotor
relations:
ElectricMotor consumes ElectricalEnergy
ElectricMotor converts ElectricalEnergy -> MechanicalEnergy
Stator produces_or_guides MagneticField
Rotor interacts_with MagneticField
Rotor drives Shaft
Shaft transfers Torque to MechanicalLoad
Bearing supports Rotor
InsulationSystem separates LiveParts from AccessibleParts
MotorProtection monitors ElectricMotor
CoolingArrangement removes HeatLoss
MotorController controls ElectricMotor
# ---------- PATHWAYS ----------
pathway "ClassifyMotor":
input: supply_type, construction, control_method
process: classify_by_electrical_supply_and_electromagnetic_principle
output: motor_type, classification_confidence
pathway "ElectricalToMechanicalConversion":
input: supply_voltage_v, supply_current_a, motor_type, power_factor?
process:
- determine_electrical_input_using_appropriate_ac_or_dc_model
- establish_electromagnetic_torque
- transfer_rotor_motion_to_shaft
- account_for_copper_iron_friction_and_windage_losses
output: electrical_input_w, shaft_output_w, losses_w
pathway "EvaluatePerformance":
input: shaft_torque_nm, shaft_speed_rpm, electrical_input_w
process:
- angular_speed_rad_s = shaft_speed_rpm * 2 * pi / 60
- shaft_output_w = shaft_torque_nm * angular_speed_rad_s
- efficiency_ratio = shaft_output_w / electrical_input_w when electrical_input_w > 0
- compare_measured_values_with_manufacturer_rating
output: shaft_output_w, efficiency_ratio, performance_status
pathway "MonitorCondition":
input: winding_temperature_c, supply_current_a, vibration_level, insulation_condition
process:
- compare_each_measurement_with_equipment_specific_limits
- distinguish_starting_transients_from_persistent_faults
- flag_overheating_overcurrent_abnormal_vibration_or_insulation_degradation
output: condition_state, diagnostic_evidence
pathway "SafeShutdown":
input: stop_request, protection_state
process:
- remove_drive_command_using_approved_control_sequence
- confirm_rotor_has_stopped
- isolate_all_applicable_energy_sources_for_maintenance
- verify_absence_of_voltage_by_qualified_personnel
- address_stored_electrical_and_mechanical_energy
output: shutdown_state, maintenance_permission
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine.goal: "Resolve motor state from measured and inferred evidence."
mini_recursion_engine.seed: [motor_identity, supply, load, protection, measurements]
mini_recursion_engine.expand:
- retrieve_connected_components_and_controls
- retrieve_nameplate_ratings_and_operating_context
- compare_observations_against_valid_operating_envelope
- trace_anomalies_to_possible_electrical_mechanical_or_thermal_causes
mini_recursion_engine.filter:
- reject_unverified_ratings
- reject_inferences_without_sufficient_measurements
- distinguish_correlation_from_confirmed_cause
mini_recursion_engine.stop_when:
- diagnostic_evidence_sufficient
- no_new_supported_relations
- safety_interlock_requires_human_review
mini_recursion_engine.output: [operating_state, likely_faults, confidence, recommended_inspection]
# ---------- INFERENCE_RULES ----------
rule "MotorEnergyConversion":
when: entity is ElectricMotor and supply_present and rotor_rotating
infer: electrical_to_mechanical_conversion_active
rule "PossibleOverload":
when: current_above_rated_limit and duration_exceeds_permitted_transient
infer: possible_overload
action: request_protection_assessment
rule "PossibleStall":
when: start_command_active and shaft_speed_near_zero and current_abnormally_high
infer: possible_stall_or_locked_rotor
action: protection_review_required
rule "ThermalRisk":
when: winding_temperature_c exceeds validated_temperature_limit
infer: overheating_risk
action: follow_approved_protective_shutdown
rule "InsulationConcern":
when: insulation_condition in [degraded, failed]
infer: electrical_insulation_hazard
action: prevent_restart_until_qualified_assessment
rule "BearingConcern":
when: vibration_abnormal and bearing_temperature_elevated
infer: possible_bearing_fault
confidence: conditional
rule "NoAutomaticRestart":
when: protection_state == tripped
infer: restart_not_permitted_without_fault_review_and_authorisation
# ---------- CONFIDENCE ----------
confidence.levels: [low, medium, high]
confidence.high_when: "Measurements are calibrated, equipment ratings verified and independent observations agree."
confidence.medium_when: "Some measurements or operating context are incomplete."
confidence.low_when: "Fault classification relies on indirect or conflicting observations."
confidence.policy: "Never represent a possible fault as confirmed without supporting evidence."
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"electric motor" ~ "electromechanical motor"
"motor shaft output" ~ "mechanical shaft power"
"stator winding" ~ "stationary motor winding" where construction_supports_equivalence
"rotor speed" ~ "shaft speed" where coupling_is_direct
semantic_distinctions:
- ElectricMotor != Generator as primary operating_role
- ElectricMotor != MotorController
- MotorTorque != MotorPower
- RatedCurrent != MeasuredCurrent
- ProtectiveEarth != NeutralConductor
# ---------- SAFETY_CONSTRAINTS ----------
safety:
- use_verified_manufacturer_ratings
- preserve_overcurrent_and_thermal_protection
- do_not_bypass_safety_interlocks
- ensure_appropriate_earthing_and_insulation
- isolate_and_verify_before_maintenance
- treat_rotating_parts_and_stored_energy_as_hazards
- require_qualified_personnel_for_live_electrical_work
- treat_this_flow_as_semantic_reasoning_not_a_certified_control_system
# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 over canonical UTF-8 file content, excluding the hash value field"
flow_hash.value: "not-computed"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers:
- ontology_revision
- new_motor_classification
- new_validated_diagnostic_evidence
- safety_standard_or_manufacturer_requirement_change
update_model.policy: "Preserve provenance, revise rules explicitly and regenerate canonical hash after validation."
Download Code
Copy to Clipboard