BlockSim Example: Phase with Phase Subdiagram Block: Difference between revisions
Dingzhou Cao (talk | contribs) |
Dingzhou Cao (talk | contribs) |
||
Line 3: | Line 3: | ||
==== Purposes ==== | ==== Purposes ==== | ||
The purposes of this example | The purposes of this example are to illustrate how to use phase subdiagram block in phase simulation. The phase subdiagram block can help to reduce the repetition and complexity in modeling. | ||
==== RBDs for Phase and settings ==== | ==== RBDs for Phase and settings ==== |
Revision as of 20:59, 10 October 2011
Phase with Phase Subdiagram Block
Consider to model a server has two shifts each day, the day shift lasts 8 hours and the night shift lasts 16 hours. In each shift it has peak period and off-peak period with different duration.
Purposes
The purposes of this example are to illustrate how to use phase subdiagram block in phase simulation. The phase subdiagram block can help to reduce the repetition and complexity in modeling.
RBDs for Phase and settings
The RBDs for Peak phase and Off-Peak phase are as followings:
The phase diagram for Night Shift and Day Shift are as followings:
The main phase diagram with phase subdiagram blocks is as followings:
In Peak period, reliability of Block A follows W(1.5,30) and reliability of Block B follows W(1.5,40).
In Off-Peak period, reliability of Block A follows W(1.5,15) and reliability of Block B follows W(1.5,20).
In Day Shift, both blocks have CM and PM with duration = 1 hours and in Night Shift, both blocks have CM and PM with duration = 2 hours.
In Day Shift, the duration of Off-Peak phase is 4 hours and the duration for Peak phase is 3 hours.
In Night Shift, the duration of Off-Peak phase is 8 hours and the duration for Peak phase is 6 hours.
Block Up/Down plot
The Block Up/Down plot for 2 days (48 hours) is as followings:
- At time 5.4, in Peak phase of Day Shift, Block A fails. After this Peak phase, Block A get CM and Block B get PM in maintennace phase.
- At time 19.9, in Peak phase of Night Shift, Block A fails again. After this Peak phase, Block A get CM and Block B get PM in maintennace phase.
- At time 40.6, in Peak phase of Night Shift, Block A fails again. After this Peak phase, Block A get CM and Block B get PM in maintennace phase.