flow "PowerStation" v1.0
# ---------- IDENTITY ----------
identity:
entity: "Power Station"
domain: "Engineering / Power-System Entities"
type: "Electricity generation facility"
locale: "en-GB"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
# ---------- SOURCE ----------
source:
ontology: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/power-station-ontology.html"
publication_date: "2025-10-11"
revised_date: "2026-08-04"
derivation: "New Flow Algebra interpretation; not a verbatim extraction"
# ---------- PURPOSE ----------
purpose:
- "Represent a power station as a generation, conversion, control and grid-interface entity"
- "Trace energy inputs, electrical outputs, losses, constraints and faults"
- "Support semantic retrieval, engineering reasoning and safe state transitions"
# ---------- STATE_MODEL ----------
state_model:
states: [OFFLINE, STARTING, SYNCHRONISING, GENERATING, RAMPING, CURTAILED, SHUTTING_DOWN, TRIPPED, MAINTENANCE]
variables:
fuel_or_primary_energy_input_MW: number?
gross_electrical_output_MW: number?
auxiliary_consumption_MW: number?
net_electrical_output_MW: number?
export_limit_MW: number?
rated_capacity_MW: number?
grid_frequency_Hz: number?
terminal_voltage_kV: number?
availability: boolean?
protection_trip: boolean
grid_connection_ready: boolean
environmental_limits_satisfied: boolean?
initial_state: OFFLINE
# ---------- ENTITIES ----------
entities:
PowerStation:
has_part: [GenerationUnit, EnergyInputSystem, ElectricalGenerator, Transformer, Switchgear, ProtectionSystem, ControlSystem, MeteringSystem]
connects_to: [ElectricalGrid, TransmissionNetwork, DistributionNetwork]
may_have: [EnergyStorage, CoolingSystem, EmissionsControl, AuxiliarySupply]
GenerationUnit:
converts: "Primary energy into electrical energy, possibly through mechanical energy"
examples: [SteamTurbineUnit, GasTurbineUnit, HydroelectricUnit, WindTurbineUnit, SolarPVArray]
ElectricalGenerator:
outputs: ElectricalPower
ProtectionSystem:
monitors: [Voltage, Current, Frequency, FaultStatus]
ControlSystem:
manages: [DispatchSetpoint, RampRate, StartStopSequence]
# ---------- PATHWAYS ----------
pathways:
energy_conversion:
input: PrimaryEnergy
transform: "Apply technology-specific conversion chain"
output: GrossElectricalPower
constraint: "Conversion efficiency and equipment operating envelope"
net_export:
input: [GrossElectricalPower, AuxiliaryConsumption]
derive: "net_electrical_output_MW = gross_electrical_output_MW - auxiliary_consumption_MW"
require: "Values are measured over the same interval and at compatible boundaries"
output: NetElectricalPower
dispatch:
input: [DispatchSetpoint, AvailableCapacity, ExportLimit]
derive: "permitted_setpoint = min(DispatchSetpoint, AvailableCapacity, ExportLimit)"
require: "All inputs defined and non-negative"
output: PermittedGenerationSetpoint
synchronisation:
input: [GridConnectionReady, VoltageCompatibility, FrequencyCompatibility, PhaseCompatibility]
when: "All required synchronisation conditions satisfied"
transition: "SYNCHRONISING -> GENERATING"
otherwise: "Remain disconnected; request authorised review"
note: "Applicable to synchronised AC generation; inverter-based interfaces use their own validated connection controls"
protective_trip:
input: [ProtectionTrip, CriticalFault]
when: "ProtectionTrip or CriticalFault"
transition: "ANY_OPERATING_STATE -> TRIPPED"
output: "Isolate or stop according to the certified protection design"
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
observe: [OperatingState, ElectricalMeasurements, EquipmentHealth, DispatchDemand]
expand: "Identify connected generation units, constraints, protection and grid interfaces"
evaluate: "Check physical consistency, operating limits and data confidence"
infer: "Select supported state transitions or diagnostic hypotheses"
verify: "Recheck inferred result against measurements and safety interlocks"
repeat_until: "Stable validated state or human escalation required"
bound: "Never override protective interlocks or authorise switching actions"
# ---------- INFERENCE_RULES ----------
inference_rules:
- id: PS001
if: "gross_electrical_output_MW and auxiliary_consumption_MW are known"
then: "Calculate net electrical output from the same measurement boundary"
- id: PS002
if: "net_electrical_output_MW > export_limit_MW"
then: "Flag export-limit exceedance; request controlled curtailment"
- id: PS003
if: "protection_trip == true"
then: "Classify state as TRIPPED and inhibit automatic restart pending validated clearance"
- id: PS004
if: "generation_requested and availability == false"
then: "Report unavailable capacity; do not assume dispatch capability"
- id: PS005
if: "grid_connection_ready == false"
then: "Block grid-parallel operation until approved connection conditions are met"
- id: PS006
if: "gross_electrical_output_MW < 0 or auxiliary_consumption_MW < 0"
then: "Flag measurement-sign convention or data-quality issue"
- id: PS007
if: "environmental_limits_satisfied == false"
then: "Flag compliance constraint and escalate to site operating procedures"
# ---------- CONFIDENCE ----------
confidence:
verified_measurement: 0.95
validated_equipment_record: 0.90
inferred_relationship: 0.75
unverified_context: 0.40
policy: "Scores are illustrative reasoning weights, not calibrated probabilities"
missing_data: "Return unknown rather than invent values"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
preferred: "Power Station"
related_terms: ["Power Plant", "Generating Station", "Electricity Generating Facility"]
distinguish_from: ["Substation", "Distribution Board", "Electrical Load", "Energy Storage Facility"]
note: "Terms overlap in common use; classification depends on actual generation function"
# ---------- FLOW_HASH ----------
flow_hash:
method: "SHA-256 of canonical UTF-8 flow content, excluding this field"
value: "UNCOMPUTED"
note: "Compute on final canonical publication artefact"
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
review_triggers: ["Ontology revision", "New generation technology", "Protection rule update", "Grid code update", "Measurement schema change"]
validation: "Recheck engineering equations, state transitions, source provenance and safety assumptions"
safety: "Conceptual ontology only; not a commissioning, operating or protection-setting procedure"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard