flow "EarthingSystem" v1.0
# ---------- IDENTITY ----------
identity:
entity_id: "engineering.electrical.earthing_system"
name: "Earthing System"
category: "Electrical Engineering Entities"
language: "en-GB"
representation: "Flow Algebra"
# ---------- AUTHORS ----------
authors:
primary: "Mark Anthony Higgins"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; citation required"
# ---------- SOURCE ----------
source:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/earthing-system-ontology.html"
title: "Earthing System Ontology"
page_revised: "2026-08-04"
note: "Newly constructed semantic representation; not a verbatim extraction of embedded page specifications."
# ---------- PURPOSE ----------
purpose:
describe: "Represent an earthing system as connected protective, functional and reference-potential entities."
reason: "Support topology interpretation, fault-path reasoning, condition assessment and safety-aware inference."
boundary: "Ontology and conceptual analysis only; not an installation design, test certificate or authorisation to work on live equipment."
# ---------- STATE_MODEL ----------
state_model:
S(t) = (I(t), R(t), B(t), K(t))
I(t) = {earthing_arrangement, conductors, electrodes, bonding, exposed_conductive_parts, protective_devices, measurements}
R(t) = {connects_to, bonded_to, referenced_to, provides_fault_path, monitored_by, protected_by}
B(t) = {system_boundary, supply_boundary, environmental_boundary, regulatory_boundary}
K(t) = {verified_topology, applicable_standard, measured_values, device_characteristics, uncertainty}
states = {unknown, documented, inspected, tested, compliant_assessed, degraded, fault_suspected, isolated}
transition(unknown -> documented) when topology_documented
transition(documented -> inspected) when inspection_evidence_recorded
transition(inspected -> tested) when authorised_test_results_available
transition(tested -> compliant_assessed) when qualified_assessment_complete
transition(any -> fault_suspected) when credible_fault_indicator
transition(any -> degraded) when deterioration_confirmed
transition(any -> isolated) when isolation_confirmed
# ---------- ENTITIES ----------
entities:
EarthingSystem: electrical_protection_system
EarthElectrode: conductive_interface_to_general_mass_of_earth
EarthingConductor: conductor_connecting_earthing_terminal_to_electrode_or_earth
ProtectiveConductor: conductor_providing_protective_connection
MainEarthingTerminal: common_earthing_connection_point
EquipotentialBonding: connection_reducing_hazardous_potential_differences
ExposedConductivePart: accessible_part_that_may_become_live_under_fault
ExtraneousConductivePart: conductive_part_introducing_external_potential
ProtectiveDevice: circuit_breaker_or_fuse_or_residual_current_device
SupplyEarthingArrangement: TN_S_or_TN_C_S_or_TT_or_IT
EarthFault: unintended_live_to_earth_or_exposed_part_connection
FaultLoopImpedance: impedance_of_relevant_fault_current_path
TouchVoltage: potential_difference_accessible_to_a_person
EarthResistance: resistance_between_electrode_system_and_reference_earth
TestRecord: measured_result_with_method_date_and_provenance
CompetentAssessor: authorised_qualified_person
# ---------- PATHWAYS ----------
pathways:
classify_arrangement:
input: {supply_topology, neutral_earth_relationship, electrode_configuration}
derive: earthing_arrangement = classify(supply_topology, neutral_earth_relationship, electrode_configuration)
output: {earthing_arrangement, classification_confidence}
trace_protective_path:
input: {exposed_conductive_part, protective_conductor, main_earthing_terminal, supply_or_electrode_path}
derive: path = trace_connections(exposed_conductive_part, main_earthing_terminal, supply_or_electrode_path)
output: {path, continuity_evidence, missing_links}
evaluate_fault_protection:
input: {earthing_arrangement, fault_loop_impedance, protective_device, applicable_standard, test_evidence}
derive: assessment = compare_verified_evidence_to_applicable_requirements()
output: {assessment, uncertainty, qualified_review_required}
assess_bonding:
input: {exposed_conductive_parts, extraneous_conductive_parts, bonding_connections}
derive: missing_bonds = identify_unverified_required_connections()
output: {missing_bonds, evidence_gaps}
monitor_condition:
input: {inspection_records, test_records, corrosion_observations, modification_history}
derive: condition = infer_condition_from_evidence()
output: {condition, confidence, follow_up}
# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
initialise: S(0) = (I(0), R(0), B(0), K(0))
expand: E(t) = expand(I(t), R(t))
filter: V(t) = {x in E(t) | consistent(x, B(t), K(t))}
select: x_star = argmax(x in V(t)) P(x | I(t), R(t), B(t), K(t))
update: I(t+1) = merge(I(t), verified(x_star))
stop_when: {stable_relations, no_new_verified_evidence, iteration_limit_reached}
guard: "Do not turn inferred topology into verified continuity or regulatory compliance."
# ---------- INFERENCE_RULES ----------
inference_rules:
R01: IF protective_path_unverified THEN status = "verification_required"
R02: IF conductor_continuity_test_failed THEN status = "fault_suspected"
R03: IF electrode_corrosion_observed THEN status = "degradation_possible"
R04: IF earthing_arrangement_unknown THEN prohibit_compliance_conclusion = true
R05: IF fault_loop_impedance_missing THEN automatic_disconnection_assessment = "insufficient_evidence"
R06: IF protective_device_characteristics_missing THEN disconnection_assessment = "insufficient_evidence"
R07: IF bonding_requirement_identified AND bonding_unverified THEN flag = "bonding_review_required"
R08: IF measurement_is_outdated OR measurement_method_unknown THEN reduce_confidence = true
R09: IF touch_voltage_hazard_suspected THEN escalate_to_competent_person = true
R10: IF topology_modified THEN invalidate_affected_prior_assessments = true
R11: IF TT_arrangement THEN evaluate_electrode_and_residual_current_protection_against_applicable_requirements = true
R12: IF TN_arrangement THEN evaluate_metallic_fault_return_path_against_applicable_requirements = true
R13: IF IT_arrangement THEN require_arrangement_specific_fault_monitoring_assessment = true
# ---------- CONFIDENCE ----------
confidence:
direct_verified_measurement: 0.95
current_documented_topology: 0.85
inferred_relationship: 0.65
unsupported_assumption: 0.20
note: "Indicative reasoning weights, not calibrated probabilities or evidence of safety."
never_infer: {regulatory_compliance_without_assessment, safe_to_touch, safe_to_energise}
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"earthing system" ~= "grounding system" where locale_differs
"protective earth" ~= "PE" where conductor_role_is_protective
"main earthing terminal" ~= "MET"
"earth electrode" ~= "ground electrode" where terminology_differs
distinguish: "protective earthing" != "functional earthing"
distinguish: "equipotential bonding" != "earthing conductor"
distinguish: "earth resistance" != "earth fault loop impedance"
distinguish: "neutral conductor" != "protective conductor"
# ---------- SAFETY_CONSTRAINTS ----------
safety_constraints:
C01: "No inference substitutes for inspection and testing by a competent person."
C02: "Never assume earth is at zero potential during a fault."
C03: "Never assume a protective device will disconnect without verified conditions."
C04: "Do not provide live-work procedures or bypass protective devices."
C05: "Apply the relevant jurisdiction's current electrical safety requirements."
C06: "Treat missing or contradictory protective-path evidence as unresolved risk."
# ---------- FLOW_HASH ----------
flow_hash:
method: "SHA-256"
value: "COMPUTED_ON_EXPORT"
scope: "UTF-8 file contents excluding this placeholder value"
# ---------- UPDATE_MODEL ----------
update_model:
version: "1.0"
created: "2026-11-16"
update_on: {source_revision, standard_revision, verified_topology_change, new_test_evidence}
preserve: {source_attribution, evidence_provenance, version_history}
review: "Human technical review required before engineering application."
# ---------- END FLOW ----------
Download Code
Copy to Clipboard