A priority-based passive resource component.
AcceptsSTMM_TRANSACTION_TYPE
transactions on the INPUT port, and processes them in a priority-based scheme.
●
RELEASE_ – The component also accepts
STMM_TRANSACTION_TYPE
transactions on theRELEASE_
port and processes them immediately.
●
USAGE – This port specifies the amount of resource used by a transaction based on the class.
● If there is enough of the resource available (AVAIL) to process an input transaction, the resource is allocated, and ALLOCD is set to the input transaction.
● If there are insufficient resources, the input transaction is placed in the queue until sufficient resources are available.
● When a transaction arrives on theRELEASE_
port, the resources associated with the transaction are released (based on the value of USAGE), and FREED is set to the release transaction.
●
SIZE –
INITIAL_RESOURCE_SIZE
is the initial size of the resource. A change in the size of the resource can be requested by modifying SIZE. An increase in size is always allowed, but a decrease is only allowed when the new size is greater than or equal to the amount of resource in use.When you insert theSTM_PRTY_PASSIVE
component into an activity chart, the component is represented by the following graphic image.
If you set ANALYZE, the following statistics are gathered:
Available resource
units
Release arrival
interval
To access these values in the panels or in the simulation monitor, use the following naming convention:<Component_Name>^value_name
CLEAR
clears the statistics.UPDATE
makes sure the statistics values are up-to-date. In some cases, the statistics are only updated when events are triggered within the resource, soUPDATE
ensures the statistics are up-to-date regardless of the triggering events.