Reliability Phase Diagrams (RPDs)

= Introduction to Reliability Phase Diagrams =

The term phase diagram is used in many disciplines with different meanings. In physical chemistry, mineralogy and materials science, a phase diagram is a type of graph used to show the equilibrium conditions among the thermodynamically-distinct phases. In mathematics and physics, a phase diagram is used as a synonym for a phase space. In reliability engineering we introduce the term phase diagram, or more specifically Reliability Phase Diagram or RPD as an extension of the reliability block diagram (RBD) approach to graphically describe the sequence of different operational and/or maintenance phases experienced by a system. Whereas a reliability block diagram (RBD) is used to analyze the reliability of a system with a fixed configuration, a phase diagram can be used to represent/analyze a system whose reliability configuration and/or other properties change over time. In other words, during a mission the system may undergo changes in its reliability configuration (RBD), available resources or the failure, maintenance and/or throughput properties of its individual components. Examples of this include:


 * Systems whose components exhibit different failure distributions depending on changes in the stress on the system.
 * Systems or processes requiring different equipment to function over a cycle, such as start-up, normal production, shut-down, scheduled maintenance, etc.
 * Systems whose RBD configuration changes at different times, such as the RBD of the engine configuration on a four-engine aircraft during taxi, take-off, cruising, and landing.
 * Systems with different types of machinery operating during day and night shifts and with different amounts of throughput during each shift.

To analyze such systems, each stage during the mission can be represented by a phase whose properties are inherited from an RBD corresponding to that phase's reliability configuration, along with any associated resources of the system during that time. A phase diagram is then a series of such phases drawn (connected) in a sequence signifying a chronological order. To better illustrate this, consider the four-engine aircraft mentioned previously. Assume that when a critical failure (system failure) occurs during taxiing, the airplane does not take off and is sent for maintenance instead. However, when a critical failure occurs during take-off, cruising, landing, the system is assumed to be lost. Furthermore, assume that the taxi phase requires only one engine, the take-off phase requires all four engines, the cruising phase requires any three of the four engines and the landing phase requires any two of the four engines. To model this, each one of these cases would require a different k-out-of-n redundancy on the engines and thus a different RBD. Creating an RBD for each phase is trivial. However, what you need is a way to transition from one RBD to the next, in a specified sequence, while maintaining all the past history of each component during the transition.

In other words, a new engine would transition to the take-off phase with an age equal to the time it was used during taxi, or an engine that failed while in flight would remain failed in the next phase (i.e., landing). To model this, a block for each phase would be used in the phase diagram, and each phase block would be linked to the appropriate RBD. This is illustrated in the figure below. In this figure, the taxiing, take-off, cruising and landing blocks represent the operational phases and the final block is a maintenance phase. Each of the operational phases in this diagram has two paths leading from it: a success path and a failure path. This graphically illustrates the consequences in each case. For instance, if the first taxiing phase is successful, the airplane will proceed to the take-off phase; if it is unsuccessful, the airplane will be sent for maintenance. The failure paths for the take-off, cruising and landing phases point to stop blocks, which indicate that the simulation of the mission ends. For the final taxiing phase, both the success and failure paths lead to the maintenance path; the node block allows you to model this type of shared outcome.

The next several sections discuss different types of phase blocks: operational phase blocks, maintenance phase blocks, subdiagram phase blocks, node blocks and stop blocks.



= Types of Phases =

Operational Phase
In RPDs, two types of phases are used: operational phases and maintenance phases. An operational phase is used to represent any stage of the system's mission that is not exclusively dedicated to the execution of maintenance tasks. Operational phases are always defined by (linked to) an RBD. Each operational phase has a fixed, predefined time duration.

Maintenance Phase
A maintenance phase represents the portion of a system's mission time where the system is down and maintenance actions are performed on some or all of its components. For representation ease a maintenance phase is defined by (linked to) a maintenance template. This template can be thought of as a list, or a collection, of the specific components (blocks) that are designated to undergo inspection, repair or replacement actions during the maintenance phase, along with their maintenance priority order. In other words, if blocks A, B and C are to undergo maintenance during a specific phase, they are placed in a maintenance template in a priority sequence. Depending on the resources available, the actions are prioritized as resources permit. That is, if three repair crews were available along with three spare parts, actions on A, B and C would be carried out simultaneously. However, if only one crew was available, the actions would be carried out based on the priority order defined in the template. Given that all aspects of maintenance can be probabilistically defined, the duration of a maintenance phase, unlike an operational phase, is not fixed and the phase lasts as long as it takes to complete all actions specified in the phase. To illustrate this, consider a race car that competes in two races, and even though corrective repair actions can be done during each race as needed, the race car then undergoes a major overhaul (i.e., series of maintenance actions). For this example assume the major sub-systems of the car undergoing these maintenance tasks are the engine, the transmission, the suspension system and the tires. The operation of the race car can then be represented as a phase diagram consisting of two operational phases, representing the two races, and one maintenance phase representing the maintenance activities.

The figure above shows such a phase diagram along with the maintenance template.

= The Success and Failure Path =

For a failure path, on system failure, the system goes to somewhere immediately when the failure occurs. For a success path, if there is no system failure during this phase, the system goes to somewhere by the end of the current phase.

In BlockSim 7, there was only one path from each phase. The failure outcome for each phase was defined via a drop-down list. The success and failure paths used in BlockSim 8 make it easy to see what will happen upon success or failure for each block. They also allow you to create more complex phase diagrams, in which success and failure may lead to entirely different sets of phases. In addition, they offer an additional possible outcome of failure. Previously, the outcome of failure could be maintenance, stopping the simulation or continuing the simulation; now another possible outcome of failure can be continuing simulation on a different path.

Examples
Consider a system whose RBDs for Phase 1 and Phase 2 are as shown in figure below:

In Phase 1, Block A follows Weibull distribution with Beta = 1.5 and Eta = 1000 hours. Block B follows Weibull distribution with Beta = 1.5 and Eta = 1200 hours. No maintenance.

In Phase 2, Block A follows Weibull distribution with Beta = 1.5 and Eta = 900 hours. Block B follows Weibull distribution with Beta = 1.5 and Eta = 1150 hours. No maintenance.

Example 1
The phase diagram is shown in the figure below:

Maintenance phase has a CM with duration 80 hours and PM with duration 20 hours for both Block A and B.

Phase 1 has duration 100 hours and Phase 2 has duration 500 hours.

If there is no failure in Phase 1, upon finish, it goes to Phase 2. If there is a failure in Phase 1, it would go to Maintenance Phase 3 immediately. If there is no failure in Phase 2, upon finish, it goes back to Phase 1. If there is a failure in Phase 2, it would go to Maintenance Phase 3 immediately.

The Block Up/Down plot is shown in the figure below:


 * 1) At the first cycle (0-100 hours for Phase 1 and 200-600 hours for Phase 2), there is no failure, thus after Phase 2, Phase 1 is executed (back to Phase 1 after this cycle).
 * 2) At 616 hours (Phase 1 of the second cycle), Block A fails. The system doesn't enter Maintenance Phase 3 immediately because in Phase 1, Block A and Block B are parallel. Failure of only Block A does not bring the system down.
 * 3) At 700 hours, after Phase 1, the system goes into Phase 2. In Phase 2, the failure of Block A (passed from Phase 1) brings the system down because in Phase 2, Block A is in series with Block B. Thus the system goes into Maintenance Phase 3 immediately. Block B is not down, thus it gets PM with duration 20 hours. Block A gets CM with duration 100 hours.
 * 4) At 1669 hours, Block A fails in Phase 2, which brings down the system and the system goes into Maintenance Phase 3 immediately. Block A gets CM and Block B gets PM.



Example 2
The phase diagram is shown in the figure below.

Everything is the same as in Example 1 except that the path from Phase 2 to Maintenance Phase 3 changes from a failure path to a success path. This means that whether or not there is a failure in Phase 2, the system would go to Maintenance Phase 3 after Phase 2. But if there is a failure in Phase 2, the system would go to Maintenance Phase 3 after Phase 2, not immediately.

The Block Up/Down plot is shown in the figure below:


 * 1) At 219 hours, Block A fails in Phase 2. This failure brings the system down. However, since the path from Phase 2 to Maintenance Phase 3 is a success path, the system doesn't go into Maintenance Phase 3 immediately. Instead, it goes into Maintenance Phase 3 after Phase 2 ends. Block A gets CM and Block B gets PM in the maintenance phase.
 * 2) At 1934 hours, Block B fails in Phase 1. This failure doesn't bring the system down because in Phase 1, the system is in parallel structure. After Phase 1, the system goes into Phase 2 and the failure of Block B brings they system down in Phase 2. However, the system doesn't go into Maintenance Phase 3 immediately because the path between them is a success path. The system goes into Maintenance Phase 3 after Phase 2 ends, and Block B gets CM and Block A gets PM there.[[Image:Phase Up Down plot for Example 2.png|center|500px]]

= Node Blocks and Stop Blocks =

In BlockSim 8, the two possible outcomes of an operational phase block are modeled using success and failure paths. Where previously a failure outcome was defined as part of the operational phase block's properties, it is now graphically represented within the diagram. Node blocks and stop blocks are provided in version 8 to allow you to build configurations that are both accurate and readable.

Node Blocks
The purpose of a node block is simply to enable configurations that would otherwise not be possible due to limitations on connecting blocks. For example, consider an instance where maintenance is scheduled to be performed after the operational phase has completed successfully, and if a failure occurs during simulation, that maintenance will take place upon failure. In this case, the operational phase block's success and failure outcomes are identical. Success paths and failure paths cannot be identical in phase diagrams, however, so you would model this configuration in one of two ways:


 * If the operational phase stops upon failure of the block and the simulation moves to the next phase along the success path, you would use a node block to model this configuration, as shown next.




 * If the operational phase continues for the specified duration despite failure and the simulation then moves to the next phase along the success path, you would simply not create a failure path.
 * If there is only one path, the success path observed for a phase, then on system failure at this phase, the "continue simulation" rule of BlockSim 7 applies. Under "continue simulation," when a system failure occurs, repairs begin as per the repair policy selected and the time to restore the system is part of the operational phase's time. In other words, the repairs continue in the operational phase until the system is up again. If the repairs are not completed before the phase ends, the repairs continue into the next phase. Thus, under this rule the duration of an operational phase is not affected by a system failure. As an example of this rule, consider a production line operating in two phases: a day shift and a night shift. A failure occurs in the day shift that renders the production line non-operational. Repair of the production line begins immediately and continues beyond the day shift. The production line is back up after midnight. In this case, the repair of the production line exhausts all of the duration of the day shift phase from the time of the failure to the end of the phase. Some part of the night shift phase is also exhausted.

Node blocks can have unlimited incoming connections and a single outgoing connection.

Stop Blocks
Stop blocks indicate that the simulation of the mission ends. A new simulation may then begin, if applicable. This is useful in situations where maintenance is not possible upon failure. Stop blocks can have unlimited incoming connections. No outgoing connections can be defined for stop blocks.

When a path leads to a stop node, it is the same as the option "Start New Simulation" in BlockSim 7, which would halt the simulation and effectively means the end of the mission if the system fails. Specifically, if a failure path leads to a stop node the execution of the current operational phase and all phases that follow the current phase is halted, and the mission aborted. The stop node can be used to model a system whose failure cannot be repaired and the mission has to be aborted if a failure occurs. A good example of this would be the aircraft case discussed previously. A catastrophic failure during cruising would end the mission.

= Subdiagram Phase Blocks =

Subdiagram phase blocks represent other phase diagrams within the project. Using subdiagram phase blocks allows you to incorporate phase diagrams as phases within other phase diagrams. This allows you to break down extremely complex configurations into smaller diagrams, increasing understandability and ease of use and avoiding unnecessary repetition of elements.

Subdiagram phase blocks can have unlimited incoming connections and up to two outgoing connections, which may include one success path and one failure path. The success path and the failure path must be different; if both success and failure of the block actually lead to the same outcome, you can use a node block to model this configuration.

Example
Consider a server that has two shifts each day, a day shift lasting 8 hours and a night shift lasting 16 hours. Within each shift, it has a peak period and an off-peak period with different durations.

The RBDs for the Peak phase and the Off-Peak phase are shown in the figure below.

