flow "ElectricalInterface" v1.0
# ---------- IDENTITY ----------
identity:
name: "Electrical Interface"
class: "Electrical Engineering Entity"
domain: "Engineering / Electrical Machine Entities"
language: "en-GB"
representation: "Flow Algebra"
# ---------- AUTHORS ----------
authors:
primary: "Mark Anthony Higgins"
collaborator: "Sky — Recursive AI"
licence_note: "Refer to the source site's Open Research Licence for applicable terms."
# ---------- SOURCE ----------
source:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-interface-ontology.html"
page_title: "Electrical Interface Ontology"
page_revised: "2026-08-04"
derivation: "New semantic Flow Algebra representation; not a verbatim extraction of hidden page code."
# ---------- PURPOSE ----------
purpose:
describe: "Model a boundary at which electrical power, signals, or reference potentials pass between components or subsystems."
reason_about: ["compatibility", "connectivity", "electrical limits", "signal integrity", "fault containment", "isolation"]
distinguish: "An interface is a defined interaction boundary; a terminal or connector may implement it physically."
# ---------- STATE_MODEL ----------
state_model:
S(t) = (I(t), R(t), B(t), K(t))
I(t) = {interface_id, endpoint_a, endpoint_b, connection_state, voltage, current, frequency, temperature, signal_quality, insulation_state}
R(t) = {electrical_laws, interface_specification, protection_rules, compatibility_rules}
B(t) = {voltage_rating, current_rating, temperature_rating, insulation_rating, pin_assignment, environmental_limits}
K(t) = {topology, manufacturer_data, inspection_records, measurement_uncertainty, operating_history}
E(t) = expand(I(t), R(t))
V(t) = filter(E(t), B(t))
decision(t) = argmax P(candidate | I(t), R(t), B(t), K(t))
I(t+1) = update(I(t), decision(t), observations(t+1))
# ---------- ENTITIES ----------
entities:
ElectricalInterface:
is_a: EngineeringInterface
has_endpoint: [ElectricalComponentA, ElectricalComponentB]
carries: [ElectricalPower, ElectricalSignal, ReferencePotential]
realised_by: [Connector, Terminal, Cable, Busbar, Contact, GalvanicIsolator]
characterised_by: [VoltageRating, CurrentRating, Impedance, ContactResistance, InsulationResistance, TemperatureRating]
monitored_by: [VoltageSensor, CurrentSensor, TemperatureSensor, ContinuityTest]
protected_by: [Fuse, CircuitBreaker, IsolationBarrier, ProtectiveEarth]
ConnectionState: [disconnected, connected, energised, degraded, faulted, isolated]
InterfaceType: [power, analogue_signal, digital_signal, protective_earth, communication, mixed]
# ---------- PATHWAYS ----------
pathways:
identify:
input: [endpoint_a, endpoint_b, interface_type]
process: classify_boundary -> map_contacts -> assign_ratings
output: interface_definition
compatibility:
input: [supply_characteristics, load_requirements, interface_ratings]
process: compare_voltage -> compare_current -> compare_frequency -> check_polarity -> check_pinout -> check_isolation
output: [compatible, incompatible, unknown]
transfer:
input: [source_state, connection_state, load_state]
guard: connection_state == energised AND compatibility == compatible
process: establish_path -> transfer_energy_or_signal -> observe_response
output: [delivered_power, received_signal, losses]
diagnostics:
input: [measurements, design_limits, inspection_history]
process: validate_measurements -> detect_deviation -> localise_fault -> classify_severity
output: [fault_hypotheses, confidence, recommended_safe_action]
isolation:
input: [authorised_shutdown, isolation_procedure]
process: de_energise -> secure_isolation -> verify_absence_of_voltage
output: [isolation_status, verification_record]
guard: "Verification performed by a competent person using suitable equipment and procedure."
# ---------- ELECTRICAL RELATIONSHIPS ----------
relationships:
ohms_law: "V = I * R (for an applicable resistive element)"
contact_loss: "P_loss = I^2 * R_contact (steady resistive approximation)"
dc_power: "P = V * I"
ac_real_power: "P = V_rms * I_rms * power_factor (single-phase sinusoidal case)"
voltage_drop: "DeltaV = I * R_path (DC resistive approximation)"
note: "Apply the appropriate frequency-dependent impedance, transient, and thermal models where required."
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
initialise: read_interface_specification -> establish_baseline
cycle:
observe: acquire_measurements
expand: infer_compatible_states_and_fault_modes
constrain: reject_states_violating_ratings_or_safety_rules
select: choose_highest_supported_explanation
verify: compare_prediction_with_independent_evidence
update: revise_state_and_confidence
stop_when: [stable_classification, insufficient_evidence, safety_boundary_reached]
max_iterations: 8
# ---------- INFERENCE_RULES ----------
inference_rules:
R01: IF applied_voltage > voltage_rating THEN flag("overvoltage_risk")
R02: IF measured_current > current_rating THEN flag("overcurrent_risk")
R03: IF contact_resistance rises_above baseline_tolerance THEN infer("degraded_contact_possible")
R04: IF temperature > temperature_rating THEN flag("thermal_limit_exceeded")
R05: IF insulation_resistance < approved_minimum THEN flag("insulation_integrity_risk")
R06: IF pin_assignment != required_pin_assignment THEN classify("incompatible_interface")
R07: IF connection_state == disconnected THEN prohibit("assume_power_transfer")
R08: IF measured_voltage_drop > approved_limit THEN investigate("contact_or_conductor_loss")
R09: IF fault_evidence is ambiguous THEN classify("undetermined") AND request("additional_safe_measurements")
R10: IF protective_earth_continuity == failed THEN flag("protective_bonding_fault")
R11: IF galvanic_isolation_required AND isolation_absent THEN classify("unsafe_design_condition")
R12: IF interface_fault == confirmed THEN require("approved_isolation_and_repair_process")
# ---------- CONFIDENCE ----------
confidence:
direct_verified_measurement: 0.95
consistent_multi_sensor_evidence: 0.85
single_indirect_indicator: 0.60
unverified_assumption: 0.30
policy: "These are illustrative reasoning weights, not calibrated probabilities."
uncertainty: preserve_unknowns_and_conflicting_evidence
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
preferred: "Electrical Interface"
related_terms: ["electrical interconnection", "electrical boundary", "power interface", "signal interface"]
not_identical_to: ["electrical connector", "electrical terminal", "electrical junction", "electrical network"]
distinction: "Physical connector entities may realise an interface but do not exhaust its functional definition."
# ---------- SAFETY_CONSTRAINTS ----------
safety_constraints:
- "Do not infer safe touch conditions from a nominal OFF state."
- "Do not prescribe live work from ontology output."
- "Observe equipment ratings, protection coordination, and applicable electrical standards."
- "Qualified personnel must verify isolation and protective measures before intervention."
- "Unknown ratings or unverified earthing imply a blocked safe-operation conclusion."
# ---------- FLOW_HASH ----------
flow_hash:
algorithm: "SHA-256"
value: "NOT_COMPUTED"
note: "Compute over the final canonicalised published flow if integrity tracking is required."
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
date: "2026-11-16"
triggers: ["source_revision", "new_test_evidence", "standard_change", "identified_model_error"]
method: review_source -> validate_rules -> increment_version -> regenerate_hash -> publish_changelog
provenance: "Kireth Research Electrical Interface Ontology"
end flow
Download Code
Copy to Clipboard