Académique Documents
Professionnel Documents
Culture Documents
Abstract. The crude oil blending is a very important task in order to obtain a higher profitability in the oil
refining industry.
The correct crude “recipe” to be processed aid in the accomplishment of the desired quality at the lowest cost.
The performer is required to be rather experienced so that the formulation blending can be carried out on
schedule on a reliable way, once the calculations of blending properties are not ordinary.
Most of the process simulators calculate the blending properties. As they are strict models, however, data
input frequently requires process parameters.
Taking this into consideration, CENPES Logistic area decided to develop a tool that could perform the
calculations of the blending properties, making the knowledge of process simulation tools unnecessary.
So, Blend-BR simulator of petroleum blending has been developed so as to supply blend properties and
PEV’s fraction results, using only the crude blend composition and the PEV’s temperatures as input.
Looking for the principal user’s necessities, which are in general:
- Lower crude blend cost;
- The best results for the main blend and fractions properties;
- Adequate yield of a certain crude fraction.
An optimized version of the system was developed. This version uses the non-linear programming solver
NPSOL within the simulator tool. We call it Blend-BROT.
The use of Blend-BROT is quite friendly to the user, who must provide as input data:
- The blend’s components and their ratio;
- The ratio limits;
- The objective function selected from a provided list;
- The fractions temperatures;
- The properties constraints of the blend or of the fractions, that are desirable to the reality;
- The constraints’ limits.
This could be an excellent helper to users that deal frequently with crude trading, because of its good
estimations on the blend’s properties values.
Keywords: crude oil, blending, simulation, optimization, objective function, constraints and schedule.
1. Introduction
The world’s oil refining industry has been forced, in the last years, to a regular reduction on its profit margins.
On the other hand, in Brazil, the oil refining industry has been developing a great effort to, simultaneously,
reduce its costs and improve its products quality, due to the market demand, that has became more and more
competitive, and the constraints imposed by the current legislation.
Most worldwide oil refineries have a core business that can be separated in three major sections: (i) crude oil
unloading and blending, (ii) production unit scheduling and (iii) product blending and delivery of final products
(Mendez et al., 2004). Figure 1 shows the typical diagram.
*
To whom all correspondence should be addressed.
Address: Cidade Universitária, quadra 7, Ilha do Fundão,
E-mail: deboraduarte@petrobras.com.br
1
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
Crude oil blending is an attractive solution for those refiners who have the ability to blend different crude
types to provide a consistent and optimal feedstock to refinery operations. Optimal crude purchasing is an
effective method to improve refinery profits (Yu et al., 2004).
So, the crude oil blending (and its cuts) properties prediction, can contribute with the costs reduction, acting
in the giveaway, avoiding the reprocessing and reducing the necessity of big stocks.
This paper is focused in the solution of the crude oil blending properties prediction problem and the main
objectives proposed are: (i) minimize the blend costs, (ii) optimize a crude oil blend property, (iii) optimize a
crude oil blend’s cut property, (iv) optimize a cut yield and (v) minimize the difference between some blend
properties and some standard oil properties.
The main objective of this work was to develop a tool able to reproduce the crude oil blending optimized
values in a fast and efficient way, making the knowledge usually required in ordinaries simulation tools, such as
parameters involved in the process, unnecessary. This paper is organized as follows: Section 2 is dedicated to the
problem description, whereas the proposed solution is presented in Section 3. Section 4 has an application case;
conclusion and discussion are reported in Section 5. Section 6 lists the references and concludes the paper.
2. Problem Definition
Crude oils are often blended to increase the sale price or process ability of a lower grade crude oil by
blending it with a higher grade, higher price crude. The objective is to produce blended crude oil to a target
specification at the lowest cost using the minimum higher cost crude oil (Yu et al., 2004).
2
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
One of the difficulties faced by the supply chain and trading professionals is to predict crude oil blending and
its cuts properties, once the blend qualities prediction is usually made through complex correlations that depend
on the concentration and the properties of the blend’s components. So, the calculations to obtain the properties
generally take a long time from the professional to make it done.
It shows that a good model for the blending system is beneficial for supervision operation, prediction of the
export petroleum quality and realizing model based optimal control.
In crude assays, a true boiling point (TBP) distillation provides properties of discrete crude fractions obtained
by batch distillation of the crude. Nevertheless, there is often interest in blends with different boiling point ranges
those reported in the assays, in order to simulate seasonal variations in refinery operation that satisfy different
product slates (Maples, 1997).
The Research Center of Petrobras has developed a petroleum data base, where there are more than four
hundred crude assays, which were the basis for the starting of the project of a tool for prediction of crude oil
blending properties. Once we have the assays, it would be necessary to create an algorithm for the calculation of
the blending properties.
In this work, we considered three groups of properties: (i) directly weight proportional, (ii) non directly
weight proportional and (iii) calculated from another procedure. Each group is calculated in a different way.
(i) Directly weight proportional
This group of properties is calculated by the following procedure:
n
n ∑ (m i* p i)
1≤ i ≤ n M = ∑mi P= 1
1 M
mi – ingredient i weight
pi – ingredient i property (specific per unit of weight, for instance, 5.0 [%S])
P – blend property
(ii) Non directly weight proportional
The non directly weight properties are calculated by the blending index method. They are defined by
properties correlations, showing a directly volume proportional behavior, taking into consideration the
correlation validity limits. Generally, the methodology is:
n
n ∑ (m i* y i)
1≤ i ≤ n yi = f ( pi ) M = ∑mi Y= 1
P = invf (Y )
1 M
mi – ingredient i weight
3
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
invf – function to obtain the blend real property P by the blend pseudo-property Y
4
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
2.3. Constraints
This kind of problem has, naturally, three linear constraints:
- the sum of the crude oils compositions must be one hundred
∑
n
x = 100
i =1 i
- the final boiling point must be greater than the initial boiling point (for the same cut)
3. Solution Proposed
The tool developed was, firstly, a simulator able to reproduce the properties results of a crude oil blending, in
an easy and fast way. The blending calculations used in the simulator were based on the methods mentioned in
section 2, Table 1. The optimization version was developed as an upgrade of the simulation version and it is the
main objective of this article.
The optimization version gives the same results as the simulation one, if we consider the initial crude oil
composition proposed by user. Besides that, it may also calculates the crude oil ingredients’ optimal proportion,
when the user specifies the objective and the properties limits for the blend and for its cuts.
The optimization applied was Mathematical Programming with Constraints. We used a commercial package,
written in FORTRAN-77, which uses the SQP (Sequential Quadratic Programming) algorithm to solve a
minimization problem of a real and smooth function, subject to linear and non-linear constraints.
Once the simulation version has been written in FORTRAN-90, it was possible to build the optimization
version based on the simulation one, adapting the optimization algorithm to the problem. In addition to it, in the
final version it is possible for the user to choose between to optimize a crude oil blend or simply to make a
simulation.
5
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
BDAP
EXCEL
Treated data
Consolidated data
Data plan
Crude oil list
1
To treat the
BDAP Excel 2
To define
optimization
Optimization input data Optimization data
Optimization Usuário
f – objective function
xi – crude oil quantity in the blend
Ci – crude oil cost
The independent variables are the n crude oil’s quantities.
The non linear constraints are, generally, limits on some properties values, given by the user.
The linear constraint is a composition constraint, defined in the program source code:
∑
n
x = 100
i =1 i
xi – crude oil percentage in the blend
It means that the sum of the percentage of each crude oil in the blend must be 100.
6
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
II. To minimize or to maximize one blend property or one cut property (defined by user).
In this kind of problem, the goal is to find the best value for one crude oil property or for one cut property.
The independent variables are each crude oil proportion in the optimized blend.
As in option I, the linear constraint is a composition constraint, defined in the program source code:
∑
n
x = 100
i =1 i
And the non linear constraints are, generally, limits on some properties values, given by the user.
III. To minimize or to maximize the yield of a certain cut.
In this case, the objective is the maximization or the minimization of one cut yield, previously defined.
The solver calculates the crude oils proportion in the blend, being able to vary initial and final temperatures
of the cut to be optimized, too. So, those are the independent variables in case we choose this objective function.
The non linear constraints are, generally, limits of some properties values, given by the user.
In this kind of problem, there are two types of linear constraints: composition and temperature constraints,
defined by the equations:
∑
n
x = 100
i =1 i
7
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
In this kind of optimization, the equal concern indicates the equivalence between the calculated value and
standard value differences for each property that compounds the sum to be minimized.
The independent variables are the n crude oils quantities.
The non linear constraints are, generally, limits of some properties values, given by the user.
The composition linear constraint is defined in the source code:
∑
n
x = 100
i =1 i
The program was conceived and implemented in order to permit some modular increase in the number of
optimization problem options, being unnecessary any changing in the current source code programming lines.
4. Application Case
Suppose there are two crude oils to be processed in a certain refinery, as follow in Table 2. The distillation
cuts are as just as shown in Table 3. The objective function is to maximize diesel yield, with the possibility to
vary the initial temperature between 235° - 240°C and the final temperature in 370°C - 375°C, subject the
constraints shown in Table 4.
Table 4 . Constraints
Constraint Minimum Value Maximum Value
% Sulfur in Diesel 0% 1,5%
The objective function result is 23,758% of diesel. Table 5 and Table 6 show a resume of the results obtained
for the crude oil proportion and for the constraint value.
8
2nd Mercosur Congress on Chemical Engineering
4th Mercosur Congress on Process Systems Engineering
5. Conclusion
Nowadays, refinery industries are trying to find a way to reduce its costs and make a better use of the crude
oil slates available to them to process. In addition to it, there is the necessity to obey some products quality
specification values. These demands can be satisfied using prediction model of blending properties.
The crude oil blending optimization results can compose a group of information to help in decisions such as:
what is the best crude oil blend that can be done, in order to have the minimum costs or maximum yield of a
certain product, or even maximize or minimize any quality value in the crude oil blend or in a certain cut.
References
Mendez, Carlos A., Grossmann Ignacio E., Pousga Kaboré, Iiro Harjunkoski (2004). Optimization Techniqucs for Blending
and Scheduling of Oil-Refinery Operations. Pittisburg, USA.
Yu, Wen, Rubio, José de Jesús, Morales, America (2004). Optimization of Crude Oil Blending with Neural Networks. 43rd
IEEE Conference on Decision and Control. Atlantis, Paradise Island, Bahamas.
Blend-BR Manual of Theory (2005), Petrobras / Cenpes, Rio de Janeiro, RJ.