The phase diagrams for Night Shift and Day Shift are shown in the figure below.

The main phase diagram with phase subdiagram blocks is shown in the figure below.

During the Peak phase, the reliability of Block A follows W(1.5,30) and the reliability of Block B follows W(1.5,40). During the Off-Peak phase, the reliability of Block A follows W(1.5,15) and the reliability of Block B follows W(1.5,20). In the Day Shift diagram, both blocks have CM and PM with duration = 1 hour; in the Night Shift diagram, both blocks have CM and PM with duration = 2 hours. In the Day Shift diagram, the duration of the Off-Peak phase is 4 hours and the duration of the Peak phase is 3 hours. In the Night Shift diagram, the duration of the Off-Peak phase is 8 hours and the duration of the Peak phase is 6 hours.

The system log for 2 days (48 hours) is shown in the figure below.


 * 1) At 5.4 hours, in the Peak phase of the Day Shift diagram, Block A fails. After this Peak phase, Block A gets CM and Block B gets PM in the maintenance phase.
 * 2) At 19.9 hours, in the Peak phase of the Night Shift diagram, Block A fails again. After this Peak phase, Block A gets CM and Block B gets PM in the maintenance phase.
 * 3) At 40.6 hours, in the Peak phase of the Night Shift diagram, Block A fails again. After this Peak phase, Block A gets CM and Block B gets PM in the maintenance phase.



= Cycles and Phase Diagram Execution =

The execution of a phase diagram from its first phase to its last phase is referred to as one cycle. If the simulation end time exceeds the total duration of one cycle of a phase diagram, the simulation continues and the phase diagram is executed multiple times until the simulation end time is reached. Execution of a phase diagram multiple times during a simulation is referred to as cycling. During cycling, the age of components accumulated in the last phase of the previous cycle is carried over to the first phase of the next cycle. The principle of cumulative damage is used to transfer the age across phases for each component (block). For more discussion on this see Age Transfer Across Phases Using Cumulative Damage later on in this chapter. In summary, cycling is used to model the continuous operation of a system involving repetition of the same phases in the same sequence.

= Working with Phase Diagrams =

To allow modeling flexibility, a number of options can be specified for both operational and maintenance phases. These options, called Phase Properties, are shown in the first figure below for an operational phase and in the second figure below for a maintenance phase. These properties are discussed in more detail in the sections that follow. An additional property, Phase Throughput, also defined as an operational phase property, is discussed in Phase Throughput.

= Operational Phase Properties =

Diagram
The diagram property is used to associate an RBD with a phase. You can select and associate any existing simulation RBD with a phase. Note that common components across different RBDs are identified by name. In other words, a component with the exact same name in two RBDs is assumed to be the same component working in two different phases.

Phase Duration
The duration of an operational phase is fixed and needs to be specified. However, this duration may be affected by the choice of path you choose followed by this phase. If a failure has not occurred by the end of the specified phase duration, the simulation will proceed along the success path leading from the phase block. If a failure occurs, the simulation will proceed along the failure path leading from the phase block.

Phase Duty Cycle
This property allows you to specify a common duty cycle value for the entire RBD that the phase represents, thereby modeling situations where the actual usage of the RBD during system operation is not identical to the usage for which you have data (either from testing or from the field). This can include situations where the item:


 * Does not operate continuously (e.g., a DVD drive that was tested in continuous operation, but in actual use within a computer accumulates only 18 minutes of usage for every hour the computer operates).
 * Is subjected to loads that are greater than or less than the rated loads (e.g., a motor that is rated to operate at 1,000 rpm but is being used at 800 rpm).
 * Is affected by changes in environmental stress (e.g., a laptop computer that is typically used indoors at room temperature, but is being used outdoors in tropical conditions).

In these cases, continuous operation at the rated load is considered to be a duty cycle of 1. Any other level of usage is expressed as a percentage of the rated load value or operating time. For example, consider the DVD drive mentioned above; its duty cycle value would be 18 min / 60 min = 0.3. A duty cycle value higher than 1 indicates a load in excess of the rated value.

If a duty cycle is specified for the phase and there are also duty cycles specified for blocks within the RBD, their effects are compounded. For instance, consider the aircraft example given earlier. During the take-off phase, the subsystems experience 1.5 times the normal stress, so you would use a phase duty cycle value of 1.5. We also know that the landing gear is not used continuously during take-off. Assume that the landing gear is actually in use only 30% of the time during take-off. Each landing gear block in the RBD, then, would have a duty cycle value of 0.3. For each block, the effects of the phase duty cycle and the block duty cycle are compounded, yielding an effective duty cycle value of 1.5 x 0.3 = 0.45.

= Rules &amp; Assumptions =

Rules &amp; Assumptions When Transferring Interrupted Maintenances Across Phases
Maintenance tasks in progress during one operational phase can be interrupted if that phase ends before the repair is completed. For example, a crew delay or spare parts order may extend the duration of a repair beyond the duration of the phase. As described next, the software handles these interruptions differently, based on the stage in which the repair was interrupted and whether or not the failed block is present in the next contiguous phase.


 * 1. If a phase ends during the repair of a failed block and the block is present in the next contiguous phase:
 * a) If the same task is present in both phases, then the task will continue as-is in the next phase. This is considered an uninterrupted event, and counts as a single unique event at both the block and the system level.
 * b) If the interrupted task is not used in the next phase, then the task is cancelled and new tasks are applied as needed. In this case, all crew calls are cancelled and spare parts are restocked.
 * 1) If the repair has started or the crew is delayed (crew logistic delay), the call will be assumed accepted and the component will be charged for it. If the crew was occupied with another component’s repair, the call will be assumed rejected and hence not charged to the component.
 * 2) If the call for spare parts incurred emergency charges, those are charged to the block; otherwise, there are no other charges to the block.


 * 2. If a phase ends during the repair of a failed block and the block is not present in the next contiguous phase, then the task is cancelled and new tasks are applied as needed. All crew calls are cancelled and spare parts are restocked:
 * a) If the repair has started or the crew is delayed (crew logistic delay), the call will be assumed accepted and the component will be charged for it. If the crew was occupied with another component’s repair, the call will be assumed rejected and hence not charged to the component.
 * b) If the call for spare parts incurred emergency charges, those are charged to the block; otherwise, there are no other charges to the block.
 * c) Discontinuous events are counted as two distinct events at both the block and the system level.
 * d) When the system fails in a phase that has a failure path leading to a stop block, the system will remain down for the remainder of the simulation. From that point on, the blocks that are down are assumed unavailable and the blocks that are up are assumed operational for availability calculations.

