flow "DistributionLine" v1.0
# ---------- IDENTITY ----------
identity:
name: "Distribution Line"
class: "Power-System Entity"
domain: "Electrical Engineering / Power Distribution"
role: "Conveys electrical energy between distribution network nodes and connected loads"
language: "en-GB"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
licence: "Kireth Research Open Research Licence — citation required"
# ---------- SOURCE ----------
source:
title: "Distribution Line Ontology"
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/distribution-line-ontology.html"
page_revised: "2026-08-04"
representation: "Newly constructed Flow Algebra interpretation; not a verbatim extraction"
# ---------- PURPOSE ----------
purpose:
define: "Distribution-line identity, topology, electrical behaviour and lifecycle"
reason: "Trace power delivery, losses, loading, voltage drop and protective response"
constrain: "Never infer safe operation from incomplete ratings or measurements"
# ---------- STATE_MODEL ----------
state_model:
S = (I, R, B, K)
I = {line_id, endpoints, phase_configuration, voltage_level, conductor, length, impedance, ampacity, status, measurements}
R = {connects, supplies, carries_current, dissipates_heat, protected_by, monitored_by, isolated_by}
B = {thermal_limit, voltage_limit, insulation_limit, protection_limit, environmental_limit}
K = {network_topology, equipment_ratings, operating_history, protection_settings, verified_measurements}
operating_states = {de_energised, energised, loaded, overloaded, faulted, isolated, under_maintenance}
transition: de_energised -> energised when authorised_switching and verified_conditions
transition: energised -> loaded when load_connected and current_nonzero
transition: loaded -> overloaded when measured_current > applicable_ampacity
transition: any_energised_state -> faulted when verified_fault_detected
transition: faulted -> isolated when protective_device_operated and isolation_verified
transition: isolated -> under_maintenance when lockout_and_test_for_dead_completed
# ---------- ENTITIES ----------
entities:
DistributionLine: type "ElectricalNetworkBranch"
Feeder: type "DistributionNetworkPath"
Conductor: type "ElectricalConductor"
Insulator: type "ElectricalInsulator"
PoleOrCableRoute: type "PhysicalSupportOrContainment"
DistributionTransformer: type "VoltageConversionEquipment"
Switchgear: type "SwitchingAndIsolationEquipment"
ProtectiveDevice: type "FaultInterruptionEquipment"
NetworkNode: type "ElectricalConnectionPoint"
Load: type "ElectricalDemandEntity"
Meter: type "ElectricalMeasurementDevice"
EarthingSystem: type "ProtectiveEarthingEntity"
relations:
DistributionLine -> connects -> NetworkNode
DistributionLine -> contains -> Conductor
DistributionLine -> protected_by -> ProtectiveDevice
DistributionLine -> monitored_by -> Meter
DistributionLine -> supplies -> Load
DistributionLine -> interfaces_with -> Switchgear
DistributionLine -> depends_on -> Insulator
DistributionLine -> interacts_with -> EarthingSystem
# ---------- PATHWAYS ----------
pathways:
power_delivery:
input: {source_node, destination_node, line_status, voltage, current, power_factor}
require: line_status == energised
sequence: source_node -> DistributionLine -> destination_node -> Load
derive: P_three_phase = sqrt(3) * V_line_to_line * I_line * power_factor
note: "Balanced three-phase real power approximation; use matching RMS quantities"
output: {delivered_power_estimate, delivery_path}
resistive_loss:
input: {phase_current_rms, conductor_resistance_per_phase}
require: resistance_at_operating_temperature_known
derive: P_loss_three_phase = 3 * phase_current_rms^2 * conductor_resistance_per_phase
output: {resistive_loss_estimate, heat_generation}
voltage_drop:
input: {phase_current, resistance, reactance, power_factor, configuration}
require: configuration == balanced_three_phase
derive: delta_V_line_to_line_approx = sqrt(3) * phase_current * (resistance * power_factor + reactance * sqrt(1 - power_factor^2))
note: "Approximation for a simple balanced feeder; distributed loads and complex networks require network analysis"
output: {estimated_voltage_drop, receiving_voltage_estimate}
loading_assessment:
input: {measured_current, applicable_ampacity, ambient_conditions, installation_method}
require: applicable_ampacity > 0
derive: loading_ratio = measured_current / applicable_ampacity
output: {loading_ratio, loading_state}
fault_response:
input: {fault_indication, protection_status, switching_status, isolation_evidence}
sequence: detect -> classify -> protection_assessment -> isolation_verification -> authorised_review
guard: "Do not claim isolation merely because a breaker reports open"
output: {fault_classification, isolation_status, inspection_required}
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
initialise: I0 = observed_line_state
expand: E_t = expand(I_t, R)
validate: V_t = filter(E_t, B, K)
select: H_t = argmax P(hypothesis | I_t, R, B, K)
update: I_t+1 = revise(I_t, verified_observations, H_t)
terminate_when: stable_state or evidence_exhausted or safety_boundary_reached
max_iterations: 8
guard: "Hypotheses cannot override protection requirements or measured evidence"
# ---------- INFERENCE_RULES ----------
inference_rules:
R01: if measured_current > applicable_ampacity then infer "thermal_overload_risk"
R02: if receiving_voltage < permitted_minimum then infer "undervoltage_condition"
R03: if measured_loss > expected_loss_with_uncertainty then infer "investigate_abnormal_losses"
R04: if fault_detected and protection_not_operated then infer "urgent_protection_review"
R05: if line_open and isolation_not_verified then infer "not_proven_safe_to_touch"
R06: if conductor_temperature > rated_temperature then infer "thermal_limit_exceeded"
R07: if topology_unknown then infer "power_path_uncertain"
R08: if phase_imbalance_exceeds_design_threshold then infer "load_balance_review"
R09: if insulation_defect_confirmed then infer "serviceability_compromised"
R10: if evidence_conflicts then infer "measurement_validation_required"
# ---------- CONFIDENCE ----------
confidence:
high: "Verified measurements, validated topology and current equipment ratings agree"
medium: "Model-based estimate with documented assumptions and bounded uncertainty"
low: "Missing ratings, unverified topology, stale observations or conflicting data"
rule: "Confidence represents evidence quality, not a guarantee of electrical safety"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"distribution line" ~= "distribution feeder segment" when network_context_matches
"overhead distribution line" -> subtype_of -> "distribution line"
"underground distribution cable" -> subtype_of -> "distribution line"
"transmission line" != "distribution line" unless classification_context_explicitly_allows
"open switch" != "verified safe isolation"
# ---------- SAFETY_CONSTRAINTS ----------
safety_constraints:
- "Treat all conductors as live until isolated and proved dead by competent personnel"
- "Apply relevant local regulations, network operator procedures and approved equipment ratings"
- "Do not infer protective-device suitability without verified fault levels and coordination studies"
- "Do not issue remote switching or re-energisation commands from ontology inference alone"
- "Use qualified engineering review for design, maintenance and protection changes"
# ---------- FLOW_HASH ----------
flow_hash:
algorithm: "SHA-256"
scope: "Canonical UTF-8 flow content excluding the flow_hash value itself"
value: "UNCOMPUTED"
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
created: "2026-11-16"
triggers: {source_revision, network_topology_change, protection_setting_change, equipment_replacement, new_verified_evidence}
strategy: "Revalidate entity relationships, formula assumptions, constraints and inference rules"
preserve: {source_url, authorship, version_history, citation_requirement}
# ---------- END FLOW ----------
Download Code
Copy to Clipboard