Skip to content

STRAIN - Capacity ​

Hint

The result function "Capacity" does not restrict the agent with regard to the model type.

The result function "Capacity" must be introduced by the expression STRAIN. This result function can then be used both to calculate the capacity of performers and resources and to calculate the personnel and the resource capacities needed. The result function is named (ResultName) in name.

Attention

The names of result functions must be non-ambiguous within an agent.

The lock /hide parameters lock-name and hide-name control the result naming.

The expression resultscope specifies to which degree of detail the result is to be calculated. The following types are available:

processThe agent calculates a result in total with regard to the complete dynamic models evaluated. ("Results for whole process" in the Modelling Toolkit).
mainobjectsThe agent calculates a result each with regard to all objects of the dynamic models examined. For each subprocess called an aggregated result is calculated ("Results for whole process (detailed)" in the Modelling Toolkit).
allobjectsThe agent calculates a result, each with regard to all objects of the dynamic model examined and with regard to all subprocesses ("Results for process hierarchy" in the Modelling Toolkit).

The lock/hide parameters lock-resultscope and hide-resultscope control the selection of the degree of detail.

When the expression dont-show-result is specified the result calculated is not displayed after the simulation. That makes sense in cases where the result is only a provisional result which is further processed by the result function "Special formula".

Hint

By default (dont-show-result is not defined) it is possible after the simulation to have a look at the result.

The expression class defines the class (ClassName) for which the capacity is to be calculated for. The classes available are all those derived from the meta-model classes "Performer" and "Resource".

Hint

If this expression is not specified, the ADOxx user himself has to select the class.

Example:

When an agent is to calculate the capacity of performers, the following expression has to be defined: class: "Performers"

The lock/hide parameters lock-class and hide-class control the selection of the class specified.