Skip to main content

Electrical Engineering 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 "ElectricalEngineeringEntity" v1.0

# ---------- IDENTITY ----------
identity:
  name: "Electrical Engineering Entity"
  domain: "Engineering / Electrical Machine Entities"
  type: "EngineeringEntityOntology"
  locale: "en-GB"
  status: "constructed semantic representation"

# ---------- AUTHORS ----------
authors:
  - "Mark Anthony Higgins"
  - "Sky — Recursive AI"

# ---------- SOURCE ----------
source:
  url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-engineering-entity-ontology.html"
  page_title: "Electrical Engineering Entity Ontology"
  page_revised: "2026-08-04"
  citation_required: true
  provenance: "New Flow Algebra model derived from page identity and electrical engineering domain knowledge; not a verbatim extraction of hidden page code."

# ---------- PURPOSE ----------
purpose:
  define: "Electrical engineering entities as components, systems, quantities and relationships that generate, transmit, convert, control or consume electrical energy."
  support: ["semantic classification", "entity linking", "state tracking", "diagnostic inference", "safe reasoning"]
  boundary: "Reasoning specification only; not a certified electrical design or protection calculation."

# ---------- STATE_MODEL ----------
state_model:
  S = (I, R, B, K)
  I = "observed entity identity, electrical measurements and operating context"
  R = "typed electrical relationships and transformation rules"
  B = "physical ratings, installation limits and safety boundaries"
  K = "verified domain knowledge, evidence and provenance"
  operational_states = ["unknown", "isolated", "de-energised", "energised", "operating", "degraded", "faulted", "locked-out"]
  transition:
    "unknown -> de-energised": "isolation and absence of voltage verified by competent personnel"
    "de-energised -> energised": "authorised energisation with protection and interlocks satisfied"
    "energised -> operating": "command accepted and load conditions valid"
    "operating -> degraded": "non-critical deviation detected"
    "operating -> faulted": "protective threshold exceeded or critical failure detected"
    "faulted -> locked-out": "protective isolation latched pending investigation"

# ---------- ENTITIES ----------
entities:
  ElectricalEngineeringEntity:
    attributes: ["entity_id", "name", "entity_type", "rated_voltage_V", "rated_current_A", "rated_power_W", "frequency_Hz", "phase_count", "protection_class", "lifecycle_state"]
  ElectricalSource:
    examples: ["generator", "battery", "grid_supply", "power_converter"]
  ElectricalLoad:
    examples: ["motor", "heater", "lamp", "electronic_equipment"]
  ElectricalNetwork:
    examples: ["conductor", "busbar", "cable", "terminal", "distribution_board"]
  ControlAndProtection:
    examples: ["switch", "contactor", "relay", "circuit_breaker", "fuse", "protective_device"]
  ElectricalQuantity:
    examples: ["voltage", "current", "resistance", "impedance", "power", "energy", "frequency", "power_factor"]
  ElectricalMachine:
    examples: ["transformer", "electric_motor", "electric_generator"]
  Measurement:
    examples: ["voltage_sensor", "current_sensor", "energy_meter", "temperature_sensor"]

# ---------- RELATIONSHIPS ----------
relationships:
  "source -> supplies -> network"
  "network -> distributes -> load"
  "protective_device -> protects -> circuit"
  "controller -> commands -> switching_device"
  "measurement -> observes -> electrical_quantity"
  "transformer -> transforms -> voltage_and_current"
  "motor -> converts -> electrical_energy_to_mechanical_energy"
  "generator -> converts -> mechanical_energy_to_electrical_energy"
  "fault -> may_trigger -> protective_isolation"

# ---------- PATHWAYS ----------
pathways:
  identify_entity:
    input: ["name", "function", "connections", "ratings"]
    steps:
      - "normalise terminology and units"
      - "match function and attributes against entity classes"
      - "resolve ambiguity using verified evidence"
      - "emit entity class and confidence"
    output: ["canonical_entity", "typed_relationships", "confidence"]

  evaluate_operating_state:
    input: ["supply_status", "measured_voltage", "measured_current", "device_rating", "protection_status"]
    steps:
      - "verify measurement validity and context"
      - "compare observed quantities with documented operating envelope"
      - "classify normal, degraded, faulted or unknown state"
      - "require isolation recommendation when a critical fault is evidenced"
    output: ["state", "supporting_evidence", "required_review"]

  trace_energy_flow:
    input: ["source", "network", "load", "measurement_set"]
    steps:
      - "identify source-to-load connectivity"
      - "check voltage, phase and frequency compatibility"
      - "estimate losses only when appropriate measured parameters are supplied"
      - "record unresolved assumptions"
    output: ["energy_path", "compatibility_assessment", "uncertainties"]

  classify_fault:
    input: ["symptoms", "measurements", "protection_events"]
    steps:
      - "distinguish open circuit, short circuit, overload, insulation failure and supply loss"
      - "rank hypotheses by evidence rather than symptom alone"
      - "preserve unknown classification where evidence is insufficient"
      - "escalate hazardous conditions for competent inspection"
    output: ["fault_hypotheses", "confidence", "safety_action"]

# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
  initialise: "S0 = (I0, R, B, K)"
  expand: "Et = expand(It, R)"
  constrain: "Vt = {x in Et | satisfies(x, B) and supported(x, K)}"
  select: "xt = argmax P(x | I, R, B, K) over Vt"
  update: "It+1 = integrate(It, xt, new_evidence)"
  stop_when: ["stable classification", "safety boundary reached", "evidence exhausted", "maximum iterations reached"]
  guarantees:
    - "do not convert assumptions into observed facts"
    - "do not infer a safe state from missing measurements"
    - "retain provenance for every derived assertion"

# ---------- INFERENCE_RULES ----------
inference_rules:
  - id: "EE-01"
    if: "entity converts electrical energy into mechanical motion"
    then: "candidate_type = ElectricMotor"
  - id: "EE-02"
    if: "entity converts mechanical energy into electrical energy"
    then: "candidate_type = ElectricGenerator"
  - id: "EE-03"
    if: "entity transfers AC energy between windings by electromagnetic induction"
    then: "candidate_type = Transformer"
  - id: "EE-04"
    if: "measured_current exceeds verified allowable operating limit"
    then: "flag = OvercurrentCondition; action = ProtectionReview"
  - id: "EE-05"
    if: "protective_device has operated"
    then: "state = FaultedOrProtected; prohibit = AutomaticSafeToReEnergiseInference"
  - id: "EE-06"
    if: "measurement missing or instrument status unverified"
    then: "state = Unknown; confidence = Reduced"
  - id: "EE-07"
    if: "energised conductors are exposed or insulation integrity is compromised"
    then: "flag = CriticalElectricalHazard; action = IsolateAndEscalate"

# ---------- QUANTITY_RELATIONSHIPS ----------
quantity_relationships:
  "Ohm's law (resistive DC case)": "V = I * R"
  "DC electrical power": "P = V * I"
  "single-phase real AC power (sinusoidal RMS)": "P = V_rms * I_rms * power_factor"
  "balanced three-phase real power": "P = sqrt(3) * V_line * I_line * power_factor"
  "energy": "E = integral(P dt)"
  "resistive conductor loss": "P_loss = I_rms^2 * R"
  qualification: "Equations require their stated circuit assumptions; they are not universal for nonlinear or unbalanced systems."

# ---------- CONFIDENCE ----------
confidence:
  high: "documented identity plus independently verified measurements and relationships"
  medium: "consistent functional evidence with incomplete measurement coverage"
  low: "name-only match, uncertain ratings or conflicting observations"
  policy: "unknown is preferable to unsupported certainty"

# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
  "electrical apparatus" ~= "electrical equipment" : "context-dependent broader class"
  "electric motor" ~= "electromechanical drive" : "overlap, not strict identity"
  "protective switchgear" ~= "circuit protection equipment" : "partial functional overlap"
  "power source" ~= "electrical supply" : "functional equivalence when supply boundary is specified"
  preserve_distinctions: ["voltage vs current", "power vs energy", "earthing vs bonding", "isolation vs switching", "rated vs measured values"]

# ---------- SAFETY_BOUNDARIES ----------
safety_boundaries:
  - "Treat electrical equipment as potentially live until properly isolated and proven dead."
  - "Do not infer regulatory compliance or safe installation from ontology classification."
  - "Do not recommend bypassing protection or interlocks."
  - "Require qualified review for protective coordination, fault levels and installation decisions."

# ---------- FLOW_HASH ----------
flow_hash:
  algorithm: "SHA-256"
  value: "computed externally on final UTF-8 file bytes"
  note: "Hash is not self-embedded to avoid circular content dependency."

# ---------- UPDATE_MODEL ----------
update_model:
  version: "1.0"
  created: "2026-11-16"
  triggers: ["ontology revision", "new verified entity relationship", "correction of engineering assumptions", "new safety evidence"]
  procedure:
    - "preserve previous version and provenance"
    - "validate changed relationships and inference rules"
    - "recalculate external file checksum"
    - "publish revised flow with change summary"

# ---------- END FLOW ----------
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