Delay: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (Rick moved page Multiserver to Delay)
No edit summary
Line 1: Line 1:
==   MultiServer: Multiple servers in one object  ==
==   Delay: One or more servers in one object  ==


<onlyinclude>[[Image:MultiServerIconLg.jpg]]  
<onlyinclude>[[Image:MultiServerIconLg.jpg]]


In simulation, objects that can hold an item and apply a process delay time before releasing the item are known as '''Servers'''.  
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 <u>or more</u> items at a time.</onlyinclude>  
The Planimate '''Delay '''object has the ability to delay one <u>or more</u> items at a time.</onlyinclude>


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.  
Delays 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.


<br>  
<br>


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.  
The number of items that may be held in the Delay 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.  
The process delay is configured via the object's context menu and can be set per item class.


During a model run (but not in User Mode) clicking on a MultiServer icon (or its head in "road" mode)&nbsp; enables you to browse its items. You can see:  
During a model run (but not in User Mode) clicking on a Delay's icon (or its head in "road" mode)&nbsp; enables you to browse its items. You can see:


'''Item Entry Time;&nbsp; Item class;&nbsp; Item ID;&nbsp; Time-till-departure.'''  
'''Item Entry Time;&nbsp; Item class;&nbsp; Item ID;&nbsp; Time-till-departure.'''


Clicking on a line in this list will show the item details for that item.<br>[[Image:MultiServer As Road with Data.jpg|center|500px]]  
Clicking on a line in this list will show the item details for that item.<br>[[Image:Multiserver As Road with Data.jpg|center|500px]]


=== MultiServer States  ===
=== States  ===


MultiServer Objects have four different states:  
Delay Objects have these states:


[[Image:MultiServer-Idle.jpg]]&nbsp; '''Idle&nbsp;&nbsp; '''No items are currently in the MultiServer.  
[[Image:MultiServer-Idle.jpg]]&nbsp; '''Idle&nbsp;&nbsp; '''No items are currently in the Delay.


[[Image:MultiServer-Busy.jpg]]&nbsp; '''Busy&nbsp;&nbsp; '''At least one item is currently in the MultiServer.  
[[Image:MultiServer-Busy.jpg]]&nbsp; '''Busy&nbsp;&nbsp; '''At least one item is currently in the Delay.


[[Image:MultiServer-Blkd.jpg]]&nbsp; '''Blocked&nbsp;&nbsp; '''One or more items are blocked from leaving the MultiServer.  
[[Image:MultiServer-Blkd.jpg]]&nbsp; '''Blocked&nbsp;&nbsp; '''One or more items are blocked from leaving the Delay.


[[Image:MultiServer-Unav.jpg]]&nbsp; '''Unavailable&nbsp;&nbsp; '''The MultiServer has entered a period of zero server availability.  
[[Image:MultiServer-Unav.jpg]]&nbsp; '''Unavailable&nbsp;&nbsp; '''The Delay has entered a period of zero server availability.


<br>  
'''Stopped'''&npsb;&nbsp; The Delay has been suspended/interrupted by the Control attribute being set to 0.
<br>


''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.''  
''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  ==
== MultiServer Settings  ==
Line 41: Line 42:
=== Capacity  ===
=== Capacity  ===


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


*As a constant value that does not change.  
*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.  
*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.
*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.  
For example, when an item enters the MultiServer the Attribute it is carrying can determine the new MultiServer capacity.


=== Server Limit  ===
=== 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 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.  
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 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.  
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.  
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.  
The maximum specifiable server limit of a Delay is 99,999.


== MultiServer Options  ==
== Delay Options  ==


=== Show as Road  ===
=== Show as Road  ===


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


You can adjust the line using the [[Position Exit]] option of the [[Object Edit Menu]].  
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.  
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.  
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).  
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  ===
=== Pausable 0 Delay  ===


{{Breakout|Pauseable Zero Delay Multiservers}}  
{{Breakout|Pauseable Zero Delay Delays}}


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


MultiServers have an option to prevent a blocked item from blocking other finished items.  
Delays 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.  
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.  
No blocking between items option is on by default for new servers.


''This option is on by default. ''  
''This option is on by default. ''


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


Then, 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.  
Then, whenever an item is blocked from leaving a multi-server, ALL subsequent items in the Delay 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  ==
== 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 an item undergoes is specific to its class and independent of any other activity in the Delay.


The delay parameter needs to be set separately for each item class that will use it.  
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.  
To set the delay time, shift to Interaction Edit View and click on the Delay.


A Distribution Pattern Dialog appears enabling the time to be set  
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.  
The time you set pertains only to the item class displayed in the Item Edit Box, whose paths you can see on the screen.


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




== Multiserver Articles  ==
== Delay Articles  ==


<dpl>
<dpl>
category=Object/Multiserver
category=Object/Delay
notnamespace=Category
notnamespace=Category
notcategory=FAQ
notcategory=FAQ
ordermethod=pagetouched
ordermethod=pagetouched
order=descending
order=descending
</dpl>  
</dpl>


<br> <br>  
<br> <br>


== Multiserver Object Frequently Asked Questions  ==
== Delay Object Frequently Asked Questions  ==


<dpl>
<dpl>
Line 129: Line 130:
ordermethod=pagetouched
ordermethod=pagetouched
order=descending
order=descending
</dpl>  
</dpl>


<br>   
<br>   


[[Category:Object/Multiserver]] [[Category:Object]]
[[Category:Object/Multiserver]] [[Category:Object]]

Revision as of 11:10, 26 October 2020

  Delay: One or more 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 Delay object has the ability to delay one or more items at a time.

Delays 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 Delay 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.

The process delay is configured via the object's context menu and can be set per item class.

During a model run (but not in User Mode) clicking on a Delay's icon (or its head in "road" mode)  enables you to browse its items. You can see:

Item Entry Time;  Item class;  Item ID;  Time-till-departure.

Clicking on a line in this list will show the item details for that item.

States

Delay Objects have these states:

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

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

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

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

Stopped&npsb;  The Delay has been suspended/interrupted by the Control attribute being set to 0.

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 Delay is 99,999.

Delay Options

Show as Road

This option enables a Delay 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 Zero Delay Delays

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

No Blocking between Items Option

Delays 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.

This option is on by default.

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

Then, whenever an item is blocked from leaving a multi-server, ALL subsequent items in the Delay 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 Delay.

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 Delay.

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.


Delay Articles




Delay Object Frequently Asked Questions