flow "SafetyValveOntology" v1.1
# Kireth Research Semantic Library — Flow Algebra
# Authors: Mark Anthony Higgins; Sky — Recursive AI
# Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/safety-valve-ontology.html
# Generated: 2026-11-16
# Status: newly authored interpretation; not a verbatim extraction of embedded website code
# Purpose: model safety-valve identity, relationships, state transitions and pressure-protection reasoning.
AUTHORS:
primary: "Mark Anthony Higgins"
collaborator: "Sky — Recursive AI"
SOURCE:
category: "Engineering Entities / Valve and Flow-Control Entities"
ontology: "Safety Valve"
canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/safety-valve-ontology.html"
CITATION_BACKLINK:
required: true
url: SOURCE.canonical
PURPOSE:
identify safety valves and their pressure-protection role
trace set pressure, opening, discharge and reseating events
distinguish observed facts from inferred states
flag unsafe, unknown or unverified operating conditions
STATE_MODEL:
S(t) = (I(t), R(t), B(t), K(t))
I(t) = known valve identity, type, equipment and measured inputs
R(t) = entity relations and permitted pressure-protection transitions
B(t) = operational, physical, regulatory and evidence boundaries
K(t) = verified knowledge, provenance and confidence
E(t) = expand(I(t), R(t))
V(t) = filter(E(t), B(t), K(t))
I(t+1) = update(I(t), select(V(t)), observations(t+1))
ENTITIES:
SafetyValve:
is_a: PressureReliefDevice
purpose: prevent protected equipment pressure exceeding an applicable limit
attributes: [tag, manufacturer, model, nominal_size, inlet_connection,
outlet_connection, set_pressure, rated_capacity, service_fluid,
design_temperature, certification, inspection_status]
ProtectedEquipment:
examples: [pressure_vessel, boiler, pipeline, compressor_system]
PressureSource:
examples: [thermal_expansion, blocked_outlet, control_failure, external_heat]
Inlet:
connects: ProtectedEquipment -> SafetyValve
Outlet:
connects: SafetyValve -> DischargeDestination
SpringOrLoadingMechanism:
controls: opening_threshold
DiscAndSeat:
controls: closure_and_sealing
DischargeDestination:
requires: safe_and_suitable_routing
PressureMeasurement:
attributes: [value, unit, timestamp, sensor, calibration_status]
InspectionRecord:
attributes: [date, method, result, assessor, evidence_reference]
RELATIONSHIPS:
SafetyValve --protects--> ProtectedEquipment
SafetyValve --responds_to--> InletPressure
SafetyValve --contains--> DiscAndSeat
SafetyValve --may_contain--> SpringOrLoadingMechanism
SafetyValve --discharges_to--> DischargeDestination
SafetyValve --verified_by--> InspectionRecord
PressureSource --may_raise_pressure_in--> ProtectedEquipment
OPERATIONAL_STATES:
states: [unknown, seated, opening, relieving, closing, leakage_detected,
isolated, impaired, under_test, maintenance_required]
initial: unknown
transition seated -> opening when verified_inlet_pressure_reaches_opening_condition
transition opening -> relieving when measured_lift_and_discharge_confirmed
transition relieving -> closing when pressure_reduces_to_reseat_condition
transition closing -> seated when closure_and_tightness_confirmed
transition any -> impaired when credible_fault_evidence_present
transition any -> unknown when evidence_insufficient
note: set pressure and reseating pressure are not necessarily identical
PHYSICAL_CONSTRAINTS:
pressure: consistent_units_and_reference_basis_required
set_pressure: must_match_applicable_protection_design_and_documentation
capacity: must_be_adequate_for_credible_relief_scenarios
back_pressure: must_be_considered_in_sizing_and_operation
inlet_losses: must_be_considered_for_stability_and_capacity
fluid: phase_and_properties_must_match_device_application
temperature: within_approved_operating_limits
discharge: route_to_a_suitable_safe_destination
certification: do_not_infer_compliance_without_documented_evidence
warning: no_generic_numeric_threshold_substitutes_for_design_calculation
PATHWAYS:
normal_protection:
observe_pressure -> validate_measurement -> compare_with_verified_set_pressure
-> evaluate_valve_state -> confirm_discharge_path -> update_state
overpressure_event:
detect_pressure_rise -> identify_credible_cause -> verify_valve_response
-> assess_relief_capacity_and_discharge -> record_outcome
fault_investigation:
detect_anomaly -> collect_pressure_and_inspection_evidence
-> classify_possible_failure -> request_engineering_review
return_to_service:
inspection -> testing_as_required -> documented_authorisation
-> restore_protection -> monitor
INFERENCE_RULES:
rule "PossibleOpening":
when inlet_pressure >= verified_set_pressure
and pressure_measurement_valid
then infer opening_expected
confidence: conditional
rule "ReliefConfirmed":
when observed_lift and verified_discharge
then infer relieving
confidence: high_if_evidence_valid
rule "ProtectionUncertain":
when capacity_unknown or certification_unknown or discharge_route_unknown
then infer protection_status_unverified
rule "PossibleLeakage":
when measured_leakage and expected_seated_state
then infer leakage_detected
rule "PotentialOverpressureRisk":
when pressure_rising and relief_response_not_confirmed
then infer urgent_engineering_assessment_required
rule "NoFalseAssurance":
when no_test_evidence
then prohibit infer fully_functional
MINI_RECURSION_ENGINE:
seed: SafetyValve
expand: [components, protected_equipment, pressure_sources, set_pressure,
relief_path, inspection_evidence, operating_state]
evaluate: apply(INFERENCE_RULES, PHYSICAL_CONSTRAINTS)
prune: discard(unsupported_assertions, contradictory_measurements)
repeat_until: no_new_verified_relations or iteration_limit_reached
output: evidence_traced_entity_graph
SEMANTIC_EQUIVALENCE:
accepted_terms: [safety_valve, pressure_safety_valve, PSV]
related_not_identical: [relief_valve, pressure_relief_valve, rupture_disc]
caution: terminology_and_device_classification_depend_on_applicable_standard
VALIDATION:
require: [entity_identity, protected_equipment, pressure_units,
source_provenance, state_evidence]
check: no_conflicting_set_pressure_without_resolution
check: no_unverified_capacity_claim
check: no_unverified_certification_claim
check: distinguish_expected_opening_from_observed_opening
result: [valid, incomplete, inconsistent, requires_review]
CONFIDENCE:
high: traceable_measurements_and_verified_documentation
medium: consistent_but_partial_evidence
low: inferred_from_context_only
unknown: no_adequate_evidence
UPDATE_MODEL:
trigger: [inspection, test, maintenance, pressure_event, design_change,
replacement, documentation_revision]
preserve: previous_state_and_evidence_history
revalidate: all_affected_inference_rules
FLOW_HASH:
method: SHA-256_of_final_UTF8_file_if_computed_by_publishing_pipeline
status: not_computed
EXECUTION_GUARANTEE:
scope: structural_semantic_reasoning_only
cannot_guarantee: physical_operation_or_regulatory_compliance
require: competent_engineering_assessment_for_safety_critical_decisions
END_FLOW
Download Code
Copy to Clipboard