Page 412 - ExtendSim User Guide
P. 412

386
Merging, Diverging, and Routing Flow
Blocks of interest
When building models, you will frequently encounter situations where you want to route the streams of flow in a model. This is accomplished using the Catch Flow, Diverge, Merge, and Throw Flow blocks.
The Merge and Diverge blocks have similar interface and capabilities. These two blocks send and receive flow through a variable number of inflow and outflow connectors. Their dialogs provide rule-based options to merge or diverge flow in a discrete rate environment.
The Throw Flow and Catch Flow blocks also have similar interfaces. These blocks route flow remotely from point to point.
This chapter covers:
• Blocksformerging,diverging,androutingflow
• MergeandDivergemodes
• Additional features of the Merge and Diverge blocks • UsingtheThrowFlowandCatchFlowblocks
☞ The models illustrated in this chapter are located in the folder \Examples\Discrete Rate\Merge and Diverge.
Blocks of interest
The following blocks from the Rate library will be the main focus of this chapter.
Catch Flow
Receives flow sent from Throw Flow or Diverge blocks. Allows you to group blocks that can send the flow into sets, so that the list of possible connections can be filtered.
Diverge
Distributes flow from one inflow branch to one or more outflow branches at a time. The block has several modes for determining how the flow is distributed through the branches.
Merge
Merges flows from one or more inflow branches at a time into one outflow branch. The block has several modes for determining how the inflows should be received.
Throw Flow
Sends flow to Catch Flow or Merge blocks. Allows you to group the blocks that can receive the flow into sets, so that the list of possible connections can be filtered.
Merging and diverging flow
The systems modeled using discrete rate technology typically have multiple flow streams that need to be merged into one stream or, conversely, one flow stream that needs to be diverged to multiple streams. The Merge and Diverge blocks have been designed specifically to model this type of routing behavior.
The Merge and Diverge blocks have seven different rule-based options that determine how they send and receive flow. These modes mostly behave as mirror images of each other in the two blocks. The list of modes, and their similarities and differences, are summarized in the “Mode table”, below. The examples that follow the table show how each of the modes can be applied.
Discrete Rate


































































































   410   411   412   413   414