Skip to main content

Electrical Source 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 "ElectricalSourceEntity" v1.0

# ---------- IDENTITY ----------
identity.name: "Electrical Source"
identity.domain: "Engineering > Electrical Machine Entities"
identity.kind: "ElectricalEnergySupplyEntity"
identity.language: "en-GB"

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

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-source-ontology.html"
source.title: "Electrical Source Ontology"
source.revised: "2026-08-04"
source.derivation: "Newly constructed semantic Flow Algebra; not a verbatim extraction of embedded source code"

# ---------- PURPOSE ----------
purpose: "Represent electrical energy sources, their terminal behaviour, operating constraints, connectivity, and evidence-based diagnostic reasoning."

# ---------- STATE_MODEL ----------
state.S: (I, R, B, K)
state.I: {source_type, terminal_voltage_V, terminal_current_A, polarity, frequency_Hz, phase_count, rated_voltage_V, rated_current_A, rated_power_W, internal_resistance_ohm, temperature_C, charge_state, connection_state, protection_state, observations}
state.R: {electrical_laws, component_relationships, operating_limits, diagnostic_rules}
state.B: {manufacturer_ratings, safe_operating_envelope, measurement_uncertainty, isolation_requirements}
state.K: {known_topology, source_characteristics, prior_observations, validated_models}
state.lifecycle: [unidentified, identified, isolated, ready, energised, supplying, limited, faulted, shutdown]
state.transition: "Changes require observed evidence and satisfaction of safety boundaries."

# ---------- ENTITIES ----------
entity.ElectricalSource: "Device or system that supplies electrical energy to a circuit or network."
entity.VoltageSource: "Source model that maintains terminal voltage within defined limits."
entity.CurrentSource: "Source model that maintains current within defined limits."
entity.DCSource: "Source supplying predominantly unidirectional electrical output."
entity.ACSource: "Source supplying time-varying electrical output."
entity.Battery: "Electrochemical energy-storage source."
entity.Generator: "Machine converting mechanical energy into electrical energy."
entity.PowerSupply: "Equipment providing conditioned electrical output."
entity.SolarCell: "Photovoltaic electrical source under illumination."
entity.Terminal: "Electrical interface for connection to a network."
entity.Load: "Network element receiving electrical power."
entity.ProtectionDevice: "Fuse, breaker, or electronic protective element."
entity.Measurement: "Voltage, current, power, temperature, or frequency observation with units and uncertainty."

# ---------- RELATIONSHIPS ----------
relation.ElectricalSource -> supplies -> ElectricalNetwork
relation.ElectricalSource -> has_terminal -> Terminal
relation.ElectricalSource -> constrained_by -> OperatingLimit
relation.ElectricalSource -> monitored_by -> Measurement
relation.ElectricalSource -> protected_by -> ProtectionDevice
relation.Battery -> subtype_of -> ElectricalSource
relation.Generator -> subtype_of -> ElectricalSource
relation.PowerSupply -> subtype_of -> ElectricalSource
relation.SolarCell -> subtype_of -> ElectricalSource

# ---------- PATHWAYS ----------
pathway.identify:
  input: {device_description, labels, topology}
  process: [classify_source_type, identify_terminals, record_ratings, verify_evidence]
  output: {source_identity, confidence, unknowns}

pathway.characterise:
  input: {voltage_measurement, current_measurement, load_state, waveform_measurement}
  process: [normalise_units, verify_measurement_context, compare_with_ratings, derive_operating_region]
  output: {electrical_characteristics, operating_region, uncertainty}

pathway.supply:
  preconditions: [source_identified, connection_verified, protection_verified, operating_limits_satisfied]
  process: [observe_terminal_state, evaluate_load_demand, monitor_voltage_current_temperature, evaluate_protection]
  output: {supply_state, delivered_power, constraint_status}

pathway.diagnose:
  input: {observations, ratings, circuit_topology, fault_indications}
  process: [validate_evidence, compare_expected_actual, enumerate_hypotheses, rank_hypotheses, request_safe_tests]
  output: {candidate_faults, confidence, recommended_inspection}

pathway.isolate:
  input: {shutdown_request, verified_isolation_procedure}
  process: [remove_supply_command, verify_disconnection, assess_stored_energy, confirm_safe_state]
  output: {isolation_state, residual_risk}

