Beruflich Dokumente
Kultur Dokumente
Abstract—This paper describes the structure of a complex oil floor, which were covered with sand and mud. After that,
refinery and its optimization model. The refinery has six under high pressure and temperatures, formation of gas and
distillation stages and ability to produce eleven products which crude oil has started.
can be sold on the market. Revenues are made by product The process of oil processing begins by geological and
trading. The production of oil refinery is optimized during one
geophysical research of areas that are potentially rich with oil
year period by taking into account the price of market products.
The plants whose profitability will be considered are H2 and [1]. If the existence of oil is determined, exploitation starts
CLAUS. Profitability of unit construction is evaluated over a with drilling through the thick layers of sand, silt and rocks.
period of 25 years. The refinery uses a crude oil obtained from its After that, the extraction and transport to the refinery are
own sources (fields) or the oil purchased on the market. This oil performed. Transportation can be done in different ways: by
has a price and it is assumed that the marginal cost of oil price in tankers, by rail, road or simply with oil pipeline which is the
the market is equal to marginal cost of production from its own cheapest option [1]. There is also the option to buy crude oil
resources. Refinery elements, distillation stages and all on the market by market price, and manage risks to achieve
characteristic parameters are described and included in the maximum profit.
mathematical model. Mathematical model is made from elements
The process of crude oil procurement (purchased on the
and connected to overall model where multiple scenarios and
simulations are made for finding the best solution. market or obtained from own fields) is not overly significant.
What is important is the price of procurement and market
products which are made in refinery by refining crude oil.
Index terms: oil, oil production, production optimization,
profitability, refinery Depending on the market price of products, it is necessary to
adjust the parameters of the refinery in order to gain the
I. NOMENCLATURE maximum profit. Mathematical model of each segment of
Variables and tags used in this article are explained below: refinery will be described and connected in overall model of
complex oil refinery. Furthermore, different simulation
B1, B2, B3 splitters before gasoline blender [%] scenarios will be presented. Important factor in oil production
bbl oil barrel belongs to ancillary units (H2, CLAUS). Additionally, long
CF conversion factor (MMbbl into kt) [kt/MMbbl] term profitability for these units will be evaluated.
kt kiloton III. REFINERY ELEMENTS
maxtržište upper market limit Oil Refinery (Fig. 1) is an industrial plant where the crude
mintržište lower market limit oil is transformed to refined products (LPG, diesel, petrol,
kerosene, etc.) by using the process of distillation. In the
MMbbl one million barrels
remainder of this paper, the components of oil refinery will be
MM$ one million dollars described, along with the parameters for optimization model
P profit [MM$] of every component.
Q quantity [kt]
Qinput crude oil quantitiy [MMbbl]
S energy source consumption
S1, S2, S3, S4, S5 splitter parameters [%]
T gasoline property
П market price [$/kt]
Ω income made from market trading [$]
II. INTRODUCTION
A. CDU (Crude Distillation Unit) needs to be extracted from final products. LN HDS unit
The first step of oil production is distillation of crude oil to extracts sulphur from lighter compounds.
more fragments (Fig. 2). Products from CDU are later TABLE III
processed in other units of the refinery [1]. Maximum capacity LN HDS UNIT PRODUCTS [5]
of CDU is 10000 kt/year. CF factor is used for conversion Product Output (wt%) Destination
from MMbbl to kt (1). Fuelgas 0,80 Heating
LPG 3,00 Market (LPG)
Light naphtha 96,13 LN HDS
H2S 0,07 HN HDS
Losses 0,20 -
TABLE IV
OPERATING EXPENSES FOR LN HDS [5]
TABLE XVI sulphur is performed with a catalyst and hydrogen so the result
FCC UNIT PRODUCTS [5]
product is hydrogen sulphide (H2S). This gas can be burned in
Product Output (wt%) Destination the plant with large emissions of sulphur dioxide into the
Fuelgas 3,80 Heating atmosphere. According to the law regulations, the fine for this
Propylene 4,50 Market (Propylene) action is 30 MM$/kt. Another solution is building a plant that
LPG 16,40 Market (LPG) converts hydrogen sulphide to sulphur. This sulphur can be
FCC Gasoline 50,03 Gasoline Blending or placed on the market and their sales generate the revenue [5].
Base Gasoline
LCO 12,07 Market (PCH&HO)
TABLE XXI
HCO 3,00 Market (LFO)
CLAUS PLANT PRODUCTS [5]
MCB 4,50 Market (HFO)
Losses 4,80 - Product Output (wt%) Destination
Sulphur 84,8 Market (Sulphur)
TABLE XVII
OPERATING EXPENSES FOR FCC [5] Losses 15,2 -
I. H2 plant
TABLE XXIII
Hydrogen is used in most of the production units. There are CAPITAL COST FOR CLAUS PLANT [5]
two possibilities: buy it on the market or product it in the Capacity Cost (MM$)
plant [5]. Price of the hydrogen on the market is 20 MM$/kt.
20 kt 69
In a scenario where hydrogen is produced in the plant, the 40 kt 92
necessary data for modelling is given below. 60 kt 110
TABLE XVIII 80 kt 124
H2 PLANT PRODUCTS [5] 100 kt 136
Product Output (wt%) Destination
Hydrogen 23,8 production units K. Gasoline blender
Losses 76,2 -
In order to produce the gasoline which can be sold on the
market (market petrol), it is necessary to fulfil the legal
TABLE XIX
OPERATING EXPENSES FOR H2 [5]
regulations and market requirements (Table XXIV) [4].
TABLE XXIV
Energy source Consumption GASOLINE REQUIREMENTS [5]
Fuel 6000 GJ/kt
Electricity 60 MWh/kt Property Min Max
Cooling water 10 m3/t ρ (kg/dm3) 0,73 0,77
Steam -1800 GJ/kt RON 95
Catalyst 780 $/kt MON 85
RVP (kPa) 45 60
Olefin (%) 18
TABLE XX Aromatics (%) 35
CAPITAL COST FOR HDS OR HDS/MHC PLANT [5]
J. CLAUS plant
As previously mentioned, crude oil and distillation products
contain high amounts of sulphur. The process of separation of
5
wLN ⋅ Q2
wLPG _ CDU ⋅ Qinput
wLN ⋅ Qinput
wH 2 S ⋅ Q2
( wMID + wHEV ) ⋅ Qinput
Qinput
wKER ⋅ Qinput Fig. 6. LN HDS unit products
( wLA + wHA + wLV ) ⋅ Qinput Costs of LN HDS unit depend on the input quantity of the
product Light Naphtha and costs of energy used for this
wHVGO ⋅ Qinput process (Table IV) (4):
2) LNI: The quantity of Light naphtha comes into LNI, 1) HN HDS: Passing through the HN HDS unit, Middle
which is then desulfurized in LN HDS and passed through a and Heavy Naphtha are desulfurized under higher
splitter S1 (6). temperatures and pressure. LN HDS creates a Fuelgas which
is used as an energy source. This fact is accounted in the
Q2 S1 = S1 ⋅ wLN ⋅ Q2 (6) model, so Fuelgas is sold at the market price (buying price).
wFG_ LNI ⋅ Q2 S 1
wFG_ HN ⋅ Q3
Q2 S1 Q3
wISO _ LNI ⋅ Q2 S 1 wHN_ HN ⋅ Q3
wPCN _ LNI ⋅ Q2 S 1 wH 2 S ⋅ Q3
Costs of LNI unit depend on the input quantity of Light A total costs of HN HDS unit depend on input quantity of
Naphtha and operating expenses (Table VI) (7): desulfurized Heavy Naphtha and costs of energy for
desulphurization (Table VIII) (12):
CLNI = Q2 S1 ⋅ ∑ S Energent ⋅ Π Energent
LNI
(7) CHN _ HDS = Q3 ⋅ ∑
HN HDS
S Energent ⋅ Π Energent (12)
Ω 22 = wFG _ LNI ⋅ Q2 S1 ⋅ Π FG + wPCN _ LNI ⋅ Q2 S 1 ⋅ Π PCN (8) Ω31 = wFG _ HN ⋅ Q3 ⋅ Π FG + (1 − S2 ) ⋅ Q3 ⋅ Π PCN (13)
Ω23 = B1 ⋅ wISO _ LNI ⋅ Q2S1 ⋅ΠG + (1− B1 ) ⋅ wISO _ LNI ⋅ Q2S1 ⋅ΠBG (9) wFG _ CCR ⋅ Q3S 2
The revenue in the second stage of distillation is the sum of wLPG _ CCR ⋅ Q3 S 2
all revenues generated in all production units at this stage (10): Q3S 2
wREF ⋅ Q3S 2
Ω2 = Ω 21 + Ω 22 + Ω 23 (10)
The profit in the second stage of distillation is the
difference between total income and costs in the same stage. wH 2 S ⋅ Q3 S 2
Ω32 = wFG _CCR ⋅ Q3S 2 ⋅Π FG +wLPG _CCR ⋅ Q3S 2 ⋅Π LPG (16) Q5 S 2 = S3 ⋅ ( wLA + wHA + wLV ) ⋅ Qinput (22)
wDIS ⋅ Q5 S 3
The revenue in the third stage of distillation is equal to the
sum of all revenues in the third degree: wH 2 S ⋅ Q5 S 3
HVGO
If the splitter S3 is set that the LAGO, HAGO and LVGO S4 Catalyst HDS/MHC S5 FCC B2 Gasoline
Base
products are sold in the market as PCH & HO, the income that LFO
Gasoline
wLCO ⋅ Q6 S 5
Products Fuelgas and LPG by sales are making revenue Products propylene and LCD are making the following
(30): income (36):
Ω62 = wFG ⋅ Q6 S 4 ⋅ Π FG + wLPG ⋅ Q6 S 4 ⋅ Π LPG (30) Ω66 = wPRO ⋅ Q6 S 4 ⋅ Π PRO + wLCO ⋅ Q6 S 4 ⋅ Π LCO (36)
Products Diesel and PCN sales generate following income Products HCO and MCB are making the following income
(31): (37):
Ω63 = wPCN ⋅ Q6 S 4 ⋅ Π PCN + wDIS ⋅ Q6 S 4 ⋅ Π DIS (31) Ω67 = wHCO ⋅ Q6 S 4 ⋅ Π HCO + wMCB ⋅ Q6 S 4 ⋅ Π MCB (37)
In the case where HDS raffinate is not processed further, it The product FCC gasoline is making the following income
is sold in the market as an LFO in amount that is determined (38):
by the splitter S5 (32).
Ω68 = B3 ⋅ wGAS _ FCC ⋅ Q6 S 5 ⋅ Π G +
(38)
Ω64 = (1 − S5 ) ⋅ wRAF _ HDS ⋅ Q6 S 4 (32) (1 − B3 ) ⋅ wGAS _ FCC ⋅ Q6 S 5 ⋅ Π BG
2) FCC unit: The amount that enters the FCC unit is the The profit in the sixth stage of distillation is equal to the
actually raffinate quantity produced in HDS/MHC plant (33). difference between the total income and the cost in the same
stage (39).
G. Total profit, hydrogen consumption and H2S production • VISO is the volume of Isomer which is passed
In this paper each distillation stage is modelled separately. through splitter B1. Variable wISO depends on
Additionally, the profit calculation in made for each stage. decision variables S1 and B1
Total profit is the sum of all profits in distillation stages, with • VREF is the volume of Reformate which is passed
deducted inputted crude oil price (40). through splitter B2. Variable wREF depends on
decision variables S2 and B2
• VFCC is the volume of FCC gasoline which is
P = P1 + P2 + P3 + P4 + P5 + P6 − Qinput ⋅ Π crude (40) passed through splitter B3. wFCC depends on
decision variables S4, S5 and B3.
The refinery has an option to purchase the hydrogen from • V is the input volume for Gasoline Blender and it
market or to build a plant to satisfy its needs. If it is more is equal to sum of the VISO, VREF, VFCC
profitable to produce it in own facility, it is important to
properly calculate the capacity of the plant because every The limits are set in a way that the volume fraction of
oversizing or undersizing will result in lower profit. The total individual components is multiplied with the required
production of hydrogen in the refinery is the sum of all units properties of that component (TISO, TREF, TFCC). The properties
that are using hydrogen (41). of the components are given in Table XXVI. Their sum should
fulfil market requirements (maxmarket i minmarket) which are
QH 2 = ∑S
Units
hydrogen (41)
listed in Table XXV (43) (44).
V ISO V V
⋅ TISO + REF ⋅ TREF + FCC ⋅ TFCC ≤ max market
(43)
Refinery processes of sulphur separation have a H2S gas V V V
(hydrogen sulphide) as by-product. Refinery has an option to
burn that gas, but due to the CO2 emission into the atmosphere,
V ISO V V
they will need to pay a fine of 30 MM$/kt. Furthermore, there ⋅ TISO + REF ⋅ TREF + FCC ⋅ TFCC ≥ min market (44)
is a possibility to build a plant that converts H2S gas into V V V
sulphur, which can be sold on the market. The amount of
hydrogen sulphide produced by refineries is equal to the sum
of production amount for each unit. C. Market prices
Product prices may vary in the market, so they are
QH 2 S = ∑
Units
SH2S modelled as assumption to the triangular distribution.
(42) Distributions are described with the minimum, most likely and
maximum price (Table XXVI).
TABLE XXVI
V. OPTIMIZATION PARAMETERS MARKET PRICES FOR REFINED PRODUCTS
The optimization was performed using the software tool Product Min [$/t] Most probable Max
MATLAB and all given parameters and restrictions are set in [$/t] [$/t]
there. LPG 830 880 960
Propylene 1080 1210 1440
A. Decision variables PCN 630 800 940
In the model, the decision variables are: Gasoline 880 940 1010
• splitter values (S1, S2, S3, S4, S5, B1, B2, B3) Base Gasoline 610 850 1010
• input quantity of crude oil which depends on the Kerosene 880 970 1060
market price (Qinput). Diesel 830 960 1120
PCH&HO 740 860 950
Splitter values can be set between 0 and 1 (0% and 100%).
LFO 520 680 780
The profit is affected by the settings of the splitter and its
HFO 410 530 640
position in the production system. The main goal is to find Sulphur 56 64 73
the optimal case in which the profit will be maximized with
all conditions fulfilled. Input amount of crude oil in a
Price of crude oil (Crude Oil) is considered as an
distillation unit affects the profit because it is necessary to
assumption with a triangular distribution:
buy it on the market or produce in own resources, which
creates a certain cost. • Minimum price: 98,05 $/bbl
• Most likely price: 109,09 $/bbl
B. Constraints • Maximum price: 120,69 $/bbl
All market requirements should be satisfied for market
gasoline production. In the process of production it is VI. SIMULATION RESULTS
necessary to mix the exact amount of fuel from the second, The simulation was done by MATLAB software. The
third and sixth distillation stage. Volume share of individual model was set to run 10000 simulations, in order to make it
components is used for calculation: easier to get the real simulation results in real conditions. In
the simulation it was necessary to solve 9 non-linear
10
TABLE XXVII
GASOLINE PROPERTIES OUTCOME
long-term purchase exceeds the value of NPV for the [4] I. Šepić, S. Barić, S. Jakovac Šepić, "Production of gasoline and diesel
fuels according to European standards with current technological
construction of H2 plant.
capabilities of Rijeka Refinery", Petroleum and Lubricants, 42, 2: 117-
137, 2003.
VII. CONCLUSION [5] Refinery simulator manual, MOL freshhh2014 program, 2014.
Crude oil purchased on the market or obtained from own
fields is not overly significant. What is important are products
IX. BIOGRAPHY
which obtained by the procedure of processing of crude oil,
because those products can be placed on the market. Marko Kancijan is student at University of
Depending on the market price of certain products, it is Zagreb, Faculty of Electrical Engineering
necessary to determine how to adjust the parameters of the and Computing. His specialization is power
refinery in order to make the higher profit and be competitive system engineering. His fields of interest are:
in the market. For better market competitiveness it is crucial to power system economics, energy economics,
build model for production process in oil refinery. The mathematical modeling and optimization
distillation of the crude oil was carried out at 6 degrees and problem solving. As a student he gained a
was set up in a mathematical model. Each stage distillation is lot of experience by participating or leading
described separately, and they were merge into the general student projects (Cost Effect Analysis of Wind Farms on
pattern of the refinery production process. Given the Power System, Analysis of Croatian Electricity Market and
technological processes, refinery consumes and produces by- Ancillary Services with PLEXOS Software). He has a
products that need to be properly disposed. professional proficiency in English and limited proficiency in
The mathematical model was set up in a way that, the Chinese.
potential profile was determined for each stage of distillation.
Total profit is equal to the sum of profits in all levels minus Marin Ivanjko is student at University of
purchase cost or production of crude oil. The refinery has the Zagreb, Faculty of Electrical Engineering
ability to produce 11 products. This paper describes the and Computing, Croatia. He received the
structure of a complex oil refinery and its optimization model. Bachelor of Science in Electrical engineering
The refinery consists of 6 degrees of distillation and has the and information technology degree in 2013
ability to produce a product 11, where there is only the and he is currently pursuing the MSc degree.
commercial blend of diesel products from 2nd, 3rd and 6th His interests include power system
stages distillation. In order to satisfy market requirements, protection, renewable sources, mathematical
products must have certain properties. They are set as modeling and optimization problem solving.
constraints in the optimization problem. The objective
function is the total profit and the decision variables are set- Perica Ilak received the Master of Science in
splitter. Electrical engineering and information
The simulation of the mathematical model was done in the technology degree from the University of
programming tool MATLAB. The limits determined by the Zagreb, Faculty of Electrical Engineering
objective function where set in the program. The prices of and Computing, Croatia in 2012, where he is
products on the market are subjects to change, so they are currently pursuing the Ph.D. degree. His
modelled as assumptions in the MATLAB. Given that this is a research of interests includes development
Monte Carlo analysis, the initial program was configured to of optimization methodology for modeling
conduct optimization in 1000 simulations. Simulation results large-scale problems with stochastic elements and
are decision variables values (splitter parameters) with all quantification of risk in hydro power systems and finance.
regulations and constraints fulfilled in production process of
oil refinery. Slavko Krajcar received Ph.D. degree from the University of
Through the paperwork, CLAUS and H2 plant profitability Zagreb, Faculty of Electrical Engineering
were also evaluated on 25 year period. Although, the NPV and Computing, Croatia in 1988. Became
value for CLAUS project is negative, it is much larger than the associate professor in 1997, full professor in
value of NPV for the H2S burning. In the H2 plant project, 2002. His research of interest includes large
NPV value is positive while for the project of hydrogen scale energy systems with narrow field of
purchase from the market NPV value is negative. In development of methodology for modeling
conclusion, it is more profitable to build both plants than complex electricity market structures and
purchase hydrogen from market or pay fine for H2S burning. development of optimization methodology
for planning and development of distribution networks. He
was the dean of the Faculty in two mandates. He was the
VIII. REFERENCES president of the Governing Council of the Institute Ruđer
[1] A. Chang, K. Pashikanti, Y.A. Liu, "Refinery Engineering: Integrated Bošković and SRCE, member of the supervisory board of the
Process Modeling and Optimization", Wiley-VCH, Germany, 2012. national electricity company Hrvatska elektroprivreda d.d. and
[2] http://www.pavementinteractive.org/article/asphalt-production-and-oil- several other companies.
refining/ (accessed: 8.05.2014.)
[3] http://powerlab.fsb.hr/enerpedia/index.php?title=ENERGETSKE_TRA
NSFORMACIJE#Rafiniranje_nafte (accessed: 26.05.2014. )