Skip to main content

Circuit Ontology

Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 October 2026
Audio Overview
FLOW ALGEBRA
CIRCUIT ONTOLOGY — ENGINEERING ENTITIES
Version: 1.1
Source URL: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/engineering-entities/circuit-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Site: https://kirethresearch.org
Status: Independent scientific synthesis; source page not independently verified.

01. PURPOSE
Represent electrical circuits as typed graphs with physical constraints, governing equations, operational states, measurements, and inference rules. Distinguish idealised models from real components.

02. SCOPE
DC and AC lumped circuits; passive and active elements; network topology; transient and steady-state analysis; measurements, faults and safety constraints. Distributed transmission lines require a separate model.

03. CORE TYPES
Circuit, Node, Branch, Port, Terminal, GroundReference, Component, Connection, Source, Load, Resistor, Capacitor, Inductor, Diode, Transistor, Switch, Fuse, Wire, Sensor, Measurement, Signal, State, Equation, Constraint, Fault, Simulation.

04. TYPED ATTRIBUTES
Component(id, kind, terminals, parameters, ratings, tolerance, temperature)
Node(id, potential_reference)
Branch(id, from_node, to_node, orientation)
Circuit(id, nodes, branches, environment, model_assumptions)
Measurement(quantity, value, unit, uncertainty, timestamp, method)

05. RELATIONSHIP SIGNATURES
HAS_COMPONENT: Circuit x Component
HAS_NODE: Circuit x Node
CONNECTS: Terminal x Node
BELONGS_TO: Terminal x Component
HAS_BRANCH: Circuit x Branch
CARRIES_CURRENT: Branch x CurrentMeasurement
HAS_POTENTIAL: Node x VoltageMeasurement
CONTROLLED_BY: Component x Signal
PROTECTS: Fuse x Circuit
MEASURES: Sensor x Quantity

06. IDENTITY AND TOPOLOGY
Two terminals belong to the same ideal node only if joined by ideal conductors without intervening circuit elements. Component identity is independent of position in a schematic. Distinguish physical wiring from schematic topology.

07. GRAPH MODEL
G = (V,E), where V are circuit nodes and E are oriented branches. Parallel branches share the same ordered endpoint pair up to orientation. Series components share an intermediate node with no other attached current path in the idealised topology.

08. INCIDENCE MATRIX
A[v,e] = +1 if branch e enters node v, -1 if e leaves, 0 otherwise (chosen convention). A i = 0 encodes Kirchhoff's current law for a closed lumped network.

09. KIRCHHOFF CURRENT LAW
At a node, sum of oriented branch currents is zero: sum_k s_k I_k = 0. Assumes negligible unmodelled charge accumulation at the node; displacement-current effects may require a broader model.

10. KIRCHHOFF VOLTAGE LAW
For a lumped circuit with consistently defined branch voltages, sum of oriented voltage drops around a loop is zero. Time-varying magnetic flux linking a loop requires induced-emf terms or an appropriate field formulation.

11. OHM LAW
Ideal resistor: V = I R, R > 0, where V is voltage in volts, I current in amperes and R resistance in ohms. Real resistors may be temperature-dependent or nonlinear.

12. CAPACITOR LAW
q = C V; i = C dV/dt for constant capacitance and passive sign convention. Stored energy E_C = (1/2) C V^2.

13. INDUCTOR LAW
v = L di/dt for constant inductance and passive sign convention. Stored energy E_L = (1/2) L i^2. Coupled inductors require mutual inductance terms.

14. POWER AND ENERGY
Instantaneous absorbed power p = v i under passive sign convention. For an ideal resistor P = I^2 R = V^2/R. Energy transferred over [t0,t1] equals integral p(t) dt.

15. SOURCE TYPES
Independent voltage source, independent current source, dependent voltage source, dependent current source. Ideal voltage sources prescribe voltage; ideal current sources prescribe current. Sources may be inconsistent with certain ideal constraints.

16. SERIES RESISTORS
If ideal resistors R1,...,Rn are in series, Req = sum_i Ri. The same current passes through each.

17. PARALLEL RESISTORS
For positive parallel resistances, 1/Req = sum_i 1/Ri. All branches share the same voltage.

18. VOLTAGE DIVIDER
For series R1 and R2 across Vin, Vout across R2 = Vin R2/(R1+R2), assuming no loading and ideal resistors.

19. CURRENT DIVIDER
For two parallel positive resistors, current through R1 is Itotal R2/(R1+R2).

20. RC TRANSIENT
For ideal series RC charging from constant V0 through R with initial capacitor voltage 0: V_C(t) = V0(1-exp(-t/(RC))). Time constant tau = RC.

21. RL TRANSIENT
For ideal series RL with DC step V0 and initial current 0: i(t) = (V0/R)(1-exp(-Rt/L)); tau = L/R.

22. AC PHASOR MODEL
For sinusoidal steady state at angular frequency omega: Z_R = R, Z_L = j omega L, Z_C = 1/(j omega C). Phasor methods do not directly represent arbitrary transients.

23. COMPLEX POWER
Using RMS phasors, S = V I* = P + jQ. Apparent power |S|, real power P and reactive power Q use VA, W and var respectively.

