Class BowTieAnalyzer
java.lang.Object
neqsim.process.safety.risk.bowtie.BowTieAnalyzer
- All Implemented Interfaces:
Serializable
Bow-Tie Analyzer for process safety risk assessment.
Generates bow-tie diagrams linking process hazards with threats (causes) and consequences, including prevention and mitigation barriers. Integrates with the NeqSim process system to automatically identify potential hazards and link to SIS/IPL barriers.
Bow-Tie Structure
THREATS TOP EVENT CONSEQUENCES
│ │ │
├──▶ Barrier ──▶ ◆ ──▶ Barrier ──▶ ├──
│ │ │
├──▶ Barrier ──▶ │ ──▶ Barrier ──▶ ├──
│ │ │
(Prevention) (Hazard) (Mitigation)
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConsequence template from library.static classThreat template from library. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<SafetyInstrumentedFunction> Available SIFs for barriers.private List<BowTieModel> Generated bow-tie models.private Map<String, List<BowTieAnalyzer.ConsequenceTemplate>> Standard consequence library.private StringAnalyzer name.private ProcessSystemProcess system being analyzed.private static final longprivate Map<String, List<BowTieAnalyzer.ThreatTemplate>> Standard threat library. -
Constructor Summary
ConstructorsConstructorDescriptionBowTieAnalyzer(String name) Creates a bow-tie analyzer.BowTieAnalyzer(String name, ProcessSystem processSystem) Creates a bow-tie analyzer for a process system. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds available SIF for barrier assignment.private voidAuto-generates bow-ties from process system topology.voidCalculates risk for all bow-ties.createBowTie(String hazardId, String hazardDescription, String hazardType) Creates a bow-tie model for a specific hazard.Generates summary report.Gets bow-tie model by hazard ID.Gets all bow-tie models.getName()private voidtoJson()Converts to JSON string.toMap()Converts to map for JSON serialization.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
Analyzer name. -
processSystem
Process system being analyzed. -
bowTieModels
Generated bow-tie models. -
availableSIFs
Available SIFs for barriers. -
threatLibrary
Standard threat library. -
consequenceLibrary
Standard consequence library.
-
-
Constructor Details
-
BowTieAnalyzer
-
BowTieAnalyzer
Creates a bow-tie analyzer for a process system.- Parameters:
name- analyzer nameprocessSystem- process system
-
-
Method Details
-
initializeLibraries
private void initializeLibraries() -
addAvailableSIF
Adds available SIF for barrier assignment.- Parameters:
sif- Safety Instrumented Function
-
createBowTie
Creates a bow-tie model for a specific hazard.- Parameters:
hazardId- hazard identifierhazardDescription- hazard descriptionhazardType- type of hazard (e.g., OVERPRESSURE, LOSS_OF_CONTAINMENT)- Returns:
- created bow-tie model
-
autoGenerateFromProcess
Auto-generates bow-ties from process system topology.- Returns:
- list of generated bow-tie models
-
autoAssignSIFBarriers
private void autoAssignSIFBarriers() -
calculateRisk
public void calculateRisk()Calculates risk for all bow-ties. -
getBowTie
Gets bow-tie model by hazard ID.- Parameters:
hazardId- hazard identifier- Returns:
- bow-tie model or null
-
getBowTieModels
-
generateReport
-
toMap
-
toJson
-
getName
-
toString
-