Flow Quotas in Refinery Simulation

The Need for Flow Quotas in Refinery Simulation

       Refinery production planning is governed not only by equipment capacity but also by operational throughput and capacity constraints. One of the most effective ways to represent these throughput constraints in refinery simulation models is by using flow quotas. Many refinery simulation models consider only instantaneous flow rates, assuming that material can be transferred freely whenever downstream equipment has available capacity. In reality, refinery operations are also governed by cumulative throughput limits. Process engineers often specify the maximum amount of material that may be transferred, blended, or processed during a defined period, such as a day or a month. These limits typically reflect the throughput capacity of refinery pumps, pipelines, material handling and transfer systems, and process units. Ignoring such constraints can produce simulation results that appear feasible mathematically but cannot be implemented in practice. A refinery digital twin may overestimate production capacity, violate technological limitations, or generate unrealistic operating schedules.
       Consider a blending unit that may process no more than 8,000 tonnes per day. Even if sufficient pumping capacity is available, exceeding this daily throughput may violate technological or operational requirements. A simulation model that considers only instantaneous flow rates could incorrectly schedule additional transfers, whereas a flow quota prevents such unrealistic behavior.
       To accurately represent refinery operations and production scheduling, simulation models must account not only for instantaneous flow rates but also for flow quotas that limit the cumulative amount of material transferred over time.

What Is a Flow Quota?

       Unlike instantaneous flow limits, flow quotas allow equipment to operate at different flow rates while still respecting the total allowable throughput during the accounting period. This provides a realistic representation of cumulative throughput constraints commonly found in refinery operations. A flow quota is an operational constraint that limits the total amount of material transferred through a process stream during a specified time period.
       Unlike a flow rate limit, which restricts the instantaneous transfer rate, a flow quota limits the cumulative transferred mass. Once the quota is reached, further transfer is prevented until the quota is reset or the next accounting period begins. Flow quotas are commonly defined for daily or monthly periods and are primarily used to represent equipment throughput limitations, although they can also model operational or technological constraints. By enforcing cumulative throughput limits, flow quotas ensure that simulation results remain consistent with real refinery operations.

Flow Quotas vs Flow Rate Limits

       Although the terms are sometimes used interchangeably, a flow quota and a flow rate limit represent different operational constraints.
       A maximum flow rate and a flow quota represent two different operational constraints and are often used together in refinery simulation. A flow rate limit restricts the instantaneous transfer rate (e.g., 500 t/h), reflecting the physical capacity of pumps, pipelines, or loading equipment. However, many real-world operations also impose a limit on the total volume that can be transferred over a defined period. For example, a pipeline may be capable of pumping 500 t/h, while contractual or operational rules allow no more than 8,000 tonnes per day. Without a flow quota, the simulation would continue pumping as long as downstream capacity is available, exceeding daily or monthly transfer limits. By combining flow rate limits with flow quotas, refinery models accurately represent both equipment capabilities and operational restrictions, producing realistic transfer schedules and material balances.

Typical Applications of Flow Quotas

       Flow quotas are used wherever refinery operations require cumulative throughput or production capacity constraints over a specified period rather than the instantaneous flow rate.
       In refineries, they are most commonly used to:
  • limit feedstock transfer supplied to a process unit;
  • restrict the amount of one stream blended into another;
  • cap the production volume of a specific product;
  • enforce the throughput capacity of pumps, refinery pipelines, loading systems, and transfer systems;
  • represent temporary operational constraints, such as maintenance or reduced equipment availability.
       Although the specific applications vary from one refinery to another, cumulative throughput constraints are a standard part of refinery operation and should be reflected in realistic simulation models.

How Flow Quotas Work?

       A flow quota continuously tracks the total amount of material passing through a process stream during a defined accounting period. As material is transferred, the accumulated throughput is compared with the configured quota. Once the quota is exhausted, further transfer is prevented until the next accounting period begins, when the accumulated value is reset automatically and the quota becomes available again. Depending on the refinery simulation model, this may allow the transfer to resume immediately or trigger additional operational logic.
       This simple mechanism enables process simulation models to enforce cumulative throughput constraints while remaining independent of the process being modeled. The accumulated throughput is typically calculated by integrating the material flow over the accounting period.

Benefits of Modeling Flow Quotas

       Modeling flow quotas significantly improves the realism of refinery simulations by introducing operational constraints that exist in real production environments. Flow quotas enable simulation models to:
  • prevent unrealistic production schedules;
  • respect equipment throughput limitations;
  • improve the accuracy of production planning, refinery optimization, and scheduling;
  • produce operationally feasible simulation results for real refinery operation.
       By enforcing cumulative throughput limits, digital twins can better represent the behavior of actual refinery processes and provide more reliable support for operational decision-making.

Modeling Daily Pumping Limits in AnyLogic

       AnyLogic provides a Valve block that can automatically stop product transfer after a specified cumulative volume has been pumped using the dispensedAmount property. FlowQuota builds on this functionality by adding period-based quota management. It automatically tracks transferred volume within recurring periods (such as daily or monthly quotas), resets the quota at the start of each new period, and reopens the valve when transfers are allowed again. In addition, FlowQuota includes refinery-specific features for monitoring and controlling transfer quotas, making it more suitable for operational refinery simulation than a standalone Valve block.

Flow Quotas in Petroleum Refining Library

       The FlowQuota component of the Petroleum Refining Library (PRL) implements cumulative throughput constraints for refinery simulation models. The component continuously tracks the total mass transferred through a process stream during a configurable accounting period. Daily and monthly quotas are supported, allowing engineers to model common refinery throughput limitations without additional programming. Once the configured quota is reached, the internal valve is automatically closed, preventing further material transfer. At the beginning of the next accounting period, the accumulated throughput is reset and the valve is reopened automatically. The component also supports manual quota resets, dynamic quota values, event notifications, and built-in statistics for monitoring quota utilization. Unlike implementing quota logic manually, the FlowQuota component provides a reusable and configurable solution that integrates directly with refinery flow networks and simulation events. These capabilities allow refinery digital twins and refinery process simulation models to model cumulative throughput constraints with minimal configuration while maintaining realistic operational behavior.

Conclusion

       Flow quotas are an essential part of realistic refinery simulation. While instantaneous flow rates describe how fast material can be transferred, flow quotas define how much material may be transferred over a specified period. They are an essential mechanism for modeling refinery throughput constraints in production planning, process simulation, and digital twin applications.
By incorporating cumulative throughput constraints into refinery process simulation, simulation models more accurately represent refinery operations, produce feasible production schedules, and improve the reliability of optimization and decision support.
       Whether used for production planning, optimization, or digital twins, flow quotas are an essential mechanism for ensuring technically accurate and operationally feasible refinery simulations. As refinery digital twins and production planning systems become increasingly important for operational decision-making, modeling cumulative throughput constraints is no longer optional but a fundamental requirement for realistic refinery simulation.

FAQ

1. What is a flow quota?
A flow quota is a cumulative throughput constraint that limits the total amount of material that can pass through a process stream during a specified time period, such as a day or a month.

2. How is a flow quota different from a flow rate limit?
A flow rate limit restricts the instantaneous transfer rate (e.g., tonnes per hour), while a flow quota limits the total transferred mass over a defined period.

3. Why are flow quotas important in refinery simulation?
Flow quotas prevent simulation models from generating production schedules that exceed equipment throughput limits, resulting in more realistic and operationally feasible simulations.

4. Where are flow quotas used in refineries?
Flow quotas are commonly applied to pumping systems, pipelines, process units, blending operations, and product production limits wherever cumulative throughput must be controlled. They are also widely used in refinery logistics, product transfer scheduling, and production planning.

5. What happens when a flow quota is reached?
Once the configured quota is exhausted, no additional material can be transferred through the constrained process until the quota is reset or a new accounting period begins.

6. Which time periods are typically used for flow quotas?
Daily and monthly quotas are the most common, although other accounting periods can be used depending on operational requirements.

7. Can flow quotas change over time?
Yes. In many simulation models, quota values can be configured dynamically to represent changing operating conditions, production plans, or equipment availability.

8. How do flow quotas improve digital twins?
By modeling cumulative throughput constraints, digital twins more accurately reproduce refinery operations, improve production planning, and generate results that are feasible in real-world operation.

9. Are flow quotas used only in refineries?
No. Flow quotas can be applied to any industrial process where cumulative throughput must be limited over a defined period. However, they are particularly important in refinery simulation because of the large number of equipment and process constraints involved.