flow "ElectricalEnclosure" v1.0
# ---------- IDENTITY ----------
ID: "engineering.electrical.electrical_enclosure"
TYPE: "ElectricalEngineeringEntity"
CATEGORY: "Electrical Machine Entities"
LABEL: "Electrical Enclosure"
LANGUAGE: "en-GB"
STATUS: "constructed semantic Flow Algebra representation"
# ---------- AUTHORS ----------
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE_AUTHOR_CREDIT: "Mark Anthony Higgins — Sky Recursive AI"
LICENCE_NOTE: "Refer to the source website for applicable licence and attribution terms."
# ---------- SOURCE ----------
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/electrical-enclosure-ontology.html"
SOURCE_TITLE: "Electrical Enclosure Ontology"
SOURCE_REVISED: "2026-08-04"
CITATION_BACKLINK: SOURCE
DERIVATION: "Newly constructed domain representation; not a verbatim extraction of hidden page code."
# ---------- PURPOSE ----------
PURPOSE:
define an electrical enclosure as a protective physical boundary
containing or surrounding electrical equipment;
relate containment, environmental protection, accessibility,
mechanical integrity, earthing and thermal management;
reason about protection failures without treating enclosure
presence alone as proof of electrical safety.
# ---------- STATE_MODEL ----------
STATE_MODEL:
enclosure_state := {
identity, material, geometry, installation_environment,
contained_equipment, ingress_rating, impact_rating,
door_state, seal_integrity, cable_entry_integrity,
bonding_continuity, temperature, humidity,
corrosion_condition, mechanical_damage,
access_authorisation, inspection_status
}
lifecycle := designed -> manufactured -> installed -> inspected
-> operational -> maintained -> retired
operational_states := [
"closed", "open", "isolated_for_access", "degraded",
"fault_suspected", "out_of_service"
]
# ---------- ENTITIES ----------
ENTITIES:
ElectricalEnclosure is_a ElectricalEngineeringEntity
ElectricalEnclosure contains ElectricalEquipment
ElectricalEnclosure has_part EnclosureBody
ElectricalEnclosure has_part DoorOrCover
ElectricalEnclosure may_have Gasket
ElectricalEnclosure may_have CableGland
ElectricalEnclosure may_have VentilationElement
ElectricalEnclosure may_have ProtectiveBondingConnection
ElectricalEnclosure has_property IngressProtectionRating
ElectricalEnclosure has_property MechanicalImpactResistance
ElectricalEnclosure has_property ThermalDissipationCapacity
ElectricalEnclosure interfaces_with InstallationEnvironment
ElectricalEnclosure subject_to InspectionAndMaintenance
# ---------- PATHWAYS ----------
PATHWAYS:
pathway "containment":
input: [contained_equipment, enclosure_geometry, mounting]
evaluate: equipment_fit AND mounting_integrity AND clearance_requirements
output: containment_assessment
pathway "environmental_protection":
input: [environment, ingress_rating, seal_integrity, cable_entries]
evaluate: suitability_for_exposure AND intact_seals AND suitable_entries
output: environmental_protection_assessment
pathway "protective_bonding":
input: [conductive_parts, bonding_design, continuity_test]
evaluate: required_bonding_present AND verified_continuity
output: bonding_assessment
pathway "thermal_management":
input: [equipment_heat_losses, ambient_temperature, ventilation, enclosure_surface]
evaluate: predicted_internal_temperature_against_component_limits
output: thermal_risk_assessment
pathway "authorised_access":
input: [door_state, isolation_status, access_authorisation]
evaluate: access_conditions_against_site_safety_procedure
output: access_decision
# ---------- MINI_RECURSION_ENGINE ----------
MINI_RECURSION_ENGINE:
initialise context from enclosure_state
repeat until stable OR iteration_limit:
observe inspection_evidence
update condition_estimates
propagate dependencies across protection, bonding and heat
classify unresolved risks
request additional evidence where confidence is insufficient
return risk_assessment, evidence_trace, recommended_inspection
# ---------- INFERENCE_RULES ----------
INFERENCE_RULES:
IF seal_integrity == "failed"
THEN infer "ingress_protection_may_be_compromised"
IF cable_entry_integrity == "failed"
THEN infer "environmental_and_mechanical_protection_degraded"
IF conductive_enclosure == true AND bonding_required == true
AND bonding_continuity != "verified"
THEN infer "protective_bonding_unverified"
IF internal_temperature > equipment_temperature_limit
THEN infer "thermal_operating_limit_exceeded"
IF corrosion_condition == "severe" OR mechanical_damage == "severe"
THEN infer "enclosure_integrity_requires_assessment"
IF door_state == "open" AND electrical_isolation != "verified"
THEN infer "potential_live_parts_exposure"
IF ingress_rating == "declared" AND installation_integrity != "verified"
THEN infer "installed_protection_not_yet_verified"
# ---------- CONFIDENCE ----------
CONFIDENCE:
evidence_priority := [
"documented_test_results", "qualified_inspection",
"manufacturer_specification", "installation_records",
"unverified_observation"
]
unknown_measurements -> "unknown_not_safe_by_default"
conflicting_evidence -> "manual_review_required"
no_numeric_confidence_without_calibration := true
# ---------- SEMANTIC_EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
"electrical cabinet" ~= "electrical enclosure" when cabinet houses electrical equipment
"control panel enclosure" subset_of "electrical enclosure"
"junction box" subset_of "electrical enclosure" when used for electrical junctions
"distribution board" != "electrical enclosure"
"ingress protection rating" != "complete electrical safety certification"
# ---------- SAFETY_CONSTRAINTS ----------
SAFETY_CONSTRAINTS:
never infer safe_to_touch from enclosure_closed alone
never infer de_energised from switch_position alone
require competent_person_and_verified_isolation before intrusive work
validate applicable standards, manufacturer instructions and local regulations
treat water ingress, overheating, exposed live parts and failed bonding as hazards
# ---------- FLOW_HASH ----------
FLOW_HASH:
method: "SHA-256 of canonicalised final flow text, excluding FLOW_HASH value"
value: "UNCOMPUTED"
note: "Placeholder; compute after final edits."
# ---------- UPDATE_MODEL ----------
UPDATE_MODEL:
version: "1.0"
date: "2026-11-16"
trigger: ["source_revision", "new_inspection_evidence", "standard_change", "ontology_refinement"]
preserve: ["SOURCE", "CITATION_BACKLINK", "AUTHORS", "revision_history"]
require_review_before_publishing: true
# ---------- END FLOW ----------
Download Code
Copy to Clipboard