Rules &amp; Assumptions for Stop Blocks
When a system failure occurs in a phase where the failure path points to a stop block, the simulation is aborted. Once this failure occurs, the following assumptions apply to the results:


 * • Components that are under repair or maintenance remain down and unavailable for the rest of the simulation.
 * • Components that are operating remain up for the rest of the simulation.

Rules &amp; Assumptions for a Maintenance Phase
A system is considered down and unavailable during the execution of a maintenance phase and remains down until all components have been repaired or maintained according to the properties specified for the maintenance phase. A maintenance phase is executed when the simulation reaches the phase while progressing through the phase diagram, either following a success path or a failure path. The following assumptions apply to both cases.


 * 1. When a component enters a maintenance phase in a down state, the following rules apply:
 * a) If a task is in progress for this component, the event will transfer to the maintenance phase provided that the same task is present in the maintenance phase. The rules for interrupted tasks apply as noted above.
 * b) If the component is failed but no corrective maintenance is in progress (either because the component was non-repairable in the phase where it failed or because it had a task scheduled to be executed upon inspection and was waiting for an inspection), a repair is initiated according to the corrective maintenance properties specified for the component in the maintenance phase.
 * c) Failed components are fixed in the order in which they failed.
 * 2. When a component enters a maintenance phase in an operating state, the following rules apply:
 * a) Maintenance will be scheduled as follows:
 * 1) Tasks based on intervals or upon start of a maintenance phase
 * 2) Tasks based on events in a maintenance group, where the triggering event applies to a block
 * 3) Tasks based on system down
 * 4) Tasks based on events in a maintenance group, where the triggering event applies to a subdiagram
 * Within these categories, order is determined according to the priorities specified in the maintenance template (i.e., the higher the task is on the list, the higher the priority).


 * b) An inspection or preventive task may be initiated, if applicable, with inspections taking precedence over preventive tasks. Inspections and/or preventive tasks are initiated if one of the following applies:
 * 1) Upon certain events:
 * a) The task is set to be performed when a maintenance phase starts.
 * b) The policy is set to be performed based on events in a maintenance group and one of those events occurs within the one of the specified maintenance groups. Note that such a triggered maintenance does not follow the priorities specified in the maintenance template, but is sent to the end of the queue for repair.
 * c) The task is set to be performed whenever the system is down.
 * 2) At certain intervals:
 * a) The task is set to be performed at a fixed time interval, based on either item age or calendar time, and the maintenance falls within the maintenance threshold specified in the maintenance phase.


 * If the inspection task is not set to bring either the item or the system down, the inspection will still be considered a downing inspection.

Finally, if a block enters a maintenance phase in a failed state:


 * 1. If the block does not have a corrective task in the maintenance phase but does have an on condition task, the preventive portion of the on condition task is triggered immediately in order to restore the block.
 * 2. A maintenance phase will not end until all components are restored. Therefore, if any failed block does not have a task that restores it, the maintenance phase will not end.

= Maintenance Phase Properties =

Maintenance Template
This specifies the maintenance template to be used in the currently selected maintenance phase.

Interval Maintenance Threshold
The Interval Maintenance Threshold property provides the ability to add some flexibility to the timing of scheduled maintenance tasks. In other words, tasks based on system or item age intervals (fixed or dynamic) will be performed if the start of the maintenance phase is within (1-X)% of the scheduled time for the action. It is used to specify an age interval when a maintenance task will be performed. This helps in optimizing the resources allocated to repair the system during a maintenance phase by performing preventive maintenance actions or inspections when the system is already down in a maintenance phase. For example, a preventive maintenance action is scheduled for a car (e.g., an oil change, tire rotation, etc.) every 60,000 miles, but a system downing failure of an unrelated component occurs at 55,000 miles. Here the system age threshold will determine whether the preventive maintenance will be performed earlier than scheduled. If the Interval Maintenance Threshold is 0.9, the preventive maintenance will be performed since the failure occurred after the system accumulated 91.67% of the time to the scheduled maintenance or is within 8.33%, (60,000-55,000)/60,000= 8.33%, of the system age at which the preventive maintenance was originally scheduled. If the system age threshold was 0.95, the preventive maintenance will not be performed at 55,000 miles, since the system failure did not occur within 5% of the system age at which the preventive maintenance was originally scheduled (1-0.95=0.05 or 5%).

Illustrating Interval Maintenance Threshold
To illustrate Interval Maintenance Threshold, consider the deterministic scenario represented in the first three figures below.

In this example, a system has two components: Block A and Block B. The system undertakes a mission that can be divided into two phases. The first phase is an operational phase with a duration of 1,370 hours, with both the components in a parallel configuration. In this phase Block A fails every 750 hours while Block B fails every 1,300 hours. Corrective maintenance on Block A in this phase requires 100 hours to be completed. A preventive maintenance of 20 hours duration also occurs on Block A every 500 hours. No maintenance can be carried out on Block B in this phase. The second phase of the mission is a maintenance phase. In this phase Block A has the same maintenance actions as those in the first phase. A corrective maintenance of 100 hours duration is defined for Block B. Phase 2 also has a value of 0.70 set for the Interval Maintenance Threshold. All maintenance actions during the entire mission of the system have a type II restoration factor of 1.

The system behavior from 0 to 3500 hours is shown in the last figure below and described next.


 * Phase 1 begins at time 0 hours. The duration of this phase is 1,370 hours.
 * At 500 hours, the first of the scheduled PMs for Block A begins. The duration of these maintenance tasks is 20 hours. The scheduled maintenance ends at 520 hours.
 * At 1,000 hours, another PM occurs for Block A based on the set policy. This maintenance ends at 1,020 hours.
 * At 1,300 hours, Block B fails after accumulating an age of 1,300 hours. A system failure does not occur as Block B is in a parallel configuration with Block A in this phase. Repairs for Block B are not defined in this phase. As a result Block B remains in a failed state.
 * At 1,370 hours, phase 1 ends and phase 2 begins. Phase 2 is a maintenance phase. Block B is repairable in this phase and has a CM duration of 100 hours. As a result, repairs on Block B begin and are completed at 1,470 hours. Block A has the next PM scheduled to occur at 1,500 hours.

