flow "TransmissionLine" v1.0
# ---------- IDENTITY ----------
identity.id: "power-system.transmission-line"
identity.name: "Transmission Line"
identity.domain: "Engineering / Power-System Entities"
identity.kind: "Electrical power transmission infrastructure"
# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.collaborator: "Sky — Recursive AI"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/transmission-line-ontology.html"
source.title: "Transmission Line Ontology"
source.revised: "2026-08-04"
source.derivation: "New Flow Algebra interpretation; not a verbatim extraction of embedded specifications"
# ---------- PURPOSE ----------
purpose: "Represent transmission-line identity, electrical behaviour, topology, operational state, monitoring, faults and protection as traversable semantic relationships."
# ---------- STATE_MODEL ----------
state.variables:
energised: bool?
operating_mode: str
voltage_kv: float?
current_a: float?
real_power_mw: float?
reactive_power_mvar: float?
frequency_hz: float?
conductor_temperature_c: float?
ambient_temperature_c: float?
line_length_km: float?
availability: str
protection_status: str
measurement_quality: str
state.operating_modes: ["de-energised", "energised", "loading", "overloaded", "faulted", "isolated", "maintenance", "unknown"]
state.initial: "unknown"
state.transition:
"de-energised -> energised" when "authorised switching and checks complete"
"energised -> loading" when "measured current > 0 and valid measurements"
"loading -> overloaded" when "current exceeds applicable dynamic or static rating"
"energised -> faulted" when "protection identifies a credible fault"
"faulted -> isolated" when "verified protective isolation occurs"
"isolated -> maintenance" when "authorised safe working procedure completed"
"maintenance -> de-energised" when "work complete and restoration checks passed"
# ---------- ENTITIES ----------
entities.primary: TransmissionLine
entities.related:
- PowerSystem
- Substation
- Busbar
- TransmissionTower
- Conductor
- Insulator
- EarthWire
- UndergroundCable
- CircuitBreaker
- ProtectionRelay
- CurrentTransformer
- VoltageTransformer
- MonitoringSensor
- ElectricalLoad
- Generator
- GridConnection
entities.relationships:
TransmissionLine -> connects -> Substation
TransmissionLine -> carries -> ElectricalPower
TransmissionLine -> contains -> Conductor
TransmissionLine -> supported_by -> TransmissionTower
TransmissionLine -> insulated_by -> Insulator
TransmissionLine -> protected_by -> ProtectionRelay
TransmissionLine -> isolated_by -> CircuitBreaker
TransmissionLine -> monitored_by -> MonitoringSensor
TransmissionLine -> belongs_to -> PowerSystem
# ---------- PATHWAYS ----------
pathway "IdentifyTransmissionLine":
input: [asset_id, terminals, nominal_voltage, construction_type]
require: "asset_id is unique and terminals are identified"
derive: "line identity, endpoints and network membership"
output: [entity_identity, topology_links]
pathway "AssessElectricalState":
input: [voltage, current, frequency, power_factor, phase_configuration, measurement_quality]
require: "units and phase configuration are known"
derive: "operating condition and measured apparent power"
rule: "For balanced three-phase AC: S_va = sqrt(3) * V_line_rms * I_line_rms"
rule: "For balanced three-phase AC: P_w = S_va * power_factor"
guard: "Do not apply balanced three-phase equations to unbalanced or DC systems without adaptation"
output: [electrical_state, apparent_power, real_power_estimate]
pathway "AssessLineLosses":
input: [current_rms, phase_resistance, conductor_temperature, line_model]
require: "consistent resistance basis and validated line model"
rule: "For balanced three-phase AC resistive loss: P_loss_w = 3 * I_phase_rms^2 * R_phase"
derive: "resistive loss estimate; note reactive and dielectric effects separately"
output: [loss_estimate, model_assumptions]
pathway "AssessLoading":
input: [measured_current, applicable_current_rating, ambient_conditions, conductor_temperature]
require: "rating valid for asset, weather and operating conditions"
derive: "loading_ratio = abs(measured_current) / applicable_current_rating"
classify: "within_rating when loading_ratio <= 1; exceedance when loading_ratio > 1"
output: [loading_ratio, thermal_risk_flag]
pathway "DetectFault":
input: [relay_events, current_waveforms, voltage_waveforms, breaker_status, sensor_quality]
derive: "candidate fault type, affected segment and confidence"
guard: "A single abnormal measurement does not conclusively establish a fault"
output: [fault_hypothesis, evidence, recommended_review]
pathway "AssessProtection":
input: [fault_hypothesis, relay_settings, breaker_status, coordination_study]
derive: "whether protection operated as expected and isolation is confirmed"
guard: "Never infer a safe-to-touch condition solely from a breaker indication"
output: [protection_assessment, isolation_verification_required]
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine.goal: "Refine network-state inference using successive measurements and validated topology"
mini_recursion_engine.seed: "asset identity + network topology + latest telemetry"
mini_recursion_engine.expand: "retrieve adjacent substations, connected circuits, protection events and historical operating data"
mini_recursion_engine.filter: "discard stale, inconsistent, uncalibrated or context-incompatible observations"
mini_recursion_engine.rank: "prioritise hypotheses by evidence quality, physical consistency and safety significance"
mini_recursion_engine.update: "revise state estimate while preserving provenance and uncertainty"
mini_recursion_engine.stop: "converged estimate, insufficient evidence, iteration limit or safety escalation"
# ---------- INFERENCE_RULES ----------
inference "LineConnected":
when: "two validated terminal connections exist"
then: "classify as a network edge between identified electrical nodes"
inference "PossibleOverload":
when: "validated current exceeds applicable ampacity"
then: "flag loading exceedance; evaluate duration and thermal state"
inference "PossibleHighResistance":
when: "measured losses or temperature rise exceed model expectations"
then: "investigate resistance, connections, measurement error and operating conditions"
inference "ProtectionTrip":
when: "relay trip and breaker open events are time-consistent"
then: "mark circuit as tripped pending isolation verification"
inference "DataUncertain":
when: "telemetry is missing, stale or contradictory"
then: "set measurement_quality = uncertain and avoid definitive diagnosis"
# ---------- CONFIDENCE ----------
confidence.scale: "0.0 to 1.0"
confidence.factors: ["measurement integrity", "topology validity", "model suitability", "temporal consistency", "independent corroboration"]
confidence.rule: "No numerical confidence is asserted without an explicit calibrated method"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"electric power transmission line" ~= "transmission line" when "power-system context"
"overhead power line" -> subtype_of -> TransmissionLine
"underground transmission cable" -> subtype_of -> TransmissionLine
"distribution feeder" != "transmission line" unless "classification is explicitly defined"
"line current" != "power flow"
"de-energised" != "verified safe for work"
# ---------- SAFETY_CONSTRAINTS ----------
safety:
- "This ontology is descriptive, not a switching or maintenance instruction."
- "Live network actions require authorised personnel and applicable procedures."
- "Check voltage, earthing, isolation and induced-voltage hazards before work."
- "Equipment ratings and protection settings must be asset-specific."
- "Never treat inferred status as a substitute for physical verification."
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 file content excluding any externally recorded digest"
flow_hash.value: "compute on publication; not pre-populated"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers: ["ontology revision", "asset model change", "new protection evidence", "measurement schema change", "safety review"]
update_model.provenance: "retain source URL, version, review date and change history"
update_model.compatibility: "preserve stable entity identifiers and explicit relationship meanings"
# END FLOW
Download Code
Copy to Clipboard