flow "ElectricalGroundEntity" v1.0
# ---------- IDENTITY ----------
identity:
name: "Electrical Ground Entity"
domain: "Engineering / Electrical Engineering / Electrical Machine Entities"
type: "ElectricalReferenceAndProtectiveConnection"
locale: "en-GB"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
# ---------- SOURCE ----------
source:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-ground-entity-ontology.html"
source_title: "Electrical Ground Entity Ontology"
source_revised: "2026-08-04"
interpretation: "Newly constructed semantic Flow Algebra representation; not a verbatim extraction"
citation_required: true
# ---------- PURPOSE ----------
purpose:
define: "Represent electrical ground as a reference, connection and safety-related entity"
distinguish: ["protective_earth", "functional_earth", "signal_ground", "chassis_ground", "earth_electrode", "neutral_conductor"]
reason_about: ["reference_potential", "fault_current_path", "bonding_continuity", "touch_voltage", "earthing_impedance", "ground_fault"]
avoid: "Treating every ground symbol as an interchangeable physical earth connection"
# ---------- STATE_MODEL ----------
state_model:
I: "observed network topology, measurements, equipment ratings and earthing arrangement"
R: "electrical principles, installation constraints and protection rules"
B: "system boundaries, operating mode and verified assumptions"
K: "ontology relations, evidence, applicable standards and manufacturer data"
S: "(I, R, B, K)"
expand: "E_t = expand(I_t, R)"
validate: "V_t = {x in E_t | satisfies(x, B) and supported(x, K)}"
select: "x_t = argmax P(x | I_t, R, B, K)"
update: "I_(t+1) = I_t + verified(x_t)"
# ---------- ENTITIES ----------
entities:
electrical_ground:
is_a: "electrical_reference_or_connection_entity"
may_have: ["reference_potential", "grounding_conductor", "electrode", "bonding_network", "connection_point"]
protective_earth:
role: "connect exposed-conductive-parts to protective earthing arrangement"
not_equivalent_to: "normal_load_current_return"
functional_earth:
role: "support equipment operation, EMC or functional reference"
not_automatically: "protective_earth"
signal_ground:
role: "reference for signal voltages"
not_automatically: "earth_electrode"
chassis_ground:
role: "conductive equipment frame or enclosure reference"
protection_requires: "verified protective bonding where applicable"
earth_electrode:
role: "electrical connection to the general mass of earth"
neutral_conductor:
role: "system conductor associated with supply neutral point"
not_equivalent_to: "protective_earth"
protective_device:
examples: ["circuit_breaker", "fuse", "residual_current_device"]
ground_fault:
is_a: "unintended conductive path involving earth or earthed parts"
earthing_arrangement:
examples: ["TN-S", "TN-C-S", "TT", "IT"]
# ---------- RELATIONSHIPS ----------
relationships:
- "protective_earth -> bonds -> exposed_conductive_part"
- "earth_electrode -> interfaces_with -> soil"
- "ground_fault -> may_create -> hazardous_touch_voltage"
- "fault_loop_impedance -> influences -> fault_current"
- "fault_current_and_protection_settings -> influence -> disconnection_time"
- "bonding_continuity -> supports -> protective_function"
- "signal_ground -> references -> signal_voltage"
- "earthing_arrangement -> constrains -> fault_protection_assessment"
# ---------- PATHWAYS ----------
pathways:
identify_ground:
input: ["ground_label", "schematic", "system_context"]
steps:
- "resolve intended ground role from circuit documentation"
- "identify whether a physical earth connection exists"
- "distinguish protective, functional, signal and chassis references"
output: "classified_ground_entity"
assess_protective_path:
input: ["earthing_arrangement", "bonding_records", "loop_impedance", "protective_device_data"]
steps:
- "verify connection topology and protective conductor continuity"
- "assess fault-loop characteristics against applicable protection requirements"
- "check protective device coordination and required disconnection conditions"
- "flag missing or uncertain evidence"
output: "protective_path_assessment"
detect_ground_fault:
input: ["measured_current", "residual_current", "insulation_test", "event_log"]
steps:
- "correlate anomalies with circuit topology"
- "distinguish leakage, measurement error and plausible ground faults"
- "raise safety status when credible fault evidence exists"
output: "fault_hypothesis_with_confidence"
evaluate_reference_integrity:
input: ["reference_nodes", "potential_differences", "bonding_topology"]
steps:
- "identify reference domains and intended isolation boundaries"
- "check unintended ground loops and common-mode disturbances"
- "avoid assuming zero potential difference across separated nodes"
output: "reference_integrity_assessment"
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
initialise: "S_0 = (I_0, R, B, K)"
repeat:
- "expand candidate ground-role and fault-path interpretations"
- "filter interpretations against verified topology and applicable constraints"
- "rank supported interpretations by evidence quality"
- "request measurements or expert review for unresolved safety-critical claims"
- "update state only with validated evidence"
terminate_when: "classification supported OR evidence exhausted OR safety escalation required"
max_iterations: 8
# ---------- INFERENCE_RULES ----------
inference_rules:
R01: "IF node_is_signal_reference AND no_verified_earth_bond THEN do_not_infer_physical_earth"
R02: "IF chassis_is_conductive AND protective_bond_required AND bond_unverified THEN status = inspection_required"
R03: "IF earth_fault_suspected AND protection_status_unknown THEN status = unsafe_until_assessed"
R04: "IF neutral_and_PE_share_a_label THEN require_earthing_arrangement_verification"
R05: "IF measured_loop_impedance_exceeds_applicable_limit THEN flag_protection_noncompliance"
R06: "IF residual_current_device_trips THEN investigate_leakage_or_fault_without_assuming_single_cause"
R07: "IF grounding_path_is_open THEN flag_loss_of_protective_continuity"
R08: "IF touch_voltage_may_be_hazardous THEN escalate_to_qualified_person"
R09: "IF ground_nodes_are_separated_by_isolation_barrier THEN do_not_merge_reference_domains"
R10: "IF evidence_is_incomplete THEN lower_confidence_and_request_verification"
# ---------- QUANTITATIVE_RELATIONS ----------
quantitative_relations:
ohms_law: "V = I * R (applicable resistive approximation)"
fault_current_approximation: "I_fault = U_0 / Z_loop (where applicable to the network and fault model)"
conductor_loss: "P_loss = I_rms^2 * R"
note: "These relations are context-dependent; protection compliance requires applicable standards and verified installation data"
# ---------- SAFETY_CONSTRAINTS ----------
safety_constraints:
- "Never treat a neutral conductor as a substitute for protective earth"
- "Never assume a schematic ground symbol guarantees protective earthing"
- "Do not recommend live testing or alteration by unqualified persons"
- "Treat uncertain earthing continuity and fault protection as safety-critical"
- "Applicable UK installation and workplace requirements take precedence over this ontology"
- "Qualified inspection, isolation and verification are required before corrective work"
# ---------- CONFIDENCE ----------
confidence:
high: "verified topology plus documented test results and applicable standard"
medium: "consistent documentation with incomplete measurements"
low: "symbol-only interpretation, ambiguous wiring or missing protection evidence"
safety_rule: "never promote low-confidence safety conclusions to verified status"
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
electrical_ground: ["ground reference", "earthing reference (context-dependent)"]
protective_earth: ["PE", "protective conductor connection"]
functional_earth: ["FE", "functional grounding"]
earth_electrode: ["ground electrode", "earthing electrode"]
ground_fault: ["earth fault", "fault to earth"]
exclusions:
- "protective_earth != neutral_conductor"
- "signal_ground != necessarily protective_earth"
- "chassis_ground != necessarily earth_electrode"
# ---------- FLOW_HASH ----------
flow_hash:
algorithm: "SHA-256"
value: "GENERATE_ON_PUBLICATION"
canonicalisation: "UTF-8 LF; exclude flow_hash.value from digest input"
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
review_triggers: ["source_revision", "standard_revision", "new_evidence", "ontology_change"]
preserve: ["source_url", "author_credit", "revision_history", "safety_constraints"]
publication_status: "draft_semantic_representation"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard