3.10. Water Systems for all Sectors
For start-up and maintenance of the whole platform operation, water utility must be available. In this section some important equations and constraints are discussed for water production, storage, and disposal overboard, as well as heat efficiency. A heating system utility traditionally can use high-pressurized hot liquid water in oil production facilities or steam. The present model assumes the use of steam to modeling and heat the hydrocarbon streams, a smart proposal, since in that way, the condensate hot liquid water can easily be returned to the boiler to save energy and generate recycled steam to use it finally, saving production of entropy by transferring latent heat. It controls the amount of latent heat transferred without loss of temperature in the water side medium and saves electricity avoiding the use of pumps. Even if one wants to use hot water in the platform, its quantity can be calculated by simply considering modeling with steam and then calculating what is the equivalent amount of energy that would be equivalent by using hot water. Eq. 3.10.1 creates an optional production behavior for the water capacity and the variables bonded to it in any way.
is the cardinality of the set
t, i.e., the numerical representation of the planning horizon.
is a number responsible to create a limiting behavior of how water must be stored along the planning horizon. Higher
values mean that the problem is less relaxed but also has less variability in
along the planning horizon. The global mass balance of water is given by Eq. 3.10.2 knowing that can satisfy
, but is not obligated to since
is what is stored at the end of time
t. Water injection is the most used secondary recovery process in offshore fields in Brazil,
is the mass flow of water injected in the reservoir. Local variables in the mass balance of water do not influence the quantity of water stored since what goes to a sector comes out from it; therefore, Eq. 3.10.2 is replaced by the global mass balance of water given by Eq. 3.10.3.
If total or part of the produced water is not in the needed composition quality to be processed and reinjected in the injection wells, then it needs to be discharged to the sea, and in this case one must just specify this amount in the lower bound of . can be a water excess to be destinated to daily mandatory utilities such as water for scrubbers, dilution water etc. is the mass flow of water being evaporated in the thermal vessel if the water reaches evaporating conditions in such stage and if the platform has hot water pumping. is the amount of water that is set to evaporate to the atmosphere or is liberated to alleviate pressure in steams' lines. The mass balance of utility water is given by Eq. 3.10.4. is the amount of mass flow of water that must have internally in the closed-loop water utility system. Generally, it is filled with clean/treated water before operation starts. The lung capacity must never be exceeded in a time t and must never be less than a certain amount in a time t (Eq. 3.10.6 and Eq. 3.10.7).
is the treated seawater if needed to be captured and the user can manipulate its bounds for minimizing it. Its upper bound is the treated seawater design capacity of the platform. For example, this paper's study case considered it with null value. Besides, to minimize it as a variable, one can just add a subtraction term in the objective function that is the seawater
multiplied by a small number to force to minimize this term as possible to maximize the objective function. With this strategy the algorithm will try to minimize this term to maximize oil production but in the case that the objective function is the MPC, this term must be an addition if the objective is to minimize the error. This comes up with the goal to maximize oil production without treating seawater or minimizing its use, making production cheaper. Seawater treating unit is not modeled here since its wastes and utilities do not influence in maximizing oil production, and if treated water amount is determined, needed operation (elimination of sulfate, bacteria, oxygen, fine particles) can easily be specified. If production is onshore, this water could be from river. In an analogy, the same is done for
, and can be done for
and
.
If the management leader desires controllability being lesser than the tank physical capacity, using Eq. 3.10.6 would make it not necessary to create other constraint, i.e., is just needed to specify
as being an upper bound control limit. Optatively, since
is a slack variable in the model, instead of using Eq. 3.10.6 and Eq. 3.10.7, it can be stated an operation to make the lung tank volume constant given by Eq. 3.10.8. The inventory can be controlled by Eq. 3.10.8 and Eq. 3.10.9. As
is a slack variable, using Eq. 3.10.8 and Eq. 3.10.9 increase the tightness of the model, then using only Eq. 3.10.8 or Eq. 3.10.9 makes it more robust. Adding at least a constraint (Eq. 3.10.9 or Eq. 3.10.10) to restrain
behavior is essential to create bounds for any planning horizon. The constraint given by Eq. 3.10.9 is more efficient than Eq. 3.10.10 because it creates a direct link between
and inventory control. Throwing water overboard because of a lack in planning is also pollution, and the present model can preclude this by optimally reducing or eliminating
, mainly when it was already injected many water that came from seawater treating, which are enough to create a closed water loop.
Either or can be the amount in which environmental regulatory agencies or engineering standards stipulate as maximum allowed. Eq. 3.10.8 to Eq. 3.10.10 are optative and serve only to control the quality of the decision-making of water variables, and it is a tradeoff between model robustness and quality provided, being recommended for short-term planning. can be intuitively equal to or lesser for more slack security. is the minimal composition of that can assume creating a lower bound for it. is the maximum composition of that can assume creating an upper bound for it.
The present model considers material and heat balances for calculation of water process variables, but an alternative way to restrain water utilities are given by Eq. 3.10.11 and Eq. 3.10.12. If the utility system having water is filled with produced and treated water within the platform, then what is being used of water as utility must always be equal to or lesser than what have available (Eq. 3.10.11). In the alternative setting, the constraint given by Eq. 3.10.12 works together with Eq. 3.10.11 and precludes that
will never be equal to zero in any time
t. Additionally, Eq. 3.10.11 could be suppressed if Eq. 3.10.12 is used.
Mostly, a better strategy is to not use Eq. 3.10.11 and Eq. 3.10.12 as is not wise to consider this restraint in the process operation since the water used as utility must edge the purity to avoid process issues. Therefore, this model avoids the use of these both constraints and consider the operational planning having the amount as being calculated by this model and being fulfilled independently from the global mass balance considered for .
is the amount of production water that is sent to the wells in a day
t.
is the minimal amount of utility cold water that must be available in
t, and it is generally specified or calculated prior to optimization because cold water is a continuous closed-loop system; therefore, there is no need to consider it in the global mass balance of water. As
is also within a continuous closed-loop system, it is not computed in this global mass balance (Eq. 3.10.3).
is just to compute the quantity of closed-loop mass of water that is being used in the closed-loop systems.
is the minimal amount of water that must be available in the sector
b1 in
t to provide that the oil stays within the operational temperature of storage.
is the minimal amount of water that must be available in the sector
c in
t to provide that the water stays within the operational temperature of the hydrocyclones, something about 301.5 K.
is the amount of mass flow of hot water that can be formed through the conversion of steam (Eq. 3.10.13), and it is a variable for the scheduling that provides a slack in the operational planning and technical process control.
Not necessarily all the amount contained in goes into the water lung tank, it depends on its current capacity. Despite that, directly filling the lung tank with the crude water coming from sector b1 is not smart nor recommended as it has impurities. The planning must ensure that it has water enough in the platform for doing the essential work, even in the start-up day(s) for achieving accumulated oil extrema faster.
Global heat transfer is established for establishing heat efficiency to the whole platform and for each sector in which are of interest to increase the temperature of hydrocarbon fluids flowing through the piping systems and equipment. The heat balance is the equation that provides the minimal mass flow of steam
that must be generated in the water boiler to distribute along the sectors besides conduction and convex transfer heat. The heat balance equations are given by Eq. 3.10.14 (planning thermal energy required) and Eq. 3.10.15, and they force such operations to reconcile the slack amount of thermodynamic energy needed to achieve the wanted states. The RHS is all the heat available, while the LHS is the estimated heat that must be received. Note that gas turbine generators' (GTG) or GTCC's exhausting gases can generate hot water or steam, so this heat available in any of both forms must also be considered in
and
.
A good planning to large-scale processes must work with slack in utilities to provide feasibility against uncertainties, mainly epistemics, and indeed it occurs in practice. In this step we have the freedom to decide the amount of thermal energy it will be generated since it is a planning. In the heat equations (Eq. 3.10.14 and Eq. 3.10.15), the temperature gradient and heat provided by mixture properties are being disregarded since they are much less than latent heat and because thermal conduction and convection are performed through metallic piping and systems. is the platform average energy used to increase one kg of flowing petroleum or mixture in one degree kelvin. In ideal conditions, almost liquid phase and Newtonian fluid or low pressures, it can be approximated as being the specific heat of the fluid. Each specific point or sector s that is being used heat can be considered in the model as having a specific constant . is the water enthalpy of change of vapor phase to liquid. is the latent heat of water steam. is the mass flow being heated in a sector s. is the steam mass flow that must be provided for sector s. is the mass flow of the hydrocarbon stream that is being heated, e.g., for the sector b1 it is . In the case of , it is equal to minus the quantity of CO2 that is specified to leave within the flare system. is the estimated heat due to steam or hot water liquid phase heat transfer after steam condensation if any or because of inputting both steam and hot water or due to heat integration with other streams. is the sum of each . Letting any of equal to zero is not wrong but will just plan to produce/waste more steam/heat. Each of is generally specified and calculated in the basic and detailed engineering design phase of the project but can be used here as a variable or parameter for conceptual design.
In the sector f, only around 10% of the gas stream going out from the sector is being heated for returning to the molecular sieves, then in this case the mass considered in calculations should be 10% of , or other specified value. This specified value (10%) could be optimized through a Fine-Tuned Robust Optimization (Barbosa Filho and da Silva Neiro, 2022) rather than declaring this parameter as a variable, what would make the model nonlinear and less robust. In addition, linear solvers are more powerful than nonlinear ones, in any sense.
is the number of times that the mass flow
is being heated, or the number of heat exchangers heating
in different stages not being in series. As this is a planning model, these heat calculations do not need to be rigorous, yet using first laws, since the objective is to provide linear models for being more robust for any scenario.
is an intrinsic property of hydrocarbon streams and it is the global difference of temperature required to operate the process in a sector
s, meaning it is the difference between required maximal and minimal fluid temperature of a sector
s being heated (Eq. 3.10.16). By this definition, process heating operation is guaranteed. This planning strategy ensures that there will be energy available to respond to daily operations, even if hot liquid water is used instead of steam.
The whole platform can use steam for a specific end, but the processes using hot liquid water or steam focusing as a utility for production systems are the sectors b1, f and h. The present model also serves as basis for calculation of the amount of hot liquid water and its thermodynamics conditions that would provide the same results. Each process needs amount of heat to normally operate. There exists a temperature, pressure, flow conditions, material properties and equipment sizing that transfer the same amount of heat using hot liquid water than steam. Once determined , calculating the amount of hot water is made apart and after the optimization of the present model is performed because it is a nonlinear calculation that would make the model less robust and slower without necessity. In addition, a local optimal solution could be found. Hot water calculation is needed if the plant does not have a process design to provide enough steam. Generating steam provides a cheaper system and less existence and maintenance of pumps, as well as less mass flow of water need to be biologically and chemically treated to provide the necessary heat. The present model can also use steam driven turbines for compressors, but a generic update should be made to the model.
Sectors b2 and d are the main sectors wherein there is phase change and condensation of gas into oil (hydrocarbon liquid recovery); therefore, the best option to provide process control is to calculate their utility water parameters as being variables. Although sector's b2 cold water is not being calculated through a heat balance as the way above, it could have been done similarly. In this way, , , and , would not be controlled as being a specified setpoint in a control system. Instead, it would be a setpoint calculated by this model and then controlled by a practical in-plant control system (e.g., as Eq. 3.10.17). Specifying possible setpoints instead of calculating could flexible the model against the systems' MAWP as well as other process variables. Rigorous calculations could lead to nonlinear models, and in the end may be controlled any way.
As sector
d deals with all the stream gas that is processed within the platform, for this purpose it is considered constraints dealing with heat balance since in this stage a more detailed mapping is needed. Besides that, all the gas flowing in sector
b2 is destined to flow in sector
d. Since sector
d processes much more gases than sector
b2, the mass amount of utility flowing through sector
d is bigger, and because of that it must be more rigorous calculated if not specified; so thus, it is possible to configure a less conservative process control and stability. The following constraints (Eq. 3.10.17 and Eq. 3.10.18) include the heat balance approach considered with its parameters and conditions.
is the number of times that a heat exchanger is used to cool the main gas stream. is the mass flow of cooling water used as utility in the sector d in time t. has the same meaning as , having in this case the fluid as being the gas being cooled. has the same meaning as . is the total transferred thermal energy required to cool the gas in all the stages of the heat exchangers where they are used. is generally a nonlinear calculus and may be the sum of different nonlinear terms; therefore, it is recommended that the user treats it as a parameter being calculated prior to optimization. For example, having an overall heat transfer coefficient , the specified thermal area , and , it is possible to calculate , remaining with a linear approach and surely a global optimal solution. can be either a parameter or a variable for decision-making or process designs. Designing new heat unit processes can be done by setting as being a parameter and optimizing its value through, e.g., a Fine-Tuned Robust Optimization method with other desired parameters instead of being worried about nonlinearity. If is calculated before optimization is done, then must not be here specified and will act as being a decision variable.
Generally, the amount of hot water and/or steam that must be produced generates variability according to initial inventory values for the water stored. Since overboard water directly influences storage, Eq. 3.10.19 or Eq. 3.10.20 provide optional controllability for the water in excess being disposed overboard to control the inventory in case it is necessary. They provide a remote upper bound
specified by the user.
determines how much the average upper bound
can be varied to limit
. The philosophy of Eq. 3.7.28 and Eq. 3.7.29 can also be applied to this step (and vice versa) and to
.
For an empty water inventory, or a low level one, as the plant is susceptible to instabilities and dynamics, Eq. 3.10.7 must be relaxed in the first day(s) of just as Eq. 3.10.19 condition. Therefore, controllability is attended for water systems, and it must be noted that the company's management leader should choose between control options, e.g., selecting between either Eq. 3.10.19 or the one derived from the same philosophy but applied to (different water dynamic).