+ Part VI · Sectors
One method, five standards.
The method of Parts I to V was written once, in IEC 61508, and each sector has since rewritten it in its own terms. The sector standards keep its steps: an analysis of the hazard, a target for how rarely the protection may fail, a design that meets the target and evidence that it does. What they change is the vocabulary and the way the target is set, so one safety function reads differently in each. Part VI takes the sectors in turn. Chapter 22 brings the whole method back to Tank 912 and asks what the process sector's standard, IEC 61511, now asks of an overfill function. Chapter 23 applies the method to guards and stops on machines, Chapter 24 to road vehicles, Chapter 25 to medical devices, with the incubator taken end to end, and Chapter 26 to aircraft and defense systems.
Buncefield, barrier by barrier.
+ The questionWith the whole method in hand, which barriers failed at Buncefield, and what does IEC 61511 now ask of an overfill function?
What the investigators asked for
In March 2007 the Buncefield Major Incident Investigation Board made its recommendations on the design and operation of fuel storage sites, and the first six of them concern overfilling. The board asked for an automatic overfill system, independent of the tank gauging and engineered, operated and maintained to BS EN 61511. Besides the automatic system and its integrity, the six ask for a common method of setting the integrity level that a tank's protection needs, a review of the systems for maintaining equipment, proof testing among them, and proof tests of every element of the overfill system to validated arrangements. The sixth asks that the site receiving the fuel, not the one sending it, have ultimate control of filling its tanks.
Each of these requests names a step that the earlier chapters built. The common method is the analysis of Chapter 7, whose shortfall Chapter 8 turns into an integrity level. The automatic system kept apart from the gauging is Chapter 4's separation of protection from control, the integrity engineered, operated and maintained is the lifecycle of Chapter 17, and the proof tests are those of Chapter 11. Two later recommendations bear on the operator's part in the function, which Chapter 9 sets out. Recommendation 9 asks for records of product movements and of the overfill system's operation, kept for at least a year, and Recommendation 19 asks for defined workload, staffing levels and working conditions for front-line staff.
IEC 61511, the process sector's IEC 61508
The standard the board named is IEC 61511, the process sector's form of IEC 61508 (Chapters 7 and 17). Its first part, IEC 61511-1, sets requirements for the specification, design, installation, operation and maintenance of a safety instrumented system, so that the system can be "confidently entrusted to achieve or maintain a safe state of the process". In the standard's terms the overfill function is a safety instrumented function, or SIF, as Chapter 9 introduced it, and the control that runs the process is the basic control system of Chapter 7. The board cites the standard by its British designation, BS EN 61511, and so does the guidance of 2009 from the Process Safety Leadership Group, or PSLG. In the United States, the International Society of Automation lists Part 1 under one title that carries both designations, ANSI/ISA-61511-1-2018 and IEC 61511-1:2016 + AMD1:2017 (Chapter 29).
For an overfill function the standard asks first for a written requirement, the safety requirements specification of Chapter 17. Beyond the items that Chapter 17 lists, from the safe state to the proof-test interval, the specification's items include how the proof test is carried out, the procedures for bypassing the function, the action on a detected fault, the means of manual shutdown and the interfaces with other systems. The last section of this chapter traces Tank 912's barriers against several of these items.
Where IEC 61511 puts its requirements and checks
In its Figure 7, IEC 61511-1 sets out its lifecycle as phases paired with the five assessment stages of Chapter 19. Its Figure 8 places the lifecycle of the application program, the program that the logic solver runs, inside the lifecycle of the system. The V of Chapter 19 is the book's frame here, not the standard's. Beside the V, the standard's requirements are the specification of clause 10 and the program's design in clause 12. Its checks are the verification of clause 7, the program's review and testing, the factory acceptance test of clause 13 and, at the top of the right arm, the validation of clause 15. For the application program's software, Part 3 of the parent standard, IEC 61508-3, lists forward traceability from the software design to the module and integration tests among its techniques.
Operation and maintenance, modification and decommissioning follow the top of the right arm, in clauses 16 to 18, and with them come the proof tests of Chapter 11 and the management of change of Chapters 17 and 20. Three of the failures traced below at Tank 912 arose in these phases: a gauge that stuck in service (Chapter 20), a switch replaced without a review of the change (Chapter 17), and periodic tests that left the switch's lever unsecured (Chapter 11).
- A specification for each safety instrumented function, whose items run from the safe state and the demand rate to the bypass procedures and the means of manual shutdown (Chapter 17).
- Prior use, a justification from a device's earlier service by which the device may be accepted for a safety instrumented system in place of certification to IEC 61508, on the reading of exida, a certification and consulting company (Chapter 15).
- Functional safety assessment at five stages, from the specification to each modification, of which the third must be complete before the hazard is introduced (Chapter 19).
- Replacement in kind confined to an exact duplicate or an approved substitute, so that any other change to the system as installed passes through management of change (Chapters 17 and 20).
The benchmark and the analysis that sets the level
By November 2008 SIL 1 was the agreed minimum, and the sites were to move to fully automatic shutdown on a timetable agreed with the Competent Authority. PSLG's guidance of December 2009 then made the minimum a benchmark for every tank within its scope: each such tank should have a high integrity overfill prevention system that complies with BS EN 61511-1 and provides, as a minimum, SIL 1. The system should preferably be automatic, and physically and electrically separate from the tank gauging system.
The system's integrity level is set by a risk assessment that shows the risk of overfilling to be as low as reasonably practicable, ALARP in Chapter 6's term. The guidance sets out a LOPA to serve that assessment. A single high-high level trip with its own sensor, a logic solver and a valve that fails closed should meet SIL 1 and may meet SIL 2, once its PFDavg and its hardware fault tolerance have been checked (Chapter 13).
Chapter 9 gives the measures accepted where an automatic system would create more serious risks, and the operator's place in them. For each initiating event that can overfill the tank, the LOPA forms the product of Chapter 7: the event's frequency times the probability of any enabling condition, the PFD of each layer and the conditional modifiers. The products for all the initiating events are summed into one frequency of the consequence. An equipment failure enters as an initiating event at its dangerous failure rate (Chapter 10). A human error enters as the number of times a year the task is done multiplied by its human error probability, so a weekly task with a probability of 1 in 100 gives 0.52 initiating events a year.
The guidance caps what each layer may claim, as IEC 61511's limits do in Chapter 7. It credits an alarm handled through the basic control system with at most a tenfold reduction, the cap of Chapter 9, and gives any instrumented protection not built to BS EN 61511 no more. Only a system built to the standard may claim its integrity level. A layer that shares components of the basic control system with the initiating event is held to a factor of 10 as well. Where a control loop not built to the standard is taken as the initiating event, the LOPA may not assume that the loop fails dangerously less often than once in 100,000 hours, about once in 11 years.
Beyond the overflow the analysis follows the vapor cloud through six conditional modifiers: calm, stable weather, with the wind below 2 m/s; ignition of a large cloud; an explosion once the cloud is ignited; a person present; that person's death; and harm to the environment. The guidance tentatively takes the probability of an explosion after ignition as one. Distance from the tank wall sets the probability of death: one within 250 m, unless the person is in a building designed against the blast, low between 250 and 400 m, and zero for a typical population beyond. For ignition, presence and the environment the guidance describes factors rather than values, since values quoted in the literature are often used without their caveats.
The analysis judges the resulting frequency against the guidance's criteria, whose grid Chapter 5 laid out. For an event that could kill one person, a frequency between 1 in 10,000 and 1 in 100,000 a year is tolerable if the risk is ALARP, and a lower one is broadly acceptable. For 2 to 10 deaths the tolerable band reaches down to 1 in a million a year, and for 11 to 50 to 1 in 10 million. The shortfall against the criterion is the reduction the overfill function must supply.
In 2009 Chambers and colleagues at the Health and Safety Laboratory reviewed seven companies' overfill LOPAs for HSE, and Chapter 7 cites their review. They found weaknesses in the inputs as well as in the shared causes. Human factors dominated many of the initiating-event frequencies, and events split into parts that were multiplied together came out too low. Most studies made no sensitivity analysis, which the guidance calls important. The values chosen spread widely: three companies took a failure of the level instrument or gauge at 0.1 a year as an initiating event and one at 0.05, and the probability of ignition ran from 0.03 to 0.4. A spread of that size in the probability of ignition, one modifier, moves the shortfall by a factor of more than 10, a whole integrity level.
A shortfall larger than a factor of 100 asks for SIL 2, whatever the benchmark. Several companies in the 2009 review planned SIL 1 systems, and in one analysis the reviewers judged SIL 2 reasonable.
Alarm levels set from the time a response needs
Chapter 9 left the time a response needs to be judged case by case. On a tank each such time sets the height between two levels, and PSLG, following API 2350, stacks the levels from the top down. The overfill level is the tank's maximum capacity, the highest level that avoids an overflow or damage to the tank. Below it the tank rated capacity is set low enough to leave time for whatever action is needed to stop the overfill level being reached. The high-high level alarm, or LAHH, is set at or below the rated capacity and is driven by a level sensor of its own. Below it come the high level alarm, or LAH, and the normal fill level, at which every fill should end before the LAH sounds (Chapter 9).
Between each pair of levels lies a response time in Chapter 4's sense: the time from the lower level, where a fill should end or an alarm or trip acts, to the end of all flow into the tank. Response time 1 runs from the normal fill level to the LAH, response time 2 from the LAH to the LAHH, and response time 3 from the LAHH to the overfill level. Each must hold the detection, diagnosis and action that the response needs. The gap between two levels is the volume that arrives in that time at the highest filling rate, spread over the area of the tank. The margins are to be recorded in writing.
The tank is one of PSLG's worked examples, presented as an actual tank. It has a 20 m shell, holds about 10,000 cubic meters to its overfill level and is filled at up to 1,200 cubic meters an hour, or 20 a minute. Its floating roof, 0.25 m deep, would strike a stiffening spar 0.25 m below the top of the shell, so the overfill level is 0.5 m below the top, at 19.5 m. The LAHH trips the transfer, and a well-designed and maintained system is claimed to stop all flow within two minutes, including the closing of a second valve from the control room if the trip fails. Two minutes let in 2 × 20 = 40 cubic meters, 0.08 m on this tank, so the LAHH is set at 19.42 m. The LAH is allowed five minutes, 100 cubic meters or 0.2 m, and sits at 19.22 m. Five more minutes to end a normal fill put the normal fill level at 19.02 m. The tank keeps 0.48 m above its normal fill level, 12 minutes of flow at the full rate. An allowance for surges of level and for thermal expansion may be needed on top.
The top margin depends on what answers the LAHH. The guidance's third example has no trip. It is an external floating roof tank whose level rises at 2.43 m an hour, close to the rate in the solved example. Its operating company timed its emergency response in exercises and uses 10 minutes for every tank. On this tank 10 minutes give 0.4 m between each pair of levels, and the LAHH sits 0.4 m below the overfill level of 20.4 m. A response that waits for a person needs five times the height that a two-minute trip needs.
Tank 912, barrier by barrier
In a fault tree drawn in Chapter 18's way, the overflow of Tank 912 is the top event, and beneath it an AND gate joins three inputs: a fill that runs on past its normal level, the gauge's alarms not sounding, and the independent switch not acting. The first two rest on one basic event, the gauge's reading held still from 03:05, the shared cause of Chapter 14 in its simplest form. Beneath the switch an OR gate holds the two states that Chapter 11 found possible for a lever whose padlock was never fitted: left in its lower position, or free to fall into it. The tree reduces to two minimal cut sets, each the stuck gauge paired with one state of the unpadlocked lever. Both cut sets pass through the switch, the one barrier that took no signal from the gauge.
The first input is the control of the filling. The gauge served that control, so its failure is the analysis's initiating event. A gauge that can fail at any time enters at its failure rate, no lower than about once in 11 years, multiplied by the share of the year's hours spent filling. That floor is the lowest rate a LOPA may assume, and the actual rate comes from the site's own fault record. At Buncefield that record was incomplete: Tank 912's gauge had stuck about once a week since its return to service, and the sticking was logged as a fault only some of the time (Chapter 20). The time left to respond shrank as well, because shortly before six the flow into the tank rose on a pipeline controlled from elsewhere (the opening). At a higher rate each margin of the previous section holds fewer minutes. Recommendation 6 asks that the receiving site have ultimate control of tank filling.
The second input is the gauge's alarms, which took their reading from the gauge that stuck. As layers that share the gauge with the initiating event, the alarms would be held to a factor of 10. An alarm generated by a tank gauge, however, cannot be relied on where the demand comes from a failure of that gauge (Chapter 9).
A second measurement can reveal the gauge's failure. For the overfill function the guidance prefers an analog level sensor to a switch, and a discrepancy alarm compares the sensor's reading with the gauge's to warn of a problem with the level measurement. The discrepancy alarm is the cross-check of Chapter 12 applied to a tank. Later versions of the depot's gauging system could be set to alarm on an inconsistency between a tank's level and the filling data. In the Competent Authority's judgment, such an alarm may have made the supervisors aware of the problem.
The third input is the switch. In the previous section's terms it stood where the LAHH stands, and the high-high alarm below it belonged to the gauge. The lever's lower position was a dangerous undetected failure, one that nothing made evident (Chapter 2), and it was the periodic tests, meant to find such failures, that left the lever unsecured (Chapter 11). The guidance asks two things of an overfill function. The dominant failure modes of its devices should be to the safe state or detected, unless the architecture tolerates a fault, and operating the function should alert the operator. A lever whose wrong position disabled the switch without a sign fails the first of these.
Reaching the safe state also meant stopping every pipeline that imported fuel, and for two of the three incoming pipelines the control room could not do so (Chapter 9). The means of manual shutdown, another item of the specification, was missing too. The Competent Authority found that the tank displays in the control room showed a red emergency shutdown button meant to close all the tank side valves, that the button was not working and had never been fitted into the system, and that the maintenance contractor's staff never tested it.
Past the overflow, the LOPA credits the bund as Chapter 7 reasoned, against harm to the environment and not against an explosion. The vapor cloud then met an ignition source, probably the firewater pump as it started, and exploded, as the analysis tentatively assumes such a cloud will.
No failure rate explains why the tree's basic events persisted. A gauge left sticking through 14 recurrences with its cause never properly identified, a padlock never fitted and alarms used to run the fill are systematic failures in Chapter 3's sense. Such failures are prevented only by how a function is specified, built, tested and kept. The Competent Authority judged the sticking gauge and the inoperative switch to be consequences of underlying failures of management. However carefully computed, a PFDavg for the switch's parts would have described a switch whose lever was horizontal.
The night therefore answers the central question from both sides. Tank 912 had half of the structure the short answer describes: its switch was apart from the gauge, but a failure of the switch neither left the tank safe nor showed itself, and the alarms shared the gauge's one reading. The numbers set how rarely such a function may fail, through a SIL 1 floor, a LOPA for each tank and a test interval chosen from the PFDavg. The lifecycle of Chapter 17 guards against the systematic failures that no number describes. Chapter 28 takes up the COMAH Regulations, the law that brings this guidance to bear on a site in the UK, and Chapter 30 follows the fire at Indian Oil's Jaipur terminal in October 2009 into India's rules.
Time each alarm or trip to the end of all flow at the highest filling rate, turn each time into a height on that tank, and record the margins in writing. Give the LAHH its own sensor and logic, apart from the gauging, and prefer an analog sensor whose reading can be compared with the gauge's. Run the LOPA for each initiating event, take its frequency from the site's own fault records where they exist, apply the caps on credit, and test how far the result moves with the least certain inputs. Write the specification before the design: the safe state on every line that can fill the tank, the response time, the end-to-end proof test, the bypass rules and the manual shutdown.
- The investigation board asked in 2007 for an automatic overfill system independent of the gauging and engineered, operated and maintained to BS EN 61511, the process sector's form of IEC 61508. PSLG's guidance of 2009 made SIL 1, the minimum agreed by 2008, a benchmark for every tank within its scope.
- PSLG's LOPA sums each initiating event's frequency times its enabling conditions, layers and conditional modifiers, and sets the level from the shortfall against its criteria. It credits an alarm through the basic control system, or instrumented protection not built to the standard, with no more than a tenfold reduction.
- Alarm levels are set from response times at the highest filling rate: a trip claimed at two minutes sits 0.08 m below the overfill level in PSLG's example, and an operator's 10 minutes need about five times that height.
- As a fault tree, Tank 912's overflow reduces to two pairs, the stuck gauge with the switch's unpadlocked lever down or free to fall. The Competent Authority judged the sticking gauge and the inoperative switch to be consequences of underlying failures of management.
Let's Talk