24. NODAL ANALYSIS
Choose a reference node. Express branch currents from node potentials and element laws; apply KCL to solve unknown node voltages. Check singular matrices and floating subcircuits.

25. MESH ANALYSIS
For planar lumped circuits, assign mesh currents and apply KVL. Shared branch currents are signed differences of mesh currents. Current sources may require supermeshes.

26. THEVENIN AND NORTON
For a linear two-terminal network, Thevenin equivalent comprises Vth in series with Zth; Norton equivalent comprises In in parallel with Zth. Vth = In Zth when finite nonzero Zth. Observe source deactivation rules and dependent sources.

27. SEMICONDUCTOR COMPONENTS
Diodes and transistors are nonlinear or controlled devices. Use model-specific constitutive equations; do not apply a fixed resistance model universally.

28. SWITCHING STATES
Switch(state) in {OPEN,CLOSED,TRANSITIONAL,FAULTED}; ideal open switch carries zero current, ideal closed switch has zero voltage. Real switches have finite resistance, arcing and timing effects.

29. GROUND REFERENCE
GroundReference is a chosen zero-potential node for circuit analysis, not necessarily an earth connection or protective conductor.

30. CONSERVATION INVARIANTS
Charge continuity, network current balance, and energy conservation must hold under stated model assumptions. Check passive sign conventions and boundary conditions.

31. UNITS
Voltage V, current A, resistance ohm, conductance S, capacitance F, inductance H, power W, energy J, frequency Hz, angular frequency rad/s, charge C.

32. WORKED EXAMPLE — SERIES
Given Vsource=12 V, R1=2 ohm, R2=4 ohm: Req=6 ohm; I=2 A; V1=4 V; V2=8 V. Validate KVL: 12-4-8=0 V. Power supplied=24 W; resistive dissipation=8+16=24 W.

33. WORKED EXAMPLE — PARALLEL
Given 12 V across 6 ohm and 3 ohm: I1=2 A; I2=4 A; Itotal=6 A; Req=2 ohm. Validate KCL: 6-2-4=0 A.

34. INFERENCE RULES
IF CONNECTS(t1,n) AND CONNECTS(t2,n) AND both terminals are ideal-node terminals THEN SAME_NODE(t1,t2).
IF SERIES(R1,R2) AND IDEAL_RESISTORS(R1,R2) THEN EQUIVALENT_RESISTANCE = R1+R2.
IF PARALLEL(R1,R2) AND R1>0 AND R2>0 THEN EQUIVALENT_RESISTANCE = R1*R2/(R1+R2).
IF RESISTOR(r) AND KNOWN(V,r) AND KNOWN(R,r) AND R>0 THEN INFER(I=V/R).
IF KCL_RESIDUAL > tolerance THEN FLAG(model_or_measurement_inconsistency).

35. PROOF OBLIGATIONS
Validate node connectivity, element orientation, consistent units, solvability, source compatibility, conservation residuals, model applicability and numerical conditioning.

36. SEMANTIC EQUIVALENCE
'Electric circuit' ~ 'electrical network' in broad contexts, but network may include non-circuit structures. 'Ground' is not semantically identical to 'earth'. 'Voltage' is potential difference, not absolute potential.

37. SEMANTIC DIFFERENCE
Circuit != component; node != branch; current != voltage; resistance != impedance; DC steady state != AC sinusoidal steady state; schematic connectivity != physical proximity.

38. CONFIDENCE
Use confidence in [0,1] for evidence-backed assertions; distinguish symbolic proof confidence from empirical measurement uncertainty. Do not assign high confidence to an unverified measurement.

39. VALIDATION TESTS
TEST1: series example KVL residual = 0.
TEST2: parallel example KCL residual = 0.
TEST3: passive resistor power >= 0 for R>0.
TEST4: dimensional check RC in seconds.
TEST5: ideal open switch branch current = 0.
TEST6: reject incompatible ideal voltage sources in parallel.
TEST7: report disconnected or floating reference nodes.
TEST8: distinguish ground reference from protective earth.

40. FLOW_HASH
Algorithm: SHA-256 over UTF-8 canonicalised flow body excluding mutable hash field. Value: NOT COMPUTED. Recompute after any content revision; never invent a digest.

41. UPDATE_MODEL
Versioned revisions; retain prior graph identities and provenance; mark changes to topology, parameters, units, assumptions and evidence; re-run all validations after update.

42. AI_CONSUMPTION
Input: typed circuit graph, parameters, constraints, observations, assumptions.
Process: normalise units -> resolve topology -> select analysis regime -> generate equations -> solve -> validate -> explain provenance.
Output: state estimates, node potentials, branch currents, power, residuals, warnings and confidence metadata.

43. LIMITATIONS
Lumped-element assumptions fail when propagation delays and distributed electromagnetic effects matter. Real components have parasitics, tolerances, temperature effects and finite ratings. Numerical simulation does not replace electrical safety review.

44. COMPLETENESS CHECK
Required sections 01 through 44 are present. Verify UTF-8 encoding, source URL, scientific distinctions, mathematical examples, inference rules, Flow Hash specification, Update Model and AI Consumption.

END FLOW ALGEBRA — CIRCUIT ONTOLOGY
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