The
LoadingRack simulation uses two train departure policies depending on
isLoadingPriorityOverSchedule:
false → scheduled departure. The train leaves when its scheduled departure time is reached. Loading level and
MAX_TRAIN_LOAD_RATIO_BEFORE_FORCED_PASSPORT do not affect the departure decision. These values are accessible through the built-in
constants variable.
true → loading completion. The train remains in sLoading until the entire rail tank car train is fully loaded with its assigned petroleum products.
If all incoming product flows become zero before full loading, the overall Train Load Ratio is checked:
Ratio ≥ MAX_TRAIN_LOAD_RATIO_BEFORE_FORCED_PASSPORT → proceed to passportization.
Ratio < threshold → remain in
sLoading and wait for product flow.
These operational results can be analyzed using the Loading Rack Statistics API described in
Loading Rack Statistics for Refinery Simulation.