Skip to main content

Electric Circuit 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 "ElectricCircuitEntity" v1.0

# ---------- IDENTITY ----------
identity.name: "Electric Circuit Entity"
identity.domain: "Engineering / Electrical Machine Entities"
identity.kind: "connected electrical network"
identity.language: "en-GB"
identity.status: "constructed semantic representation"

# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.ai_collaborator: "Sky — Recursive AI"
authors.credit: "Kireth Research; citation required under applicable published licence"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electric-circuit-entity-ontology.html"
source.title: "Electric Circuit Entity Ontology"
source.page_revised: "2026-08-04"
source.derivation: "Newly constructed Flow Algebra model; not a verbatim extraction of hidden page specifications"

# ---------- PURPOSE ----------
purpose: "Represent electrical circuits as interconnected sources, branches, nodes, loads, controls and protective elements; support topology-aware reasoning, conservation checks, state transitions and fault identification."

# ---------- STATE_MODEL ----------
state.variables:
  - topology: graph(nodes, branches)
  - supply_state: {disconnected, energised, deenergised, faulted}
  - switch_state: {open, closed, unknown}
  - branch_voltage: V [volt]
  - branch_current: I [ampere]
  - branch_resistance: R [ohm]
  - branch_impedance: Z [ohm]
  - branch_power: P [watt]
  - frequency: f [hertz]
  - temperature: T [kelvin]
  - insulation_condition: {healthy, degraded, failed, unknown}
  - protection_state: {armed, tripped, isolated, unknown}
  - measurement_quality: {validated, estimated, unavailable}
state.initial: "unverified topology; assume no safe-to-touch condition"
state.transitions:
  disconnected -> energised when supply_connected and controls_closed and protection_permits
  energised -> deenergised when supply_removed or isolation_confirmed
  energised -> faulted when fault_detected
  faulted -> deenergised when protection_trips or isolation_confirmed
  deenergised -> energised only when authorised_restart and checks_pass

# ---------- ENTITIES ----------
entity ElectricCircuit:
  has: [Node, Branch, ElectricalSource, ElectricalLoad, Conductor, Connection]
  may_have: [Switch, Fuse, CircuitBreaker, Resistor, Capacitor, Inductor, Transformer, Sensor, EarthConnection]
entity Node:
  property: electrical_potential
  relation: joins(Branch)
entity Branch:
  property: [current, voltage_drop, impedance, power]
  relation: connects(Node, Node)
entity ElectricalSource:
  property: [voltage, current_limit, source_impedance]
  relation: supplies(ElectricCircuit)
entity ElectricalLoad:
  property: [impedance, rated_voltage, rated_current, power_demand]
  relation: consumes_power_from(ElectricCircuit)
entity ProtectiveDevice:
  property: [trip_threshold, response_time, breaking_capacity]
  relation: protects(ElectricCircuit)
entity Measurement:
  property: [value, unit, timestamp, uncertainty, instrument]
  relation: observes(ElectricCircuit)

# ---------- PATHWAYS ----------
pathway "TopologyResolution":
  input: [nodes, branches, component_terminals, connection_evidence]
  process: normalise_identifiers -> verify_terminal_connections -> construct_graph -> detect_open_paths -> classify_series_parallel_mesh
  output: [validated_topology, disconnected_components, topology_confidence]

pathway "CircuitEnergisation":
  input: [source_available, control_positions, protection_state, continuity]
  guard: "topology validated and protective conditions satisfied"
  process: assess_supply -> assess_closed_paths -> calculate_expected_state -> compare_measurements
  output: [energisation_state, expected_branch_behaviour]

pathway "DCAnalysis":
  input: [validated_topology, DC_sources, component_parameters]
  process: apply_ohms_law -> enforce_kirchhoff_current_law -> enforce_kirchhoff_voltage_law -> solve_unknowns -> verify_power_balance
  output: [node_voltages, branch_currents, dissipated_power, residuals]

pathway "ACAnalysis":
  input: [validated_topology, source_frequency, RMS_phasors, complex_impedances]
  guard: "linear sinusoidal steady-state assumptions applicable"
  process: build_phasor_network -> solve_complex_currents -> compute_real_reactive_apparent_power -> check_power_balance
  output: [voltage_phasors, current_phasors, power_factor, residuals]

pathway "FaultAssessment":
  input: [measurements, design_limits, protection_events, topology]
  process: validate_evidence -> compare_expected_and_observed -> generate_fault_hypotheses -> rank_by_evidence -> recommend_safe_isolation
  output: [fault_candidates, confidence, safety_action]

# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
  initialise: "load topology, observations and engineering limits"
  repeat:
    - infer_component_states_from_connectivity
    - propagate_voltage_current_constraints
    - compare_conservation_residuals_with_uncertainty
    - revise_hypotheses_using_new_measurements
    - stop_if_converged_or_iteration_limit_reached
  convergence: "all supported constraints consistent within declared tolerances"
  on_nonconvergence: "report unresolved topology, missing evidence or model mismatch"
  maximum_iterations: 32

# ---------- INFERENCE_RULES ----------
rule R01: if branch_is_open and no_parallel_path then branch_current = 0 in ideal steady_state_model
rule R02: if node_is_not_charge_accumulating then sum(currents_entering) = sum(currents_leaving)
rule R03: if closed_loop and lumped_quasistatic_model then sum(signed_voltage_changes) = 0
rule R04: if component_is_ohmic and operating_range_valid then voltage_drop = current * resistance
rule R05: if DC_resistive_component then dissipated_power = voltage_drop * current
rule R06: if measured_current > rated_current then flag("overcurrent risk")
rule R07: if insulation_condition = failed then flag("electric shock and short-circuit risk")
rule R08: if protective_device = tripped then supply_state = deenergised_only_for_protected_downstream_section
rule R09: if circuit_is_isolated then require("prove dead using approved procedure before work")
rule R10: if topology_unknown or measurement_quality = unavailable then avoid_asserting_safe_state
rule R11: if predicted_and_measured_values_disagree_beyond_uncertainty then create_fault_hypothesis
rule R12: if fault_hypothesis_has_multiple_causes then request_discriminating_measurement

# ---------- CONFIDENCE ----------
confidence.evidence_priority: [verified_measurement, validated_schematic, manufacturer_rating, simulation, inference]
confidence.high: "independent measurements and topology agree within uncertainty"
confidence.medium: "partial measurement coverage with consistent constraints"
confidence.low: "missing topology, unverified ratings or contradictory observations"
confidence.policy: "Never infer absence of hazardous voltage solely from an open switch or a tripped protective device."

# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
  "electrical circuit" ~ "electric circuit" when context = "connected electrical network"
  "branch" ~ "two-terminal network path" when topology = "lumped circuit model"
  "node" ~ "electrically common junction" when conductor_drop = "negligible"
  "open circuit" != "safe isolated circuit"
  "short circuit" != "normal low-resistance conductor"
  "earth" != "neutral" unless specifically established by system design and context

# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 of canonical UTF-8 file bytes; calculate at publication"
flow_hash.value: "PENDING_CANONICAL_PUBLICATION"

# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers: [source_revision, new_component_class, topology_correction, safety_standard_change, verified_fault_case]
update_model.change_policy: "increment version, preserve source attribution, regenerate hash, record change log"
update_model.validation: "check units, topology, conservation residuals, safety guards and semantic consistency"

# ---------- SAFETY ----------
safety: "Conceptual reasoning model only. Not a substitute for qualified electrical design, testing, isolation or compliance with applicable regulations."
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