The product demands, quality and prices drive the
entire crude processing and secondary unit operations. Multiple streams with
multiple blending options to make different grades of a product further make the
task of refinery planning cumbersome and demanding.
Moreover, the future promises to add even more
complexity through additional product specifications, environmental norms,
changing feedstock, product prices, mergers and acquisitions.
-
Need
and Scope for optimization in Refinery operations
Most refineries are owned by integrated oil companies
having a variety of interests, from exploration and production through refining
and marketing to retail sales. Within such an organization the refinery works
under the direction of the Head office. The Head office negotiates long-term
and short-term crude supply contracts while the product Supply and Distribution
department sells products. The refinery itself typically works within the
overall framework of the organization to maximize the corporate profitability.
This makes the refining an extremely complex and dynamic activity. Along with
the complexity of refining, there also exists a great degree of freedom in
refinery operations. For example, one of the most commonly used refinery
products is fuel for automobiles, and the customer does not care about the
complexity or simplicity of the refinery, what crudes it purchased, which
processing technology it used, what blending or additive components it used in
making the fuel. The customer is only concerned with the proper running of his
vehicle and the value for the money spent. Therefore, the refiners have got
both an enormous complexity and considerable freedom to satisfy the customer
requirement and make profit. This requires the optimization of multiple
objectives in the refinery business supply chain.
The table below provides a glimpse of the multiple
objectives of refinery optimization:
|
Minimize crude landed cost at
refinery |
|
Optimize refinery crude mix |
|
Optimize black oil generation and upgradation,
optimize overall product mix and dispatch |
|
Minimize quality giveaway |
|
Optimize fuel consumption, minimize losses
|
|
Optimize utilization of the assets
|
|
Optimize inventory management |
|
Optimize capacity utilization and shutdown planning
|
|
Optimize unit operations maintaining highest
standards of safety, catalyst life and activity,
etc. |
All of the objectives mentioned above present a
refinery with a challenging problem and an opportunity to maximize the overall
profitability.
In a nutshell, the need and scope for optimization is
so vast in a refinery that it is essential to use software tools not only to
arrive at the best plan, but also to quickly evaluate the new optimum with
internal or external changes in the business scenario. However, in today
refinery environment, data acquisition, simulation and optimization tools often
reside in “silos?in different groups across the refinery. This results in
various local and plant-level optimizations only, not the most profitable
refinery-wide optimization. A holistic view via an integrated model of the
refinery is required to give refinery planners the ability to evaluate
opportunities optimally, accurately and quickly.
-
Meaning
of Optimization and Linear Programming
Optimization means "the action of finding the best
solution within the given constraints and flexibilities.”?Linear Programming
(LP) is a mathematical technique for finding the maximum value of some equation
subject to stated linear constraints. It is commonly used in refinery planning
to identify with confidence the most profitable refinery-wide operating
strategy.
LP has been around since the 1940s and has now
reached a very high level of advancement with the meteoric rise in computing
power. The "linear" in LP stands for the algebraic aspect, i.e. all the
constraints and objective functions are linear and satisfy two fundamental
properties: proportionality and additivity. The "programming" in LP actually
means "planning" only. The implementation of LP involves the development of an
integrated LP model representing the refinery operations with all constraints
and flexibilities and then solving it to determine the optimum plan.
The refinery-wide optimization using an LP model has
been proven to bring economic gains far higher than unit-specific simulation
models or advance process control techniques.
In short, the LP model is an excellent economic
evaluation tool to drive the entire supply chain toward higher profit.
Some of the key areas for LP applications in the oil
industry are:
- Grassroots refinery
design/configuration
- Selection and evaluation of
crude oils and raw materials
- Long-range and short-term
operations planning
- Capital investments
evaluation for process equipment
- Analysis of the
profitability of merging and acquisition plans and the creation of ad-hoc models
for joint venture refineries
- Evaluation of processing
agreements and product exchange contracts
- Evaluation of new process
technologies
- Control of the refinery
performance
- Product blending
control
- Down-time planning
- Inventory management
Implementation of LP for Refinery planning and
optimisation
Refinery planning forms the foundation for the
business decisions that have the biggest impact on refinery profitability.
A refinery typically prepares the following types of
plans:
- Annual plans for annual budgeting, term crude
contracts and maintenance shutdown planning
- Monthly rolling plans for spot crude purchases
and conducting refinery operations inline with product demands
- Weekly plans for finding operating strategies
for units at the weekly level, i.e. the refinery knows precisely which crudes it
has and must decide which crude cocktails to run, how long to do so and how it
is going to meet any particularly large or difficult product demands
- Strategic plans for future years and expansion
projects
- Profitability improvement plans for plant
-level modifications and revamp projects
The preparation of any of the above types of plans
requires a set of standard procedures and an LP model customized for the
refinery configuration.
-
Development
of a Refinery LP Model
Development of a refinery planning LP model primarily
involves customization of commercially available LP modeling software to
refinery configuration. The table below provides a list of major suppliers and
the LP software.
|
Supplier |
LP Software |
|
Honeywell Hi-Spec Solutions
|
RPMS ?Refinery &
Petrochemical Modeling System |
|
Aspentech |
PIMS ?Process Industry
Modeling System |
|
Haverly |
GRMPTS |
Development of a refinery LP model is an arduous task
that demands sound, accurate and complete understanding of the refining process
and planning functions. It requires compilation of enormous plant data and
meticulous documentation of the same.
Major
steps the in development of a refinery LP model
Some of the major steps involved in the development
of a refinery LP model include:
- Mapping of the existing planning process and data
collection
- Development of a future planning process inline with
best practices
- Finalization of Functional and Design Specifications
(FDS) for the refinery LP model building, software and hardware configuration
- Refinery model building as per FDS
- Factory acceptance test of refinery model
- Tuning of model at site and trial usage for planning
and case studies
- Site acceptance test of the refinery LP model
The list of steps mentioned is not exhaustive and
requires micro-level activity planning. The role of an LP consultant is very
important as he has to balance the needs of the refinery planner and the
intricacies involved in modeling each constraint and options. Initially, it is
better to keep the model simple and understand its behavior. The complexities
must be added gradually, keeping in mind what economic impact they have on
refinery profitability.
Description
of a refinery LP model
A good LP model is one that closely represents the
operational reality of a refinery. A typical refinery
LP model contains the end-to-end configuration of the refinery with a detailed
representation of primary and secondary processing units, blending facilities,
power and utilities. A model contains structural data, or
fixed data, which represents the physical reality concerned, and variable data,
which expresses the contingency of the particular problem. The addition of
variable data like costs, prices, raw materials availabilities and products
requests, process unit capacities and product quality specifications enables
the model to set up a problem, from which infinite variant cases can be created
and run to arrive at the optimal plan.
Mathematically, an LP model consists of a matrix,
while for the users it can be better thought of as a set of data tables
necessary and sufficient for the automatic matrix generation. A typical refinery model represents an LP matrix with 1,500
rows, 3,500 columns, 1,500 equations, 1,500 constraints and 5,000 variables.
The LP software uses different optimizers like MOPS, XPRESS, OSL, etc. to solve
the matrix. RPMS uses the state-of-the-art XPRESS optimizer software
licensed from Dash Associates.
The model can have different time
period variants to meet different planning objectives associated with Annual
Planning (1X4 quarter), Quarterly Planning (1X3 months) and Monthly Planning
(1X4 weeks).
Some of the key features of a
refinery LP model include:
Objective
function in an LP model
A refinery LP
model is generally configured with a single objective function of maximizing the
profit as explained below:
- To maximize {S (Product
value) - S (Raw Material cost) - S (Refinery
Variable Costs), subject to the various constraints defined in the model
including the inventory value and carrying cost parameters.
Modeling techniques and optimization features
A refinery LP model contains modeling capabilities
like Successive Linear Programming (SLP), Mixed integer programming (MIP),
Implicit and Explicit Pooling, Multi-period modeling, Distributive property
recursion, attribute error tracking, rigorous sulfur distribution, etc.
Compared to an approach based on average values, these techniques provide very
accurate estimates of yields and qualities of finished goods, all the while
keeping short computation times.
Additional information can be obtained by referring
to standard books on LP to understand the meaning of the LP terms used above. A
good reference book is Operations Research, 7th Edition by Hamdy A.
Taha, Univ. of Arkansas, and Fayetteville.
The refinery LP models use latest unit modeling
techniques like swing cut modeling, delta vector modeling and mode wise
modeling.
The crude and vacuum unit is modeled
based on the stream TBP (True Boiling Point ) cut point scheme. The crude assay
manager software like ASSAY2, PASSMAN uses TBP cuts and the TBP curve of the
crude oils from the various crude assay database for generating the crude wise
yields and properties. It is possible to model the single physical crude unit
into several logical units depending refinery specific requirement. For
example, a refinery processing high sulfur (HS) and low sulfur (LS) crudes in
blocked out operation can be modeled with two logical unit one for HS and
another for LS crude operation.
The secondary units are modeled using
delta-yield vector or mode wise yield vectors. For example, the catalytic
cracker is generally modeled by setting up base yield vectors with yield
controlling delta vectors for Feed UOP K, MeABP and Severity/Conversion.
The static input data for determination
of delta vectors can be generated from kinetic models, test runs and standard
correlations. Relevant capacity and quality
constraints on the feed and product side are configured. All possible blending
options for unit feed and products are configured. Unit wise steam, power, fuel
consumption and catalyst consumption are also built in. The rigorous recursion
structure for feed and product stream properties is set up. For example, sulfur
in cat cracker streams is recalculated on the basis of feed sulfur changes.