However, phase 2 has a Interval Maintenance Threshold for Preventive and Inspection Policies of 0.7. The time remaining to the next PM is 130 hours (1,500-1,370 = 130 hours). This remaining time over the PM policy time of 500 hours is 26%. This is within 0.3 (1-0.70 = 0.3) or 30% corresponding to the threshold value of 0.70. Thus the PM task that is to occur at 1,500 hours is carried out in the maintenance phase from 1,370 hours to 1,390 hours while no PM occurs at 1,500 hours. All maintenance actions are completed by 1,470 hours and phase 2 ends at this time. This completes the first cycle of operation for the phase diagram.


 * At 1,470 hours, phase 1 begins in the second cycle.
 * At 2,000 hours, the next PM for Block A begins. This maintenance ends at 2,020 hours.
 * At 2,500 hours, another PM is carried out on Block A and is completed by 2,520 hours.
 * At 2,770 hours, Block B fails in the second cycle of phase 1 after accumulating an age of 1,300 hours. Since no repair is defined for the block in this phase, it remains in a failed state.
 * At 2,840 hours, phase 1 completes its duration of 1,370 hours and ends. Phase 2 begins in the second cycle and the corrective maintenance, defined for a duration of 100 hours for Block B, begins. This repair action ends at 2,940 hours. For Block A the time remaining until the next PM at 3,000 hours is 160 hours (3000-2840 = 160 hours). This remaining time over the PM policy of 500 hours is 32%. This is not within 30% corresponding to the threshold value of 0.70. Thus the PM due at 3,000 hours is not considered close enough to the beginning of the maintenance phase and is not carried out in this phase. At 2,940 hours, all maintenance actions are completed in phase 2 and phase 2 ends. This also completes the second cycle of operation for the phase diagram.
 * At 2,940 hours, phase 1 begins in the third cycle.
 * At 3,000 hours, the scheduled maintenance on Block A occurs. This PM ends at 3,020 hours.
 * At 3,500 hours, the simulation ends.









= Phase Throughput =

Phase throughput is the maximum number of items that a system can process during a particular phase. It is defined at the phase level as a phase property in an operational phase. For a detailed discussion of throughput at the block level see Chapter 9. Phase throughput can be thought of as the initial throughput that enters the system. For example, imagine a textile factory that receives different quantities of raw materials during different seasons. These seasons could be treated as different phases. In this case a phase may be seen as sending a certain quantity of units to the first component of the system (the textile factory in this case). Depending on the capacity and availability of the factory, these units may be all processed or a backlog may accumulate.

Alternatively, phase throughput can be used as a constraint to the throughput of the system. An example would be the start up period in a processing plant. When the plant stops operating, the equipment requires a warm up period before reaching its maximum production capacity. In this case the phase throughput may be used to limit the capacity of the first component which in turn would limit the throughput of the rest of the system. Note that there is no phase-related backlog for this example. In BlockSim this can be modeled by checking the ignore backlog option (see Throughput Analysis Options - Block Settings) in the block properties window for the first component. Both constant and variable throughput can be used in a phase. The methodology used for variable throughput is discussed next, and examples using both constant and variable throughput follow.

Variable (Time-Varying) Throughput
Time-varying throughput can be specified at the phase level through the Variable Throughput property of an operational phase. Variable throughput permits modeling of scenarios where the throughput changes over time. For variable throughput three general models are available in BlockSim. Each of these models has two parameters a and b which are specified by the user. These models are discussed below:


 * 1. Linear model:
 * y = a'x + b

This model describes the change in throughput y as a linear function of time x. Throughput processed between any two points of time x1 and x2 is obtained by integration of the linear function as:


 * $$\begin{align}

\text{Linearly varying throughput}= & \mathop{}_^ydx \\ = & \mathop{}_^(ax+b)dx \\ = & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \end{align}$$


 * 2. Exponential model:
 * y = b'eundefineda'''

This model describes the change in throughput y as an exponential function of time x. Throughput processed in a period of time between any two points x1 and x2 is obtained as:


 * $$\begin{align}

\text{Exponentially varying throughput}= & \mathop{}_^ydx \\ = & \mathop{}_^b{{e}^{ax}}dx \\ = & \text{ }\frac{b}{a}({{e}^{a{{x}_{2}}}}-{{e}^{a{{x}_{1}}}}) \end{align}$$
 * 3. Power model:


 * y = b'xa

This model describes the change in throughput y as a power function of time x. Throughput processed between two points of time x1 and x2 is obtained as:


 * $$\begin{align}

\text{Power varying throughput}= & \mathop{}_^ydx \\ = & \mathop{}_^b{{x}^{a}}dx \\ = & \frac{b}{a+1}(x_{2}^{a+1}-x_{1}^{a+1}) \end{align}$$

All of the above models also have a user defined maximum throughput capacity value. Once this maximum throughput capacity value is reached, the throughput per unit time becomes constant and equal in value to the maximum throughput capacity specified by the user. In this situation the variable throughput model would then act as a constant throughput model. The above models may at first glance seem limited, when in fact they do provide ample modeling flexibility. This flexibility is achieved by using these functions as building blocks for more complex functions. As an example, a step model can be easily created by using multiple phases, each with a constant throughput. A ramp model would use phases with linearly increasing functions in conjunction with constant phases, and so forth.

Illustrating Constant Throughput
To examine throughput in phases consider a phase diagram of three phases with the respectively linked RBDs as shown in the figure below. Each phase has a duration of 10 hours and all phases are set to continue simulation upon failure. Blocks A through E process a number of items per hour as identified next to each letter (e.g., A : 10 implies that 10 units are processed per hour by block A). Similarly, each phase is marked with the constant throughput sent to the blocks in the phase (e.g., P1 : 5 implies phase P1 sends 5 units to its blocks ). For the sake of simplicity it is assumed that the blocks can never fail and that items are routed equally to each path (see Throughput Analysis Options - Block Settings). The ignore backlog option is left unchecked for all blocks in the phase diagram.

