flow "GeneratorRotor" v1.0
# ---------- IDENTITY ----------
id: "engineering.electrical_machine.generator_rotor"
type: "ElectricalMachineComponent"
category: "Electrical Machine Entities"
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/generator-rotor-ontology.html"
source.title: "Generator Rotor Ontology"
source.revised: "2026-08-04"
representation: "Newly constructed Flow Algebra interpretation; not a verbatim extraction"
# ---------- PURPOSE ----------
purpose: "Represent the rotating electromagnetic component of an electrical generator, its physical states, energy conversion relationships, diagnostics and safe operating constraints."
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): observed rotor speed, angle, excitation, current, temperature, vibration, insulation status, shaft torque and operating mode
R: electromagnetic, mechanical, thermal and protection relationships
B: rated speed, excitation, temperature, vibration, insulation, mechanical integrity and protection limits
K: generator design, pole count, rotor topology, sensor provenance and maintenance history
states: ["stopped", "starting", "accelerating", "synchronising", "generating", "coasting", "faulted", "isolated", "maintenance"]
transition "stopped -> starting" when start_authorised and protections_healthy
transition "starting -> accelerating" when prime_mover_torque_available
transition "accelerating -> synchronising" when speed_within_sync_window and excitation_ready
transition "synchronising -> generating" when synchronisation_confirmed and breaker_closed
transition "generating -> faulted" when protection_trip or unsafe_condition
transition "faulted -> isolated" when approved_isolation_complete
transition "isolated -> maintenance" when verified_safe_work_conditions
# ---------- ENTITIES ----------
entity GeneratorRotor: rotating_part_of -> ElectricalGenerator
entity RotorShaft: transmits -> MechanicalTorque
entity RotorCore: supports -> RotorFieldStructure
entity FieldWinding: produces -> MagneticField
entity PermanentMagnet: alternative_source_of -> MagneticField
entity ExcitationSystem: regulates -> FieldCurrent
entity Bearing: supports -> RotorShaft
entity AirGap: separates -> GeneratorRotor, GeneratorStator
entity GeneratorStator: receives -> ChangingMagneticFlux
entity RotorSensor: observes -> RotorState
entity ProtectionSystem: constrains -> GeneratorOperation
# ---------- PATHWAYS ----------
pathway "mechanical_to_electrical":
PrimeMover -> ShaftTorque -> RotorRotation -> ChangingStatorFlux -> InducedVoltage -> ElectricalOutput
pathway "excitation_control":
VoltageReference -> ExcitationController -> RotorField -> AirGapFlux -> StatorVoltage -> VoltageFeedback
pathway "thermal_monitoring":
RotorLosses -> HeatGeneration -> RotorTemperature -> TemperatureAssessment -> AlarmOrTrip
pathway "mechanical_health":
SpeedAndVibrationSensors -> SignalValidation -> RotorConditionAssessment -> MaintenanceRecommendation
pathway "protective_shutdown":
ValidatedHazard -> ProtectionDecision -> GeneratorTrip -> SafeRunDown -> IsolationVerification
# ---------- RELATIONSHIPS ----------
rule "synchronous_speed":
when frequency_hz > 0 and pole_count > 0 and pole_count % 2 == 0
infer synchronous_speed_rpm = 120 * frequency_hz / pole_count
note "Applies to synchronous generator operation; actual speed must be measured."
rule "rotor_kinetic_energy":
when inertia_kg_m2 >= 0 and angular_speed_rad_s >= 0
infer stored_kinetic_energy_j = 0.5 * inertia_kg_m2 * angular_speed_rad_s^2
rule "mechanical_power":
when torque_nm is known and angular_speed_rad_s is known
infer shaft_power_w = torque_nm * angular_speed_rad_s
rule "winding_copper_loss":
when rotor_field_current_a is known and rotor_field_resistance_ohm >= 0
infer rotor_copper_loss_w = rotor_field_current_a^2 * rotor_field_resistance_ohm
note "For a wound-field rotor; temperature-dependent resistance may be required."
rule "energy_balance":
when shaft_power_w is known and electrical_output_w is known
infer total_losses_and_storage_rate_w = shaft_power_w - electrical_output_w
note "Sign and transient energy-storage conventions must be resolved before interpreting losses."
# ---------- MINI_RECURSION_ENGINE ----------
engine "GeneratorRotorReasoner":
input: I(t)
expand: E(t) = expand(I(t), R)
validate: V(t) = filter(E(t), B)
rank: best(t) = argmax P(candidate | I(t), R, B, K)
update: I(t+1) = integrate(I(t), best(t), verified_observations)
repeat_until: stable_classification or safety_stop or evidence_exhausted
guard: "Never override hardwired protection or infer permission to energise."
# ---------- INFERENCE_RULES ----------
infer "overspeed_risk" when measured_speed_rpm > approved_speed_limit_rpm
then: ["flag_critical", "request_protective_action", "record_evidence"]
infer "rotor_overheating" when rotor_temperature_c > approved_temperature_limit_c
then: ["flag_thermal_fault", "evaluate_cooling_and_excitation", "request_protective_action"]
infer "vibration_anomaly" when vibration_measurement > validated_vibration_limit
then: ["flag_mechanical_anomaly", "check_balance_bearings_and_alignment"]
infer "excitation_anomaly" when excitation_response_outside_validated_envelope
then: ["flag_field_system_anomaly", "inspect_excitation_feedback"]
infer "insulation_concern" when validated_insulation_test_below_applicable_limit
then: ["flag_insulation_risk", "require_qualified_assessment"]
infer "sensor_disagreement" when independent_speed_or_temperature_measurements_conflict
then: ["lower_confidence", "request_sensor_validation", "avoid_automatic_clearance"]
# ---------- SAFETY_CONSTRAINTS ----------
constraint "overspeed": rotor_speed must remain within manufacturer-approved limits
constraint "thermal": rotor and bearing temperatures must remain within rated envelopes
constraint "excitation": field current and voltage must remain within design limits
constraint "isolation": maintenance requires verified isolation, discharge and prevention of unintended rotation
constraint "stored_energy": account for rotor inertia, residual magnetism and excitation energy
constraint "protection": no software inference may bypass certified interlocks or protective trips
constraint "standards": engineering decisions require applicable standards, equipment data and competent verification
# ---------- CONFIDENCE ----------
confidence.inputs: ["sensor_quality", "calibration_status", "model_fit", "operating_context", "independent_confirmation"]
confidence.levels: ["low", "medium", "high"]
confidence.policy: "Missing or conflicting evidence reduces confidence; a high-confidence diagnosis does not certify safe operation."
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "generator rotor" ~ "rotating generator assembly" where context == "electrical machine"
equivalent "field rotor" ~ "wound-field rotor" where rotor_type == "wound_field"
related "generator rotor" -> ["alternator rotor", "generator stator", "excitation system", "rotor shaft", "bearing"]
distinguish "generator rotor" != "motor rotor" where operating_role differs
distinguish "generator rotor" != "generator stator"
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.policy: "Compute from canonical UTF-8 file bytes at publication; no unverified hash asserted."
# ---------- UPDATE_MODEL ----------
update.trigger: ["source_revision", "new_measurement_evidence", "design_change", "standards_revision", "verified_fault_case"]
update.method: "review -> validate -> revise -> version -> recalculate_hash -> publish"
update.provenance: "Retain prior versions, source citation and engineering review record."
# ---------- END FLOW ----------
Download Code
Copy to Clipboard