next up previous
Next: Values to Functions Given Up: INITIALIZATIONS Previous: Initial Values to Simple

Initial Capacity Values to R Type Nodes

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:

The assignation must be also made in any node. However, if a new capacity are assigned to a R node, less than the actual value of U_<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.



domingo c
Mon Mar 20 11:16:38 PST 2000