flow "SubstationOntology" v1.0
# ---------- IDENTITY ----------
identity:
entity: "Electrical Substation"
class: "Power-System Entity"
domain: "Electrical Engineering / Power Systems"
language: "en-GB"
status: "Constructed Flow Algebra interpretation"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
# ---------- SOURCE ----------
source:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/substation-ontology.html"
title: "Substation Ontology"
page_revision: "2026-08-04"
interpretation: "Newly constructed representation; not a verbatim extraction of embedded specifications"
# ---------- PURPOSE ----------
purpose:
describe: "Represent the equipment, topology, operating states, power flows and protection dependencies of an electrical substation."
scope: ["transformation", "switching", "distribution", "measurement", "protection", "earthing", "monitoring"]
boundary: "Descriptive reasoning only; not a substitute for authorised engineering design or operating procedures."
# ---------- STATE_MODEL ----------
state_model:
S(t) = (I(t), R(t), B(t), K(t))
I(t) = observed voltages, currents, frequency, breaker positions, temperatures and alarms
R(t) = topology, equipment ratings, protection coordination and operating rules
B(t) = electrical, thermal, environmental and operational boundaries
K(t) = verified equipment metadata, test records and operating history
modes = ["de_energised", "energising", "energised", "degraded", "faulted", "isolated", "maintenance"]
transition: S(t+1) = update(S(t), observations(t+1), validated_events)
# ---------- ENTITIES ----------
entities:
substation: PowerSystemEntity
incoming_feeder: ElectricalConnection
outgoing_feeder: ElectricalConnection
power_transformer: Transformer
busbar: ElectricalBusbar
circuit_breaker: Switchgear
disconnector: IsolationDevice
earthing_switch: EarthingDevice
current_transformer: MeasurementTransformer
voltage_transformer: MeasurementTransformer
protection_relay: ProtectionDevice
surge_arrester: OvervoltageProtection
control_system: MonitoringAndControl
auxiliary_supply: ElectricalSource
grounding_grid: EarthingSystem
enclosure: ElectricalEnclosure
load: ElectricalLoad
# ---------- RELATIONSHIPS ----------
relationships:
incoming_feeder -> supplies -> busbar
busbar -> connects -> power_transformer
power_transformer -> transforms_voltage -> downstream_busbar
downstream_busbar -> distributes -> outgoing_feeder
protection_relay -> observes -> measurement_transformer
protection_relay -> requests_trip -> circuit_breaker
earthing_system -> bonds -> exposed_conductive_parts
control_system -> monitors -> equipment_states
auxiliary_supply -> powers -> control_and_protection
# ---------- PATHWAYS ----------
pathway "PowerDistribution":
read incoming_feeder, busbar, transformer, outgoing_feeder
require topology_verified == true
derive active_power_balance = sum(power_in) - sum(power_out) - estimated_losses
derive apparent_power = sqrt(active_power^2 + reactive_power^2)
compare equipment_loading with verified_ratings
emit ["power_balance", "loading_assessment", "topology_status"]
pathway "VoltageTransformation":
read primary_voltage, secondary_voltage, transformer_ratio
require measurements_valid == true
derive ideal_ratio = primary_turns / secondary_turns
compare observed_voltage_ratio with expected_ratio_under_load
emit ["voltage_regulation_assessment", "measurement_uncertainty"]
pathway "ProtectionAssessment":
read relay_events, breaker_states, current_measurements, protection_settings
require settings_verified == true
correlate fault_indications with protected_zones
flag inconsistent_breaker_or_relay_state
emit ["protection_status", "fault_zone_hypotheses", "review_required"]
pathway "ConditionMonitoring":
read transformer_temperature, insulation_indicators, alarms, maintenance_records
compare readings with manufacturer_limits and approved_site_limits
flag trend_degradation or threshold_exceedance
emit ["condition_status", "inspection_priority", "evidence_links"]
pathway "IsolationVerification":
read approved_isolation_plan, breaker_positions, disconnector_positions, earthing_status
require authorised_personnel == true
require independent_site_verification == true
emit ["documentary_isolation_status", "physical_verification_required"]
prohibit infer_safe_to_touch_from_remote_status_alone
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
initialise hypotheses from observations and topology
expand hypotheses using R(t) and K(t)
reject hypotheses violating B(t) or verified evidence
rank remaining hypotheses by evidence_strength and uncertainty
request missing measurements when conclusions are underdetermined
repeat until evidence_stable or iteration_limit_reached
output ranked_hypotheses with provenance and limitations
# ---------- INFERENCE_RULES ----------
inference_rules:
rule "OverloadCandidate":
when measured_current > verified_continuous_rating
infer "possible_overload"
require "review operating conditions and protection evidence"
rule "VoltageDeviation":
when measured_voltage outside approved_voltage_band
infer "voltage_regulation_anomaly"
require "validate measurement and network context"
rule "ProtectionMismatch":
when trip_command_present and breaker_feedback_inconsistent
infer "switching_or_feedback_anomaly"
require "authorised investigation"
rule "ThermalDegradation":
when temperature_trend_increasing and comparable_load_stable
infer "possible_cooling_or_connection_issue"
require "corroborating condition evidence"
rule "UnknownState":
when sensor_quality == "invalid" or topology_unknown == true
infer "indeterminate_state"
prohibit "automatic safety clearance"
# ---------- SAFETY_BOUNDARIES ----------
safety:
enforce verified equipment ratings and site-specific procedures
never treat inferred de_energisation as proof of isolation
require competent authorised personnel for switching, testing and access
do_not_generate live_switching_instructions from ontology alone
escalate fire, arc_flash, insulation_failure and protection_anomalies
preserve evidence and avoid unsupported operational commands
# ---------- CONFIDENCE ----------
confidence:
high: "multiple independent, current, validated observations"
medium: "consistent evidence with identified gaps"
low: "unverified topology, stale readings or conflicting indications"
output: "confidence label plus evidence and uncertainty; not a numerical probability without calibration"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"electrical substation" ~= "power substation"
"switchyard" ~= "outdoor switching installation" only_if configuration_matches
"distribution substation" is_a "electrical substation"
"transmission substation" is_a "electrical substation"
"transformer station" overlaps "electrical substation" but_not_always_equivalent
"earthing" ~= "grounding" in relevant regional terminology
# ---------- FLOW_HASH ----------
flow_hash:
method: "SHA-256 of canonical UTF-8 content when published"
value: "UNSET — calculate after final editorial approval"
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
created: "2026-11-16"
trigger: ["source_revision", "new_verified_entity", "changed_standard", "validated_correction"]
process: "recheck source, reconcile terminology, validate rules, increment version, regenerate hash"
provenance: "retain original source URL and revision history"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard