Full text
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 1 Abstract Plans for the future construction of the first fusion power plant are already in movement. But before constructing a demonstration power plant (DEMO) there is much work ahead. A crucial part of this work is to choose and test the material the reactor will be constructed with. For this purpose the International Fusion Irradiation Facility (IFMIF) is being developed. IFMIF recreates the same conditions a material would suffer inside of the fusion reactor. It performs this via a D-Li (Deuterium-Lithium) neutron flux with energy of 14 MeV. This flux is provided by an accelerator. One of the greatest challenges of the IFMIF project is that the test materials condition must be as similar as possible as in a real fusion reactor. For this reason IFMIF must be able to operate continuously to provide as much test data as possible. For this reason Reliability, Availability, Maintainability and Inspectability (RAMI) analysis are required to provide the design team with enough data to reach the availability desired. The RAMI Team has created models of IFMIF in order to proper study it and improve its performance; these models have been analyzed using the professional software RiskSpectrum®. But some aspects became difficult to be modeled with RiskSpectrum® as the model grew and the complexity increased. When failure acceptance, beam degradation operation and first maintenance policies appeared, a simulation of the whole performance of the accelerator became needful. Availsim has been created in Stanford University in order to provide availability data for the design of the International Linear Collider (ILC). This software included the features needed by the RAMI team and needed to be adapted to perform with the IFMIF model. Availsim included degraded operation and allowed to repair more than one component at a time. It also allowed including manpower as a restriction to the repairs. But before its utilization by the RAMI team Availsim had to be adapted to accept and simulate the IFMIF model. New features have been added during the adaptation. Availsim is now able to perform multiple iterations during one simulation providing more reliable results. Originally Availsim only took into consideration the most common failure mode for a component. Thanks to the addition of functions multiple failure modes can be studied for each component. Availsim is now also able to decide whether to continue degraded operation or to stop operation to maximize the beam effectiveness. Degraded operation simulation and maintenance strategies allow the availability simulation to be closer to reality. The beam availability result obtained with Availsim was 84,95%, superior to the 81,25% beam availability obtained with RiskSpectrum® and closer to IFMIF availability requirements of 87,00% beam availability.
Pag. 2 Adaptation of the Availsim software to the IFMIF RAMI requirements Summary ABSTRACT .......................................................................................................................................................... 1 SUMMARY ......................................................................................................................................................... 2 1 GLOSSARY ................................................................................................................................................. 7 2 PREFACE .................................................................................................................................................... 8 3 INTRODUCTION TO IFMIF .......................................................................................................................... 9 3.1 THE INTERNATIONAL FUSION IRRADIATION FACILITY ............................................................................................ 9 3.1.1 IFMIF parameters .............................................................................................................................. 10 3.1.2 Accelerator facility ............................................................................................................................. 11 3.1.2.1 Injector ...................................................................................................................................................... 11 3.1.2.2 Radio Frequency Quadrupole ................................................................................................................... 12 3.1.2.3 Medium Energy Beam Transport .............................................................................................................. 13 3.1.2.4 Superconducting Radio Frequency Linear Accelerator ............................................................................. 13 3.1.2.5 High Energy Beam Transport .................................................................................................................... 13 3.1.3 Target facility ..................................................................................................................................... 14 3.1.4 Test facility......................................................................................................................................... 14 3.2 RAMI ...................................................................................................................................................... 15 3.2.1 Availability ......................................................................................................................................... 16 3.2.2 Reliability ........................................................................................................................................... 16 3.2.3 Maintainability .................................................................................................................................. 17 3.2.4 Inspectability ..................................................................................................................................... 17 3.2.5 RAMI goals ........................................................................................................................................ 17 3.2.6 Prediction ........................................................................................................................................... 19 4 INTRODUCTION TO ORIGINAL AVAILSIM ................................................................................................ 20 4.1 AVAILSIM .................................................................................................................................................. 20 4.1.1 Availsim vs RiskSpectrum® ................................................................................................................ 20 4.1.2 Features included in Availsim ............................................................................................................ 21 4.1.2.1 Repairs ....................................................................................................................................................... 21 4.1.2.2 Scheduled maintenance shutdown .......................................................................................................... 22 4.1.2.3 Recovery .................................................................................................................................................... 22 4.1.2.4 Machine development .............................................................................................................................. 22 4.1.2.5 Kludge repairs ............................................................................................................................................ 23 4.1.3 Implementation ................................................................................................................................. 23 4.1.4 ILC Results .......................................................................................................................................... 23 4.1.5 Availsim conclusions .......................................................................................................................... 23 4.2 OBJECTIVES OF THIS PROJECT ......................................................................................................................... 23 4.3 SCOPE OF THE PROJECT ................................................................................................................................ 24
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 3 5 AVAILSIM 2.0 SIMULATION ..................................................................................................................... 25 5.1 SIMULATION ELEMENTS ................................................................................................................................ 25 5.1.1 Events ................................................................................................................................................. 25 5.1.1.1 Group of events ........................................................................................................................................ 26 5.1.1.2 Quantity .................................................................................................................................................... 26 5.1.1.3 Time of the failure ..................................................................................................................................... 26 5.1.1.4 Degradation .............................................................................................................................................. 27 5.1.2 Functions ............................................................................................................................................ 27 5.1.2.1 Normal functions ...................................................................................................................................... 28 5.1.2.2 Critical functions ....................................................................................................................................... 28 5.1.2.3 Special function ......................................................................................................................................... 28 5.1.2.4 Degradation .............................................................................................................................................. 28 5.1.3 Facilities ............................................................................................................................................. 29 5.2 SIMULATION METHODOLOGY ......................................................................................................................... 29 5.2.1 Failures ............................................................................................................................................... 29 5.2.2 Facility state ....................................................................................................................................... 30 5.2.2.1 Shut down ................................................................................................................................................. 31 5.2.2.2 Performance shut down ........................................................................................................................... 31 5.2.2.3 Tuning........................................................................................................................................................ 32 5.2.3 Maintenance ...................................................................................................................................... 32 5.2.3.1 Scheduled Maintenance ........................................................................................................................... 32 5.2.3.1.1 Duration ............................................................................................................................................... 33 5.2.3.1.2 Date ...................................................................................................................................................... 33 5.2.3.1.3 Repairs.................................................................................................................................................. 34 5.2.3.2 Non scheduled maintenance .................................................................................................................... 34 5.2.3.2.1 Repairs.................................................................................................................................................. 34 5.2.3.2.2 Duration ............................................................................................................................................... 35 5.2.3.2.3 Recovery............................................................................................................................................... 36 5.2.3.2.4 Hot repairs ........................................................................................................................................... 36 6 AVAILSIM 2.0 SOFTWARE DESCRIPTION .................................................................................................. 37 6.1 AVAILSIM 2.0 ............................................................................................................................................. 37 6.2 DATA INPUT ............................................................................................................................................... 38 6.2.1 Events ................................................................................................................................................. 38 6.2.1.1 Name ......................................................................................................................................................... 38 6.2.1.2 Quantity .................................................................................................................................................... 38 6.2.1.3 Facility ....................................................................................................................................................... 38 6.2.1.4 Location ..................................................................................................................................................... 38 6.2.1.5 The ID (identification) ............................................................................................................................... 38 6.2.1.6 Mean time between failures..................................................................................................................... 39 6.2.1.7 Access time ............................................................................................................................................... 39 6.2.1.8 Mean time to repair .................................................................................................................................. 39 6.2.1.9 Recovery .................................................................................................................................................... 39 6.2.1.10 Manpower................................................................................................................................................. 39
Pag. 4 Adaptation of the Availsim software to the IFMIF RAMI requirements 6.2.1.11 Function affected ...................................................................................................................................... 39 6.2.1.12 Degradation calculation ............................................................................................................................ 39 6.2.1.13 Degradation ............................................................................................................................................... 39 6.2.1.14 Group of comp .......................................................................................................................................... 39 6.2.2 Functions ........................................................................................................................................... 40 6.2.2.1 Facility ........................................................................................................................................................ 40 6.2.2.2 Type ........................................................................................................................................................... 40 6.2.2.3 Name of the function ................................................................................................................................ 40 6.2.2.4 Design value .............................................................................................................................................. 40 6.2.2.5 Minimum value ......................................................................................................................................... 40 6.2.2.6 Function affected ...................................................................................................................................... 40 6.2.2.7 Degradation calculation ............................................................................................................................ 40 6.2.2.8 Degradation ............................................................................................................................................... 41 6.2.2.9 Level........................................................................................................................................................... 41 6.2.3 Miscellanea ....................................................................................................................................... 41 6.2.3.1 Events input ............................................................................................................................................... 41 6.2.3.2 Functions input .......................................................................................................................................... 41 6.2.3.3 Max people in repairs ................................................................................................................................ 41 6.2.3.4 Simulation hours ....................................................................................................................................... 41 6.2.3.5 Allow access .............................................................................................................................................. 41 6.2.3.6 Extra repair factor ..................................................................................................................................... 42 6.2.3.7 First short scheduled down/duration/ frequency .................................................................................... 42 6.2.3.8 First long scheduled down/duration/ frequency ...................................................................................... 42 6.2.3.9 Schedule down cancelation ...................................................................................................................... 42 6.2.3.10 Trace .......................................................................................................................................................... 42 6.2.3.11 Seed ........................................................................................................................................................... 42 6.3 ROUTINES DESCRIPTION ............................................................................................................................... 42 6.3.1 AVAILSIM ........................................................................................................................................... 42 6.3.2 Initiation routines .............................................................................................................................. 45 6.3.2.1 INITMISC .................................................................................................................................................... 45 6.3.2.2 INITFUNCTIONS ......................................................................................................................................... 45 6.3.2.3 INITEVENT .................................................................................................................................................. 45 6.3.2.4 INITFACILITY .............................................................................................................................................. 46 6.3.3 Simulation routines ........................................................................................................................... 46 6.3.3.1 MAINLOOP ................................................................................................................................................ 46 6.3.3.1.1 MINFIXTIME ......................................................................................................................................... 48 6.3.3.1.2 NEXTSHORTSCHEDDOWN & NEXTLONGSCHEDDOWN ...................................................................... 48 6.3.3.1.3 MINBREAKTIME .................................................................................................................................... 49 6.3.3.1.4 ENDTUNETIME ..................................................................................................................................... 50 6.3.3.1.5 ENDYEAR .............................................................................................................................................. 50 6.3.3.1.6 Checking the state and scheduling repairs .......................................................................................... 50 6.3.3.2 SETUPREPAIRS ........................................................................................................................................... 51 6.3.3.3 SCHEDULEREPAIRS .................................................................................................................................... 54 6.3.3.4 RECOVERFROMREPAIR ............................................................................................................................. 56 6.3.3.5 SETUPSCHEDDOWN .................................................................................................................................. 56
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 5 6.3.3.6 RECOVERFROMSHUTDDOWN .................................................................................................................. 56 6.3.3.7 SCHEDULEHOTREPAIRS ............................................................................................................................. 57 6.3.3.8 FACILITYSTATE ........................................................................................................................................... 57 6.3.4 Result routines ................................................................................................................................... 59 6.3.4.1 SAVEYEAR .................................................................................................................................................. 59 6.3.4.2 SAVERESULTS ............................................................................................................................................ 59 6.3.4.3 PRINTRESULTS ........................................................................................................................................... 59 6.3.5 Utility routines ................................................................................................................................... 59 6.3.5.1 RANDEXP ................................................................................................................................................... 59 6.3.5.2 RANDRECOVER.......................................................................................................................................... 59 6.4 DATA OUTPUT ............................................................................................................................................ 60 6.4.1 Facility ................................................................................................................................................ 60 6.4.2 Events ................................................................................................................................................. 61 6.4.3 Functions ............................................................................................................................................ 62 6.4.4 Year .................................................................................................................................................... 62 6.4.5 Iteration ............................................................................................................................................. 62 6.4.6 History ................................................................................................................................................ 63 7 ASSUMPTIONS, HYPOTHESIS AND PARAMETERS OF THE SIMULATION .................................................. 64 7.1 AVAILSIM CONSIDERATIONS ........................................................................................................................... 64 7.2 SIMULATION PARAMETERS ............................................................................................................................ 65 8 ERROR AND NUMBER OF ITERATIONS ..................................................................................................... 66 8.1 DISTRIBUTION ............................................................................................................................................. 66 8.2 ERROR....................................................................................................................................................... 67 8.3 ITERATIONS ................................................................................................................................................ 68 8.4 VALIDATION OF THE SIMULATION ................................................................................................................... 69 8.4.1 Confidence interval ............................................................................................................................ 70 8.4.2 Error ................................................................................................................................................... 71 9 RESULTS OF THE SIMULATION ................................................................................................................. 72 9.1 AVAILABILITY .............................................................................................................................................. 72 9.1.1 Hardware availability per system ...................................................................................................... 74 9.1.2 Events down hours provoked ............................................................................................................ 75 9.1.3 Events opportunity repairs ................................................................................................................ 77 9.1.4 Events ignored ................................................................................................................................... 78 9.2 BEAM EFFECTIVENESS ................................................................................................................................... 78 9.2.1 Intensity ............................................................................................................................................. 79 9.2.2 Energy ................................................................................................................................................ 81 9.3 BEAM AVAILABILITY ..................................................................................................................................... 82 9.4 OTHER RESULTS .......................................................................................................................................... 84 9.4.1 Manpower ......................................................................................................................................... 84 9.4.2 Vault access ....................................................................................................................................... 85
Pag. 6 Adaptation of the Availsim software to the IFMIF RAMI requirements 10 SOFTWARE VALIDATION ......................................................................................................................... 87 10.1 BASIC SIMULATION TEST ............................................................................................................................... 87 10.2 ENHANCED FEATURES VERIFICATION ............................................................................................................... 89 10.3 COMPARISON OF IFMIF AVAILABILITY RESULTS ................................................................................................. 89 11 CONCLUSIONS ......................................................................................................................................... 90 11.1 CONCLUSIONS ON THE ADAPTATION OF AVAILSIM ............................................................................................. 90 11.1.1 Multiple iterations ........................................................................................................................ 90 11.1.2 Inclusion of Functions ................................................................................................................... 90 11.1.3 Simulation efficiency ..................................................................................................................... 90 11.2 CONCLUSIONS ON AVAILSIM USE BY THE RAMI TEAM ....................................................................................... 91 11.2.1 Maintenance ................................................................................................................................. 91 11.2.2 Manpower .................................................................................................................................... 91 11.2.3 Results ........................................................................................................................................... 91 11.2.4 Input data ..................................................................................................................................... 92 11.3 FINAL CONCLUSION ..................................................................................................................................... 92 12 FUTURE WORK ........................................................................................................................................ 93 13 ACKNOWLEDGEMENTS ........................................................................................................................... 94 14 BIBLIOGRAPHY ........................................................................................................................................ 95
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 7 1 Glossary BA Beam Availability BE Beam Effectiveness CIEMAT Centro de Investigaciones Energéticas, Mediambientales y Tecnológicas CSV Coma separated value D Deuterium DEMO Demonstration Power Plant ECRIS Electron Cyclotron Resonance Ion Source EF Error Factor FEEL Fusion Energy Engineering Laboratory HA Hardware Availability HEBT High Energy Beam Transport HFTM High Flux Test Module IFMIF International Fusion Materials Irradiation Facility ITER International Thermonuclear Experimental Reactor LEBT Low Energy Beam Transport Li Lithium MDT Mean Down Time MEBT Middle Energy Beam Transport MTBF Mean Time Between Failures MTTR Mean Time To Repair NERG Nuclear Engineering Research Group Fr Failure Rate RAMI Reliability, Availability, Maintenance and Inspectability RFQ Radio Frequency Quadrupole SRF Superconducting Radio Frequency TA Target Assembly TC Test Cell
Pag. 8 Adaptation of the Availsim software to the IFMIF RAMI requirements 2 Preface This Project has been developed in the Fusion Energy Engineering Laboratory (FEEL) which belongs to the Nuclear Engineering Research Group (NERG). This group work in cooperation with the Centro de Investigacioness Energéticas, Medioambientales y Tecnológicas (CIEMAT). This research group has been involved in the International Fusion Material Irradiation Facility (IFMIF) project since 2007. The FEEL task has been to create a complete set of Reliability, Availability, Maintainability and Inspectability data for each component of IFMIF. Their goal is to provide improvements and recommendations to the design team to reach the high availability requirements for IFMIF. This project is about the adaptation of an already existing software called Availsim to IFMIF. This software had already been successfully used in the availability analysis of the International Linear Collider (ILC) and the RAMI team considered that after some adaptation it could provide new data for their studies.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 9 3 Introduction to IFMIF DEMO is the future demonstration fusion power reactor. Its purpose is to demonstrate the feasibility of fusion as an electrical power source. For this reason 2 parallel projects have been developed. ITER and IFMIF. ITER (international thermonuclear experimental reaction) is a joint scientific experiment developed by China, the European Union, India, Korea, Japan and the United States. The main goal of ITER is to build a reactor able to provide more energy than consumed. It is projected that consuming 50 MW of power it will be able to produce 500 MW of output power. The second project aim is to test materials in order to provide enough data to optimize the design of DEMO (demonstration fusion power plant). This project is IFMIF (International Fusion Material Irradiation Facility) [1]. 3.1 The International Fusion Irradiation Facility IFMIF is a scientific research facility with the purpose of testing and choosing suitable material for the construction of the future fusion reactor DEMO. This project is planned by Japan, the European Union, the United States and Russia, and managed by the International Atomic Energy Agency (IAEA). Fig. 1 Overview of the IFMIF design
Pag. 16 Adaptation of the Availsim software to the IFMIF RAMI requirements be reliable during the operation phase and maintain their performance under operational conditions with the best possible availability. Failure of only one small function might result in the machine being halted for long periods of time and result in high costs for repairs and replacements. It is therefore important that every system undergoes a technical risk analysis to evaluate what can go wrong, where and when, and to recommend spare components, back-up systems, increased frequency maintenance schedules, component standardization, systems design optimization etc, to reduce the risk level of a main function breakdown to a minimum and to decrease the time to repair to a maximum. 3.2.1 Availability The availability of an item is expressed by the expected fraction of time it will be operational, i.e., time to perform its specified functions under given conditions at a given time t, assuming that the required external resources needed are provided. It is often expressed as (up-time)/ (up-time + downtime) with many different variants. Up-time refers to a capability to perform the task and downtime refers to not being able to perform the task. The inherent availability is expressed in the following equation[8]: (Eq. 1) Where: is the inherent availability. is the mean time between failures. is the mean down time for failure. Inherent availability reflects the fraction of time a system would be available if no scheduled maintenance time is taken into account, which means the availability over the scheduled operation time. 3.2.2 Reliability Reliability describes the frequency of failures over a time interval. It measures the probability for failure-free operation during a given interval. It is sometimes used for measuring the success for a failure free operation. Is expressed by the following equation[5]: (Eq. 2)
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 17 Where: is the mean time between failures. is the time in hours. 3.2.3 Maintainability If a system is to have high availability, it should very rarely fail but it should also be able to be quickly repaired. In this context, the repair activity must encompass all the actions leading to system restoration, including logistics. The aptitude of a system to be repaired is therefore measured by its Maintainability. Maintainability engineering is regarded with the implementing basic principles to future equipment repair while equipment is being designed, developed and/or fabricated. It must be a part of design planning. Maintainability characteristics must be specified and incorporated during system design and concurrent with development. The objective of Maintainability is to develop equipment and systems which can be maintained in the least time, at the least cost, with a minimum expenditure of support resources, without adversely affecting the item‟s performance or/and its safety characteristics[5]. 3.2.4 Inspectability The last basic tools used in RAMI engineering is the Inspectability. It is a term recently added to RAMI because that characteristic becomes essential when the component reliability cannot be improved enough. It is one of the characteristics of maintainability with a preventive objective. It is in fact defined as that characteristic of design and integration that allows in situ monitoring of equipment performance in regard to the amount of usable lifetime remaining. Furthermore, passive systems, usually safety systems, need to be inspected periodically due to their operation behavior. This includes the accessibility to equipment, removable samples to evaluate the material degradation and diagnostics to determine incipient failure. The Inspectability concerns also the monitoring aspect during the various stages of production and testing period for the inspection processes. Test engineering as a provision and access of test points, should be involved at an early stage to define test requirements and design the test approach[5]. 3.2.5 RAMI goals As has been mentioned before the required operational availability for IFMIF is 70%. The hardware availability requirements for the accelerator facility are 87% which is a great challenge.
Pag. 18 Adaptation of the Availsim software to the IFMIF RAMI requirements The 87% availability requirement for the accelerator facility is related to dpa (displacement per atom) that both accelerators could produce in a determinate period. Taking into account this direct relation it has been assumed that [4]: If both accelerators are working: 100% of availability If one accelerator is not working is assumed a 50% of availability. If none are working: 0% Meaning that: (Eq. 3) The requirements for IFMIF are given in terms of availability. No specific reliability requirement have been established, only the reliability requirements derived from availability ones. The mission of IFMIF is to produce a number of dpa in a period of time. In other words, to achieve a total facility operational availability of 70% in order to reach accumulated damage levels around 100 dpa in a few years of operation[4]. The previous case is valid as long as the accelerator runs at 100% operation parameters. But it has been accepted that due to failures in components the beam can be degraded. If degraded operation is accepted the beam availability must be calculated using 2 different parameters[3]: (Eq. 4) Where: is the hardware availability of the accelerator. It only represents the proportion of time the accelerator is running not taking onto consideration if the operation is degraded. is the beam effectiveness of the beam. It expresses the proportion of dpa the beam is supplying the target in comparison with the design operation. If no component ever failed this parameter would be 100%. is the beam availability and the goal of the studies. It represent the amount of dpa that are being effectively supplied to the target.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 19 3.2.6 Prediction The availability prediction requires an iterative process with designers. It is where the RAMI modeling of the facility is carried out. The model represents the behavior of the failures at each functional level—facility, system, subsystem, component—as well as the equipment configuration and operating modes. The starting point for developing the models is the understanding of each process system, in order to develop a Plant Break-down Structure (PBS), followed by a Failure Mode Analysis (FMEA), which is performed to identify all significant component failure modes and the effects of failure on the operation of the system. A model is a logical way of showing the interrelationships between the items that make up an equipment system and the attendant response as a result of failed items and other events. Many equivalent ways exist to model a given system, the most popular being event-tree analysis, fault-tree analysis, reliability block diagrams, truth (or state) tables, and Markov state diagrams. Any method that depicts relevant information in a form that is condensed, logical, and accurate is acceptable. A fault tree analysis has been chosen. The tool used to perform it is RiskSpectrum®[5]. RiskSpectrum® is a tool specifically conceived to make PRAs/PSAs, widely used in nuclear power plant industry. So it has good capabilities to cope with similar studies for a facility like IFMIF. It allows a complete organization analysis and presentation of risk and reliability information. It is a powerful analysis tool that helps to analyze complex models in a few moments and calculate availability measures by using Boolean combination of failures modes. But due to the nature of PRAs/PSAs it was unable to take into consideration some aspects of the accelerator like the possibility to operate with degraded output. For this reason Availsim was adapted.
Pag. 20 Adaptation of the Availsim software to the IFMIF RAMI requirements 4 Introduction to original Availsim The orginal Availsim is a free software tool developed by the Stanford University that has been used in the design of the ILC. The RAMI team involved in the IFMIF project thought that this tool could prove useful to reach the availability requirements demanded for the project. For this reason this project was created. The RAMI team had already been working with the software RiskSpectrum®. Professional software widely used in this field. But RiskSpectrum® proved to have some limitations that could be included in Availsim[9]. 4.1 Availsim Availsim was created in order to provide availability calculations for the design of the International Linear Collider. The ILC is going to be one of the most complex machines ever built. Typical high energy physics accelerator availability ranges from 75% to 85%. The ILC contains an order of magnitude more parts than other accelerator, meaning that the availability would be unacceptably low unless enough effort is invested towards component reliability. Spreadsheet calculations and commercial reliability software packages are often used to estimate the availability. But both spreadsheet and commercial software packages have some limitations. For this reason Stanford University professor Tom Himel and his team decided to write a simulation in order to include certain complexities. The simulation, named Availsim, takes an input list of components, their quantities, mean time between failures, mean time to repair and the effect of their failure. It then simulates the failure and repair of components[9]. 4.1.1 Availsim vs RiskSpectrum® Availsim and RiskSpectrum® calculate availability by different means. RiskSpectrum® performs PRAs/PSAs using fault tree analysis and obtains the probability of unavailability for a system. Availsim performs a simulation recreating the operation of the accelerator. For this reason some features can be included in Availsim that are unable to introduce in RiskSpectrum®: Degraded operation: Availsim has been purposely created in order to calculate the availability of systems where degraded operation is accepted. RiskSpectrum® does not contemplate this option.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 21 Maintenance strategy: Availsim allows to personalize maintenance shut downs to certain degree. Allowing performing scheduled repairs in previous shut down in order to save down time. Multiple repairs: As a consequence of the two previous features availsim allows to perform additional repairs during down times in order to repair the most number of components taking advantage of the down time. Operation parameters: The failed components affect operation parameters so Availsim can provide a mean and history of the parameter desired. Manpower: Another feature provided for availsim is that takes into consideration the manpower required and available for the repairs. Meaning that it can affect the duration of a downtime. These features could provide additional data to the RAMI team that in conjunction with the data obtained from RiskSpectrum® would allow the RAMI studies to be more complete. 4.1.2 Features included in Availsim Many features are introduced in the simulation to make it as realistic as possible. Each component fails at a random time with an exponential distribution determined by its MTBF. When a component fails the accelerator is degrades in some fashion. Components can be specified as hot swappable meaning that they can be replaced without further degrading the accelerator, repairable without accessing the accelerator tunnel , or repairable with access to the accelerator tunnel. Devices which are not hot swappable are only repaired when the accel is down[9]. 4.1.2.1 Repairs The simulation detects which parameter has been degraded too much an plans to fix things that degrade that parameter. Based on the required repairs it calculates how long the downtime must be to repair necessary items. It then schedules other items for repair allowing downtime to be extended as much as 50 to 100%.the devices chosen for repair are those who give the most bang for the buck (most improvement in the parameter per hour of repair time). Thinks that break during downtime are just ignored.
Pag. 22 Adaptation of the Availsim software to the IFMIF RAMI requirements 4.1.2.2 Scheduled maintenance shutdown There are no regularly scheduled maintenance shutdowns, except an annual 3 month shutdown. In real life maintenance could be planned in case the operation parameters were getting low without inducing a shutdown. However the simulation doesn‟t penalize for unplanned downtimes so it does not impact the results. 4.1.2.3 Recovery The simulation assumes that all repairs are completed on schedule. It seemed an unnecessary complication to throw random numbers to distribute the repair times around the MTTR as the simulation integrates over a long enough time period to average for such variations. Recovery of the beam is modeled after the qualitative experience obtained from many accelerators. The longer the accelerator is down, the longer it takes to recover. The extension of the recovery time can be due to: Hardware failures Environmental factors Human error Parameter drifts Commissioning Rather than modeling each of the previous recovery procedures Availsim assumes the time it takes to recover the beam after a repair is proportional to the time the beam has been down. The constants of proportionality used for the damping rings interaction regions were 20% and for rest 10% was used. 4.1.2.4 Machine development Machine development (MD) is the time spent to the operating efficiency of the accelerator. It includes better characterization of the machine, developing new tuning procedures, and test future improvements. For the simulation it is assumed that 10% of the time MD is performed. This MD can be performed on an opportunistic basis. Some regions can finish repairs sooner than others. For this reason when one region is repaired but waiting for other region to be repaired to start tuning up, machined development can be performed in that region.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 23 4.1.2.5 Kludge repairs Kludge repairs can be simulated. This is done when proper repair would take too long to finish and a quicker work-a-round is performed in order to keep operations. The proper repair would be performed later on a down time. 4.1.3 Implementation Availsim is written in the MATLAB® scripting language. The machine defendant input data is contained in a spreadsheet which is read by the MATLAB® program. It also contains macros in order to add the handling of the amount of data needed by the simulation. The output data obtained from the simulation is stored in another spreadsheet. It contains which component caused a downtime and how much downtime has each region of the accelerator induced[9]. 4.1.4 ILC Results Availsim results have been used to help make several ILC design decisions and establish unavailability budgets for systems and components. For example if all the damping rings were in one tunnel it would decrease the downtime by 1%, but at the same time if the rest of devices were contained in the same tunnel it would decrease uptime by 14%. Since it would be risky and too expensive to improve the reliability of individual components to regain the 14% lost the baseline ILC design has two tunnels. At the same times Availsim gives the downtime caused by each type of component. That means some components can be tuned to improve their downtime. Thank to this the RAMI team can point the Hardware R&D teams to develop higher availability versions of components in order to improve overall availability. 4.1.5 Availsim conclusions The availability simulation has been a valuable tool in the design in the ILC. It has been used to make major design decisions and determine which components needed to have their reliability improved. Its general purpose can be extended to other accelerators[9]. 4.2 Objectives of this project The objective of this project is to adequate and modify Availsim in order to be able to provide useful and trustful data to the IFMIF RAMI team. For this reason Availsim would need to accept the data used by the RAMI team and process it. At the same time some data results that were not considered important for the ILC could prove useful for the IFMIF team so Availsim must be able to provide more results than originally was intended.
Pag. 24 Adaptation of the Availsim software to the IFMIF RAMI requirements 4.3 Scope of the project The scope of the project is to adapt existing software, Availsim, to satisfy the needs of the IFMIF project. The objective of Availsim is not to simulate the operation of an accelerator but to simulate its availability. For this reason the results of the simulation are entirely subjected to the input data provided by the RAMI team. While the project is to adapt the software to IFMIF requirements, it is desired to make Availsim as global as possible. The goal is to make Availsim a potent simulation tool for accelerators in general not a single project. For this reason it will avoided (if possible) to encode IFMIF specific operation parameters into the software.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 25 5 Availsim 2.0 simulation Availsim has been substantially modified in order to provide the data required by the IFMIF RAMI team. The core of the software remains basically the same only altering the parts that were incompatible with the specifications of IFMIF RAMI analysis. 5.1 Simulation elements Availsim simulates the development of three elements which are linked between them. Events represent the physical components of the accelerator in their failure modes. Functions represent the physical parameters of operation for the accelerator and the state of their systems. Facilities represent the buildings and their state defines the availability. 5.1.1 Events Components are the basic part of every system. All availability studies revolve around the failure of components and the effect they have over a system. For this reason Availsim needs a certain amount of information for each component in order to be able to simulate the effect I has over a system and how to deal with the consequence in a realistic way[3]. Every component can fail in more than one way. Every one of these failures may have different consequences on the system and different repair times. It is possible that one failure allows the system to keep operation while another failure mode from the same component forces a system shut down and repairs. Usually when the repair times or the mean down times derived from the component failures are similar, only the most probable failure mode is studied. This is due to many components being replaced rather than repaired. Also in many cases every failure mode from a component prevents the operation of the component and apply the same mean down time to the system. But if different failure modes for a component have different effect on the system there has to be a distinction between them in order to obtain reliable results and improve the performance of the system. For that reason Availsim2.0 abandons the “component” designation for the lower parts of a system and uses “events” instead. An event is a possible failure mode for a component. Each event has its own effect on the system. This way studying which failure modes for each event have more impact on the availability in order to improve the reliability of the component is possible.
Pag. 32 Adaptation of the Availsim software to the IFMIF RAMI requirements (Eq. 6) This methodology does not take into consideration that after the repair to bring the intensity to its design value, the facility can suffer another failure caused by another event that brings it down. Thus increasing the down time and rendering the previous repairs useless. To take this factor into consideration a parameter x is introduced. It defines the proportion in which the average intensity has to be increased to perform these repairs. In this simulation it was used the following value: So this maintenance would only happen when the average intensity after repairs is 10% bigger than the average intensity obtained without performing repairs. This way a balance is reached between the hardware availability and the beam effectiveness. If then I means that we must stop the accelerator in order to bring the intensity to the maximum and increase the beam effectiveness of the operation. 5.2.2.3 Tuning Tuning is the state a facility gets into once all repairs needed have been scheduled. The facility will maintain this state until it finishes its recovery and resumes operation. While tuning a facility ignores all new failures. 5.2.3 Maintenance A failure will at some point require maintenance time. This maintenance could be performed immediately after the failure, during a scheduled maintenance period or during another shut down provoked by another event. Availsim treats differently the maintenance during a scheduled down period from a nonscheduled down one. 5.2.3.1 Scheduled Maintenance A scheduled maintenance as its name say is a period of time when the facility is intentionally brought down to perform routine maintenance. The extension and start date of this
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 33 maintenance is initially fixed. However there are certain factors that can affect both the duration and the date of the maintenance. 5.2.3.1.1 Duration The extension of a scheduled maintenance is fixed by the routine maintenance that must be performed. This means a scheduled maintenance will never be shorter than the duration fixed[3]. On the other hand it can be extended. At the same time the routine maintenance is performed, failed components can be repaired. The amount of component that can be repaired depends on the component‟s mean down time and the duration of the maintenance period. It was decided by the RAMI team that a down time could be extended up to 150% original mean down time (MDT). This extension allows to repair components that otherwise could provoke a future longer shut down. Recovery time after a scheduled down time is not affected by the proportional law that extends the down time depending on how long the down has lasted. 5.2.3.1.2 Date There are 2 scheduled maintenance periods. A short one in the middle of the year and a long one at the end of it. The dates when they begin are introduced by the user. However it can substantially change during the course of a simulation. The user can introduce a margin time that allows Availsim to advance the date of the maintenance period in order to save operation time and increase the availability. The margin used in this study was of 1 month. This means that a scheduled maintenance could be advanced up to 1 month from its original date. There are different situations when it is decided to advance a maintenance period. The facility is already down. If at the date of the maintenance period the facility is already down the start of the maintenance period is taken as the time when the facility went down. If the down time is shorter than the maintenance period then the down time is extended. If it is longer than the scheduled period then maintenance is performed during the down time without further effect on it. Previous shut down. If the facility suffered a shutdown during the 1 month margin before the scheduled date, and the duration of that down time was longer than the scheduled maintenance period, the maintenance is cancelled. The necessary repairs were performed during the shutdown.
Pag. 34 Adaptation of the Availsim software to the IFMIF RAMI requirements If scheduled maintenance repairs are performed during a down time provoked by an event, the time used is subtracted from the amount of down hours provoked by that event and counted as normal scheduled maintenance time. This means an event that causes a long shut down can have its down hours substantially reduced because most of those hours count as scheduled maintenance time. 5.2.3.1.3 Repairs Repairs performed during a scheduled maintenance have fewer restrictions than those performed in a shutdown. There is no manpower limitation. It is a scheduled date and enough personnel is supposed to be available to perform all the required repairs. Access to all the facility is allowed including the vault[3]. However if the maintenance repairs were performed during a previous shutdown, the repairs are submitted to restrictions of a non-scheduled shut down. 5.2.3.2 Non scheduled maintenance A non-scheduled maintenance is provoked when an event brings down the facility and requires to be repaired in order to resume operation. 5.2.3.2.1 Repairs The procedure to choose which events are to be repaired during a nonscheduled shut down differ depending on the event that caused it. If the event that caused the shutdown brings down the facility by itself it must be repaired. An event that brings down the accelerator by itself is an event that will always bring the accelerator down, no matter the degradation it already has. For that reason these kinds of events must always be the ones repaired first and all the manpower required will be destined to its repair. The second case is when the facility goes down due to accumulated degradation. It means that too many components have failed and the degraded operation is no longer sustainable. These situations are handed differently. Availsim sorts all the broken events from the one with the longer mean down time to the one with the shortest one. Then checks for every event the degradation it provokes and saves it. It continues to check events until one brings the parameter below the allowed degradation. That event is sent for repair and continues checking the rest of events. Using this methodology, the events with longer mean down times are checked first and they are less prone to be repaired. As it moves through the events accumulating degradation the mean down times of the events keeps getting shorter. This way the events sent to be repaired are the ones with lowest mean down time thus minimizing the down time of the non-scheduled maintenance.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 35 Once enough repairs to bring up the facility are scheduled secondary repairs can be performed. Secondary repairs are those events that don‟t force the facility down but get repaired because there is enough time and manpower to do it. The events to be repaired are chosen the same way as the accumulated degradation case. It is desirable to repair the events with longer mean down times instead of the ones with shorter ones. The reason is that events with shorter mean down times can be repaired on future shorter down periods. A secondary repair can extend the maintenance time to a certain factor specified. In the case of IFMIF it was decided that the maintenance time could be extended up to 150% the original down time. Secondary repairs are subjected to 2 more restrictions. One is the manpower available. Once the manpower has been assigned to the primary repairs the rest of personnel can perform secondary repairs. If secondary repairs are finished within the down time and there is enough time to perform more repairs the recently free manpower will be reassigned to new repairs. The other restriction is the vault access. It takes a fixed period of time for the vault to be accessible by the repair personnel. If the primary repairs don‟t require access to the vault, and the duration of the down time is superior to the vault access time, access will be granted to the maintenance team to perform repairs in the vault. In case the primary repairs require access to the vault, access will be granted automatically to perform secondary repairs in it. 5.2.3.2.2 Duration The duration of a nonscheduled down time is set by the crucial repairs needed to bring up again the facility. The mean down time provoked by an event that needs to be repaired is calculated by the following expression[3]. (Eq. 7) Access time includes the cooling time of the system (if necessary), the physical time needed to access the location of the repairs and the time spent on the detection of the failure. The mean time to repair (MTTR) as its name says is the mean time required to repair the failure by the number of worker specified. Availsim makes no distinction between the component being repaired or replaced. The recovery time includes all the actions performed after doing the repairs. There is a recovery time for the system followed by a tuning up time. The duration of a nonscheduled
Pag. 36 Adaptation of the Availsim software to the IFMIF RAMI requirements maintenance can be extended up to a certain specified factor the same way a scheduled maintenance could. In this case it was allowed to extend the downtime up to the 150% of the initial down time. 5.2.3.2.3 Recovery Originally Availsim calculated the recovery time in a different way. The ILC included dumpers that allowed continuing operation for the upstream regions of the accelerator while the ones downstream were shut down. For this reason the recovery was dependent on the regions that were down. Every region had a recovery time of its own, Availsim calculated the recovery time as a chain of recovery time by region. This is of course correct but the IFMIF RAMI team had already calculated the accumulated recovery time for each event. For this reason this calculation was not needed because the value was an input data so this part of the code was scratched. Now Availsim instead of calculation the recovery time by bringing up region after region and accumulating the recovery time of each one just takes the value of the input data. At the same time, the original Availsim developers had included a factor that increased the recovery time the longer the shutdown was. This factor was obtained through empiric observation. This factor was maintained because it represents unforeseen difficulties in the repairs, and mitigates the effect that during repairs failures are ignored. The value used in Availsim 2.0 was directly extracted from the one used in the original Availsim and is 0.2. However is not used as an absolute value but randomized with a normal distribution in order to represent more realistically the variable recovery time[9]. 5.2.3.2.4 Hot repairs Hot repairs are provoked by those events that can be repaired while the facility continues operating. These repairs are treated separately. They don‟t share manpower with the rest of repairs. The duration of the hot repairs is calculated the same way as a normal repair.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 37 6 Availsim 2.0 software description 6.1 Availsim 2.0 Originally Availsim was run from an excel file. The excel files contained all the elements of the ILC accelerator. Using a macro allowed to switch different configurations of the ILC in order to simulate them and compare them. After selecting a configuration using another macro would transform the data to CSV format and start the simulation. Unfortunately this excel file was very specific for the ILC accelerator. So the macros were dismissed. Now the input files are saved as CSV files and the availsim routine is initiated from Matlab®. After performing the simulation the results are automatically stored in an XLS file named by the user. Fig.9 Availsim operation stages Availsim misc. inputs functions Results Inputs(CSV) Simulation (MATLAB®) Results (EXCEL)
Pag. 38 Adaptation of the Availsim software to the IFMIF RAMI requirements 6.2 Data input The input data sheet was substantially modified to the needs of the RAMI team. The input data sheet is introduced in Availsim in .csv format. 6.2.1 Events Instead of using components, the sheet now stores events. An event is a specific failure mode for a component; this means that a component will have as many events as failure modes. This allows Availsim to study different failure modes for a component instead of only the most probable one. 6.2.1.1 Name The first main information the sheet provides is the name of the event or the gate. This holds no purpose other than to be easily identified by the user. For an event it usually contains the component involved and its failure 6.2.1.2 Quantity Availsim 2.0 treats events individually. However same type events can still be treated as a group. By default quantity foe each event will be 1 unless is specified by the user otherwise. 6.2.1.3 Facility Facilities are described by a number. For example if the system to be simulated has 2 accelerators one would be Facility 1 and the other Facility 2. 6.2.1.4 Location Initially this value was intended to point Availsim an “Access Time” value from another data sheet, but it was more efficient to introduce all the time values on one single sheet. Now this value is used to count how many times the Vault has been accessed. The Vault location is coded as “V”. Any other location serves just informative valor. 6.2.1.5 The ID (identification) As mentioned before, the RAMI team has been working with the RiskSpectrum® software. An identification code was created in order to classify every single event. This code contains letters and numbers and defines the facility, the part, the location, the recovery time, the
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 39 component and the number of every event in this order. The code was maintained in Availsim as a way to compare easily results with RiskSpectrum®[5]. 6.2.1.6 Mean time between failures Availsim uses mean time between failures which is the inverse of the FR while Risk Spectrum uses the FR itself. 6.2.1.7 Access time This is the time needed in order to start the repairs. 6.2.1.8 Mean time to repair The mean time to repair is the time needed to repair an event. 6.2.1.9 Recovery This is the time that takes for a repaired event to achieve normal performance again after a down time. 6.2.1.10 Manpower The Manpower is the amount of workers needed to repair an event. 6.2.1.11 Function affected This is the function affected by the event. If this field is empty the event won‟t have any kind of effect on the accelerator performance. 6.2.1.12 Degradation calculation This field describes in which way the degradation will be applied on the target function. It can be Multiplicative or additive (negative. This is indicated by entering Mult or Add in this field. 6.2.1.13 Degradation The degradation is the effect taken by the target function. Its value and the measurement unit depend exclusively of function affected. 6.2.1.14 Group of comp This parameter prevents events that events that apply the same degradadion further degrade the operation. If this field is empty it means that the event‟s degradation will be applied in all cases.
Pag. 40 Adaptation of the Availsim software to the IFMIF RAMI requirements 6.2.2 Functions The functions sheet replaces the parameter sheet in the original Availsim. Originally the parameters in Availsim represented real operation parameters. Now the functions can represent redundancies, binary values and operation values. 6.2.2.1 Facility The facility attribute defines which facility does a function belong to and it is affected by. 6.2.2.2 Type The normal functions are coded with a 1, the special ones are coded with a 2 and the critical ones are coded with a 3. 6.2.2.3 Name of the function The name of the function has to be the same one used in the events sheet on the “function affected” field because is the one used by Availsim to link Functions and Events. 6.2.2.4 Design value The design value of a function is the one a function has when is no degraded. Its the starting point for every function and the one that is going to be degraded in case of a failure. 6.2.2.5 Minimum value The minimum value is the last value the function can reach until it degrades another function. While the value is between the design value and the minimum value the function is considered degraded. For critical functions being below the minimum value forces the facility to shut down and make repairs. 6.2.2.6 Function affected This field contains the name of the function affected by the current function. The name has to be the same as the targeted function because is the one Availsim uses to link functions. 6.2.2.7 Degradation calculation This field describes in which way the degradation will be applied on the target function. It can be Multiplicative, additive (negative) or set to a fixed value. This is indicated by entering Mult, Add or Set in this field.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 41 6.2.2.8 Degradation The amount of degradation applied on the target function. If the degradation calculation is Set then this field must contain the value the target function will be set to. 6.2.2.9 Level The parameter level is only used if the current function sets another function to a certain value instead of applying additive or multiplicative degradation. If the target function has already been set to a value by another function, the current function will only be able to set the target to a new value if its level is more important or equal than the last one. The level is sorted in an descending order, meaning that functions altered by another function can only be set to a new value by a function of the same or lower level. 6.2.3 Miscellanea The miscellanea sheet contains parameters of the simulation as well as the names of the input files. 6.2.3.1 Events input This field contains the name of the events data sheet. The name has to include the extension (.csv) in order for Availssim to find it. 6.2.3.2 Functions input This field contains the name of the functions input file. 6.2.3.3 Max people in repairs This is the maximum people available for performing repairs at the same time. Note that this value must be at least equal to the highest manpower required to repair an event. 6.2.3.4 Simulation hours The total duration of the simulation 6.2.3.5 Allow access The amount of hours a shutdown has to last in order to allow access to the vault to perform secondary repairs.
Pag. 48 Adaptation of the Availsim software to the IFMIF RAMI requirements 6.3.3.1.1 MINFIXTIME A pretty straight forward event, a hot repairable event has been repaired. A new failure time is given and it is taken out from the list of hot repairable events under repair. 6.3.3.1.2 NEXTSHORTSCHEDDOWN & NEXTLONGSCHEDDOWN Once the time for our scheduled maintenance period is reached it is required to check if the facility is already down or if it is up. The procedure is the same for both the short a long maintenance periods and it is explained in the chapter [5.2.3] Fig.12 NEXTSHORTSCHEDDOWN & NEXTLONGSCHEDDOWN flow diagram START Facility tuning? Previous shut down >= than sched. down period? Calculate how much overlaps sched down time Down time longer than sched maint period? Extend the down time to the sched down time duration Maintenance canceled Maintenance canceled SETUPSCHEDULEDDOWN RECOVERFROMSHUTDOWN Calculate next scheduled down RETURN N N N Y Y Y
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 49 If the maintenance is not canceled the routine s SETUPSCHEDULEDDOWN and RECOVERFROMSCHEDDOWN are called. 6.3.3.1.3 MINBREAKTIME When a component breaks into one of its possible failure modes we call it an event. When an event happens we have to take some considerations before checking what effect it has on the facility operation. Fig.13 MINBREAKTIME flow diagram If the facility is tuning, it means it is down and it already has an end tune time assigned. If a component fails when we are down, we ignore this failure. This is done because it would require a new end tune time and reorganizing the manpower, that could mean leaving repairs half done. This would exponentially increase the complexity of the process. In order START Check the group of the event Group already down? Facility tuning? Flag event as broken Hot repairable event? SCHEDULEHOTREPAIRS RETURN Y Y Y N N N Give new failure time
Pag. 50 Adaptation of the Availsim software to the IFMIF RAMI requirements to reflect the effect the failure of components have on the tuning time we adopted the randomized proportional law that adds extra tuning time in base of how long the facility has been down. There are group of components that are part of the same system. When a component from that group fails, it brings the full system down and applies its corresponding degradation to the facility. If another component from the same group fails, it would have no effect because the system is already down. To represent this we have the group attribute. If a component from an already failed group breaks, this failure is ignored. We must assign new failure times to the ignored components and store the times every component has been ignored. If a component with a high mean down time is ignored several times it would take veracity from the simulation and we need to know it. If we are neither tuning, nor the event‟s group is down, we have to update the component as broken. If the component is hot repairable we schedule its repair straight away calling the routine SCHEDULEHOTREPAIRS. 6.3.3.1.4 ENDTUNETIME This event means that repairs, recovery and tune up of the facility have finalized and it is ready to resume operation. The facility‟s state is set to up and the repaired events are given new failure times. 6.3.3.1.5 ENDYEAR This event has no effect in the simulation and serves only the purpose to obtain independent annual results in order to observe how the availability progresses during the simulation time. 6.3.3.1.6 Checking the state and scheduling repairs Before checking the consequences the current event has on the facility operation one must gather the data of the facility and functions performance from the last event to the current time. If the last state was down the corresponding down hours to the facility must be added, if it was up then up hours will be added, etc The time has come to check the effect the current time event has on the facility‟s performance. This is done by calling the routine FACILITYSTATE which determines the new function‟s values, and ultimately, the facility state. If the facility state is up, it means that the facility operation is somehow degraded but we are able to continue operation. If its state is down we are no longer able to continue operation and the facility must be shut down and
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 51 perform repairs. If the facility is tuning there is no need to check its state or to schedule further repairs. To decide which component should be repaired the routine SETUPREPAIRS is called. Once repairs have been scheduled the time the facility will be able to resume operation is calculated by the RECOVERFROMREPAIR routine. The loop is now completed and the program proceeds to choose the next time event. 6.3.3.2 SETUPREPAIRS Called by : MAINLOOP Routines called: SCHEDULEREPAIRS If one facility must be shut down to perform repairs, this routine decides which events are to be repaired. It starts by looping through the broken components to see if one by himself brings down the facility. If it finds one then SCHEDULEREPAIRS is called. If no event is found able to shut down the facility by itself SETUPREPAIRS starts looking for broken component that bring down the facility due to accumulated degradation. For this procedure the IBANG matrix was created. As explained before the IBANG matrix sorts the events by mean down time. Thanks to his matrix the broken components are sorted from the highest mean down time to the lowest. The program starts looping from the events with highest mean down time and adding the corresponding degradation. At some point an event will make the facility go from up state to down state, so this event is where we will start the repairs. The utility of this method is that allows the program to discard the broken components with high mean down time first, thus reducing the amount of time required to resume operation. When the program reaches the event that makes the facility go down it calls SCHEDULEREPAIRS. Once repairs for this component have been issued it continues to check the following broken ones and repeats the process. At this point all the critical repairs needed to resume operation have been scheduled and how long those repairs will take is known. The amount of time needed to perform the repairs (including the recovery and tuning) is the allowed repair time. This is the time used to perform non critical repairs. If stated so in the miscellanea input file the repair time can be extended in a proportional factor in order to take advantage of the shut down and repair some event that takes longer than our initial allowed time. This means that extending a few hours the down time (usually the factor used is 1.5 the allowed repair time) events that in the future could provoke another down time are repaired. In the miscellanea file is specified to allow access
Pag. 52 Adaptation of the Availsim software to the IFMIF RAMI requirements to the accelerator vault if the mean down time surpasses a certain amount of time (if the critical repairs don‟t require access to the vault, it cannot be accessed to perform secondary repairs). Once the programs checks if the repair time is extended or the vault can be accessed it uses the IBANG matrix again to decide the events that are to be repaired. It prioritizes the ones with longer mean down time to take the maximum advantage of the current shut down. The repairs are scheduled calling the SCHEDULEREPAIRS routine as before. When all repairs are scheduled it saves the list of the repaired components. It also saves how much the repair time was extended and which component‟s fault was it. The secondary repairs are also stored in order to estimate the down time we have saved performing those repairs.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 53 START Find broken comp. Apply degradation to functions Check critical functions Brings downs the accel by itself SCHEDULEREPAIRS More broken comp. to check? Functions value = design value Find broken comp. Apply degradation to functions Functions value = design value Check critical functions Brings downs the accel due to acumulated degradation? SCHEDULEREPAIRS N Y N Y Y N
Pag. 54 Adaptation of the Availsim software to the IFMIF RAMI requirements Fig.14 SETUPREPAIRS flow diagram 6.3.3.3 SCHEDULEREPAIRS Called by: SETUPREPAIRS SCHEDULEREPAIRS calculates when an event repair can be started based on the amount of manpower it requires and how many people are free to perform this repair. If it is a noncritical repair it also checks if the repair can be done in the allowed repair time. If the time required to do the secondary repair is longer than the allowed one then the component won‟t get repaired. More broken comp. to check? Calculate allowed time to perform secondary repairs Find broken comp. SCHEDULEREPAIRS More broken comp. to check? RETURN Y Y N N
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 55 Fig.15 SCHEDULEREPAIRS flow diagram START Repairs need access to the vault? Event hot repairable? Take it out of the hot repairs list Acces to the vault allowed? Check manpower available Calculate end of the recovery MDT <= allowed repair time? Update the component as repaired Save manpower involved RETURN Y Y Y Y N NN N
Pag. 56 Adaptation of the Availsim software to the IFMIF RAMI requirements Note that for critical repairs the allowed repair time is set to a huge number because those are repairs that need to be performed. Once it has checked the component can be repaired it calculates the finishing time of the repair as the time when the event will finish the recovery. The end repair time that defines when the facility will finish its recovery is the one from the component with the latest end recovery time (if it does not surpass allowed repair time). 6.3.3.4 RECOVERFROMREPAIR Called by: MAINLOOP Routines called: RANDRECOVER This routine takes the facility end recovery time and it adds and random extra tuning time based on the amount of time the facility has been down. It gives the definitive end tune time when the facility will resume operation. 6.3.3.5 SETUPSCHEDDOWN Called by: MAINLOOP Routines called: SCHEDULEREPAIRS This routine checks the repairs are to be performed during a scheduled maintenance period. It sorts the events by the matrix IBANG prioritizing the ones with highest mean down time. The allowed repair time is the length of the scheduled maintenance period but it can also be extended to perform additional repairs. The maximum extended time is defined by the same factor used in SETUPREPAIRSS and is extracted from the miscellanea file. Note that the full extent of the maintenance period will always be used. No restrictions about the manpower are included because it is assumed that during scheduled maintenance there is always enough manpower. Access to the vault is allowed. Despite this variation this routines performs as SETUPREPAIRSS. 6.3.3.6 RECOVERFROMSHUTDDOWN Called by: MAINLOOP
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 57 This routine sets the time when the facility will be able to resume normal operation after an scheduled maintenance. 6.3.3.7 SCHEDULEHOTREPAIRS Called by: MAINLOOP The SCHEDULEHOTREPAIRS routine checks the time a hot fixable event will be able to be repaired and when the repair will end. It calculates when the required manpower to perform the repair will be available and sets it as the repair starting time. Then it calculates when the repair will be done. 6.3.3.8 FACILITYSTATE Called by : MAINLOOP The FACILITYSTATE routine decides if a facility is too degraded to continue operation after the failure of one or more components. To do this it loops through the broken components and applies their defined degradation to their associated functions. Next it proceeds to check the effect those degraded functions have onto other functions until it reaches the critical functions. These functions are the ones that determine the state of the facility. If there are no broken components then the state is automatically up. Then the software calculates the difference in intensity output between stopping and repairing every event or continue degraded operation. If the output is superior with repairs then the facility will be shut down and repaired.
Pag. 64 Adaptation of the Availsim software to the IFMIF RAMI requirements 7 Assumptions, hypothesis and parameters of the simulation There are some considerations to take when performing a simulation with Availsim that one must know to fully understand its results: 7.1 Availsim considerations When the accelerator is shutdown, failing components are not taken into consideration. Instead, its failure is ignored (but registered) and given a new failure time. This will continue until the accelerator is up again. Long non-scheduled maintenance can pose difficulties in order to bring up the accelerator. In order to account for this and reflect that the longer the down period the harder is to bring up the accelerator a factor of extra 20% time of the MDT is applied to the non-scheduled maintenance periods. The component charged with the down hours is the one that has caused the down. Independently of how much degradation it applies to the beam. When a scheduled maintenance period is performed during a non-scheduled shutdown, the amount of time spent on the scheduled maintenance is subtracted from the down hours caused by the component that caused the down. With the current input data, the two facilities only interfere with each other with the manpower. In future analyses, common auxiliaries and other facilities could be included. The value a function takes when the accelerator is down is not taken into consideration when calculating its average value. The MTTR is the same a repair team would need in the repair shop[3]. Availsim doesn‟t make a distinction whether a component is repaired or changed[3].
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 65 Remote handling has not been modeled in Availsim, for that reason MTTR are constant and does not include randomization[3]. The access time to begin repairs already includes detection, cooling and acces time[3]. The recovery time after a repair includes the recovery time itself, the tuning time and the 20% factor that increment the duration of the shutdown depending on the downtime[9]. Only one restricted region is modeled, the vault. The rest of the facility does not require to be allowed access. 7.2 Simulation parameters The span of the simulation is 30 years. This elevated value is to allow components with low failure rates to fail and observe its consequences. The simulation assumes the accelerator has reached steady state after years of operation. For this reason infant mortality and fatigue failures are not modeled[5]. 2 scheduled maintenance periods are included. A short one with duration of 3 days that will happen at the middle of the year. And a Long one with one moth of duration that will take place at the end of the year. This maintenance period duration cannot be decreased because it is the exact time needed to perform crucial actions like changing the test materials[4]. The manpower available has been set to a high number in order to not be a limiting factor in this simulation. If a repair takes more than 12 hours access to the Vault will be granted[3]. Down times can be extended up to 150% its original duration in order to perform additional repairs.
Pag. 66 Adaptation of the Availsim software to the IFMIF RAMI requirements 8 Error and number of iterations As explained before Availsim originally performed a single iteration. This served its original purpose but the IFMIF Rami team required more precision and the capacity to perform multiple iterations was implemented. The number of iteration required to attain a certain error is a function of the simulation itself, the input data and the error desired. 8.1 Distribution In order calculate the number of iterations required the distribution of the result data must be studied. For that reason a 400 iteration simulation was performed. The output parameters studied were the hardware availability and operational availability. Fig.17 Operational availability distribution 0 2 4 6 8 10 12 14 16 18 20 84,00% 84,11% 84,23% 84,35% 84,46% 84,58% 84,70% 84,82% 84,94% 85,06% 85,18% 85,30% 85,42% 85,54% 85,66% 85,78% 85,90% 86,02% 86,14% 86,26% 86,38% 86,50% 86,62% 86,74% Operational availability Frequency
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 67 Fig.18 Hardware availability distribution In histograms Fig.17 and Fig.18 the tendency is easily noticeable as a normal distribution. The validation of the distribution is needed in order to be able to rely on the data output. If the results do not follow a distribution the conclusion extracted from them will not be reliable. The results outputs could follow another distribution rather than a normal one dependent on the data input. The operational availability distribution is centered on its mean 85,38% and the data output has a standard deviation of 4,77E-03. The hardware availability is centered around its mean 91,19% and the results obtained had a standard deviation of 5,10E-03. The point of performing an elevated number of iterations is to achieve a stable value for the standard deviation. The standard deviation is the parameter that will ultimately provide the error of the results. The lower this parameter gets the lower the error will be. The way to achieve this is to perform more iterations. But it will reach a point when the standard deviation no longer decreases and remains stable. 8.2 Error All the data obtained from a Montecarlo simulation contains certain error. This error must be bounded in order to reflect the random factor the simulation has in it. A level of confidence must be decided in order to provide this error. The level chosen is 90%. This level was 0 5 10 15 20 25 89,78% 89,90% 90,02% 90,14% 90,26% 90,38% 90,50% 90,62% 90,74% 90,86% 90,98% 91,10% 91,22% 91,34% 91,46% 91,58% 91,70% 91,82% 91,94% 92,06% 92,18% 92,30% 92,42% 92,54% 92,66% More Hardware availability Frequency
Pag. 68 Adaptation of the Availsim software to the IFMIF RAMI requirements decided because it is the same level of confidence used in the RiskSpectrum® calculations and it was considered sufficient by the RAMI team[3]. The error that these results entail is calculated using the following formula obtained from[11] : ⁄ √ (Eq. 8) Where: is the standard error. ⁄ is the z-value of the (1-(α/2)) percentile of the standard normal distribution for the level of confidence(LOC) chosen looked up in the normal distribution tables. is the standard deviation of the samples. is the number of iterations performed. The data used to calculate the error is the one obtained from the previous 400 iteration simulation [chapter 8.1]. n LOC Mean ⁄ Oper. Avail. 400 90% 85,38E-2 16,45E-1 4,77E-03 3,93E-4 Hard. Avail. 400 90% 91,19E-2 16,45E-1 5,10E-03 4,19E-4 Table-2 Availability error Table-2 shows that the operational availability obtained from the simulation is 85,38% 0,04%. So we can assure with a 90% level of confidence that the operational availability obtained will be comprised into the interval from 85,42% to 85,34%. The same way we can assure with a 90% of confidence that the hardware availability will be between 91,24% and 91,15%. 8.3 Iterations The error has been calculated for a number of iterations. But what is interesting is to define an accepted error and calculate how many iterations would be needed to achieve that error given a certain level of confidence. The procedure to calculate the number of iterations is the reverse of calculating the error. The error is set and given a standard deviation and level of
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 69 confidence the minimum number of iterations are obtained. The standard deviation used is the one obtained from a simulation with an elevated number of iterations. The number of iterations is calculated with this formula which a transformation from the previous formula used to calculate the error [11]. ( ⁄ ) (Eq. 9) Where: is the maximum error accepted. ⁄ is the z-value of the (1-(α/2)) percentile of the standard normal distribution for the level of confidence(LOC) chosen looked up in the normal distribution tables. is the standard deviation of the samples. is the minimum number of iterations obtained. Using the obtained from the 400 iteration simulation and the previous formula the number of iterations required for a specified maximum error can be estimated. The error accepted as maximum was 1E-3. LOC ⁄ n Oper. Avail. 90% 0,001 16,45E-1 4,77E-03 62 Hard. Avail. 90% 0,001 16,45E-1 5,10E-03 71 Table-3 Number of iterations required Therefore at least 71 iterations would be needed to achieve an error no larger than 1E-3. In the end this result is more of an indicative value than an absolute one. The reason is that the standard deviation used to calculate the number of iterations comes from a 400 iteration simulation. So the standard deviation could be higher for 71 iterations than for 400 iterations. For that reason 80 iterations are chosen as enough repetitions to obtain reliable data. 8.4 Validation of the simulation After choosing a number of iterations there is the need to validate that the simulation meets the required precision. For this reason 2 checks must be performed. Firstly the results must
Pag. 70 Adaptation of the Availsim software to the IFMIF RAMI requirements meet the level of confidence established. Secondly the error obtained must be equal or inferior to the one selected. 8.4.1 Confidence interval The 90% level of confidence was chosen previously in order to obtain the same precision obtained with RiskSpectrum® results. After performing the simulation with 80 iterations the results must be checked in order to validate they meet the level of confidence. To do so the confidence interval must be calculated. The interval is calculated using the following formula extracted from [11]. ⁄ √ (Eq. 10) Where: is the average of the availability is the confidence. ⁄ is the z-value of the (1-(α/2)) percentile of the standard normal distribution for a 90% level of confidence. is the standard deviation of the samples. is the number of iterations performed in this case 80. These are the confidence intervals obtained: n LOC Mean ⁄ Oper. Avail. 80 90% 0,86 16,45E-1 4,76E-03 7,88E-3 Hard. Avail. 80 90% 91,86E-2 16,45E-1 5,08E-03 8,41E-3 Table-4 Confidence intervals So taking the results into consideration one has to be able to assure with a 90% of confidence that all the values obtained from the iterations are contained into the confidence interval. The confidence interval for the operation availability is [85,21% 86,78%]. While the confidence interval for the hardware availability is [91,02% 92,70%]. It must be checked that
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 71 from the 80 samples obtained from the simulation for each parameter, at least 90% of them are included into the calculated interval. For both the operation and hardware availability there are 7 samples outside the confidence interval. For an 80 iteration simulation that means 91,25% of the samples belong into the interval. This meets the requirement of 90% confidence so the results of the simulation are accepted. 8.4.2 Error Once the confidence interval has been checked the error must be calculated for each value following the same procedure explained in [chapter 8.2]. n LOC Mean ⁄ Oper. Avail. 80 90% 0,86 16,45E-1 4,76E-03 8,76E-4 Hard. Avail. 80 90% 91,86E-2 16,45E-1 5,08E-03 9,35E-4 Table-4 Error for 80 iterations In both cases can be observe that the error doesn‟t surpass the maximum specified in [chapter 8.3], that was of 1E-3. Therefore 80 simulations have been proven enough to satisfy both the confidence level desired and the maximum error accepted.
Pag. 72 Adaptation of the Availsim software to the IFMIF RAMI requirements 9 Results of the simulation Once the results of the previous 80 iterations simulation have been validated as reliable they must be analyzed. These results were obtained using the last set of data for the IFMIF design. The simulation at hand has been validated in [chapter 8] and 80 iterations have been performed. 9.1 Availability The first result to be analyzed is the availability. Availsim provides the availability for every facility involved. In IFMIF case it simulates 2 parallel accelerators called facility 1 and facility 2. Since each accelerator provides 50% of the beam availability the global availability of the accelerator is calculated using [Eq.3]: Table-5 Availability results facility Up hours Down hours scheduled maitenance hours operational availability(%) hardware availability(%) 1 224655,62 21394,74 16750,63 85,49 91,30 2 227351,64 18663,02 16786,33 86,51 92,41 Global 86,00 8,76E-4 91,86 9,35E-4
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 73 Fig.19 Availability results Other data for the facilities is displayed. facility Access hours Extended down hours Down hours used for sched. maint. Vault accesses 1 10939,32 564,52 547,27 126,50 2 8328,96 652,86 425,12 119,23 Table-6 additional results Access hours are the average amount of time the vault has been in access due to repairs. The extended repair hours are amount of time the maintenance periods (scheduled and nonscheduled) have been extended in order to perform more repairs during the accelerator operation time. The down hours used for scheduled maintenance is an interesting informative value. It‟s the time that has been saved due performing scheduled maintenance during a nonscheduled one. So effectively 547 h and 425 h of down time have been saved for facility 1 and 2 respectively. That equals to a net hardware availability profit of 0,22% for facility 1 and 0,17% for facility 2. 86% 8% 6% Availability uphours downhours scheduled maitenance hours
Pag. 80 Adaptation of the Availsim software to the IFMIF RAMI requirements Fig.18 Intensity progression In fig. 18, the progression and treatment of the intensity by AvailSim can be observed. Initially the intensity has its design value of 125mA. There is a failure in the frequency tuning system of a cavity in the cryomodule 4, which would bring the intensity down to 123.325mA. But this is not enough degradation to bring down the accelerator. A second frequency tuning system in cryomodule 4 fails and applies further degradation bringing the intensity down to 121.65mA. It is still good enough to continue operation. In the next event, there is a failure in a cavity from cryomodule 2 which degrades the intensity down to 112.96mA. AvailSim has to check if it will be more profitable to stop the accelerator and perform the needed repairs in order to bring the intensity back to 125mA instead of maintaining operation with this amount of degradation. The average intensity without performing repairs is the actual intensity value 112.96mA. The average intensity that includes stopping the accelerator and performing repairs is 118.25mA. But if the „x‟ parameter is applied the average intensity required to perform the repairs has to be above 124,86mA. So degraded operation continues. In the following event, a solenoid from cryomodule 1 fails and intensity is further degraded down to 101,52mA. AvailSim checks again if repairs are to be performed. The average intensity without repairs including the extra 10% would be 111,7mA. The average intensity
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 81 obtained by performing repairs would be 114mA. So, repairs are scheduled and the intensity is brought back to its design value 125mA. During the operation the accelerator has suffered numerous shut downs. Although, as can be seen in the figure, the longest down period of the facility (in the time lapse exposed) is the one needed to repair the intensity output. That is why too many stops to improve the intensity output take a heavy toll on the hardware availability. The average value for each parameter is calculated only when the facility is operating. Since the Intensity is the parameter that defines the beam effectiveness for each facility the results are exposed in table-12. Facility Beam effectiveness(%) 1 95,90 0,12 2 93,30 0,17 total 94,68 0,15 Table-12 Beam effectiveness 9.2.2 Energy It is also interesting to observe the value of the energy. Although the design energy output is 40 MeV, the accelerator is able to provide an extra 1 MeV of energy output. Since this extra energy will be used only if the energy value is below 40 MeV a new functions was added. Energy overhead is the function that reflects the extra energy the accelerator can provide. So to obtain the average operation value of the energy the value of the energy overhead must be deducted from the value of the energy function. Facility Average operational Energy (MeV) Average Energy overhead (MeV) Average real energy (MeV) 1 40,59 0,64 39,95 2 40,48 0,62 39,85 Table-13 energy value
Pag. 82 Adaptation of the Availsim software to the IFMIF RAMI requirements Fig.19 energy progression The figure above shows the energy output progression during the same time of operation as figure 19. When the frequency tuning in cryomodule 4 fails the consequent degradation is absorbed by the energy overhead. The energy stays at 40 MeV and the accelerator continues operation. There is another failure in a frequency tuning system from the same cryomodule and further degradation is applied. This degradation cannot be fully absorbed by the energy overhead but it is attenuated and brings down the energy value to 39.83 MeV. A new failure in cryomodule 2 increases the amount of degradation. However, the full energy overhead is being used and cannot attenuate the new degradation. The energy output is brought down to 39.55 MeV, which is more than the limit of 38 MeV. The accelerator continues to operate degraded until it is shut down to perform the repairs to improve the intensity output. After the repairs, the energy and energy overhead are both brought to their design values of 40 MeV and 1 MeV respectively. 9.3 Beam availability The beam availability is the value this study was designed to calculate. It is the parameter that relates the availability of the accelerator with its performance. It is calculated by the following expression Eq. 4.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 83 Where is the hardware availability, is the Beam effectiveness and is the beam availability. The results obtained are: Facility HA(%) BE(%) BA(%) 1 91,30 0,14 95,90 0,12 87,57 0,23 2 92,41 0,10 93,30 0,17 86,22 0,25 Table-14 Beam availability Since each facility contributes 50% to the beam output of the accelerator the global beam effectiveness for IFMIF is: (Eq. 11) Trips were not included in this calculation. The RAMI team performed an estimation of the availability loss for each accelerator due the trips. The result obtained was a loss of 2,5% beam availability[12]. The final result of the beam availability is: BA (%) Availability loss due trips (%) BAfinal (%) 97,5 Table-15 Final beam availability It is interesting to compare these results performing the same simulation without the restriction of maximizing the energy output. The results are the following: HA(%) BE(%) BA(%) BAfinal (%) 92,50 86,25 79,78 77,79 Table-16 Final beam availability without maximizing energy output
Pag. 84 Adaptation of the Availsim software to the IFMIF RAMI requirements As can be observed despite the hardware availability being superior the beam effectiveness decreases drastically. For this reason the beam effectiveness without maximizing the energy input is inferior. From this can be deduced that while trying to reach a higher intensity output may lead to inferior hardware availability it will improve the beam effectiveness in the end. 9.4 Other results Besides the data required to perform the calculation of the beam availability Availsim provides other information with more or less utility depending on the precision used in the inputs. 9.4.1 Manpower If the data input on the number of manpower required for each repair is accurate, Availsim provides the maximum number of workers ever needed for one nonscheduled down time. This allows the planning of personnel in order to be able deal with the needed repairs and not extending down times due to the lack of manpower. In this simulation case the maximum number of workers ever needed for a repair was 9. It can be interesting the check the distribution of the manpower during the operation time. Due to the heavy need of resources that would be needed to check the manpower required in every downtime for all iteration at once this can only be done with a single iteration as a time. For this reason the analysis lacks the statistical reliability to obtain reliable results. Nevertheless it is still interesting to observe the manpower used evolution. Fig.20 Manpower progression 0 1 2 3 4 5 6 7 8 9 10 0 50000 100000 150000 200000 250000
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 85 Another simulation was done this time setting the number of personnel available to 4. It was chosen 4 because this is the manpower used for the event with the highest personnel requirement in the model. Any number inferior to 4 would mean that in the event of a failure of this component there would never be enough people to repair it thus remaining broken for the entire simulation. Fig.21 Manpower progression with limited personnel As can be observed Availsim respects the limitation and never are used more workers than 4. Looking at the availability results we can observe that the manpower limitation has effectively decreased the availability of the accelerator. Simulation Hardware availability(facility 1) Without manpower restriction 91,30 Minimum manpower available 90,80 Table-17 Effect of limited manpower on the hardware availability Although it hasn‟t decreased in a great measure is still noticeable and interesting to see. It is important to remember that the scheduled maintenance periods are not affected by manpower restrictions. 9.4.2 Vault access Availsim counts the number of time the vault has been accessed and how much time did the repairs in the vault last. 0 0,5 1 1,5 2 2,5 3 3,5 4 4,5 0 50000 100000 150000 200000 250000
Pag. 86 Adaptation of the Availsim software to the IFMIF RAMI requirements facility hours spent in access proportion of downtime used in access times the vault has been accessed average hour spent per access 1 10939,32 51,13% 126,50 86,48 2 8328,96 44,63% 119,24 69,85 Table-18 Vault accesses It can be observed that even though the facilities‟ vaults have been accessed a similar number of times, the repairs of facility 2 required 24% more time. Both facilities have used almost half or more than half of their downtime performing repairs in the vault. That means the vault will be accessed not only frequently but during long periods.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 87 10 Software validation In order to offer credibility on the results obtained from software the software itself must be tested first. Due to the amount of changes introduced to Availsim a new benchmarking test is needed. Due to the unique nature of Availsim is not possible to compare its entire features with other software. For this reason only the basic features were tested by these means. The program used to compare the results was RiskSpectrum®. It was chosen because it is the professional software used by the RAMI team. 10.1 Basic simulation test The first stage of the benchmarking process consisted in performing an availability analysis of a system model using RiskSpectrum® and Availsim. The reason one system is chosen instead the whole accelerator facility is dues to the differences previously explained in maintenance, degraded operation and failure management between the software tools. For this reason the following test is devised to check if the basic core of the simulation works properly after being altered in order to introduce the new features. The chosen system analyze was the water cooling system belonging to the RFQ. The Availsim simulation was performed under the following parameters: The operation time of the simulation was set to 30 years in order to provide enough room to allow the most reliable components to fail. No degraded operation is allowed. Every event provokes the shutdown of the system and must be repaired. Two scheduled maintenance periods programmed per year. A short one scheduled at 6 moths with duration of 3 days. A long one scheduled at the end of the year with duration of 20 days. No possibility of using nonscheduled down time to perform repairs or maintenance programmed for scheduled maintenance periods. The 0.2 factor to extend down times in order to reflect events that are ignored during that down time is canceled. The extension factor is used on systems with a large number of events (approximately 17300 events in the case of IFMIF). However the water cooling system contains only 33 events and the probability of an event happening when another one is being repaired is extremely low.
Pag. 88 Adaptation of the Availsim software to the IFMIF RAMI requirements The simulation is composed of 1000 iterations. The results of the Availsim simulation and the RiskSpectrum® analysis are the following. Software Mean (%) 5% (%) 95% (%) RiskSpectrum® 998,26E-01 999,71E-01 994,97E-01 Availsim 998,27E-01 998,29E-01 998,26E-01 Table-19 Availsim and RiskSpectrum® results comparison The difference between the two means is 1,40E-3 %. The entire range of the Availsim availability results fits into the error range of the RiskSpectrum® results. Once the Availability results have been checked the event unavailability output must me checked. The following table displays the events of the system sorted in a descending unavailability contribution order for both Availsim and RiskSpectrum®. Availsim RiskSpectrum® 1RGWWSKG 1RGWWSKG 1RGWCWRG 1RGWCWRG 1RGWCFMG 1RGWCFMG 1RGWWMVG 1RGWWMVG 1RGWWW3G 1RGWWW3G 1RGWWTWG 1RGWWTWG 1RGWWHXG 1RGWWPWG 1RGWWPWG 1RGWWHXG 1RGWWRBG 1RGWWRBG 1RGWWVPC 1RGWWVPC 1RGWCTHG 1RGWCTHG Table-20 Availsim and RiskSpectrum® events comparison As can be observed the order is the same for both Availsim and RiskSpectrum® except in one case. In Availsim the events 1RGWWHXG appear before 1RGWWPWG. In RiskSpectrum® it is the opposite case. The reason is from 1RGWWHXG to the end none of the events causes any amount of down hours in Availsim. This is due to RiskSpectrum® dealing with probabilities while Availsim dealing with real down hours. If an event has an extremely low chance to fail, it will be reflected on RiskSpectrum®. But Availsim may never see that component fail, and for that reason it does not provoke any down hours.
Adaptation of the Availsim software to the IFMIF RAMI requirements Pag. 89 10.2 Enhanced features verification The very reason of this project was to adapt an already unique software and enhance some of its features. For this reason in order to test the new features introduced there was none other software to compare to. For this reason the verification that Availsim performed correctly was to be done by other means. This was done thought the log file of Availsim called history [appendix 1.3.6]. The log contains every action performed during one iteration. So by checking the events and observing how the software responds to them the performance of the simulation can be evaluated. This procedure has limitations though. Firstly the log can only be obtained from one iteration at a time. Meaning that if there is a bug and does not appear in that iteration it will not be detected. Another evident downfall of this methodology is that it takes time because is done by visual observation. 10.3 Comparison of IFMIF availability results It is interesting to compare the results of the Availasim simulation with the results obtained from the RiskSpectrum® calculation using the same set of input data[12]. Software Hardware availability Beam effectiveness Beam availability AvailSim 91,86% 94.68% 84,95% RiskSpectrum® 91.57% 88.73% 81.25% Requirement 91.10% 95.55% 87.00% Table-20 Availsim and RiskSpectrum® beam availability comparison As can be observed the Beam availability for Availsim is significantly superior than the one obtained from RiskSpectrum®. It is a logical outcome taking into consideration that Availsim allows maintenance management, multiple simultaneous repairs and degraded operation which are aimed to improve the availability and beam effectiveness.
Pag. 96 Adaptation of the Availsim software to the IFMIF RAMI requirements