BlockSim Example: Phase with Phase Subdiagram Block

From ReliaWiki
Jump to navigation Jump to search

Phase with subdiagram phase 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 is to illustrate how to use subdiagram phase block in phase simulation. The subdiagram phase 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:

Subdiagram Phase Peak and Off Peak.png

The phase diagram for Night Shift and Day Shift are as followings:

Day Shift and Night Shift.png

The main phase diagram with subdiagram phase blocks is as followings:

Subdiagram phase Main.png