If a throughput simulation with an end time of 60 hours is run on the phase diagram, the following scenario can be observed:


 * 1. Phase P1 from 0 to 10 hours
 * a) Phase P1 sends 5 units in the first hour to block A. The capacity of A in this phase is 10 units per hour. A processes these 5 units with an excess capacity of 5 units in the first hour.
 * b) The 5 units processed by A are routed equally over the three paths to B, C and D. Each of these blocks receives 1.67 units in the first hour. The capacity of each of these blocks is 5 units per hour. Thus B, C and D each process 1.67 units with an excess capacity of 3.33 units in the first hour.
 * c) B, C and D route each of their 1.67 units to E. The capacity of E in this phase is 10 units per hour. E processes the total of 5 units with an excess capacity of 5 units in the first hour.
 * d) The above steps are repeated for the first ten hours to complete phase P1.


 * A summary result table for phase P1 is shown next.




 * 2. Phase P2 from 10 to 20 hours
 * a) Phase P2 sends 15 units in its first hour to block A. The capacity of A in this phase is changed from the previous phase and is now 6 units per hour. Thus A is able to process only 6 units while there is a backlog of 9 units per hour.
 * b) The 6 units processed by A are routed equally to B and D as C is absent in this phase. B and D get 3 units each. The capacity of each of these blocks is 5 units per hour. Thus B and D process 3 units with an excess capacity of 2 units each in the first hour of the second phase.
 * c) B and D route a total of 6 units to E. The capacity of E in this phase is 6 units per hour. Thus, E processes 6 units in the first hour of phase 2 with no excess capacity and no backlog.
 * d) The above steps are repeated for the ten hours of phase P2. At 20 hours phase P2 ends.


 * A summary result table for phase P2 is shown next.




 * 3. Phase P3 from 20 to 30 hours
 * a) Phase P3 sends 10 units in its first hour to block A. The capacity of A in this phase is now 15 units per hour. Thus A is able to process all 10 units sent by P3 and also process 5 units of the backlog from phase P2. Thus, during the first hour of phase P3, A processes 15 units that includes a backlog of 5 units. Since A is used to its full capacity excess capacity of A is zero.
 * b) The 15 units processed by A in the first hour are routed equally over three paths to B, C and D as block C is available again in this phase. B, C and D receive 5 units each. The capacity of each of these block is 5 units per hour. Thus, B, C and D process 5 units each to full capacity with no excess capacity during the first hour of the third phase.
 * c) B, C and D route each of their 5 units to E. The capacity of E in this phase is 15 units per hour. Thus, E processes 15 units in the first hour of phase P3 with no excess capacity and no backlog.
 * d) The above steps are repeated for the ten hours of phase P3. It should be noted that although some of the backlog from phase P2 gets processed in phase P3 $$(5\times 10=50$$ units from the backlog get processed ), not all 90 backlogged units are processed ( 90 − 50 = 40 units remain). The remaining units cannot be shown as backlog for phase P3 as these were generated in phase P2. To avoid confusion between backlogs of different phases in a simulation that may have a number of cycles of a phase diagram, BlockSim does not display backlog values at the individual phase level. At 30 hours, phase P3 ends. This also ends the first cycle of the phase diagram.


 * A summary result table for phase P3 is shown next.




 * 4. Phase P1 in the second cycle from 30 to 40 hours
 * a) As in the first cycle phase P1 sends 5 units to block A in the first hour. The capacity of A in this phase is 10 units per hour. Thus A is able to process all 5 units sent by P1 and also process 5 units of the backlog from the first cycle. Thus, during the first hour of the second cycle of phase P1, A processes 10 units that includes a backlog of 5 units. Since there is a backlog of 40 units from the first cycle, this is processed by A in the first eight hours of the second cycle. During the last two hours of the second cycle of phase P1, A only processes the 5 units per hour it receives from P1 and has an excess capacity of 5 units per hour. Thus, by the end of this phase A processes a total of 90 units (50 units from P1 and 40 units of backlog) with an excess capacity of 10 units.
 * b) Units processed by block A are routed equally to B, C and D. During the first eight hours of the second cycle of phase P1, 10 units per hour are sent by A to B, C and D. Each of these blocks gets 3.33 units per hour. The capacity of each of these blocks is 5 units per hour. Thus, during the first eight hours of P1 in the second cycle, B, C and D process 3.33 units per hour with an excess capacity of 1.67 units per hour. During the last two hours, A processes 5 units per hour. Thus B, C and D process 1.67 units per hour with an excess capacity of 3.33 units per hour. At the end of the phase, B, C and D each process a total of 30 units $$(3.33\times 8+1.67\times 2=30)$$ with an excess capacity of 20 units $$(1.67\times 8+3.33\times 2=20)$$.
 * c) B, C and D route each of their units to E. The capacity of E in this phase is 10 units per hour. E processes 10 units per hour with no excess capacity during the first eight hours of the phase. During the last two hour E processes 5 units per hour with an excess capacity of 5 units per hour. By the end of the phase E processes a total of 90 units with and excess capacity of 10 units.


 * A summary result table for the second cycle of phase P1 is shown next.




 * 5. Phase P2 in the second cycle from 40 to 50 hours
 * a) As in the first cycle, phase P2 sends 15 units in its first hour to block A. The capacity of A in this phase is 6 units per hour. Thus, A processes only 6 units while there is a backlog of 9 units per hour.
 * b) The 6 units processed by A are routed equally to B and D as C is absent in this phase. B and D receive 3 units each. The capacity of each of these blocks is 5 units per hour. Thus, in the second cycle B and D process 3 units with an excess capacity of 2 units each in the first hour of the second phase.
 * c) B and D route a total of 6 units to E. The capacity of E in this phase is 6 units per hour. Thus E processes 6 units in the first hour of the phase with no excess capacity and no backlog.
 * d) The above steps are repeated for the ten hours of phase P2. At 50 hours, phase P2 ends in the second cycle.


 * A summary result table for the second cycle of phase P2 is shown next.




 * 6. Phase P3 in the second cycle from 50 to 60 hours
 * a) Phase P3 sends 10 units in its first hour to block A in the second cycle. The capacity of A in this phase is 15 units per hour. Thus, A is able to process all 10 units sent by P3 and also process 5 units of backlog from the second cycle of phase P2. Thus, during the first hour of phase P3, A processes 15 units that includes a backlog of 5 units. Since A is used to its full capacity, excess capacity of A is zero.
 * b) The 15 units processed by A in the first hour are routed equally over three paths to B, C and D as block C is available again in this phase. B, C and D receive 5 units each. The capacity of each of these block is 5 units per hour. Thus, B, C and D process 5 units each to full capacity with no excess capacity during the first hour of the third phase.
 * c) B, C and D route each of their 5 units to E. The capacity of E in this phase is 15 units per hour. Thus, E processes 15 units in the first hour of phase P3 with no excess capacity and no backlog.
 * d) The above steps are repeated for the ten hours of phase P3. At 60 hours, phase P3 ends. This ends the second cycle of the phase diagram and also marks the end of the simulation.


 * A summary result table for the second cycle of phase P3 is shown next.



