Delay: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 71: Line 71:
With this option set, you are also able to adjust the number, and spacing of "Lanes" the items can use as they travel along the line. (Lane Selection will be random during a model run).
With this option set, you are also able to adjust the number, and spacing of "Lanes" the items can use as they travel along the line. (Lane Selection will be random during a model run).


=== Pausable 0 Delay Option  ===
=== Pausable 0 Delay ===


Pauseable 0 Delay configures the MultiServer to enable a pause of the model, even at zero time.
{{Breakout|Pauseable Zero Delay Multiservers}}
 
This enables a modeller to specify "pauseable points" in a long processing sequence which runs in zero time in a very controlled manner.
 
More details on Pauseable 0 Delay  


=== No Blocking between Items Option  ===
=== No Blocking between Items Option  ===

Revision as of 11:34, 19 December 2008

  MultiServer: Multiple servers in one object

MultiServerIconLg.jpg

In simulation, objects that can hold an item and apply a process delay time before releasing the item are known as Servers. The Planimate MultiServer object has the ability to delay one or more items at a time.

MultiServers are used in situations where one or a number of items undergo a delay (representing some operation) in parallel or together. The process delay time can be zero, fixed, or made to vary from item to item, with a choice of distribution patterns.


The number of items that may be held in the MultiServer can be varied in the model over time.

This enables you to model situations such as workdays and weekends, lunch breaks, work shifts and regular down time.

MultiServer process delays are edited in Interaction View.

MultiServer States

MultiServer Objects have four different states:

MultiServer-Idle.jpg  Idle   No items are currently in the MultiServer.

MultiServer-Busy.jpg  Busy   At least one item is currently in the MultiServer.

MultiServer-Blkd.jpg  Blocked   One or more items are blocked from leaving the MultiServer.

MultiServer-Unav.jpg  Unavailable   The MultiServer has entered a period of zero server availability.


Note: A MultiServer with a capacity set to 0 sets itself to "Unavailable" state, as long as there are no items present or blocked in which case the busy/blocked states take priority.

MultiServer Settings

Capacity

Enables the capacity of the MultiServer to be set.
The Capacity of a MultiServer may be determined in a range of ways:

  • As a constant value that does not change.
  • By reference to an Attribute which may change over time or change based on other conditions in the model during the model run.
  • Using an Attribute reference will enable the capacity to be changed during a model run.

For example, when an item enters the MultiServer the Attribute it is carrying can determine the new MultiServer capacity.

Server Limit

This setting enables Planimate® to allocate memory to accommodate the maximum number of servers you expect to be in the MultiServer during the run.

This sets a hard limit on how many items can undergo a delay at the MultiServer at the same time.

You then use the Capacity setting to vary the capacity dynamically over time, it you wish.

You need to ensure that the maximum Capacity you expect to provide is less than or equal to the Server Limit value.

If the Capacity value of the multi-server exceeds this Server Limit, the Server Limit is applied.

The maximum specifiable server limit of a MultiServer is 99,999.

MultiServer Options

Show as Road

This option enables a MultiServer to animate Item process delays along a straight line.

You can adjust the line using the Position Exit option of the Object Edit Menu.

Items with varying delay times are displayed overtaking each other and moving at different speeds.

Adjust the model's Update Interval to adjust the smoothness of your animation.

With this option set, you are also able to adjust the number, and spacing of "Lanes" the items can use as they travel along the line. (Lane Selection will be random during a model run).

Pausable 0 Delay

Pauseable 0 Delay is an advanced user option that configures the MultiServer to enable "zero-time" logic to be paused. This is very useful for debugging.

Using this option, you can specify in a very controlled manner, "pauseable points" in a long processing sequence which runs in zero time.

For full details refer to this page: Pauseable Zero Delay Multiservers

No Blocking between Items Option

MultiServers have an option to prevent a blocked item from blocking other finished items.

This makes it act more like a dispatcher when many items are finished and one is blocked.

No blocking between items option is on by default for new servers.

If you turn this option off, you create a single exit point for a MultiServer.

Whenever an item is blocked from leaving a multi-server, ALL subsequent items in the MultiServer become blocked.

This single exit is sometimes useful because it maintains the exit order of the items, based on when they finished their delay.

Multi-server Interaction Editing

The delay an item undergoes is specific to its class and independent of any other activity in the MultiServer.

The delay parameter needs to be set separately for each item class that will use it.

To set the delay time, shift to Interaction Edit View and click on the MultiServer.

A Distribution Pattern Dialog appears enabling the time to be set

The time you set pertains only to the item class displayed in the Item Edit Box, whose paths you can see on the screen.


Refer to Editing Object Properties for information about editing properties common to all objects.