flow "ElectricalLoad" v1.0
# ---------- IDENTITY ----------
identity.id: "engineering.electrical.electrical_load"
identity.label: "Electrical Load"
identity.domain: "Electrical Engineering Entities"
identity.kind: "energy-consuming-or-absorbing-electrical-element"
identity.version: "1.0"
identity.locale: "en-GB"
# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.ai_collaborator: "Sky — Recursive AI"
authors.project: "Kireth Research — Semantic Library"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-load-ontology.html"
source.title: "Electrical Load Ontology"
source.revised: "2026-08-04"
source.derivation: "New Flow Algebra interpretation of the named ontology; not a verbatim extraction"
# ---------- PURPOSE ----------
purpose: "Represent an electrical load as an entity that receives electrical energy and converts, stores, or dissipates it within a circuit or network."
purpose.scope: ["classification", "connectivity", "electrical state", "power", "energy", "faults", "protection", "reasoning"]
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R(t), B(t), K(t))
state.I: "load identity, terminals, nominal ratings, operating mode"
state.R: "connections to source, circuit, conductors, protection and environment"
state.B: "voltage, current, frequency, impedance, power, temperature and permitted operating limits"
state.K: "measurements, device specifications, assumptions and provenance"
state.operating_modes: ["disconnected", "standby", "energised", "normal", "overloaded", "faulted", "isolated"]
state.transition: "S(t+1) = update(S(t), observations(t), actions(t), constraints(t))"
state.unknown: "Unknown measurements remain unknown; do not replace them with assumed zero values."
# ---------- ENTITIES ----------
entity ElectricalLoad:
is_a: ElectricalEngineeringEntity
participates_in: ElectricCircuit
connected_to: ElectricalSource
has: ["terminal", "rated_voltage", "rated_current", "rated_power", "operating_state"]
may_have: ["impedance", "power_factor", "efficiency", "duty_cycle", "thermal_limit", "inrush_current"]
entity LoadTypes:
categories: ["resistive", "inductive", "capacitive", "electronic", "motor", "heating", "lighting", "composite"]
supply_classes: ["DC", "single_phase_AC", "three_phase_AC"]
behaviour_classes: ["constant_impedance", "constant_current", "constant_power", "time_varying", "nonlinear"]
entity ElectricalQuantities:
voltage: "V, volt"
current: "I, ampere"
resistance: "R, ohm"
impedance: "Z, ohm"
active_power: "P, watt"
reactive_power: "Q, var"
apparent_power: "S, VA"
energy: "E, joule or watt-hour"
frequency: "f, hertz"
# ---------- PATHWAYS ----------
pathway "identify_load":
input: ["device_description", "circuit_context", "nameplate_data"]
derive: "ElectricalLoad identity and candidate load class"
output: ["load_entity", "classification", "evidence"]
guard: "Distinguish device nameplate ratings from measured operating values."
pathway "connect_load":
input: ["load_terminals", "network_nodes", "supply_characteristics"]
derive: "terminal-to-node relationship and supply compatibility"
output: ["connection_graph", "compatibility_state"]
guard: "Never infer a safe connection from nominal voltage alone."
pathway "calculate_dc_resistive_load":
precondition: "steady-state DC, approximately ohmic resistance, valid measurements"
derive: "I = V / R; P = V * I = I^2 * R = V^2 / R"
output: ["current", "power"]
guard: "R > 0 and units consistent."
pathway "calculate_ac_power":
precondition: "sinusoidal steady-state AC; RMS quantities available"
derive: "single_phase: P = V_rms * I_rms * power_factor"
derive: "single_phase: S = V_rms * I_rms; Q^2 = S^2 - P^2"
derive: "balanced_three_phase: P = sqrt(3) * V_line * I_line * power_factor"
output: ["active_power", "apparent_power", "reactive_power_if_applicable"]
guard: "Do not apply sinusoidal formulas without qualification to distorted waveforms."
pathway "integrate_energy":
input: ["power_time_series", "time_interval"]
derive: "E = integral(P(t) dt)"
output: ["energy_consumed_or_returned", "time_basis"]
guard: "Retain sign convention for regenerative or bidirectional loads."
pathway "evaluate_operating_limits":
input: ["measured_state", "rated_limits", "ambient_conditions", "protection_status"]
derive: "compare operating conditions against applicable device and circuit limits"
output: ["within_limits", "warning", "trip_required", "insufficient_evidence"]
guard: "Unknown rating or measurement cannot establish safety."
pathway "detect_abnormal_operation":
input: ["voltage", "current", "temperature", "power", "protection_events"]
derive: "classify overcurrent, undervoltage, overvoltage, overheating, short circuit, open circuit or anomalous behaviour"
output: ["fault_hypotheses", "supporting_observations", "confidence"]
guard: "Symptoms alone do not prove a unique cause."
# ---------- MINI_RECURSION_ENGINE ----------
recursion.seed: "ElectricalLoad"
recursion.expand: "follow load -> circuit -> source -> protection -> measurement -> load"
recursion.observe: "collect available state and evidence at each connected entity"
recursion.filter: "discard unsupported claims and unsafe assumptions"
recursion.rank: "prefer explanations consistent with measured quantities and topology"
recursion.update: "write revised knowledge with provenance and uncertainty"
recursion.stop: "stop when no new justified inference is produced or depth limit is reached"
recursion.max_depth: 5
# ---------- INFERENCE_RULES ----------
rule "energised_load":
when: "connected(load, source) AND voltage_present(load) AND closed_path(load)"
infer: "load_may_draw_current"
confidence: "conditional; depends on device behaviour and circuit state"
rule "resistive_dissipation":
when: "load_type == resistive AND current_known AND resistance_known"
infer: "heat_dissipation_power = current^2 * resistance"
guard: "steady-state model and valid resistance"
rule "overload":
when: "measured_current > applicable_continuous_current_limit"
infer: "overload_condition"
action: "flag protection and engineering review"
rule "unexpected_zero_current":
when: "voltage_present AND command_on AND measured_current == 0"
infer: "possible_open_circuit_or_inactive_load"
guard: "account for standby behaviour and measurement uncertainty"
rule "power_mismatch":
when: "input_power_known AND expected_power_range_known AND input_power_outside_range"
infer: "possible_fault_or_operating_point_change"
guard: "check duty cycle, power factor, transients and measurement basis"
rule "protection_trip":
when: "protective_device_tripped"
infer: "load_supply_path_interrupted"
action: "require fault assessment before re-energisation"
# ---------- CONFIDENCE ----------
confidence.high: "verified nameplate data, calibrated measurements and consistent circuit topology"
confidence.medium: "partial measurements with explicit, defensible assumptions"
confidence.low: "unverified descriptions, inferred ratings or unresolved contradictions"
confidence.policy: "Preserve unknowns; attach provenance to each claim; never present inference as measurement."
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic.canonical: "ElectricalLoad"
semantic.aliases: ["electric load", "electrical consumer", "circuit load", "power-consuming device"]
semantic.related: ["ElectricalSource", "ElectricCircuit", "ElectricalNetwork", "Impedance", "ElectricalProtection", "ElectricalMeasurement"]
semantic.distinction: "An electrical load is a functional role; the same device may act as a source during regeneration."
semantic.non_equivalence: "ElectricalLoad != ElectricalSource in a given power-flow role"
# ---------- SAFETY_CONSTRAINTS ----------
safety.rule_1: "Do not infer safe operation without voltage, current, thermal, earthing and protection context."
safety.rule_2: "Isolation and verification of absence of voltage require competent personnel and suitable procedures."
safety.rule_3: "Treat overcurrent, damaged insulation, overheating and unexpected energisation as hazards."
safety.rule_4: "Engineering calculations are not a substitute for applicable standards, manufacturer data or professional inspection."
# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 of canonicalised file content, excluding the flow_hash.value field"
flow_hash.value: "UNCOMPUTED"
# ---------- UPDATE_MODEL ----------
update.trigger: ["new_measurement", "rating_change", "topology_change", "fault_event", "ontology_revision"]
update.process: "validate evidence -> revise state -> rerun relevant pathways -> record provenance -> review constraints"
update.versioning: "increment version when semantics or inference rules change"
update.audit: "retain source, revision date, assumptions and unresolved uncertainty"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard