For simple or indexed R nodes an assignation is used. For multiple nodes an ASSI instruction (see 6.2) may be used. The initialization updates the following system variables:
<node name>
that contains the maximum
capacity.<node name>
that contains the actual used
capacity. It is initialized to 0.<node name>
that contains the actual free
capacity. It is initialized to M_<node name>
.
<node name>
the system does not made any
warning.
Updating of F_<node name>
or U_<node name>
is not automatically
made. The user must change these values (see example below).
The IL of the node is not altered.
Examples:
Storage := 1E9; Ocean := MAXREAL; Pier[5] := 4; ASSI ParkingLot[1..4] := (75, 34, 34, 88);
If at some point in the execution the values are:
M_ParkingLot[4] = 88
, U_ParkingLot[4] = 70
,
F_ParkingLot[4] = 18
and it is needed to change the capacity to 100 the
following instructions must be put:
M_ParkingLot[4] := 100;
F_ParkingLot[4] := M_ParkingLot[4] -
U_ParkingLot[4];
(must be 30)
If the needed change of M_ParkingLot[4]
is to 50, it
results:
F_ParkingLot[4] = -20;
The value of U_ParkingLot[4]
remains 70.
The system does not delete the excess messages in the IL. When enough resource is freed during the run, the used and free quantities will recover the normal new maximum (50) and minimum (0) possible values.