Page 602 - ExtendSim User Guide
P. 602

576
Libraries and Blocks
Working with blocks
connectors beyond the proper number. You can, however, contract the variable connector as discussed below. Note that some blocks with variable connectors, such as the Equation blocks, do not allow you to increase or decrease the number of connectors except through dialog settings.
To increase the number of connectors, hover the cursor over the black arrow on the variable connector until it becomes a dragging cursor (shown at left). Then click and drag in the direc- tion of the arrow. As you drag, more connectors appear and the number of connectors is dis- played.
☞ You will not be able to expand a variable connector beyond what is reasonable for the block, given its usage and dialog settings. And some blocks, for example the Equation blocks, do not provide a black arrow for expanding the number of connectors; the number of connectors in those blocks is only controlled through the dialog.
To decrease the number of connectors, hover the cursor over the black arrow at the end of the last connector until it becomes a dragging cursor. Then click and drag back towards the vari- able connector's starting point.
☞ You will not be able to contract a variable connector below what is reasonable for the block, given its usage and dialog settings. The number and location of connections to the variable connector will also affect its ability to be contracted. If none of the connectors, or only the first connector, is connected, you can contract the variable connector back to its unexpanded posi- tion by clicking and dragging, as described above. However, if you have connected to more than one connector, you can only contract the variable connector to the point of the outermost connection. In this case, to reduce its size you need to collapse it, as discussed below.
Collapsing a variable connector
As discussed above, if you have made connections to a variable connector you might not be allowed to contract it back to its unexpanded position. This is a safety mechanism, so that it is clear what connections have been made. However, to simplify the appearance of the model, you can collapse a variable connector to an unexpanded state even if it has many connections to it.
To collapse a variable connector, place the cursor over the black arrow until it becomes a dragging cursor, then double-click. The connector now appears with a red + sign in place of the black arrow, as shown on the right.
To reverse the process, place the cursor over the red + sign until it becomes a dragging cursor, then double-click.
Connecting to different connector types
As you saw in earlier chapters, you can use continuous blocks (such as those from the Value library) in your discrete event and discrete rate models, which means you can have blocks in a single model that use different types of connectors (some blocks have multiple types of con- nectors on them as well).
You can connect value connectors together, item connectors together, and flow connectors together. You can also connect value and flow connectors to each other, but you cannot connect value and flow connectors to item connectors. This is because value and flow connectors only pass values while item connectors pass unique items.
How To


































































































   600   601   602   603   604