(623a) Multistage NMPC for Demand Uncertainty of Gas Pipeline Networks
AIChE Annual Meeting
2022
2022 Annual Meeting
Computing and Systems Technology Division
Modeling, Control, and Optimization of Energy Systems II
Thursday, November 17, 2022 - 12:30pm to 12:49pm
The operation of gas pipelines is dynamic due to time-varying demands, com-
position, and ambient conditions. It is therefore necessary to consider these un-
certainties while modeling, as not considering them might lead to performance
deterioration and inability to meet the demand. This leads to a non-linear dy-
namic optimization problem with model constraints, operation bounds and un-
certainties. Previously, Zavala[6] did stochastic optimal control of gas pipelines
under demand uncertainties. There has also been a focus on robust optimiza-
tion under demand and gas composition uncertainty [2]. However, none of these
studies consider NMPC with an explicit consideration of various uncertain sce-
narios. This work focuses in embedding dynamic pipeline network models with
explicit consideration of demand uncertainty in a NMPC controller.
A standard NMPC, designed with a nominal value of demands, fails to meet
the terminal demand pressure requirements or depletes the line pack inventory to
meet the demand. Therefore we propose to use multistage NMPC[1] to consider
the various uncertain scenarios in demand profiles to optimize the cost. This
approach relies on constructing a scenario tree by generating extreme cases of
the uncertain parameters with separate control sequences to address constraint
violations. The advantage of this formulation is that it reduces the conserva-
tiveness of the standard robust NMPC and prevents constraint violation in all
realizations of uncertainty. To demonstrate the potential of this approach to
yield more reliable controls, we show how a nominal NMPC fails to meet the
demand under demand uncertainty and use multistage NMPC to meet the de-
mands for instances of real-world gas pipeline networks taken from gaslib [4]
modeled in IDAES and Pyomo.DAE[3] with IPOPT[5].
In this talk we describe our model formulation, including methods used for
generation of extreme cases, give the details of our implementation in the IDAES
software framework, and describe our results obtained on network instances by
solving the models with different uncertainty considerations.
position, and ambient conditions. It is therefore necessary to consider these un-
certainties while modeling, as not considering them might lead to performance
deterioration and inability to meet the demand. This leads to a non-linear dy-
namic optimization problem with model constraints, operation bounds and un-
certainties. Previously, Zavala[6] did stochastic optimal control of gas pipelines
under demand uncertainties. There has also been a focus on robust optimiza-
tion under demand and gas composition uncertainty [2]. However, none of these
studies consider NMPC with an explicit consideration of various uncertain sce-
narios. This work focuses in embedding dynamic pipeline network models with
explicit consideration of demand uncertainty in a NMPC controller.
A standard NMPC, designed with a nominal value of demands, fails to meet
the terminal demand pressure requirements or depletes the line pack inventory to
meet the demand. Therefore we propose to use multistage NMPC[1] to consider
the various uncertain scenarios in demand profiles to optimize the cost. This
approach relies on constructing a scenario tree by generating extreme cases of
the uncertain parameters with separate control sequences to address constraint
violations. The advantage of this formulation is that it reduces the conserva-
tiveness of the standard robust NMPC and prevents constraint violation in all
realizations of uncertainty. To demonstrate the potential of this approach to
yield more reliable controls, we show how a nominal NMPC fails to meet the
demand under demand uncertainty and use multistage NMPC to meet the de-
mands for instances of real-world gas pipeline networks taken from gaslib [4]
modeled in IDAES and Pyomo.DAE[3] with IPOPT[5].
In this talk we describe our model formulation, including methods used for
generation of extreme cases, give the details of our implementation in the IDAES
software framework, and describe our results obtained on network instances by
solving the models with different uncertainty considerations.
References
[1] Kuan-Han Lin, John P. Eason, and Lorenz T. Biegler. Multistage nonlin-
ear model predictive control for pumping treatment in hydraulic fracturing.
AIChE Journal, 68(3):e17537, 2022.
[2] Kai Liu, Lorenz T. Biegler, Bingjiang Zhang, and Qinglin Chen. Dynamic
optimization of natural gas pipeline networks with demand and composition
uncertainty. Chemical Engineering Science, 215:115449, 2020.
[3] Bethany Nicholson, John D. Siirola, Jean-Paul Watson, Victor M. Zavala,
and Lorenz T. Biegler. pyomo.dae: a modeling and automatic discretiza-
tion framework for optimization with differential and algebraic equations.
Mathematical Programming Computation, 10(2):187â223, 2018.
[4] Martin Schmidt, Denis AÃmann, Robert Burlacu, Jesco Humpola, Imke
Joormann, Nikolaos Kanelakis, Thorsten Koch, Djamal Oucherif, Marc E.
Pfetsch, Lars Schewe, Robert Schwarz, and Mathias Sirvent. GasLib â A
Library of Gas Network Instances. Data, 2(4):article 40, 2017.
[5] A W Ìachter, Lorenz Biegler, Yi-dong Lang, and Arvind Raghunathan. Ipopt:
An interior point algorithm for large-scale nonlinear optimization. 01 2002.
[6] Victor Zavala. Stochastic optimal control model for natural gas networks.
Computers Chemical Engineering, 64, 05 2014.
[1] Kuan-Han Lin, John P. Eason, and Lorenz T. Biegler. Multistage nonlin-
ear model predictive control for pumping treatment in hydraulic fracturing.
AIChE Journal, 68(3):e17537, 2022.
[2] Kai Liu, Lorenz T. Biegler, Bingjiang Zhang, and Qinglin Chen. Dynamic
optimization of natural gas pipeline networks with demand and composition
uncertainty. Chemical Engineering Science, 215:115449, 2020.
[3] Bethany Nicholson, John D. Siirola, Jean-Paul Watson, Victor M. Zavala,
and Lorenz T. Biegler. pyomo.dae: a modeling and automatic discretiza-
tion framework for optimization with differential and algebraic equations.
Mathematical Programming Computation, 10(2):187â223, 2018.
[4] Martin Schmidt, Denis AÃmann, Robert Burlacu, Jesco Humpola, Imke
Joormann, Nikolaos Kanelakis, Thorsten Koch, Djamal Oucherif, Marc E.
Pfetsch, Lars Schewe, Robert Schwarz, and Mathias Sirvent. GasLib â A
Library of Gas Network Instances. Data, 2(4):article 40, 2017.
[5] A W Ìachter, Lorenz Biegler, Yi-dong Lang, and Arvind Raghunathan. Ipopt:
An interior point algorithm for large-scale nonlinear optimization. 01 2002.
[6] Victor Zavala. Stochastic optimal control model for natural gas networks.
Computers Chemical Engineering, 64, 05 2014.