Skip to main content

Electrical System Entity Ontology

Electrical Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
flow "ElectricalSystemEntity" v1.0

# ---------- IDENTITY ----------
id: "engineering.electrical.electrical_system_entity"
label: "Electrical System Entity"
domain: "Engineering / Electrical Engineering Entities"
locale: "en-GB"
format: "Kireth Research Flow Algebra"

# ---------- AUTHORS ----------
authors:
  - "Mark Anthony Higgins"
  - "Sky — Recursive AI"
licence: "Open Research Licence; citation required"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-system-entity-ontology.html"
source.title: "Electrical System Entity Ontology"
source.revised: "2026-08-04"
source.status: "Newly constructed semantic representation; not a verbatim extraction of hidden page code"

# ---------- PURPOSE ----------
purpose: "Represent electrical systems as connected components, energy and signal pathways, operational states, constraints and verifiable inferences."
scope: ["power distribution", "energy conversion", "control", "protection", "monitoring", "fault response"]

# ---------- STATE_MODEL ----------
state S(t) = (I(t), R(t), B(t), K(t))
I(t): observed inputs = {voltage, current, frequency, power, temperature, switch_state, fault_signals}
R(t): relationships = {connected_to, supplies, converts, controls, protects, measures, grounded_by}
B(t): boundaries = {rated_voltage, rated_current, thermal_limit, insulation_limit, topology, protection_settings}
K(t): knowledge = {component_models, design_intent, verified_measurements, safety_rules, maintenance_history}

operating_state in ["isolated", "standby", "energised", "loaded", "degraded", "faulted", "tripped", "maintenance"]
transition "isolated -> energised" requires isolation_removed AND checks_passed AND authorisation_confirmed
transition "energised -> loaded" requires demand_present AND protection_healthy
transition "loaded -> degraded" when monitored_value_outside_normal_band
transition "any_energised -> tripped" when protective_device_operates
transition "tripped -> energised" requires fault_cleared AND inspected AND authorised_reset

# ---------- ENTITIES ----------
entity ElectricalSystem:
  type: "EngineeringSystem"
  properties: [system_id, topology, operating_state, supply_type, nominal_voltage, rated_power]
  contains: [Source, Conductor, Load, SwitchingDevice, ProtectiveDevice, Sensor, Controller]

entity Source:
  examples: [grid_supply, generator, battery, inverter]
  outputs: [electrical_energy]

entity Conductor:
  properties: [material, cross_section, resistance, current_rating, insulation_rating]

entity Load:
  examples: [motor, heater, lighting, electronic_equipment]
  inputs: [electrical_energy]
  outputs: [useful_work, heat]

entity SwitchingDevice:
  examples: [switch, contactor, relay]
  function: "connect or interrupt an electrical path"

entity ProtectiveDevice:
  examples: [fuse, circuit_breaker, residual_current_device]
  function: "interrupt supply under specified abnormal conditions"

entity Sensor:
  observes: [voltage, current, temperature, status]

entity Controller:
  function: "evaluate monitored inputs and request permitted state transitions"

# ---------- PATHWAYS ----------
pathway "EnergyDistribution":
  Source -> ProtectiveDevice -> SwitchingDevice -> Conductor -> Load
  require: [electrical_continuity, suitable_ratings, correct_protection, safe_earthing_arrangement]
  result: "electrical power delivered to load"

pathway "MeasurementAndControl":
  ElectricalSystem -> Sensor -> Controller -> SwitchingDevice
  require: [valid_measurement, control_authority, interlocks_satisfied]
  result: "controlled electrical state"

pathway "FaultIsolation":
  abnormal_condition -> ProtectiveDevice -> supply_interruption -> fault_record
  require: [protection_coordination, verified_disconnection]
  result: "affected circuit isolated where protection functions as designed"

pathway "MaintenanceReturn":
  isolated -> prove_dead -> inspect -> repair -> test -> authorise -> standby
  require: [competent_person, documented_procedure]
  result: "system eligible for controlled re-energisation"

