You are on page 1of 17

Journal of Process Control 94 (2020) 58–74

Contents lists available at ScienceDirect

Journal of Process Control


journal homepage: www.elsevier.com/locate/jprocont

An optimal hierarchical control scheme for smart generation units: An


application to combined steam and electricity generation

Stefano Spinelli a,b , , Marcello Farina b , Andrea Ballarino a
a
Istituto di Sistemi e Tecnologie Industriali Intelligenti per il Manifatturiero Avanzato, Consiglio Nazionale delle Ricerche, Milano, Italy
b
Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Milano, Italy

article info a b s t r a c t

Article history: Optimal management of thermal and energy grids with fluctuating demand and prices requires to
Received 27 September 2019 orchestrate the generation units (GU) among all their operating modes. A hierarchical approach is
Received in revised form 30 June 2020 proposed to control coupled energy nonlinear systems. The high level hybrid optimization defines the
Accepted 24 August 2020
unit commitment, with the optimal transition strategy, and best production profiles. The low level
Available online 9 September 2020
dynamic model predictive control (MPC), receiving the set-points from the upper layer, safely governs
Keywords: the systems considering process constraints. To enhance the overall efficiency of the system, a method
Hierarchical control to optimal start-up the GU is here presented: a linear parameter-varying MPC computes the optimal
Model predictive control trajectory in closed-loop by iteratively linearizing the system along the previous optimal solution. The
Optimal management introduction of an intermediate equilibrium state as additional decision variable permits the reduction
Thermal and energy grids of the optimization horizon, while a terminal cost term steers the system to the target set-point.
Simulation results show the effectiveness of the proposed approach.
© 2020 Elsevier Ltd. All rights reserved.

1. Introduction industries, together with industrial symbiosis – i.e. utilization of


excess energy and side streams – and local-level cooperation [1].
1.1. Motivation This shift is allowed by moving the focus of managing, op-
timization, and control problems from the device-level to the
The energy and utilities industry is facing a deep transforma- system level, e.g., as in smart grids. The generation nodes are
tion, driven by environmental policies, characterized by the tran- composed of multiple integrated units that require coordination
sition from centralized generation systems to distributed ones. and control to fulfill the demand of the various consumers, which
This shift, supported by advanced digital technologies, requires in turn may vary (in part) their demand based on optimization
the introduction of new paradigms for energy management and criteria.
control. This includes a radical change in the user role, the inte- This also promotes a scenario in which the production of
gration of different energy vectors, and the change of focus for various forms of utilities is more and more integrated. A step-
the definition of the control problems from the device level to a ahead in system flexibility is built on a cross-sectorial integration
system level. of different energy vectors and the development of tools and
First, decentralization of the energy production and the inte-
technologies that enable efficient utilization of multi-dimensional
gration of small scale generation are promoting a paradigm shift
energy systems [2]. For this reason, significant research efforts
in the consumers, which gain an active role both on the modi-
must be devoted to alternative energy carriers, e.g., compressed
fication of their consumption patterns, i.e. in demand-response
air, heating and cooling networks, and to their integration. This
programs, and by producing and dispatching locally their energy.
allows, e.g., to extend the idea of smart grids to Smart Thermal
In this new scenario, the consumer is asked to abandon the
Energy Grid (Smart-TEG).
perspective of ‘‘Energy as a Commodity’’, where energy is consid-
In this work we focus on a local instance of the Smart-TEG,
ered always available and cost-effective on demand toward the
paradigm of ‘‘Energy-as-a-Service’’. The latter is envisioned as one where an industrial consumer, as in large companies and in
of the main strategies to reach the Circular Economy of the energy industrial parks, includes an internal network of generation units
(GU), which are responsible to supply energy – in various forms
∗ Corresponding author at: Istituto di Sistemi e Tecnologie Industriali Intelli- – to the production units.
genti per il Manifatturiero Avanzato, Consiglio Nazionale delle Ricerche, Milano,
Among the different configurations of a general thermal-
Italy. energy grid, in this work we select a plant with steam and
E-mail address: stefano.spinelli@stiima.cnr.it (S. Spinelli). electricity flows. Steam is chosen as an high energy carrier since

https://doi.org/10.1016/j.jprocont.2020.08.006
0959-1524/© 2020 Elsevier Ltd. All rights reserved.
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 59

it is the most efficient media to transport thermal energy; it For example, for co-generative plants, in [15] the authors
is extensively used in different sectors, e.g. chemical, medical propose a direct Mixed-Integer Linear Programming (MILP) for-
textile and food. Besides, it is employed for the production of mulation, while in [16] an hybrid system approach is presented
electrical power in Combined Cycle Power Plants (CCPP) and in for a Combined Cycle Power Plants island composed of a gas
co-generative systems. and a steam turbine with a heat recovery steam generator. The
The integrated multi-utility configuration of the GU is here work [17] presents a generalized formulation to determine the
composed by a Fire-Tube Boiler (FTB), for the generation of steam, optimal operating strategy for any industrial cogeneration plant,
and by an Internal Combustion Engine (ICE), which operates as a for the equipment and load profiles of a typical petrochemical
combined heat and power system (CHP), providing both electrical industry.
and thermal energy. The selected case-study presents an interlink The work [18] addresses the high-level UC of generators and
of the two generation systems: the thermal energy produced storage within a micro-grid considering installation of a CHP,
by the CHP can be diverted inside the boiler to support steam linking electricity and heat production, where the UC problem is
generation, through a controllable valve. formulated as a linear programming; it only considers control of
While the thermal and electricity demand defined by the the aggregate energy flows at the high level. Instead, in [19] a
scheduling of the production units must be fulfilled at any time, particle swarm optimization method is used for the solution to a
the mix between internally generated energy and net exchange multi-objective UC problem of a CHP unit.
with the national grid must be optimized, as well as the commit- Also optimization of start-up procedures is a major issue for
ment of the generation units and their operating point. guaranteeing optimal and safe system behavior. While, in the
In this context, the management and control of the integrated past, shut-downs and start-ups of generation units, e.g. CCPP,
generation units become a necessary element to operate them were mainly imposed by maintenance actions and activation
safely and efficiently – both from economic and environmental procedures were seldom performed, at present these plants are
perspective – as well as to balance the varying demand. mostly under-utilized and go through several start-and-stop pro-
cedures to follow the demand. Optimizing the start-up procedure
1.2. State of the art can lead to reducing the start-up time, minimizing the opera-
tive cost, avoiding thermal stress of the metal components, and
In the field of thermal power generation, many research efforts
reducing the environmental footprint, e.g., by limiting the fuel
have been devoted in the past decades both to solve regulation
consumption and the emissions.
problems at a single device level and to address optimization
Since the calculation of the optimal trajectory for the en-
and high level control with reference to integrated generation
tire procedure is computationally expensive for online imple-
systems and cogeneration plants.
mentation mainly due to the system non-linearity, many recent
Several works cover dynamic control problems related to
works propose offline optimization procedures. Model-based op-
steam systems. Nowadays, the deregulated electricity market
timization is proposed for start-up procedures of coal-fired power
and the integration of renewable sources in the generation mix
plants [20], Heat Recovery Steam Generators [21] (HRSG), and
impose dramatic fluctuations of the power demand even for
turbines [22,23]. Nonlinear Programming (NLP) problems are pro-
these plants. Steam generators are nonlinear systems and the
posed in [24] and [25], and [26] for the open-loop optimization
large variation of the demand profile imposes them to cover a
of a CCPP drum boiler, considering the thermal stress model.
wide range of operating points, and this requires the design of
The works [27] and [28] present an extremely detailed model of
advanced control schemes for effective regulation.
the thermal stresses for critical components, used for the off-line
Boilers, for example, are multi-input/multi-output (MIMO)
optimization of firing curves.
systems for which control of both water level and pressure is
required, respecting process constraints. State of the art control However, the approaches based on offline optimization can-
is classically done by decoupled PID loops on water level and not manage possible disturbances or compensate for modeling
pressure, governed respectively by feedwater flow rate and fuel errors, possibly leading to safety and reliability concerns. On
flow rate [3]. Regarding drum boilers, note that the water level the other hand, closed loop approaches can assure disturbance
control is a severe issue due to the so called shrink-and-swell rejection and compensate drifting or model mismatch. In [29] a
effect. Several works propose advanced strategies, e.g., [4,5] and Nonlinear Model Predictive Control scheme is proposed, where
references herein. [4] proposes a Dynamic Matrix Control (DMC) the authors choose a prediction horizon that includes the whole
approach based on step-response models to describe system start-up. In view of this, although this approach is very promising,
dynamics. To deal with the nonlinearities of the system, in [6] computational complexity is still an issue.
the authors present a hierarchical control structure with a high-
level nonlinear model predictive control (NMPC) based on the 1.3. Paper contribution and structure
nonlinear plant model [7].
Other works, e.g., [8,9] and [10], address the control of fire- In this paper a hierarchical scheme based on time scale sep-
tube boilers (FTB) with similar control approaches but with a aration is proposed to address the optimal management and the
focus on the pressure loop, since in FTBs the level control is a control of the generation units of a smart thermal energy grid,
minor problem because of the much larger free surface of water. consisting of a FTB and a CHP. The hierarchical approach, similar
High level optimization and control schemes of energy sys- to the one applied in [30] to micro-grids, permits to tackle this
tems have also been studied. As discussed in [11], a strong in- structured problem, consisting of both UC and dynamic control.
tegration of decision-making layers is advantageous, but also The main contribution of this research work is the extension
challenging, and therefore different approaches are available. For of hierarchical approaches – mostly studied in the context of
example, regarding cogeneration plants, consisting of a Boiler– electrical systems – to steam generating units. To the best of our
Turbine (BT) configuration, [12] and [13] propose multi-layer knowledge, this has not been previously investigated. In addi-
architectures based on reference governor algorithms. tion, to comply with this aim, original modeling aspects related
For optimal management of thermal systems, it is often nec- to boiler systems are presented, as well as specific assump-
essary to schedule activation, deactivation and transitional start- tions introduced for layer integration. Moreover, the proposed
up/shut-down procedures, i.e., to define optimal Unit Commit- method for optimizing the boiler startup, considering output
ment (UC) problems [14], which is applied to different problems. measurements, is another novel contribution of this work.
60 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

The objective of UC is to schedule the discrete transitions sample time of τL = 60 s, while at high-level the sampling
between the different operating modes of the GU, based on a time is τH = 15 min. When necessary for better clarity, we will
hybrid model of the system, to fulfill the utility demand and distinguish continuous-time from discrete-time variables using
minimize the operative cost. the following notation. For a generic variable v , v (t) denotes the
Considering the result of the UC, the dynamic control algo- value of v at time instant t ∈ R, while v[h] (respectively v[k])
rithm aims at tracking the operating point trajectories generated denotes the value of v at low-level discrete time step h ∈ Z
by the upper layer and at regulating the system dynamics around (respectively high-level discrete time step k ∈ Z).
these points rejecting disturbances. A model predictive control
approach is proposed for this layer. For low-level control we focus 2.1. The CHP dynamic model in full operation mode
on the FTB system, which presents more challenging aspects than
CHP regulation. CHP control, in fact, is just aimed principally at The CHP is a natural gas Internal Combustion Engine (ICE)
maintaining the rotational speed of the motor in presence of connected to a three phase synchronous generator, to provide
varying load. electricity. The considered model of the ICE in operation mode
We also propose a nonlinear MPC approach for the control is derived from the works of [35] and [36]: a lumped parameter
of the boiler start-up, inspired by the tracking MPC presented model of a internal combustion engine, i.e. a mean value model,
in [31]. As it will be discussed, this allows to limit the optimiza- is connected to a static alternator. The dynamical model of the
tion horizon, therefore reducing the numerical complexity of the ICE considers two states, the angular speed ω of the motor and
related optimization problem. To achieve an efficient implemen- the engine internal pressure pCHP . The inputs are the position of
tation of the NMPC, we use here a parameter-varying lineariza- the throttle valve, which is assumed to be directly related to the
tion of the nonlinear system, computed along the state/input natural gas mass flow rate qCHP by stoichiometric combustion
g
trajectory obtained at the precedent optimization cycle.
assumption, and the electrical demand PeCHP . In addition to the
Preliminary results are proposed in [32] and [33]. In [32]
state variables, another output channel is considered: the exhaust
the hierarchical control structure for optimization of the GU CHP
gas enthalpy Hex that depends on the states of the system.
behavior is introduced. Differently from [32], in this paper the
Stoichiometric ratio, volumetric and thermal efficiency are
discrete high-level model includes an additional operating mode:
approximated by second order polynomials of the systems states.
the stand-by. An extensive analysis of process data has in fact
highlighted the presence of a characteristic operating mode, dis- Similarly, the heat transferred from the combustion gases to the
tinguishable from both productive modes. ICE walls, used to evaluate the remaining enthalpy of the ex-
In [33] the FTB start-up optimization method discussed here haust gases is simplified as a polynomial map considering motor
is introduced, for a simpler boiler model and without integration angular speed and its internal pressure.
in the comprehensive hierarchical control scheme. In this paper System parameters are derived from the physical and geo-
we take several steps forward with respect to these preliminary metrical properties of the CHP, starting from literature values,
works, also as far as the models used for FTB dynamic control as in [35]. Moreover, the gain matrix has been fine tuned based
are concerned. In fact, here we consider an enhanced dynamical on available static data: in Fig. 1 the static map obtained by
model of the system, in which the parameters are identified on available data is compared to the corresponding map computed
available experimental data. Also, the FTB dynamical model is using the identified model. Values on the x axis are adimensional
extended with the inclusion of the steam header model, required for confidentiality reasons.
to represent the actual configuration of the system and the sensor The local CHP controller, in this paper, is a standard PI con-
location, and hence improving the description and reconstruc- troller acting on the throttle valve input, i.e. equivalently to the
tion of available measurements. Furthermore, the problem has natural gas flow rate qCHPg , to regulate the angular velocity ω to
been addressed in a more realistic set-up: the state feedback its nominal value ω̄ = 50 Hz. The PI loop is tuned to obtain a
assumption has been removed and an observer has been set up settling time is smaller than 1 s.
considering the available sensors. Thanks to this regulating loop, the CHP is characterized by one
The paper is organized as follows: Section 2 describes in detail input only, i.e., the electrical demand PeCHP , while the gas flow rate
the model of the GU, presenting the subsystem models used at qCHP and the exhaust gas enthalpy Hex CHP
are to be considered as
g
both low and high hierarchical levels, while Section 3 describes system outputs.
in detail the proposed control structure. Section 4 presents the It is worth noting that the settling time of the system, 0.5 s
optimal predictive control method used in the lower level for about, is much faster than the sampling time, τL , of the ‘‘fast’’ MPC
start-up optimization, while in Section 5 simulation results are controller designed in the following (see Section 3.2). Based on
reported. Finally, in Section 6 some conclusions are drawn. the MPC timescale, we can assume the ICE to be always in steady
state conditions, therefore we can model the CHP behavior just
2. Models of the generation units
considering the static gains where the power produced by the ICE
is equal to PeCHP .
The GU case study considered in this work is composed of
In addition, the system in full operation mode is constrained
a CHP and a FTB physically connected together. Specifically, the
to work within a range of produced power; as a consequence, the
hot exhaust gases of the ICE can be either expelled in the air
input qCHP
g is constrained to lie in a set, where also a lower bound
or directed inside the boiler thanks to a commanded valve. The
is defined.
residual thermal energy of the flue gases can thus be recovered
qCHP g min , q̄g max ]
∈ [q̄CHP
in the FTB to sustain the steam production with a lower primary CHP
g (1)
input consumption.
The mathematical models of these systems are discussed in where q̄CHP
g max > q̄CHP
g min > 0.
the following sections: first, state–space models, derived from
first principles and considered in the lower control layer, are pre- 2.2. The boiler dynamic model
sented for the CHP and the FTB. Secondly, the hybrid models [34],
used at UC level, are described. The mathematical model of the fire tube boiler, used for the
Different sampling times are used at the two different layers: lower level control of the system and inspired by [37] and [38],
the dynamic models used at low level are discretized with a is described in the following sections.
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 61

Fig. 1. Relationship between qCHP


g and PeCHP in steady-state conditions. Green dots: experimental data; red dots: static map of the nonlinear model devised in
Section 2.1; blue line: identified affine relationship (19a). qCHP
g is adimensionalized for confidentiality. (For interpretation of the references to color in this figure
legend, the reader is referred to the web version of this article.)

2.2.1. The boiler physical equations where qws


→s
is the steam released from the water region into the
In the peculiar configuration of the case study, because of the steam section.
interconnection between the CHP and the boiler, we consider By neglecting steam accumulation in the steam zone qw s
→s
=
here two sources of heat, i.e., the gas burner and the exhaust qs and by writing the water mass balance as:
gases diverted from the CHP. The set of equations – based on mass d d d dVs dlw
and energy conservation laws – describing the system dynamics [ρw Vw ] = ρw Vw + Vw ρw ≃ −ρw
dt dt dt dlw dt
is
we can simplify the formulation. The above approximation can be
d
[ρs Vs + ρw Vw ] =qf − qBs (2a) done assuming the second term negligible and remembering that
dt Vw + Vs = VTot is constant
d
[ρs es Vs + ρw ew Vw ] =Qmt,→
GAS t,CHP B
w + Qm→w + qf hf − qs hs (2b) dVw dVs
dt =−
d dt dt
[M t,GAS Cp T t,GAS ] =QgB − Qmt,→
GAS
w (2c) Based on FTB geometry, is it possible to express the volume of
dt
d the steam zone Vs as a function of the water level, lw :
[M t,CHP Cp T t,CHP ] =uex ηex Hex
CHP
− Qmt,→
CHP
w (2d) 4+π
dt Vs = As L ≃ r 2 L − 2rLlw
where ρ is the density, V the volume, q the mass flow rate, T 2
the temperature, h the specific enthalpy and e the internal en- The same separation in steam and water regions can be con-
ergy, of each system component denoted by its relative subscript sidered also for the energy balance in Eq. (2b). Recalling the
notation: gas (g), tubes (t), steam (s), water (w), and feed-water assumption of thermal equilibrium for the two regions and of
(f). saturated liquid, Tw = Ts , we can write the energy balance related
Eqs. (2c)–(2d) represent the energy balance of the heating only to the water region:
tubes, where mt,GAS (respectively, mt,CHP ) denotes the mass of d d d
the tubes heated by the gas burner (respectively, transporting [ρw Vw ew ] = Mw [ew ] + ew [ρw Vw ]
dt dt dt
exhaust gases from the CHP), while T t,GAS (respectively, T t,CHP )
The above energy conservation law for the water side can be
denotes their temperature. Moreover, the status of the interlink
expressed in terms of water temperature by recalling Eq. (4)
valve (open/closed), which can divert the flue gases from the CHP and the thermodynamic relations for enthalpy, dh = cp dT , and
to the FTB is given by uex ∈ {0, 1} while ηex denotes the rate internal energy, de = cv dT .
of enthalpy of the exhaust gases that can be transmitted to the The nonlinear dynamic model of the FTB boiler can be recast
tubes. in the following form:
The heat power of the gas burner is related to the natural gas
flow rate qBg by the following relation dT t,GAS 1
= [Q B − β (T t,GAS − Tw )] (5a)
dt M t,GAS cp g
QgB = ηB cLHV qBg
dlw 1
= [qf − qBs ] (5b)
where cLHV is the lower heating value. The heat transmitted from dt 2rL
the metal walls to the water can be modeled as dTw 1
= [Q t,GAS + Qmt,→
CHP
w + qf cp (Tf − Tw )
Qmt,→ t,GAS dt ρw Vw (lw )cv m→w
w = β (T
GAS
− Tw )
− qBs hs (Tw )] (5c)
Qmt,→ w = β (T
CHP t,CHP
− Tw )
t,CHP
dT 1
where β is the heat transfer coefficient depending on the boil- = [uex ηex Hex
CHP
− β (T t,CHP − Tw )] (5d)
dt M t,CHP cp
ing two-phase mixture of steam and water, close to the tube
walls, that induces a natural recirculation and the interaction of The FTB is equipped with a set of sensors, collecting the steam
numerous tubes in the bundle, based on Cooper correlation [39]. pressure ps and the water level lw , assumed to be available by
The conservation laws (2) can be simplified and further manip- the internal controller. The output equation for the pressure can
ulated considering in the FTB two separated regions for water and be defined by considering that the system works at saturated
steam and assuming the thermodynamic equilibrium between conditions, therefore, the water and steam pressures satisfy the
the regions. It is thus possible to split Eq. (2a) for the two regions: equality:

d ps = pw = psat (Tw ) (6)


[ρs Vs ] =qw
s
→s
− qBs (3)
dt where the function of the thermodynamic properties of the steam
d and water at saturation, psat (T ), is defined based on the Industrial
[ρw Vw ] =qf − qsw→s (4)
dt Formulation IAPWS-IF97 [40].
62 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

The state vector of the complete FTB model, x = [T t,GAS , lw , forces, i.e. the gravitational fields, which contribution is negligible
Tw , T t,CHP ]′ , includes the temperature of the heating tubes, the in this case, as constant.
water level and its temperature. The flow rates of feed-water, qf , First, Eq. (10), under the isochoric assumption, allows to write
natural gas, qBg , and steam output, qBs , are the manipulable inputs the expression of qBs in (5b) and (5c) as a function of qH s and the
of the model. It has to be noticed that, based on the operating boiler variables as follows
mode of the system, the latter input can be considered either dρ
an actual manipulated variable, e.g. as in start-up modes, or a qBs = Vc + qHs (12)
dt
measured disturbance as in full operating mode, when steam
outflow is defined by the consumer demand. where Vc is the conduct volume and the density time-derivative
The controlled output vector is composed by internal steam at the boiler exit is computed as
pressure and water level, i.e., y = [lw , pBs ], where the boiler dρ ⏐
⏐ = dρ ⏐ dT ⏐
⏐ ⏐ ⏐
⏐ ⏐
steam pressure is computed by the nonlinear thermodynamic (13)
dt s B
⏐ dT s B dt ⏐s B

map at saturation (6). The continuous-time nonlinear model of
the fire-tube boiler is, in short: After replacing (12) and (13) in (5), the resulting dynamic system
is indicated as follows for brevity
ẋ = f (x, u, θ ) (7a)
y = g(x, u, θ ) (7b) ẋ = f˜ (x, ũ, θ ) (14)

where θ is a vector collecting the uncertain system parame- where ũ = [ , , ] is the ‘‘new’’ input vector. Secondly, by
qf qBg qH
s
ters, specified in the following in Section 2.2.2. Input and state recalling that enthalpy is a function of the pressure h = h(p), we
variables are all subject to constraints: obtain, from (11), the following Bernoulli equation
)2 )2
qBs qH
( (
qf ∈ [0, q̄f max ] (8a) 1 1 s
+ hBs (pBs ) = + hHs (pHs ) (15)
qBg ∈ [q̄Bg min , q̄Bg max ] (8b) 2 ρsB (pBs )AB 2 ρsH (pHs )AH
Eq. (15), in turn, allows to derive the explicit expression of the
qBs ∈ [q̄s min , q̄s max ] ∪ {0} (8c)
header steam pressure pH s , regarded as a new output, as a function
pBs ∈ [p̄min , p̄max ] (8d) of the boiler system (14) variables x and ũ. In short, we write
lw ∈ [l̄min , l̄max ] (8e) s = ỹ = g̃(x, ũ, θ ).
pH

For control design purposes, the nonlinear dynamical model (7a) Identification procedure. The data at our disposal for identifica-
is discretized, with sampling time τL , using the fourth-order tion purposes cover several days of plant operation, logged by the
Runge–Kutta method. With some abuse of notation, the so- data acquisition and monitoring system in a historical database.
obtained discrete-time model is In addition to the steam pressure and flow rate sensors located
in the steam header, a flow-rate and a temperature sensors are
x[h + 1] = fRK 4 (x[h], u[h], θ ) (9) available on the feed-water conduct, as well as a flow-rate sensor
where h represents the discrete time step. located downstream of the junction from the main natural gas
pipe: these sensors are used for the identification of the parame-
2.2.2. Parameter identification ters of the boiler model. Moreover, since the variation of the feed
The parameters of the model are computed based on the water temperature is very limited, less than 1%, the average value
physical and geometric properties of the system. However, a fine is used in the boiler model as a fixed parameter. To this aim, we
tuning of some key parameters is conducted based on available selected datasets related to the last part of the boiler start-up.
data. The system, in this particular process condition, is more excited
The data available at present for parameter identification pur- in terms of input variation and also the signal to noise ratio is
poses, however, do not correspond with all inputs and outputs larger, since the output of the system varies significantly.
of model (7): in fact, the pressure ps and the water level lw Moreover, the startup is characterized by a first part operated
measurements, as well as the steam flow rate qBs are not logged in open-loop, as the activation procedure is initially manual, and
and available for identification. Nevertheless, in the steam header by a second half in closed-loop, as the regulator is triggered
H, physically placed downstream of the FTB, a steam pressure pH s
when water temperature reaches the regime value. The manual
and a flow rate qH
s sensors are present and connected to the plant
procedure, depicted in Fig. 15b, reveals that the gas flow-rate is
data acquisition and monitoring system. As a preliminary step set to three specific levels based on the water temperature. The
to parameter identification, therefore, we first derive the model, system operates in open-loop until Tw = 0.95TwSP , that triggers
linking the state–space model (7) variables with pH H
s and qs . the activation of the PI regulator.
Therefore, the dataset used for identification includes both
Model adaptation for parameter identification.
data collected in open loop and in closed loop operation.
The steam header is a conduct, modeled as a chamber acting
The dataset used for training consists of arrays of N = 900
as a small accumulator. Here the mass conservation law and the
samples, sampled with a sampling time of τid = 10 s, of variables
compressible Bernoulli equation hold, i.e.,
ỹ and ũ. We denote such data as ũmeas [h] and ỹmeas [h], where
dM h = 1, 2, . . . , N.
= qBs − qHs (10)
dt The input sequence used for identification is analyzed to ex-
( B )2 ( H )2 amine its persistent excitation (PE) properties. For example, if we
1 qs 1 qs
+ h B
+ Ψ B
= + hHs + ΨsH (11) analyze the spectral contents of the input signals, as in Fig. 2,
2 ρsB AB s s
2 ρsH AH
we can conclude that, although they are primarily made of low-
where the superscripts B and H refer to the boiler outflow and frequency components, their spectrum is different than zero in a
the sensor location in the steam header. M is the steam mass sufficiently wide frequency range. Note that as the sampling time
accumulated in the conduct, A is the conduct area, h is the of the datalogger is τid = 10 s, the maximum frequency in the
enthalpy and Ψ the potential associated with the conservative spectrum is 0.1 Hz.
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 63

Fig. 4. Comparison of the simulated steam header pressure ỹ (solid red) and
experimental data ỹmeas (dashed blue).

input data of the validation set are shown. For confidentiality


reasons the data shown here are adimensional. The simulated and
measured output trajectories, obtained in the validation phase,
Fig. 2. Spectral density of the input data used in training for the identification are compared in Fig. 4.
of model parameters.
2.2.3. Thermal stress constraint
One of the main limitations in the boiler operation (and in
particular, the start-up) is related to the thermal stress of the
shell and the internal tubes. A large thermal stress, due to a
too steep increment of the temperatures, leads to a reduction of
components’ life-cycle, increasing the costs for inspections and
maintenance. Therefore, thermal stresses have to be kept under
control. The thermal stress σ can be modeled as follows.
dT shell
σ = kt (Tshell ) (16)
dt
kt is a function of the material properties and can be either
constant or temperature-dependent.
For the pressurized components, as the boiler shell, the maxi-
mum temperature rate rT is defined by the European standard EN
12952-3 [41] and must fulfill the following inequality.
⏐ ⏐
din + s E α cp ρ 2
⏐ ⏐
⏐βp (p − p0 ) + βT s φf rT ⏐ < σ max (17)
⏐ ⏐
⏐ 2s 1−ν k ⏐
Fig. 3. Input data for validation of the identification procedure. Data are Variables p and p0 are the nominal and initial, respectively, pres-
adimensionalized for confidentiality. sures, din is the internal diameter, s the wall thickness, the me-
chanical and thermal material properties -E, ν , α , ρ , k, and cp -
are, respectively, Young’s modulus, Poisson’s ratio, the thermal
An optimization program is defined to minimize the error expansion coefficient, the density, the thermal conductivity and
between the simulated output and the available measurements the specific heat. Also, φf is the cylindrical shape factor, which is
as follows. a function of the ratio of internal and external diameters. The first
N addend is the stress caused by pressurization, while the second
one is the thermal stress: βp and βT are the stress concentra-

ỹ(τid h) − ỹmeas [h]
 
min
θ ,x(0) tion factors, respectively for internal pressure and thermal-based
h=1
stresses. As suggested by [27] and references therein, we can set
s.t. ẋ(t) = f˜ (x(t), ũmeas [⌊t /τid ⌋] , θ )
βP = 0.51 and βT = 2.
ỹ(t) = g̃(x(t), ũmeas [⌊t /τid ⌋] , θ ) The coefficient kt , which can be recovered by inspection from
θ ∈Θ Eq. (17), is proportional to the Young’s modulus and the thermal
expansion coefficient, that are in general temperature-dependent.
The notation ⌊·⌋ denotes the floor function. The decision variable However, for the temperature range considered in this specific
θ = [V H , AB , AH , η, β], is a vector of uncertain model parameters, application, E = 1.82 105 MPa and α = 1.35 10−5 m2 /s and kt
related to the steam header geometry, the burner and the heat can be considered constant.
transfer efficiencies. The set Θ is defined by known physically The thermal stress inequality (17) can be formulated as a
consistent upper and lower bounds of the parameters to be constraint on the rate of change of the component temperature. In
identified, e.g. while all the unknown parameters are imposed
particular, in the model predictive control optimal control prob-
to be positive quantities, efficiencies are also constrained to be
lem, we will enforce the following inequality on the difference
strictly less than one. Moreover for each data-set, the initial state
between the wall temperature values at subsequent sampling
is considered as an additional optimization variable.
times:
The validation has been performed in a similar process con-
dition, extracted by the available historical data. In Fig. 3, the (Tw [h + 1] − Tw j[h])/τ ≤ rTmax (18)
64 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

where τ denotes the used sampling time. The value of rTmax is


computed from Eq. (17) by imposing the maximum allowable
stress. The bound (18) is imposed to Tw under the assumption
that the latter is equal to the water temperature, which in turn
is assumed to be in equilibrium with the shell one. An analogous
constraint on temperature variation must be imposed on internal
tubes, where we express the (18) inequality considering respec-
tively T t,GAS and T t,CHP for the main burner tubes and the one
connected to CHP exhaust.
Fig. 5. Finite State Machine of the internal combustion engine. Di-graph rep-
resents the system modes and the possible transitions. Only decision variables
2.3. The CHP high-level hybrid model
are shown, however transitions are also implied by dwell time conditions. Solid
edges denote externally governed transitions, while dotted lines show transitions
The model used by the high-level optimizer, having a sampling induced by state guard conditions.
time τH , must describe the steady-state behavior of the CHP in
all its operation modes and the transitions among them. To this
end, a discrete hybrid model is used, which describes the time- considering both continuous and discrete ones. The vector field f
evolution of a set of continuous and discrete states, subject to expresses the evolution of continuous variables and it generally
both discrete (boolean) and continuous inputs. depends on the active discrete mode m, as for the output map
The discrete states, mCHP , correspond to the different CHP h. The affine equations in (20d) depend indeed on the active
operating modes – shut down (OFF), cold start (CS), hot start (HS), mode, and are detailed in (19). While Init is the set of valid initial
and production (ON) – thus we define the discrete state to lie in conditions, D represents the domain in which the discrete mode
the set M: mCHP ∈ {OFF, CS, HS, ON}. m is invariant. The possible transitions between these modes
The high-level model is based on the assumption that the evo- are defined by the edges E , and transitions are activated if the
lution among the operating modes can be described by temporal guard conditions – described by G – are met. The transition might
thresholds. involve a reset of the continuous variable, which is defined in
The dynamic state is therefore an internal clock, denoted with (20h) by R. Here in detail, the model of the CHP in the DHA
τ CHP , that represents the number of sampling times spent by the framework is reported:
system in the present operation mode, where τ CHP ∈ Z+ 0.
M = {OFF, CS, HS, ON}
+
A specific class of discrete hybrid automata (DHA) is the timed X = {τ CHP } ∈ Z0 (20a)
automata (TA) [34], where the discrete states and transitions
are governed by dwell-times and defined by timed transition CHP
U = {PEl , uCHP
S } ∈ R × {0, 1} W = R2 (20b)
languages.
The continuous input, based on the closed-loop model de- f :M×X ×U →X
scribed above, is the demanded (and produced) electric power
f (mCHP , τ CHP , uCHP ) = τ CHP + 1 ∀mCHP ∈ M
g , Hex ) which de-
PeCHP , while the model output is the pair (qCHP CHP (20c)
pends on the discrete state mCHP and on the continuous input h:M×X ×U →W h(m CHP
,τ CHP
,u CHP
) = aff(u CHP
) (20d)
PeCHP .
In particular, in the operating mode, i.e. mCHP = ON, the output
pair of the CHP is given by affine relationships with input PeCHP : E = {(OFF, CS), (OFF, HS), (CS, ON), (HS, ON), (ON, OFF)} (20e)

qCHP = (PeCHP − Pint )/γq ≤ τOFF→HS } ∨ {uCHP



g
(19a) ⎪{τ CHP S (k) = 0} if mCHP = OFF
CHP
γh PeCHP ≤ τCS→ON }

⎨ CHP
Hex = {τ if mCHP = CS
D (m) = (20f)
Pint , γq , and γh are identified from data, as shown in Fig. 1. ⎪{τ CHP ≤ τHS→ON } if mCHP = HS
≤ τON→OFF } ∨ {uCHP

mCHP
⎩ CHP if = ON
For what concern all the other operating modes, the outputs {τ S (k) = 0}

of the CHP are both null, while a constant gas consumption is ⎧ CHP
∈ (τOFF→HS , τOFF→CS ]} ∧ {uCHP if eCHP = (OFF, HS)
{τ S (k) = 1}
considered in both starting modes, q̄CHP CHP

g CS and q̄g HS respectively for

CHP
> τOFF→CS } ∧ {uCHP if eCHP = (OFF, CS)

⎨{τ S (k) = 1}


the cold start and hot start mode. G (e) = {τ CHP > τCS→ON } if eCHP = (CS, ON) (20g)
> τHS→ON } if eCHP = (HS, ON)
⎧ ⎪
{τ CHP
⎨(0, 0)
CHP

if m = OFF


⎪ ⎪
> τON→OFF } ∧ {uCHP if eCHP = (ON, OFF)
⎩ CHP
{τ S (k) = 1}
(qg , Hex ) = (q̄CHP
CHP CHP
g CS , 0) if mCHP = CS (19b)
(q̄g HS , 0) R(eCHP , τ CHP , uCHP ) = 0 ∀eCHP ∈ E

⎩ CHP
if mCHP = HS (20h)

Regarding the transition between the operating modes, the feasi- The values of τOFF→HS , τOFF→CS , τCS→ON , τHS→ON , and τON→OFF ,
ble changeovers are described by the directed graph depicted in are suitably-defined thresholds, which characterize the time ab-
Fig. 5. As introduced, these transitions are possible only after a straction considered at the high level for the operating modes. To
defined dwell time, i.e. if the time spent in the current operating delve deeper into the essence of these thresholds, a distinction
mode τ CHP (k) is greater than a proper threshold. In addition, has to be done between them: τON→OFF is a value imposed by the
the ON → OFF transition and the ones involving the system user to avoid an immediate shutdown after the system activation;
startup (OFF → CS and OFF → HS) are triggered when a proper τOFF→HS is determined by the minimum time requirements for the
S (k) ∈ {0, 1} is set to 1.
switching input signal uCHP shutdown process; the other thresholds are instead related to the
The high-level model of the system is therefore expressed in modeling approximation.
the DHA framework. An open DHA model is described by the As a matter of fact, the duration of the startup time is not a
tuple H = (M, X , U , W , f , h, Init , D, E , G , R). The discrete modes fixed value, but is related to the dynamic behavior of continuous
are defined by the finite set M, while the continuous variables are variables and most of all depends on their initial values. However,
given by the finite set of real-valued variables X , as in (20a). The as a modeling design choice, the startup duration has been clus-
sets U and W include the input and output variables, see (20b), tered in two possible classes, cold startup and hot startup, which
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 65

Fig. 6. Finite State Machine of the fire tube boiler. Di-graph represents the
system modes and the possible transitions. Only decision variables are shown,
however transitions are also implied by dwell time conditions.

Fig. 7. Relationship between qBg and qBs in steady-state conditions. The identified
static map (21) is presented for different values of, uex Hex in solid lines. Markers
are characterized by two durations, i.e., respectively τCS→ON and show the steady-state data of the nonlinear model (5).
τHS→ON , due to the low/high value of the initial state. This status
is conditioned by the time spent in the OFF mode.
where γ1 , γ2 , and γ3 are identified from the model static map,
2.4. The boiler high-level hybrid model as shown in Fig. 7. In all the other operating modes, the pro-
duced steam flow rate is null or below qmin
s , while a natural gas
The boiler model for the high level optimizer is also devised as consumption is present in SB, CS and HS modes:
a hybrid model describing the steady-state operation of the FTB
(0, 0)

for each functional mode. ⎪
⎪ if mB = OFF
The Finite State Machine of the FTB, see Fig. 6, extends the ⎨(q̄B , 0)

if mB = CS
one just presented for the CHP, as the boiler has two production (qBg , qBs ) = g CS
(22)
⎪ (q̄Bg HS , 0) if mB = HS
states – because of the interlink between CHP and FTB – and a ⎪

(q̄g SB , q̄BsSB )
⎩ B
Stand-by mode. The operating production mode can be actively if mB = SB
selected by commanding the exhaust valve, uex , which can switch
where q̄Bg CS and q̄Bg HS are given values of gas consumption for the
between two discrete values (open/closed). When open, the CHP
flue gases are diverted inside the boiler. start-up modes, while q̄Bg SB , q̄BsSB are the average gas and steam
Moreover, as discussed in 3.2.1, the FTB can operate in any of flow-rates of the limit cycle occurring in the stand-by mode.
the two productive modes only between a minimum/maximum Transitions are possible only if the time spent in the current op-
steam generation, where q̄min > 0. To address this condition, erating mode τ B is greater than a proper threshold: in particular
s
the FTB includes another additional mode, which is a Stand-By the dwell-time of the stand-by mode is null, τSB B
= 0, therefore
(SB) status commanded by the boolean input uBSB . In this manner, FTB can be very reactive to improvise steam demand, while in
the discrete state mB can lie in the set MB = {OFF, CS, HS, SB, stand-by condition.
ONuex =0 , ONuex =1 }. Analogously to what discussed above for the high-level model
The high level model therefore presents two possible alterna- of the CHP, the timed transitions governing hot/cold startup are
tive reachable states when the steam demand is not required: the exclusively a modeling construction. The actual duration of the
OFF and the SB modes. The choice between the two determines a startup depends on the initial condition of the FTB, in particular
different evolution of the FSM to return on the operative modes the water temperature, while its rate of change is limited by the
and it has a dissimilar impact on system consumption. thermal stress constraints, as discussed in Section 4. The quick
The SB mode, exhaustively discussed in Section 3.2.1, has a reactivity of the stand-by mode is substantially due to the fact
low but non-zero consumption of natural gas, while it presents that this operating mode maintains the water temperature very
the advantage of being able to return to productive mode almost close the its set-point. Instead, when the FTB is shut down, the
instantaneously, just activating the controllable variable uBSB . In- temperature decreases with an evolution well described by a
stead, switching off the boiler when the consumer demand is first order dynamics. The internal temperature and therefore the
zero, determines a null fuel consumption during idle. As a draw- initial condition of the start-up procedure are almost entirely
back, the FTB needs to execute the start-up procedures before related on the time spent by the FTB in OFF mode. Consequently,
being ready to provide steam: thus the FTB cannot be responsive the duration of the start-up will be longer, the longer the system
to a sudden steam demand. The activation command, us must has been shut off. To simplify the model, two possible start-up
consider the mandatory dwell time related to the CS (or HS) times have been defined, clustering the behavior of the system
states. just in cold start-up and hot start-up: τOFF→CS discriminates if
The model, in the productive modes ONuex =0 and ONuex =1 , is the unit has been in OFF mode enough to experience a water
assumed to be in steady-state conditions and under control, in temperate below the chosen threshold, while the dwell times
such a way that ps = p̄s and lw = l̄w , where p̄s and l̄w are suit- for cold/hot startup modes are over-approximations of the actual
able and fixed nominal conditions. In this way, the combustion cold and hot start-up times.
gas flow-rate required to guarantee the steam demand qBg is a Also, both the switch-off and switch-on transitions are trig-
gered when a proper switching input signal uBS [k] ∈ {0, 1} is set
function of qBs and, when uex = 1, of the flue gas enthalpy too,
CHP to 1. As said, a binary command uBSB [k] ∈ {0, 1} is introduced to
Hex . For simplicity, an affine relationship has been identified and
move the boiler in and out the stand-by mode. Therefore, the in-
considered in the higher control layer:
put vector of the high level model is uB = qBs , Hex , uBS , uBSB , uex ,
{ CHP
}
qBg = γ1 qBs + γ2 uex Hex
CHP
+ γ3 (21) where u ∈ U ⊆ R2≥0 × {0, 1}3 .
66 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

Fig. 8. Sketch of the high-level model.

3. Hierarchical control where the state, xH = [τ CHP , χbCHP , τ B , χbB ]′ , is composed of real
and boolean variables. More specifically, χb is a boolean vector
In this section we propose a control scheme that allows to sat- of suitable size to translate the discrete modes mCHP and mB
isfy the electricity and heat demands in an economically optimal in a binary representation. The input of the MLD system uH =
way, at minimum operative cost, considering the combined heat [uCHP
S , Pe
CHP
, uBS , uBSB , qBs , uex , PePurch ] is composed of, respectively,
and power generation unit composed of the CHP and the boiler the switching signals and the continuous inputs of the ICE and
described in Section 2. The demand of steam and electricity is FTB subsystems, the divert valve command and the electricity
considered given and known for a 24-h horizon, as well as a price purchased from the grid. The output is yH = [Pe , qCHP g , qg ], where
B
CHP Purch
forecast. We enable the possibility to exchange power with the Pe = Pe + Pe is the electric power both purchased and
electrical grid: the surplus of electricity produced by the CHP can generated by the ICE and the other are the gas consumed by
be sold, or, if negative, it can be bought from the market. the systems. ∆H and zH are, respectively, auxiliary binary and
The hierarchical control structure here proposed includes a continuous variables. Note that the last equation in (24) includes
high optimization layer that aims to optimize the performance of both the inequalities related to the logical relationships that
the integrated plant on a day-ahead basis with a sampling time regulate the switches between discrete states, and the operational
of τH = 15 min. The model used at high level is sketched in Fig. 8. constraints (1) and (8). The cost function is given by:
The high level optimizer receives as input the 24-h ahead
JH = C g − R (25)
electric and steam demands PeD [k] and qD s [k], respectively, for
k = 1, . . . , 24 × 4, together with a forecast of the electricity where the fuel cost Cg is related to fuel consumption used to
prices. Based on this, the optimizer determines the future modes respect the utility demand as follows:
of operation of the systems mCHP [k] and mB [k], as well as the ∑
g [k] + qg [k])λg
(qCHP B
optimal production profiles PeCHP [k], qBs [k] and the correspond- Cg = (26)
ing predicted combustion gas amounts qCHP B
g [k] and qg [k] for the
k

whole future optimization time horizon k = 1, . . . , 24 × 4. The cost (26) considers also the costs related to the start-up
The lower level is a fast regulating one with a sampling time modes {CS, HS} and stand-by, due to the gas flow values defined
of τL = 60 s, aiming to control the dynamic variables of the in (19b) and (22) also for the non productive phases. The revenue
subsystems. term R in (25) is related to the possibility of selling the electricity
For clarity, the symbol h will be used to denote the discrete surplus to the grid. It can take into account also the purchase
time index in the fast time scale of the lower layer, while k will of electricity, in case R < 0. By splitting the deviation from
be used to denote the time index in the slow high-level time scale. the electrical demand in positive and negative fluctuation, ∆↑ e,
∆↓ e, it is possible to consider different prices for electricity,
3.1. The high level optimization problem i.e., whether it is sold or bought:

The high level optimizer objective is the minimization of the R= ∆↑ e[k]λ↑ [k] − ∆↓ e[k]λ↓ [k] (27)
operating costs of the plant on a windows of 24-h, while fulfilling k

completely the electric and steam demands in the context of a with


liberalized energy market. In addition to the subsystem operating ∆e[k] = PeCHP [k] + PePurch [k] − PeD [k]
points, a further decision variable is considered in the high-level
optimization, by including the possibility either to buy electricity ∆e[k] = ∆↑ e[k] − ∆↓ e[k]
PePurch from the power grid, to support the production of the CHP ∆↑ e[k], ∆↓ e[k] ≥ 0 ∀k
unit or to sell surplus of produced energy to the grid.
The optimization problem can be stated as follows, where the
The need to consider, in an integrated fashion, both the ICE
initial time is k = 1 for simplicity reasons:
and the FTB originates from the fact that a valve is present to
divert exhaust gases from the CHP to a set of tubes in the boiler. min JH
ξ (1)...ξ (NH )
Note that it can be opened only when the engine is in production,
which translate in the following logical implication: s.t. MLD model (24)

uex = 1 H⇒ mCHP = ON (23) PeCHP [k] + PePurch [k] ≥ PeD [k]


qBS [k] ≥ qD
S [k]
where mCHP is the operating mode of the internal combustion
engine. To formulate the high-level optimization problem, the PePurch [k] ≥ 0
two hybrid automata devised in Sections 2.3 and 2.4 have been for all k = 0, . . . , NH
integrated in a single Mixed Logical Dynamical (MLD) system [42]
of the type: where ξ [k] = [uH [k], ∆H [k], zH [k]]′ and NH = 24 × 4 is the
number of sampling times included in the 24-h horizon and
xH [k + 1] = AH xH [k] + BH,1 uH [k] + BH,2 ∆H [k] + BH,3 zH [k] qD
S is the steam demand. The high level optimization generates
yH [k] = CH xH [k] + DH,1 uH [k] + DH,2 ∆H [k] + DH,3 zH [k] (24) the profiles of binary and continuous inputs that minimize the
economic cost function of the generation unit for the given utility
EH,4 ∆H [k] + EH,5 zH [k] ≤ EH,1 uH [k] + EH,4 xH [k] + EH,5 demand.
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 67

3.2. The low level control that, if the steam demand qDs [h] and the real CHP exhaust flow
CHP
rate profile Hex [h] are equal to the values assumed at the high
The low level control, presented in this section, aims to regu- scheduling level, the required input setpoint δ uL is the nominally
late the system to the operating points prescribed by the UC layer. optimal one derived by the high level optimizer.
In this section, we focus on the dynamic control of the boiler In addition, the controller must guarantee the operational
unit, as it must satisfy input and output constraints to operate constraints to be satisfied.
safely, as described in Section 2. The CHP unit has to just operate The model predictive controller defines the input by solv-
at a fixed rotational speed ω̄ = 50 Hz and physical constraints ing the following quadratic programming problem, at each time
are not imposed, thus a standard PI controller is in place. On step h:
the other hand, the low level control of the FTB is critical. In
min JL (30)
particular, here we consider the control problem for the boiler δ uL [h],...,δ uL [h+p],δ qs [h],...,δ qs [h+p]
in full operation modes ONuex =0 and ONuex =1 , while the proposal
of innovative control strategies for the start-up mode will be s.t. model (28)-(29)
discussed in Section 4. δ xL [h] = δx̂L [h|h]
In operating condition, the water level lw and the steam pres-
sure ps must be maintained in the bounded ranges (8e) and δ qf ∈ [0 − qssf , qf,max − qf ]
ss

(8d). Violating the lower bound in (8e) would expose the boiler δ qBg ∈ [qmin − qg , qmax − qBg ,ss ]
B B,ss B

tubes outside the water, with their subsequent overheating and δ Tw ∈ [Tmin − Twss , Tmax − Twss ]
dangerous consequences while, if the upper bound is violated,
water or wet steam may enter the distribution network. Concern-
δ lw ∈ w , lmax − lw ]
[lmin − lss ss
∑h+p
ing the pressure, the constraints are defined based on the range where JL = ∥δ yL [j]∥2WQ + ∥δ uL [j] − δ uopt
j=h
2
L [j]∥WR + ∥δ qs [j] −
acceptable by the steam consumers: the interval dimension is δ qDs [j]∥2WQ and where δx̂L [h|h] is the current state estimate ob-
s
application-dependent and the fallout from constraints violation tained by a proper observer, see Section 3.3. A slack variable can
stems from degradation of the steam-user performance to the be introduced to further enforce the feasibility of the optimization
breakdown of the downstream systems. Note that the pressure problem at all time instants. The matrices WQ , WR , WQs are
constraints can be straightforwardly converted to constraints on properly-defined positive-definite matrices; note that, in order to
the water temperature Tw , as the system operates at saturation. give priority to the fulfillment of the steam demand, we can set
The objective of the low-level controller is to enforce these WQs ≫ λmax (WQ ), λmax (WR ).
limitations while steering the boiler outputs to the nominal set- At time instant h, the optimal values δ uL (h|h) and δ qs (h|h) are
points: a model predictive control can manage explicitly the obtained: therefore, the input uL [h] = uss L + δ uL (h|h) is applied to
constraints on inputs and outputs to easily regulate MIMO sys- the real system and the steam flow rate qBs [h] = qss s + δ qs (h|h) is
tems. actually provided.
The linear discrete-time model of the boiler (9) is used by It is important to note that, if the steam demand qD s [h] and/or
the low level controller to predict the system behavior. For the real CHP exhaust flow rate profile Hex CHP
[h] differ from the
the control of the nominal operation, in production mode, one values considered at the high scheduling level, the steady-state
fixed nominal linearization point has been selected. The state, points reached by the controlled system will possibly differ from
input, and output vectors of the state–space model are xL = the ones selected by the high level optimizer. This, however, is
[T t,GAS , T t,CHP , lw , Tw ]′ , uL = [qf , qBg ]′ , and yL = [lw , pBs ]′ . At low- not critical since, from the practical point of view, the major goal
level, we consider the steam flow rate qBs and the term uex Hex CHP
as of the controller is to guarantee that the operational constraints
measured disturbances: while the latter is not manipulable (since are enforced at all time instants.
CHP CHP,ss
Hex is an output of the CHP and the state of uex is selected by the The steady-state quantities, e.g. Hex and qsss , are defined
high level optimizer), the former is indeed manipulable, although based on the high-level optimization and depend on the forecast
a gas flow request qD s is assumed to be given, to be fulfilled at any of the demand considered at high level. When the optimization
time instant. However, this request may not be feasible in some is executed, it typically considers a day-ahead prediction of the
cases, e.g., in transient conditions and when the real demand is demand over a 24-h horizon, discretized by time step τH . This is
different from the forecast used for scheduling at the high level. in general a piece-wise constant approximation of the demand
For this reason, it is beneficial for the low-level control to use qBs forecast. During operation, more accurate predictions are avail-
as a further degree of freedom, to be set equal to the demanded able, as well as a measure of the current/past demand mismatch
qDs if possible.
with respect to the profile considered in the optimization.
The linearization point is characterized by the values xss ss
L , uL ,
If, in any case, the actual values of qD CHP
s [h] and/or Hex [h] differ
CHP,ss
yss
L , qss
s , and H ex , while the vectors of the corresponding lin- dramatically from the ones considered for the high-level opti-
earized system mization, the top-layer optimizer may be required to be run again
(with new and more reliable forecast of steam and electric power
δ xL [h + 1] = AL δ xL [h] + BL,u δ uL [h] + BL,q δ qs [h] demands) in order to recompute, for the following time steps,
+ BL,ex δvex [h] (28) more realistic optimal set-points. We define thresholds εH (or εq )
CHP
that determine the maximum acceptable mismatch, |Hex [ h] −
δ yL [h] = CL δ xL [h] + DL,u δ uL [h] + DL,q δ qs [h] CHP,ss
Hex |< εH (or |qs [h] − qs |< εq ), otherwise the computation of
D ss

+ DL,ex δvex [h] (29) a new optimization at high level is triggered. In this scenario, it
can be reasonable to use updated forecast of the future demand.
are defined as δ xL = xL − xss
L , δ uL = uL − uss
L , δ yL = yL − yss
L ,
CHP,ss
δ qs = qBs − qss
s , δvex = α
CHP
ex Hex − Hex . 3.2.1. Stand-by mode
The main objective of the controller is, if possible, to fulfill the As discussed, when the consumer demand is lower than the
steam demand, δ qDs [h] = qDs [h] − qss
s , while regulating the output minimum level, i.e., when qD s < q̄s , the FTB can be either shut
min

δ yL to the nominal operating condition (0, 0). The input setpoint down or put in the stand-by mode. The stand-by mode, activated
opt
is defined as δ uL = uref ss ref
L − uL , where uL is defined based on by the boolean input uBSB , is a low-power setting operation, char-
D CHP
qs [h] and Hex [h] using suitable steady-state maps, e.g. (21). Note acterized by a limit cycle, where the steam pressure is controlled
68 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

Fig. 9. Limit cycle operation in stand-by mode.

Fig. 10. Three-mode controller used in stand-by mode: scatter plot of the pairs pressure-fuel flow rate for rising (black circles) and decreasing pressure (magenta
squares). Three regions, with different background colors, show the controller modes: mode 1 in light yellow, mode 2 in green, mode 3 in gray. In the up-right
corner the pressure cycle. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)

to lie in a broad range and only a minimum amount of steam is A PI controller is formulated to simulate the fuel profile for the
flowing to keep the distribution network warm. In this mode, the first phase of the cycle:
FTB can be immediately restarted to follow the required steam h

demand, as soon as the latter is restored above the minimum qg [h] = q0g + KP (p[h] − p̄PI ) + KI (p[j] − p̄PI )
threshold. j=h′
Fig. 9 shows available experimental data, where the limit cycle
is characterized by a low frequency fluctuation of the pressure – where the controller parameters, KP = 2.77, KI = 0.014, q0g =
0.066, p̄PI = 9.7, are identified from data and h′ is the switching
with a period of about 15 min – confined in the range [p̄min , p̄max ].
time from phase 3 to phase 1, when the integral error is reset
Pressure thresholds trigger a simple three-mode controller
to zero. In the other phases, a steady value of gas flow rate is
used to regulate the system maintaining a low natural gas con-
defined.
sumption.

• mode 1: as the pressure reaches its low limit, p̄min , the 3.3. State observer
burner abruptly provide a high heat impulse until nominal
In this paper, we consider a configuration of the system in
pressure level, p̄sp , is achieved;
which the state vector is not fully accessible, in contrast with
• mode 2: the controller keeps the fuel flow rate steady to a the previous work [33]: in that preliminary work, the optimal
low value, reducing the pressure rise until the maximum startup procedure is investigated for a simpler boiler model with
value, p̄max , is reached; the main assumption of full state available.
• mode 3: the burner is set at the lowest firing mode, which In this work, this assumption is removed in order to fit in
causes a degradation of the system pressure. a more realistic scenario. In fact, here both the regulating MPC,
for the production modes, and the LPV-MPC, defined for the
The controller strategy is identified from experimental data
optimization of the start-up procedure, rely on the actual sensor
analyzing the relation between absolute pressure and fuel flow existing on the system in their real locations.
rate, as show in Fig. 10. In the up-right corner the pressure cycle is As described in Section 2.2, the fire tube boiler is endowed
reported for clarity: the three regions are highlighted by different with a meter for the measure of the water level and an internal
shaded background patches, while pressure-fuel flow rate pairs pressure sensor. An observer is set up to reconstruct the state
are shown in black circles, for rising pressure and in magenta vector based on the available measurements. A discrete-time Ex-
squares, for decreasing pressures. tended Kalman Filter has been designed to this aim, as discussed
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 69

e.g. in [43]. We assume that a process and measurement noises,


denoted respectively wpr [h] and wm [h], act on the discrete time
system derived in 2.2:
x[h + 1] =fRK 4 (x[h], u[h]) + wpr [h]
y[h] =g(x[h], u[h]) + wm [h]
where wpr [h] and wm [h] are zero mean Gaussian noises with
covariances XQ and XR , compatible with the quantified mea-
surement errors. Their values are reported in Section 5.2. Here
the dependency of the model upon the parameter vector θ is
discarded for simplicity of notation.

4. Optimal start-up procedure

The control of the start-up mode differs dramatically from the


dynamic control of the production mode, regarding the objective
and the constraints involved, but most of all due to the increased
importance of the system non-linearity, which precludes the di-
rect extension of the low-level control to the management of the
start-up procedure.
We propose a nonlinear MPC approach for the boiler start-up. Fig. 11. Linear parameter-varying MPC scheme of the FTB system.
The proposed approach formulates the MPC problem including
the additional optimization variable xssh , which represents a ‘‘tem-
porary’’ target steady state, reachable in NP discrete-time steps h), the discretized model is linearized around the last available
(i.e., at the end of the optimization horizon), as the closest one optimal state/input trajectories, e.g., x [i|h − 1] and u [i|h − 1],
with respect to the desired final state. A further constraint is respectively, obtained at step h − 1 is, for i = h, . . . , Np − 1
introduced to force the new decision variable xss h to be an in-
termediate equilibrium point. This can guarantee practically the x[i + 1] = Ai|h−1 x[i] + Bi|h−1 u[i] + ζi|h−1 (31)
recursive feasibility. A formal proof of this feature is left for future
where
research work.
∂ fRK 4 ⏐⏐ ∂ fRK 4 ⏐⏐
⏐ ⏐
This intermediate steady state is used as a terminal constraint
Ai|h−1 = Bi| h −1 =
and as a reference value in the objective function. Thanks to ∂ x ⏐x [i|h−1],u [i|h−1] ∂ u ⏐x [i|h−1],u [i|h−1]
this, the optimization horizon can be greatly decreased, therefore
ζi|h−1 =fRK 4 (x [i|h − 1], u [i|h − 1]) − Ai|h−1 x [i|h − 1]
reducing the numerical complexity, and, as a byproduct, to avoid
the (often complex) computation of a terminal positively invari- − Bi|h−1 u [i|h − 1]
ant set and of a suitable terminal cost and to guarantee recursive Given the final state target xT , the optimization program to be
feasibility of the MPC optimization problem. Moreover, this ap- solved at time step h is the following
proach does not require to know the actual minimal duration of
the start-up phase. h+Np
x[i] − xss 2
∑ 
This method, by considering only a small percentage of the min h WQ
+ ∥u[i] − u[i − 1]∥2WR
entire start-up duration in its prediction horizon, compromises u[h],...,u[h+Np −1],xss
h i=h
the global optimality of the solution. However, this suboptimality  2
+ xss
h − xT W

is mitigated by considering in the cost function a penalization QT

of the distance of the temporary steady-state with respect to s.t . dynamics (31)
the final nominal target, according to the dynamic program-
x[h] = x̂[h|h]
ming paradigm. The level of this performance degradation will
be evaluated numerically on the case study. c(x[i], u[i]) ≤ 0 for all i = h, . . . , h + Np − 1
To achieve an efficient implementation of the NMPC, we pro- xj [i + 1] − xj [i] ≤ σ Max τS for all j ∈ Jσ
pose here a parameter-varying linearization of the nonlinear sys-
and for all i = h, . . . , h + Np − 1
tem, computed along the state/input trajectory obtained at the
precedent optimization cycle. This reduces the nonlinear opti- x[h + Np ] = xss
h

h , uh ) ≤ 0
c(xss ss
mization to a Constrained Quadratic Program (QP). This approach,
shown in Fig. 11, is referred here to as Linear Parameter-Varying
(32)
Model Predictive Control (LPV-MPC) and it is similar to the one
proposed in [44]. The main difference with [44] consists of how In the latter problem, x̂[h|h] is the estimated state obtained using
the trajectory around which the system is linearized is computed. the state estimator described in Section 3.3 (designed at sampling
A strong connection with the Real-Time iteration scheme pro- time τS ). Also, function c(·, ·) includes the constraints (8). These
posed in [45] also exists. As a more general formulation of model constraints are also applied the terminal steady state condition
predictive control, LPV-MPC can be directly used both in start- xss ss
h ; uh is the corresponding steady-state input. Finally, a hard
up optimal control and in the regulation of productive modes. constraint is enforced to limit the thermal stress consistently
However the boiler stabilization in nominal operating condition with (18): it is applied to each component j of the state vector
is achievable in the most efficient way by switching to a simpler that are correlated to thermal stress, included for simplicity in
linear model predictive control, where the prediction model is the set Jσ .
obtained by linearization at the nominal operating point. The The choice of weighting matrices is not a trivial task. The
system (7) is integrated with the sampling time τS = 6 s for better weight matrices used in the stage cost are usually diagonal matri-
numerical accuracy. For control purposes, at each time step (say ces, here defined by considering the inverse of the squares of the
70 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

Table 1
Lower and upper bounds on the FTB and CHP variables.
Variable Minimum Maximum
PeCHP 50% 100%
qBg 12.5% 100%
qBf 0 0.35 kg/s
qBs 0 0.35 kg/s
ps 9.5 bar 10.5 bar
lw l̄w − 0.5% l̄w + 0.5%

Fig. 12. Electricity price fluctuation [e/kWh] (top). Gas price [e/m3 ] (bottom).
σj 0 6
At k = 48 gas price is increased to show by simulation the effect of relative
electricity/gas price on the GU behavior.
Table 2
Mode transition times of FTB and CHP DHA models.
τ Boiler CHP
nominal values for each state and input channel, thus normalizing τOFF 1.0 1.0
the absolute contribution of each channel. This can simplify the τOFF→CS 5.0 3.0
tuning of the diagonal entries of WQ and WR , that can reflect the τCS→ON 4.0 2.0
preferences of the controller designer. τHS→ON 1.0 1.0
τON 3.0 3.0
For what concern the last term of the cost function, mea- τSB→ON 0 –
suring the distance from the actual target, the idea for tuning
the weighting matrix is to emulate the approaches presented for
designing the terminal cost of MPC.
One of the classic approaches is based on the computation of The electricity price is supposed to vary on hourly basis, see
an infinity horizon LQR regulator, i.e., by considering the solution Fig. 12, and its values are taken from the historical database of
P of a discrete algebraic Riccati equation associated to the system day-ahead market of Gestore Mercati Energetici (GME), the Italian
linearized at the end of the horizon ANP−1 |h−1 , BNP−1 |h−1 , with the company managing the energy market.
given WQ and WR . For the purpose of highlighting the effect of a different utility
Thus, WQT can be selected to be WQT = α P, where α is a price ratio and to show this in a unique graph, the price of natural
designer tuning parameter. gas is artificially increased at time k = 48. A random realization
of the fluctuating profiles of electricity and steam demands of the
5. Simulation results consumers is generated for the simulation. For the higher layer,
mode transition times are reported in Table 2.
In the following sections we validate the proposed hierarchical Fig. 13 shows the results of the high level optimization. The
optimization approach and the start-up optimal control through first and the third panels from the top describe the evolution of
simulation, using the nonlinear models of the GU presented in the operative modes of CHP and FTB, respectively, while the other
Section 2. The water and steam thermophysical properties, based two panels show the demanded and produced electricity and
on IAPWS-IF97, are computed using [46]. steam, respectively. The electricity supply is split between the
The MLD model (24) is implemented using the hybrid sys- contribution of CHP generation (in dotted blue line) and electric-
tem description language (HYSDEL) [47], where transition log- ity purchased from the grid (solid magenta). The gas/electricity
ics and switched affine systems are formulated directly using price ratio affects the optimal strategy of the GU: for k < 48,
mixed-integer inequalities [48,49]. where grid electricity is relatively more expensive, the CHP fulfills
The optimal control is implemented in Matlab using YALMIP, the electrical demand alone and, whenever it is convenient, it
with Gurobi 8.1.0 as a solver for the MILP and QP problems. sells the electricity surplus. In the opposite case, for k ≥ 48, the
Simulations are performed on PC with a quad-core processor CHP is maintained in minimum production mode, just to provide
and 16 GB RAM. The closed-loop simulations are performed the diverted gas into the FTB for steam production, while the
using the nonlinear models presented in Section 2, for the boiler remaining electricity demand is covered purchasing power from
and the CHP. As concerning the latter, the nonlinear model the grid.
implemented is reported in the original papers [35] and [36]. As discussed in Section 3.2.1, when steam demand is zero,
The continuous-time ODEs are integrated using variable-step the FTB can be either off or set in stand-by mode. The choice
variable-order methods for stiff ODEs (as implemented in Matlab between the two strategies depends on the actual duration of the
ode15s routine) considering a interval of integration defined by demand interruption: the break-even point, which discriminate
the controller sampling time. The models used for control are the optimal strategy, depends on the downtime and the average
linearized model obtained from the nonlinear models by a prior consumption in stand-by and in start-up modes.
discretization, using a Runge–Kutta method of the 4th order. Historical data analysis has shown a reduction of more than
60% of natural gas usage if the stop-and-start strategy is pre-
5.1. Hierarchical optimization ferred to the stand-by mode, for a no-steam demand of 5 h.
Clearly, a forecast of the future demand is required to optimally
First, we present the results on the hierarchical control scheme decide the best operation mode sequence. In industrial scenarios,
for a network composed by a FTB and a CHP for electricity produc- production scheduling can provide useful information to build a
tion. The steam generator is a three-pass fire tube boiler working proper forecast of the steam usage. The demand profile in Fig. 13
at a nominal pressure of 10 bar and with maximum steam flow- is characterized by two steam requests, interspersed with short
rate of q̄s = 1200 kg/h, while the CHP is a 12 valve natural gas and long downtime periods, showing different strategies during
ICE producing up to P̄eCHP = 1200 kW. The FTB and the ICE are the short pauses, when FTB is switched to stand-by mode, and
governed to supply the demanded steam and electrical power, the longer periods with zero demand. The reference trajectory
operating within the permitted ranges summarized in Table 1. computed by the optimization layer is provided to the low-level
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 71

Fig. 13. Simulation results of high level optimization: at τ = 48 the gas price is switched to high. (i) CHP operating modes. (ii) Electricity demand and supply.
(iii) FTB operating modes. (iv) Steam demand and production. (For interpretation of the references to color in this figure legend, the reader is referred to the web
version of this article.)

Fig. 14. Low-level MPC (solid blue) and PID (dashed red) controllers. (i) Water level. (ii) Steam pressure. (iii) Produced steam flow rate. (iv) Boiler gas flow rate.
Nominal: k = [53, 57); Scenario a: k = [57, 61], qs = qs HL − δ qs .

MPC controller described in Section 3.2, which operates when the in which the demand used for computing the low-level input set-
FTB is in production modes. points differs with respect to the one calculated by the high level
The linear model is computed around a single nominal operat- optimizer. In Fig. 14 a simulation displays the behavior of the
ing point of qs 0 = 0.5q̄s and Hex 0 = 0.5H̄ex . The MPC regulates
CHP CHP
low level controllers (the MPC in solid blue line and the PID, as
the δ qBGAS and δ qf to maintain the steam pressure and the water a red dashed line), where the nominal steam demand computed
level close to their set points and inside the valid ranges, defined at the high layer is considered in the period k = [53, 57), while a
in Table 1. The advantages of a MIMO optimal controller at low disturbed steam demand – lower than the one demanded by the
level is highlighted, through a comparison with a classic PID- high layer – is considered in the second half of the simulation,
based control scheme, based on two separate control loops for where k = [57, 61). While the MPC regulates in a fast way the
level and pressure regulation. It shows the robustness of the system in both nominal and disturbed steam demand, the PI con-
proposed hierarchical approach, by simulating different scenarios troller – tuned to have comparable performances in the nominal
72 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

Fig. 15. Manual FTB start-up.

case – can correctly govern the level, but with degradation in Table 3
pressure regulation. Comparison of start-up procedures: manual start-up (historical data), open-loop
NLP (simulation) and closed-loop LPV-MPC (simulation).
Start-up Manual NLP LPV-MPC
5.2. Optimal start-up
Type Open-loop Closed-loop
Duration [s] (99.3% of SP) 1678 1026 1032
A discrete time model is obtained from (9), with sampling time Energy input [MJ] 1.272 × 104 9.47 × 103 9.32 × 103
τS . The sensitivity matrices are calculated by differentiation: sym- Thermal stress limit ×  
bolic calculations are used to pre-compute off-line the Jacobians Prediction horizon ≥172 50
Ah , Bh , based on Automatic Differentiation tools. Sampling time [s] 6 6
CPU time [s] (tot. OCP) ≫600 0.36
The start-up optimization is done by solving the QP prob-
lem (32), with a prediction horizon Np = 50 and the follow-
ing weighting matrices: WQ = diag(0.1, 5, 20) ◦ wx , WR =
diag(0.01, 0, 0) ◦ wu and WQT = diag(0.1, 5, 30) ◦ wx , where ◦ de- open-loop NLP is indeed equivalent to the first step of a closed-
notes the Hadamard product, while wx , wu contain the inverse of loop NMPC, thus providing information about the computational
the square of the maximum values of state and input components. burden required by a NMPC approach, which would apply just
The Extended Kalman filter has been implemented consid- the first input of the nonlinear program and then optimize again
ering the following covariance matrices for the noises: XQ = at the next sampling time, starting from the new initial condi-
diag(10−2 , 10−2 , 10−2 ) and XR = diag(10−3 , 10−3 ) and with ini- tion in a receding horizon fashion. The overall time required to
tial covariance estimate XP 0|0 = [1.5, 10−3 , 0.15; 10−5 , 10−3 , reach the nominal operating condition is reduced by about 38%
10−5 ; 0.15, 10−3 , 0.15]. The state estimate x̂0|0 is initialized with with respect to the conservative manual procedure. This time
the measured level and assigning to both the tube and water reduction is attained by driving quickly the natural gas input
temperatures a prescribed initial value. closer to the maximum value, while guaranteeing the respect
In current industrial practice, start-up procedure is still per- of the constraints. As typical of MPC approaches, the improved
formed manually. Therefore, a comparison of the proposed LPV- performance is obtained by pushing the system closer to the
MPC optimal start-up with the typical manual procedure, as prescribed operating limits.
extracted by historical data set, is here presented. The human Moreover the LPV-MPC start-up, addressing directly the MIMO
operator during the manual procedure is expected to gradually system, exploits conveniently the combined effect of the other
manipulated variables in the overall optimization of the start-up
provide heat to the boiler, at different intermediate levels until a
trajectory controlling, at the same time, the water level.
certain water temperature is reached, in order to reduce the ther-
As shown qualitatively in Figs. 16a–16b and quantitatively in
mal stress on the components. The profiles of the manipulated
Table 3, the LPV-MPC method achieves almost identical optimal-
variables, showing the manual start-up strategy, are displayed
ity level with respect to the full horizon nonlinear programming
in Fig. 15b. The state variables of the manual procedure are
problem. In contrast, the proposed approach offers the main
shown in Fig. 15a: this conservative approach not only induces a advantages of a reduced CPU time – due to shorter prediction
longer start-up, as reported in Table 3, it even does not guarantee horizon and system linearization – and closed-loop control of the
the observance of the thermal stress constraint which is slightly start-up process.
violated, as shown in the second panel of Fig. 15a.
The optimal solution based on LPV-MPC control is, instead, 6. Conclusions
presented in Figs. 16a and 16b, here compared with the solution
of the open-loop NLP: in the former, the output trajectories are In this paper we have proposed a hierarchical control structure
shown, while the latter shows the computed optimal inputs. The to optimize the behavior of a Smart Thermal Energy Grid. The
S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74 73

Fig. 16. Optimal FTB start-up.

approach is presented on a plant with steam and electric gen- Also, we will consider, in the future, the optimization of a large
eration units, respectively a fire tube boiler and a combined heat system composed by a number of similar generation units: this
and power internal combustion engine. The higher hierarchical will possibly pave the way to tailored distributed optimization
layer is devoted to optimize the Smart-TEG static behavior in and control schemes.
a 24-h window, considering a scenario with price fluctuations
and varying demands, by solving an hybrid optimization problem. CRediT authorship contribution statement
The solution to the unit commitment problem defines a schedule
for the future modes of operation of the systems, as well as Stefano Spinelli: Conceptualization, Methodology, Software,
the optimal production profiles and the corresponding required Writing. Marcello Farina: Conceptualization, Methodology, Writ-
combustion gas amounts. Then, at the lower level, a dynamic ing - review & editing, Supervision. Andrea Ballarino: Supervi-
Model Predictive Controller operates on each individual system to sion, Project administration, Funding acquisition.
guarantee that the process constraints are fulfilled, with special
focus on the boiler. Simulation results are presented to show the
Declaration of competing interest
effectiveness of the proposed scheme.
Moreover, the low level scheme is extended with the dynamic
The authors declare that they have no known competing finan-
control and optimization of the start-up procedure. To address
the nonlinearity of the system, we proposed a Linear Parameter- cial interests or personal relationships that could have appeared
Varying Model Predictive Control approach for the optimization to influence the work reported in this paper.
of a nonlinear system subjected to hard constraints. The method
exploiting the linearization of the system along the predicted Acknowledgments
trajectory is able to address nonlinear system with the advan-
tage of the computational time with respect to NMPC strategy, This work was partially supported by the SYMBIOPTIMA
as approximation of the SQP optimization stopped at the first project. SYMBIOPTIMA has received funding from the European
iteration. Union’s Horizon 2020 research and innovation programme under
The approach is applied to the optimization of the start-up grant agreement No◦ 680426.
of a nonlinear fire-tube boiler. The simulations showed the per-
formance of the proposed scheme, comparing it to the standard References
manual approach and a NMPC implementation.
Future work will address a number of open questions. For [1] Deloitte, Circular Economy in the Energy Industry, Summary Report, 2018.
example, the dynamic control and optimization of the boiler [2] Strategic energy technology plan: increase the resilience and security
stand-by phase will be investigated. Even if the existing stand-by of the energy system, in: European Technology & Innovation Platforms
Working Group, Vol. 4, 2018.
controller guarantees that the FTB is maintained in safe operating [3] S.G. Dukelow, B.G. Lipták, X. Cheng, R.H. Meeker, Boiler control and
region, with at the same time a low consumption and a prompt optimization, in: B.G. Lipták (Ed.), Process Control: Instrument Engineers’
reactivity to return to production modes, the extension of MPC Handbook, Elsevier Science, 2013, pp. 1572–1631.
control to this mode might improve the overall efficiency of the [4] U.C. Moon, K.Y. Lee, Step-response model development for dynamic matrix
system. control of a drum-type boiler/turbine system, IEEE Trans. Energy Convers.
24 (2) (2009) 423–430.
Moreover, the usage of robust MPC approaches will be ana- [5] C.X. Lu, N.W. Rees, S.C. Donaldson, The use of the Åström-Bell model
lyzed to take into account and manage possible model uncertain- for the design of drum level controllers in power plant boilers, in: IFAC
ties and unmodeled disturbances. Proceedings Volumes, 38, (1) Elsevier, 2005, pp. 139–144.
74 S. Spinelli, M. Farina and A. Ballarino / Journal of Process Control 94 (2020) 58–74

[6] G. Prasad, G.W. Irwin, E. Swidenbank, B.W. Hogg, A hierarchical physical [27] J. Taler, B. Wlglowski, D. Taler, T. Sobota, P. Dzierwa, M. Trojan, P. Madejski,
model-based approach to predictive control of a thermal power plant for M. Pilarczyk, Determination of start-up curves for a boiler with natural
efficient plant-wide disturbance rejection, Trans. Inst. Meas. Control 24 (2) circulation based on the analysis of stress distribution in critical pressure
(2002) 107–128. components, Energy 92 (2015) 153–159.
[7] C. Pedret, A. Poncet, K. Stadler, A. Toller, A.H. Glattfelder, A. Bemporad, M. [28] J. Taler, P. Dzierwa, D. Taler, P. Harchut, Optimization of the boiler start-up
Morari, Model-Varying Predictive Control of a Nonlinear System, Internal taking into account thermal stresses, Energy 92 (2015) 160–170.
Report in Computer Science Dept, ETSE de la Universitat Autònoma de [29] R. Franke, L. Vogelbacher, Nonlinear model predictive control for cost
Barcelona, 2000. optimal startup of steam power plants (Nichtlineare modellprädik-
[8] V. Feliu-Batlle, R. Rivas Perez, F. Castillo Garcia, J. Sotomayor Moriano, Fire tive Regelung zum kostenoptimalen Anfahren von Dampfkraftwerken),
tube industrial boilers. fractional control, Automat. Instrum. 365 (2005) Automatisierungstechnik 54 (12) (2009) 630–637.
90–95. [30] S. Raimondi Cominesi, M. Farina, L. Giulioni, B. Picasso, R. Scattolini, A
[9] J.R. Rodriguez-Vasquez, R.R. Perez, J.S. Moriano, J.P. González, Advanced two-layer stochastic model predictive control scheme for microgrids, IEEE
control system of the steam pressure in a fire-tube boiler, in: IFAC Trans. Control Syst. Technol. (2017) 1–13.
Proceedings Volumes, 41, (2) 2008, pp. 11028–11033. [31] D. Limón, I. Alvarado, T. Alamo, E.F. Camacho, MPC for tracking piecewise
[10] O.I. Hassanein, A.A. Aly, Genetic-PID control for a fire tube boiler, in: constant references for constrained linear systems, Automatica 44 (9)
Computational Cybernetics, 2004, ICCC 2004. IEEE, 2004, pp. 19–24. (2008) 2382–2387.
[11] M. Baldea, I. Harjunkoski, Integrated production scheduling and process [32] S. Spinelli, M. Farina, A. Ballarino, A hierarchical optimization-based
control: A systematic review, Comput. Chem. Eng. 71 (2014) 377–390. scheme for combined Fire-tube Boiler/CHP generation units, in: Proceed-
[12] M. Klauc̆o, M. Kvasnica, Control of a boiler-turbine unit using MPC-based ings of European Control Conference 2018, 2018, pp. 416–421.
reference governors, Appl. Therm. Eng. 110 (2017) 1437–1447. [33] S. Spinelli, M. Farina, A. Ballarino, An optimal control of start-up for
[13] X. Wu, J. Shen, Y. Li, K.Y. Lee, Hierarchical optimization of boiler–turbine nonlinear fire-tube boilers with thermal stress constraints, in: Proceedings
unit using fuzzy stable model predictive control, Control Eng. Pract. 30 of European Control Conference 2019, 2019, pp. 2362–2367.
(2014) 112–123. [34] J. Lygeros, C. Tomlin, S. Sastry, Hybrid systems: modeling, analysis and
[14] R. Baldick, The generalized unit commitment problem, IEEE Trans. Power control, 2008.
Syst. 10 (1) (1995) 465–475. [35] L. Guzzella, C.H. Onder, Introduction to Modeling and Control of Internal
[15] S. Mitra, L. Sun, I.E. Grossmann, Optimal scheduling of industrial combined Combustion Engine Systems, Springer, 2004.
heat and power plants under time-sensitive electricity prices, Energy 54 [36] J.I. Videla, B. Lie, State/parameter estimation of a small-scale CHP model,
(2013) 194–211. in: 48th Scandinavian Conference on Simulation and Modeling (SIMS
[16] G. Ferrari-Trecate, E. Gallestey, P. Letizia, M. Spedicato, M. Morari, M. 2007), Linköping University Electronic Press, Goteborg, 2007, pp. 30–31.
Antoine, Modeling and control of co-generation power plants: a hybrid [37] F.G. Ortiz, Modeling of fire-tube boilers, Appl. Therm. Eng. 31 (16) (2011)
system approach, IEEE Trans. Control Syst. Technol. 12 (5) (2004) 694–705. 3463–3478.
[17] S. Ashok, R. Banerjee, Optimal operation of industrial cogeneration for load [38] K.J. Astrom, R.D. Bell, Drum-boiler dynamics, Automatica 36 (2000)
management, IEEE Trans. Power Syst. 18 (2) (2003) 931–937. 363–378.
[18] A.D. Hawkes, M.A. Leach, Modelling high level system design and unit [39] A. Bejan, A.D. Kraus, Heat Transfer Handbook (Vol. 1), John Wiley & Sons,
commitment for a microgrid, Appl. Energy 86 (7–8) (2009) 1253–1265. 2003.
[19] H. Anand, N. Narang, J.S. Dhillon, Multi-objective combined heat and power [40] W. Wagner, H.J. Kretzschmar, International Steam Tables-Properties of Wa-
unit commitment using particle swarm optimization, Energy 172 (2019) ter and Steam Based on the Industrial Formulation IAPWS-IF97, Springer
794–807. Science & Business Media, 2007.
[20] M. Hübel, S. Meinke, M.T. Andrén, C. Wedding, J. Nocke, C. Gierow, E. [41] DIN-EN, 12952-3: Water-tube boilers and auxiliary installations-part 3:
Hassel, J. Funkquist, Modelling and simulation of a coal-fired power plant Design and calculation for pressure parts, 2008.
for start-up optimisation, Appl. Energy 208 (2017) 319–331. [42] A. Bemporad, M. Morari, Control of systems integrating logic, dynamics,
[21] P. Sindareh-Esfahani, E. Habibi-Siyahposh, M. Saffar-Avval, A. Ghaffari, F. and constraints, Automatica 35 (3) (1999) 407–427.
Bakhtiari-Nejad, Cold start-up condition model for heat recovery steam [43] D. Simon, Optimal State Estimation: Kalman, H Infinity, and Nonlinear
generators, Appl. Therm. Eng. 65 (1–2) (2014) 502–512. Approaches, John Wiley & Sons, 2006.
[22] C. Albanesi, M. Bossi, L. Magni, J. Paderno, F. Pretolani, P. Kuehl, M. Diehl, [44] P. Falcone, F. Borrelli, H.E. Tseng, J. Asgari, D. Hrovat, Linear time-varying
Optimization of the start-up procedure of a combined cycle power plant, model predictive control and its application to active steering systems:
in: Decision and Control, 2006 45th IEEE Conference, 2006, pp. 1840–1845. stability analysis and experimental validation, Internat. J. Robust Nonlinear
[23] F. Casella, M. Farina, F. Righetti, R. Scattolini, D. Faille, F. Davelaar, A. Control 18 (2008) 862–875.
Tica, H. Gueguen, D. Dumur, An optimization procedure of the start-up [45] M. Diehl, H.G. Bock, J.P. Schlöder, A real-time iteration scheme for nonlin-
of combined cycle power plants, in: 18th IFAC World Congress, 2011, pp. ear optimization in optimal feedback control, SIAM J. Control Optim. 43
7043–7048. (5) (2005) 1714–1736.
[24] K. Krüger, R. Franke, M. Rode, Optimization of boiler start-up using a [46] M. Mikofski, IAPWS-IF97, GitHub, 2019, (https://www.github.com/
nonlinear boiler model and hard constraints, Energy 29 (12–15) (2004) mikofski/IAPWS_IF97) Retrieved May 18.
2239–2251. [47] F.D. Torrisi, A. Bemporad, HYSDEL - a tool for generating computational
[25] R. Franke, M. Rode, K. Krüger, On-line optimization of drum boiler startup, hybrid models for analysis and synthesis problems, IEEE Trans. Control
in: Proceedings of the 3rd International Modelica Conference, 2003. Syst. Technol. 12 (2) (2004) 235–249.
[26] F. Belkhir, D.K. Cabo, F. Feigner, G. Frey, Optimal startup control of a steam [48] G. Mitra, C. Lucas, S. Moody, E. Hadjiconstantinou, Tools for reformulating
power plant using the jmodelica platform, IFAC-PapersOnLine 48 (1) (2015) logical forms into zero–one mixed integer programs, European J. Oper. Res.
204–209. 72 (2) (1994) 262–276.
[49] H.P. Williams, Model Building in Mathematical Programming, John Wiley
& Sons, 2013, pp. 154–165.

You might also like