ELECTRICAL SYSTEM ONTOLOGY — FLOW ALGEBRA
Semantic Library | Engineering System Entities
Version: 1.0 | Generated: 12 November 2026 | Encoding: UTF-8
SOURCE
https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-system-entities/electrical-system-ontology.html
Source page credits: Mark Anthony Higgins — Sky Recursive AI
Source page revision: 04 August 2026
STATUS: Original Flow Algebra reconstruction; the accessible page did not expose its full formal specification. Not a verbatim extraction.
PURPOSE
Represent electrical systems as typed entities, components, connections, energy flows, constraints, operating states, faults and lifecycle transitions, with testable inference rules.
STATE MODEL
S_t = (I_t, R, B, K)
I_t = observed electrical system facts, measurements, events and configurations at t
R = typed electrical relationships and transition rules
B = system boundary, physical limits, safety limits and authorised operations
K = domain knowledge, units, component specifications and verified evidence
E_t = expand(I_t, R)
V_t = {x in E_t | valid(x, B, K)}
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*_t, observations_t)
If V_t is empty, return NO_VALID_TRANSITION and request evidence or corrective action.
ENTITY TYPES
ElectricalSystem(id, purpose, boundary, nominal_voltage, frequency, phase_configuration, status)
Component(id, kind, rating, condition, terminal_set)
Source(id, source_kind, voltage, capacity, availability)
Load(id, demand, power_factor, duty_cycle, priority)
Conductor(id, material, cross_section, ampacity, insulation_rating)
Connection(id, from_terminal, to_terminal, connection_kind)
Bus(id, voltage_class, connected_terminals)
ProtectionDevice(id, device_kind, rating, trip_characteristic, status)
Switch(id, state, command_authority)
Sensor(id, quantity, unit, uncertainty, timestamp)
Controller(id, input_set, output_set, control_policy)
GroundingSystem(id, topology, continuity_status)
ElectricalInterface(id, connector, voltage_class, pinout, protocol)
Measurement(id, quantity, value, unit, uncertainty, timestamp)
Fault(id, fault_kind, location, severity, evidence)
Requirement(id, predicate, verification_method)
LifecycleState(id, phase, date, evidence)
RELATIONSHIPS
contains(System, Component)
connectedTo(TerminalA, TerminalB)
supplies(Source, BusOrLoad)
consumes(Load, ElectricalPower)
protectedBy(ComponentOrCircuit, ProtectionDevice)
measuredBy(QuantityOrComponent, Sensor)
controlledBy(Component, Controller)
groundedBy(Component, GroundingSystem)
constrainedBy(Entity, Requirement)
interfacesWith(SystemA, SystemB, ElectricalInterface)
exhibits(System, Fault)
transitionsTo(StateA, StateB, Event)
verifiedBy(Claim, Evidence)
INVARIANTS
INV-01: Every entity identifier is unique within its declared namespace.
INV-02: Every connection references two existing, compatible terminals.
INV-03: Every measurement has a declared unit and provenance.
INV-04: No authorised transition knowingly exceeds validated equipment ratings.
INV-05: Protection coverage and isolation requirements must be checked before energisation.
INV-06: Boundary-crossing interfaces must declare electrical compatibility.
INV-07: Uncertainty or missing evidence cannot be silently converted into certainty.
INV-08: Fault status and lifecycle history remain traceable across updates.
OPERATIONAL FLOWS
FLOW-01 IDENTIFY_SYSTEM
INPUT: system descriptor, scope, purpose
EXPAND: enumerate source, distribution, loads, controls, protection and interfaces
FILTER: reject ambiguous scope or duplicate identities
OUTPUT: bounded electrical system graph
FLOW-02 DISCOVER_TOPOLOGY
INPUT: components, terminals, wiring records
EXPAND: connectedTo closure and supply paths
FILTER: reject missing terminals, unsupported links and incompatible connections
OUTPUT: validated topology with unresolved links flagged
FLOW-03 CHARACTERISE_POWER
INPUT: voltage, current, power, phase and frequency observations
EXPAND: calculate applicable P=VI (DC), P=VI cos(phi) (single-phase AC), P=sqrt(3) V_LL I_L cos(phi) (balanced three-phase AC)
FILTER: apply measurement uncertainty, operating assumptions and rating constraints
OUTPUT: qualified power and loading estimates
FLOW-04 CHECK_COMPONENT_RATINGS
INPUT: component ratings and expected operating conditions
EXPAND: evaluate voltage, current, thermal and environmental margins
FILTER: reject unsupported or out-of-rating configurations
OUTPUT: compliance candidates and violations
FLOW-05 TRACE_ENERGY_PATH
INPUT: source, topology, load demands
EXPAND: enumerate energised supply paths
FILTER: enforce switch state, isolation, capacity and protection constraints
OUTPUT: feasible paths and bottlenecks
FLOW-06 EVALUATE_PROTECTION
INPUT: protection devices, circuit ratings, fault scenarios
EXPAND: map protective coverage and potential coordination conflicts
FILTER: flag absent evidence, inadequate ratings or unresolved coordination
OUTPUT: protection assessment requiring competent verification
FLOW-07 MONITOR_OPERATION
INPUT: timestamped sensor measurements and operational thresholds
EXPAND: compare observations against baseline and expected behaviour
FILTER: account for sensor uncertainty, stale readings and invalid samples
OUTPUT: normal, warning, fault or indeterminate state
FLOW-08 DIAGNOSE_FAULT
INPUT: symptoms, topology, events and measured evidence
EXPAND: generate plausible fault hypotheses and affected paths
FILTER: reject hypotheses contradicted by evidence or physical constraints
OUTPUT: ranked hypotheses with confidence and missing tests
FLOW-09 CONTROL_TRANSITION
INPUT: requested action, current state, authorised actor
EXPAND: enumerate resulting states and interlocks
FILTER: reject unauthorised, unsafe or unsupported transitions
OUTPUT: permitted transition or blocked-action record
FLOW-10 LIFECYCLE_UPDATE
INPUT: inspection, maintenance, modification or retirement event
EXPAND: update configuration, condition, requirements and provenance
FILTER: require evidence and preserve historical identity
OUTPUT: versioned lifecycle state and audit trail
INFERENCE RULES
R1: contains(S,C) AND connectedTo(C.terminal,T) => participatesIn(C,S) if T belongs to S.
R2: supplies(A,B) AND supplies(B,C) => reachableSupply(A,C), subject to switch state and boundary constraints.
R3: observedCurrent(C) > validatedAmpacity(C) => potentialOverload(C), not automatic proof of damage.
R4: no verified protection path for an energisable circuit => protectionEvidenceGap(circuit).
R5: sensor uncertainty overlaps a limit => indeterminateLimitStatus, not guaranteed compliance.
R6: interface voltage classes incompatible => blockConnection unless a verified conversion element exists.
R7: fault hypothesis supported by independent evidence => increase confidence, subject to calibrated model.
R8: modification changes topology => invalidate dependent prior verification until rechecked.
RECURSION ENGINE
REPEAT:
E_t = expand(I_t,R)
V_t = filter(E_t,B,K)
IF V_t = {}: HALT(NO_VALID_TRANSITION)
x*_t = select(V_t, evidence, uncertainty, priorities)
I_(t+1) = update(I_t,x*_t,observations_t)
UNTIL fixed_point OR authorised_stop OR iteration_limit
Termination must be explicit; convergence is not assumed.
TRI-MAPPING
Physical: source -> conductors -> protection -> switching -> load
Semantic: entities -> relationships -> constraints -> evidence
Operational: observe -> expand -> validate -> decide -> update
VALIDATION
Check identity uniqueness; graph referential integrity; unit consistency;
source/load balance assumptions; terminal compatibility; ratings;
protection and isolation evidence; timestamp freshness; provenance;
authorised lifecycle transitions; unresolved uncertainty.
EXECUTION CONTRACT
Inputs: typed entities, topology, measurements, constraints and provenance.
Outputs: validated candidate states, traceable inferences and explicit failures.
Guarantee: deterministic rule evaluation when inputs and rule ordering are fixed;
no guarantee of physical safety, completeness or predictive accuracy.
Engineering decisions require appropriate professional review and applicable standards.
ATTRIBUTION
Source ontology: Mark Anthony Higgins — Sky Recursive AI, Kireth Research.
Flow Algebra reconstruction prepared for Semantic Library research use.
Retain source citation when redistributing or adapting.
Download Code
Copy to Clipboard