A summary result table for the overall system for the simulation from 0 to 60 hours is shown in the following table.



Illustrating Variable Throughput
To examine variable throughput in phase diagrams, consider the phase diagram used previously in Illustrating Constant Throughput. All phase properties and linked RBDs remain unchanged for this illustration except that all the three phases now use variable throughput models. For the first phase P1 the variable throughput model used is y = x (which is the linear model y = a x+ b with parameters a= 1 and b= 0). For the second phase P2 the model used is y= 3x (which is the linear model y= a x+ b with parameters a= 3 and b= 0 ). The third phase uses y= 0.5x as the variable throughput model (which is the linear model y= a x+ b with parameters a = 0.5 and b = 0 ). Phases P1 and P2 have a value of 500 units per hour set for the maximum throughput capacity. This relatively larger value of throughput is set for the two phases so that the phases do not reach their maximum throughput value during the simulation. Phase P3 has a value of 4 units per hour set as the maximum throughput capacity. All phases have a duration of ten hours as in Illustrating Constant Throughput. For the sake of simplicity it is assumed that the blocks can never fail and that items are routed equally to each path. The ignore backlog option is left unchecked for all blocks in the phase diagram.

If a throughput simulation with an end time of 60 hours is run on the phase diagram, the following scenario can be observed:


 * 1. Phase P1 from 0 to 10 hours
 * a) The throughput from phase P1 follows a time-varying model given by y = a'x + b with parameters a = 1 and b = 0 . Thus, during the first hour the throughput sent by phase P1 to block A is:
 * $$\begin{align}

Phase throughput from 0 to1hr= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{1}{2}({{1}^{2}}-{{0}^{2}})+0(1-0) \\ = & 0.5\text{ }units \end{align}$$


 * And the throughput sent by phase P1 to block A in the second hour is:


 * $$\begin{align}

Phase throughput from 1 to 2 hrs= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{1}{2}({{2}^{2}}-{{1}^{2}})+0(2-1) \\ = & 1.5\text{ }units \end{align}$$

It can be seen that throughput from phase P1 sent to block A increases with time. But the capacity of block A remains constant at 10 units per hour during the entire phase P1. Thus, it becomes important to know the point of time when the number of units sent by P1 exceed the capacity of block A and A starts accumulating a backlog. This can be obtained by solving the throughput model for phase P1 ( y = x ) using the capacity of block A by substituting y as the block capacity as shown next:


 * $$\begin{align}

y= & x \\ or\text{    }10= & x  \end{align}$$

Thus, at time x = 10 hours the number of units supplied per hour by phase P1 will equal the capacity of block A. At this point of time A will function to its full capacity with no excess capacity and no backlog. Beyond this point the units sent by P1 will exceed the capacity of A and A will start accumulating a backlog. Since the duration of P1 is 10 hours, backlog at A will not be a concern in this phase because up to this time the capacity of A exceeds the units sent by P1. Thus the total units sent by P1 to block A during the phase duration of 10 hours is:


 * $$\begin{align}

= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{1}{2}({{10}^{2}}-{{0}^{2}})+0(10-0) \\ = & 50\text{ }units \end{align}$$

The total number of units that can be processed by block A (or the capacity of A) during phase P1 is:


 * $$\begin{align}

= & 10\times 10 \\ = & 100\text{ }units \end{align}$$

Thus, during the first phase, A processes all 50 units sent by P1 with an excess capacity of 50 units (100-50=50 units).


 * -The 50 units processed by block A from time 0 to 10 hours are routed equally over three paths to blocks B, C and D. Each of these blocks gets a total of 16.67 units from time 0 to 10 hours. The capacity of each of these blocks is 5 units per hour. Thus, the total capacity of each of the blocks from time 0 to 10 hours is 50 units. As a result, each of the three units processes 16.67 units in phase P1 with an excess capacity of 33.33 units.
 * -B, C and D route each of their 16.67 units to block E. The capacity of E in this phase is 10 units per hour or 100 units for the ten hours. Thus, E processes a total of 50 units from blocks B, C and D with an excess capacity of 50 units during the first phase P1. At 10 hours, phase P1 ends and phase P2 begins.

A summary result table for phase P1 is shown next.


 * 2. Phase P2 from 10 to 20 hours


 * -The throughput of phase P2 follows the model y = a'x + b with a = 3 and b = 0 . The throughput from P2 goes to block A. The capacity of block A in this phase is 6 units per hour. The point of time when the number of units sent by P2 equals the capacity of block A can be obtained by substituting the capacity of block A into the model equation ( y = 3x ) as shown next:


 * $$\begin{align}

y= & 3x \\ or\text{    }6= & 3x \\ or\text{    }x= & 2 \end{align}$$

Thus, at x = 2 hours of phase P2 (or at the total simulation time of 12 hours), the number of units sent per hour by phase P2 equals the capacity of block A. Thus, during the first two hours of phase P2, A will have excess capacity. The total number of units sent by phase P2 during the first two hours of the phase are:


 * $$\begin{align}

= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{3}{2}({{2}^{2}}-{{0}^{2}})+0(2-0) \\ = & 6\text{ }units \end{align}$$

