Package neqsim.process.safety.risk.bowtie
package neqsim.process.safety.risk.bowtie
Bow-Tie Diagram Generation Package.
This package provides bow-tie diagram generation and analysis capabilities for process safety risk assessment. Bow-tie diagrams visualize the relationship between threats, hazards, and consequences with their associated barriers.
Key Classes
BowTieAnalyzer- Main analyzer with threat/consequence librariesBowTieModel- Individual bow-tie model with threats, consequences, and barriers
Bow-Tie Structure
THREATS TOP EVENT CONSEQUENCES
│ │ │
├──▶ Barrier ──▶ ◆ ──▶ Barrier ──▶ ├──
│ │ │
├──▶ Barrier ──▶ │ ──▶ Barrier ──▶ ├──
│ │ │
(Prevention) (Hazard) (Mitigation)
Example Usage
// Create analyzer
BowTieAnalyzer analyzer = new BowTieAnalyzer("Platform Safety Analysis", processSystem);
// Add available SIFs as barriers
analyzer.addAvailableSIF(hipps);
analyzer.addAvailableSIF(esd);
// Auto-generate bow-ties from process
List<BowTieModel> bowTies = analyzer.autoGenerateFromProcess();
// Or create manually
BowTieModel overpressure =
analyzer.createBowTie("SEP-001-OVP", "Overpressure in HP Separator", "OVERPRESSURE");
// Add custom threat
BowTieModel.Threat threat = new BowTieModel.Threat("T-001", "Blocked outlet valve", 0.1);
overpressure.addThreat(threat);
// Add barrier
BowTieModel.Barrier hippsBarrier = new BowTieModel.Barrier("B-001", "HIPPS System", 0.001);
hippsBarrier.setBarrierType(BowTieModel.BarrierType.PREVENTION);
overpressure.addBarrier(hippsBarrier);
// Calculate and visualize
analyzer.calculateRisk();
System.out.println(analyzer.generateReport());
Integration with SIS
The bow-tie package integrates with the SIS package to automatically assign Safety Instrumented Functions (SIFs) as barriers with proper PFD values.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
ClassDescriptionBow-Tie Analyzer for process safety risk assessment.Consequence template from library.Threat template from library.Bow-Tie Model representing hazard, threats, consequences, and barriers.Barrier (prevention or mitigation).Barrier type enumeration.Consequence of hazard realization.Threat (cause) leading to hazard.Exports BowTie models to SVG format for visualization.