# ---------- ELECTRICAL RELATIONS ----------
relation.power_dc: "P = V * I for DC terminal quantities using the passive sign convention; source-delivered power uses the corresponding sign."
relation.power_ac_real: "P = V_rms * I_rms * power_factor for single-phase sinusoidal steady state."
relation.energy: "E = integral(P dt) over the specified interval."
relation.thevenin: "V_terminal = V_open_circuit - I_out * R_internal for an applicable linear DC source model."
relation.efficiency: "eta = useful_electrical_output / total_input when both are defined on the same basis."
relation.limit: "Operation is admissible only when voltage, current, power, thermal, and environmental constraints are satisfied."

# ---------- MINI_RECURSION_ENGINE ----------
recursion.initialise: "S_t = (I_t, R, B, K_t)"
recursion.expand: "E_t = expand(I_t, R)"
recursion.filter: "V_t = {x in E_t | satisfies(x, B) and supported_by_evidence(x)}"
recursion.select: "x_star = argmax_x P(x | I_t, R, B, K_t), x in V_t"
recursion.update: "I_(t+1) = incorporate(I_t, x_star, verified_observations)"
recursion.knowledge: "K_(t+1) = update(K_t, validated_findings)"
recursion.stop: "Stop at sufficient confidence, unresolved ambiguity, safety boundary, or iteration limit."

# ---------- INFERENCE_RULES ----------
rule.source_classification:
  when: "Terminal behaviour and verified construction match a source category."
  infer: "Classify the source with an evidence-linked confidence score."

rule.voltage_sag:
  when: "Terminal voltage decreases as load current rises beyond expected regulation behaviour."
  infer: "Consider source impedance, overload, cabling resistance, and degraded regulation; do not assume a single cause."

rule.overcurrent:
  when: "Measured current exceeds the applicable verified limit."
  infer: "Mark operating state as unsafe or limited and require protective response."

rule.reverse_polarity:
  when: "Measured DC polarity conflicts with the verified terminal designation."
  infer: "Flag polarity mismatch; prohibit energisation pending correction."

rule.frequency_deviation:
  when: "AC frequency falls outside the specified tolerance."
  infer: "Flag source-quality deviation and investigate regulation or load conditions."

rule.thermal_fault:
  when: "Source temperature exceeds the verified manufacturer limit."
  infer: "Flag thermal hazard; require appropriate shutdown and qualified inspection."

rule.insufficient_evidence:
  when: "Measurements, source ratings, or topology are missing or inconsistent."
  infer: "Return uncertain rather than declaring a definitive diagnosis."

# ---------- CONFIDENCE ----------
confidence.scale: [0.0, 1.0]
confidence.inputs: [source_reliability, measurement_quality, model_fit, evidence_independence, uncertainty]
confidence.policy: "Do not assign numerical confidence without a documented calibration method."
confidence.unknown: "unquantified"

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent("electrical source", "electric power source") when: "Context denotes a supplier of electrical energy."
equivalent("DC supply", "direct-current source") when: "Output characteristics match the stated DC context."
equivalent("AC supply", "alternating-current source") when: "Output characteristics match the stated AC context."
not_equivalent("electrical source", "ideal voltage source") because: "Real sources have finite operating limits and may not regulate voltage ideally."
not_equivalent("electrical source", "electrical load") because: "Energy flow roles differ and may reverse in bidirectional equipment."

# ---------- SAFETY_BOUNDARIES ----------
boundary.no_live_work: "No assumption that a circuit is safe without verified isolation and testing by a competent person."
boundary.stored_energy: "Account for batteries, capacitors, and rotating generators after disconnection."
boundary.ratings: "Never infer safe current, voltage, or fault capacity without verified equipment data."
boundary.protection: "Do not bypass protective devices or manufacturer interlocks."
boundary.scope: "This semantic model is not a commissioning, wiring, or electrical safety certification procedure."

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.canonicalisation: "UTF-8, LF line endings; exclude computed digest field"
flow_hash.value: "computed-on-publication"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-16"
update.trigger: [new_verified_measurements, revised_source_ontology, standards_change, safety_revision]
update.method: "Review evidence, update affected entities and rules, revalidate safety constraints, increment version, regenerate digest."
update.provenance: "Retain source URL, authorship, and revision history."

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