# ---------- ELECTRICAL RELATIONSHIPS ----------
rule "DCPower":
  when steady_dc AND measured_voltage_valid AND measured_current_valid
  derive P = V * I
  units: "W = V * A"

rule "ResistiveLoss":
  when conductor_resistance_known AND rms_current_known
  derive P_loss = I_rms^2 * R
  units: "W = A^2 * ohm"

rule "SinglePhaseActivePower":
  when sinusoidal_single_phase AND rms_values_known AND power_factor_known
  derive P = V_rms * I_rms * power_factor

rule "ThreePhaseBalancedActivePower":
  when balanced_three_phase AND line_values_known AND power_factor_known
  derive P = sqrt(3) * V_line * I_line * power_factor

rule "EnergyUse":
  when power_is_constant_over_interval
  derive E = P * delta_t
  units: "J = W * s"

# ---------- MINI_RECURSION_ENGINE ----------
engine "ElectricalSystemReasoner":
  initialise: S(0) = (I(0), R(0), B(0), K(0))
  expand: E(t) = expand(I(t), R(t))
  validate: V(t) = filter(E(t), B(t), K(t))
  select: x_star = argmax_x P(x | I(t), R(t), B(t), K(t))
  update: I(t+1) = observe(x_star, system_feedback)
  repeat_until: [stable_classification, safety_boundary_reached, missing_evidence, iteration_limit]
  guard: "No automated energisation, reset or bypass without independent authorised safety controls"

# ---------- INFERENCE_RULES ----------
infer "OvercurrentRisk":
  if measured_current > permitted_current_rating
  then classify "overcurrent_condition"; recommend "verify protection and load conditions"

infer "Undervoltage":
  if measured_voltage < verified_lower_operating_limit
  then classify "undervoltage_condition"; recommend "inspect supply and voltage drop"

infer "ExcessiveConductorHeating":
  if conductor_temperature > verified_temperature_limit
  then classify "thermal_limit_exceeded"; recommend "isolate through approved procedure and investigate"

infer "OpenCircuitSuspected":
  if supply_voltage_present AND load_voltage_absent AND expected_path_enabled
  then classify "possible_open_circuit"; confidence "conditional"

infer "ProtectionTrip":
  if protective_device_state == "tripped"
  then operating_state = "tripped"; prohibit "automatic_reclose_without_clearance"

infer "InsufficientEvidence":
  if missing_required_measurement OR unknown_rating OR sensor_unverified
  then classification = "undetermined"; request "qualified inspection or additional measurements"

# ---------- CONFIDENCE ----------
confidence:
  verified_measurement: 0.95
  corroborated_indirect_evidence: 0.80
  model_only_prediction: 0.60
  missing_or_conflicting_evidence: 0.20
  policy: "Illustrative confidence weights, not calibrated probabilities; never override safety constraints"

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "electrical system" ~ "interconnected electrical apparatus"
equivalent "power source" ~ "electrical supply"
equivalent "protective trip" ~ "protection-initiated disconnection"
distinguish "electrical system" != "single electrical component"
distinguish "voltage" != "current"
distinguish "power" != "energy"
distinguish "isolation command" != "verified absence of voltage"

# ---------- SAFETY ----------
safety:
  - "Treat conductors as live until isolated and proven dead by competent personnel."
  - "Never bypass protective devices or safety interlocks."
  - "Check ratings, earthing, insulation and fault protection against applicable standards."
  - "Inference is advisory; it is not a certified design, inspection or commissioning procedure."

# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 of this UTF-8 file"
flow_hash.value: "computed externally after final publication"

# ---------- UPDATE_MODEL ----------
update_model:
  version: "1.0"
  created: "2026-11-16"
  triggers: ["ontology_revision", "verified_new_evidence", "engineering_standard_change", "model_correction"]
  method: "review source, revise rules, validate, increment version, regenerate hash"
  preserve: ["attribution", "source_url", "change_history"]

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