The total capacity of A during the first two hours of phase P2 is:


 * $$\begin{align}

= & 6\times 2 \\ = & 12\text{ }units \end{align}$$

Thus A processes a total of 6 units in the first two hours of phase P2 with an excess capacity of 6 units (12-6=6 units). During the last eight hours of the phase (from the second hour to the tenth hour) A will have a backlog as the number of units sent by phase P2 will exceed A's capacity. The total number of units sent by phase P2 during the last eight hours of the phase are:


 * $$\begin{align}

= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{3}{2}({{10}^{2}}-{{2}^{2}})+0(10-2) \\ = & 144\text{ }units \end{align}$$

The total capacity of A during these eight hours of phase P2 is:


 * $$\begin{align}

= & 6\times 8 \\ = & 48\text{ }units \end{align}$$

Thus, during the last eight hours of phase P2, A will process a total of 48 units with a backlog of 96 units (144-48=96 units). A graphical representation of the above scenario for block A during phase P2 is shown in figure below.




 * -The units processed by A are routed equally to blocks B and D as block C is absent in this phase. During the first two hours A sends a total of 6 units that are divided equally among B and D with each block getting 3 units. The capacity of these blocks in this phase is 5 units per hour. Thus the total capacity of each of these blocks during the first two hours of phase P2 is:


 * $$\begin{align}

= & 5\times 2 \\ = & 10\text{ }units \end{align}$$

As a result B and D each process 3 units in the first two hours of phase P2 with an excess capacity of 7 units (10-3=7 units). During the last eight hours of phase P2, A sends a total of 48 units to B and D with each block receiving 24 units. The capacity of each of these blocks during these eight hours is:


 * $$\begin{align}

= & 5\times 8 \\ = & 40\text{ }units \end{align}$$

Thus B and D process 24 units in the last eight hours of phase P2 with an excess capacity of 16 units (40-24=16 units).


 * -The units processed by B and D are sent to block E. The capacity of E in this phase is 6 units per hour. During the first two hours of phase P2, a total of 6 units are sent to block E. The total capacity of E during this period of time is:


 * $$\begin{align}

= & 6\times 2 \\ = & 12\text{ }units \end{align}$$

Consequently E processes 6 units in the first two hours of phase P2 with an excess capacity of 6 units (12-6=6 units). During the last eight hours of the phase, B and D send a total of 48 units to E. The capacity of E during this time is:


 * $$\begin{align}

= & 6\times 8 \\ = & 48\text{ }units \end{align}$$

Thus E processes 48 units in the last eight hours of P2 with no excess capacity and no backlog. At 20 hrs phase P2 ends and phase P3 begins.

A summary result table for phase P2 is shown next.


 * 3. Phase P3 from 20 to 30 hours
 * -The throughput of phase P3 follows the model y = a'x + b with a = 0.5 and b = 0 . A maximum throughput capacity of 4 units per hour is also set for this phase. The throughput from this phase goes to block A. The capacity of block A in this phase is 15 units per hour. Thus it can be seen that the throughput sent by P3 will never exceed the capacity of block A in this phase. It can also be seen that at some point of time the throughput of phase P3 will reach the maximum throughput capacity of 4 units per hour and thereafter a constant throughput of 4 units per hour will be sent by phase P3. This point of time can be calculated by solving the linear throughput model for the phase y = 0.5x by substituting y as the maximum throughput capacity as shown next:


 * $$\begin{align}

y= & 0.5x \\ or\text{     }4= & 0.5x \\ or\text{     }x= & 8 \end{align}$$

Thus, at time x = 8 hours of phase P3 (or at the time of 28 hours) the number of units sent per hour by phase P3 will reach the constant value of 4 units per hour. In the first eight hours of the phase the throughput will remain variable. The total number of units sent by P3 to block A during this time is given by:


 * $$\begin{align}

= & \frac{a}{2}(x_{2}^{2}-x_{1}^{2})+b({{x}_{2}}-{{x}_{1}}) \\ = & \frac{0.5}{2}({{8}^{2}}-{{0}^{2}})+0(8-0) \\ = & 16\text{ }units \end{align}$$

The total capacity of A during the first eight hours of phase P3 is:


 * $$\begin{align}

= & 15\times 8 \\ = & 120\text{ }units \end{align}$$

Consequently, it can be seen that A has an excess capacity of 104 units (120-16=104 units). Thus, A will be able to process all of the 96 units of backlog from phase P2 during these eight hours. As a result A will process a total of 112 units (16 units from P3 and 96 units from the backlog of phase P2) with an excess capacity of 8 units (120-112=8 units) during the first eight hours of phase P3. In the last two hours of this phase, a constant throughput of 4 units per hour is sent to A, thus the total number of units sent to A during the last two hours are:


 * $$\begin{align}

= & 4\times 2 \\ = & 8\text{ }units \end{align}$$

The capacity of A during these two hours is:


 * $$\begin{align}

= & 15\times 2 \\ = & 30\text{ }units \end{align}$$

Thus, A will process 8 units in the last two hours of phase P3 with an excess capacity of 22 units (30-8=22 units).


 * -The units processed by A are routed equally over three paths to B, C and D as block C is available again in this phase. During the first eight hours of phase P3 a total of 112 units are sent to B, C and D with each block receiving 37.33 units. The capacity of each of these block is 5 units per hour, thus the total capacity of each of the blocks during the first eight hours is:


 * $$\begin{align}

= & 5\times 8 \\ = & 40\text{ }units \end{align}$$

As a result B, C and D each process 37.33 units in the first eight hour of phase P3 with an excess capacity of 2.67 units (40-37.33=2.67 units). In the last two hours of the phase, A sends a total of 8 units, with each block getting 2.67 units. The capacity of B, C or D during these two hours is:


 * $$\begin{align}

= & 5\times 2 \\ = & 10\text{ }units \end{align}$$

Thus, B, C and D each process 2.67 units in the last two hours of phase P3 with an excess capacity of 7.33 units (10-2.67=7.33 units). At the end of these two hours phase P3 gets completed. This also marks the end of the simulation.

A summary result table for phase P3 is shown next.

A summary result table for the overall system for the simulation from 0 to 30 hrs is shown in Table 11.

= More Examples =