BlockSim Example: Phase with Phase Subdiagram Block: Difference between revisions
Jump to navigation
Jump to search
Dingzhou Cao (talk | contribs) |
Dingzhou Cao (talk | contribs) |
||
Line 1: | Line 1: | ||
== Phase with subdiagram phase block == | == Phase with subdiagram phase block == | ||
Consider 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. | 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 ==== | ==== Purposes ==== | ||
Revision as of 22:37, 4 October 2011
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:
The phase diagram for Night Shift and Day Shift are as followings: