Loading Rack Statistics for Refinery Simulation

      Loading Rack Statistics provides a real-time view of loading rack performance in refinery simulation, helping monitor material flow, train loading, and rail logistics operations. It presents key operational data without changing the simulation state, making it useful for monitoring, reporting, and analysis. The LoadingRackStatistics API organizes loading rack performance data into three main areas: input flow, output flow, and train loading state. Each section provides methods for retrieving operational statistics and formatted values for monitoring and reporting. The loading rack supports both loading-priority and schedule-based loading strategies, while its statistics provide visibility into the resulting train loading progress and operational performance.

      The statistics cover three main areas:
       Input flow — total and product-specific incoming flow.
       Output flow — total and product-specific outgoing flow, plus wagon statistics.
       Train loading — active train fill ratio, product loading progress, total capacity, and arrival schedule.
Together, these indicators provide a concise picture of loading rack performance, material flow, and rail loading activity. Access to Loading Rack Statistics is provided through the internal statistics variable of the LoadingRack agent, which exposes the available input, output, and train loading statistics.

Input Flow Statistics

       The Input class provides the main loading rack input flow statistics. It allows the simulation to track the total incoming material flow as well as the flow associated with a specific product. Values can be returned using the selected measurement type, such as total mass or mass flow. This makes the input statistics useful for monitoring loading rack throughput, incoming material flow, and how the flow is distributed across petroleum products. For example, the total input flow can be used as a high-level loading rack throughput indicator, while getFlowByProductId() provides a detailed view of product-specific flow for individual petroleum products. The formatted method can then be used to display the resulting value directly in a simulation interface or report.

Output Flow Statistics

       The Output class provides loading rack output flow statistics, including total output and product-specific flow. It also provides formatted output data for reporting and simulation UI. The total output flow can be used to monitor overall loading rack throughput, while getFlowByProductId() shows how the output flow is distributed between products. getFormattedOutputFlows() combines these values into a product-level summary and identifies products operating in direct flow mode. The Output class also includes wagon-related statistics, covering available wagon capacity, wagon count, and wagon turnover. This connects material flow monitoring with refinery logistics, rail loading operations, and wagon utilization.

Train Loading Statistics

       The TrainLoadingState class provides train loading statistics for the active train, including loading progress, capacity utilization, and the upcoming train arrival schedule. It shows the current loading progress, product quantities, train capacity utilization, and planned and actual arrival times. The active train fill ratio provides a direct measure of train loading progress, while the formatted loading information gives a more detailed view of each product loaded and the total train capacity utilization. The class also provides the train arrival schedule and the loaded amount of a specific product. This makes TrainLoadingState useful for monitoring current rail loading operations, upcoming train arrivals, and refinery rail logistics.

What Can Be Monitored with Loading Rack Statistics?

       Loading Rack Statistics brings together key operational indicators for loading rack performance monitoring in refinery simulation, including material flow, train loading, and wagon logistics. It provides visibility into material flow, product-specific flow, train loading progress, train schedules, available wagon capacity, and wagon turnover. The available statistics cover both current loading operations and rail logistics performance, providing data for operational analysis and loading rack optimization.This allows users to monitor total throughput, track individual products, evaluate train capacity utilization, and analyze wagon availability and turnover. Together, these indicators provide a concise operational view of the loading rack — from incoming and outgoing material flow to train loading and wagon logistics. The loading rack can operate using either loading priority or train schedule priority, with Loading Rack Statistics providing the corresponding data on active train loading, fill ratio, and arrival schedule. Loading Rack Statistics provides the operational data needed to monitor and evaluate loading rack scheduling and operating strategies, including train loading progress, capacity utilization, and arrival schedules.

Conclusion

       Loading Rack Statistics provides a structured view of loading rack performance in refinery simulation. By combining input and output flow data, product-level statistics, train loading progress, arrival schedules, and wagon information, it gives a clear picture of current loading operations. These statistics can support refinery operations monitoring, loading rack performance analysis, and refinery logistics planning. They also provide a practical foundation for identifying throughput constraints, analyzing train and wagon utilization, and improving loading rack operations in a refinery simulation model.

FAQ

1. What is Loading Rack Statistics?
Loading Rack Statistics provides a real-time view of loading rack performance in refinery simulation, including material flow, train loading, and wagon logistics data.

2. What flow statistics are available?
The statistics include total input and output flow, as well as flow values for individual products.

3. Can Loading Rack Statistics track train loading progress?
Yes. TrainLoadingState provides the active train fill ratio, loaded quantities by product, total capacity utilization, and train loading information.

4. Can I monitor the train arrival schedule?
Yes. getFormattedArrivalSchedule() provides a formatted list of upcoming trains in the loading rack schedule.

5. Does Loading Rack Statistics provide wagon statistics?
Yes. It provides available wagon counts and total capacity by product, as well as wagon turnover and rest-time statistics.

6. Can flow statistics be displayed in a simulation UI?
Yes. The class includes formatted methods that return statistics with measurement units, making them suitable for monitoring interfaces and reports.

7. Can statistics be retrieved for a specific product?
Yes. getFlowByProductId() returns the input or output flow for a specified product, while getProductAmountOnLoadingRack() returns the amount loaded for a product on the active train.

8. Can Loading Rack Statistics be used for optimization?
The class itself provides statistics rather than performing optimization. Its data can be used for loading rack performance analysis, train scheduling, wagon utilization analysis, and refinery logistics optimization.