Titelangaben
Schießl, Jonas ; Krügel, Lisa:
nMPyC A Python Package for Solving Optimal Control Problems via Model Predictive Control.
In: Daniilidis, Aris ; Grüne, Lars ; Haunschmied, Josef ; Tragler, Gernot
(Hrsg.):
Model Predictive Control : Engineering Methods for Economists. -
Cham, Switzerland
: Springer
,
2025
. - S. 111-133
. - (Dynamic Modeling and Econometrics in Economics and Finance
; 31
)
ISBN 978-3-031-85256-5
DOI: https://doi.org/10.1007/978-3-031-85256-5_5
Angaben zu Projekten
Projektfinanzierung: |
Deutsche Forschungsgemeinschaft |
---|
Abstract
Optimal control problems aim to optimize an objective function dependent on the state evolution of a dynamical system over a given time horizon. Solving such problems becomes particularly challenging over long or infinite time horizons. Model Predictive Control (MPC) is a widely used approach to tackle these challenges by dividing the system into sub-problems over shorter horizons, which are then solved efficiently using numerical methods. These problems are prevalent across various fields, such as energy systems, autonomous driving, chemical engineering, and economics. We introduce nMPyC, a Python-based package designed to numerically solve optimal control problems without requiring in-depth knowledge of MPC theory. The package integrates well-known optimization interfaces like CasADi and SciPy, offering an intuitive syntax for problem formulation. Users only need to specify the key components of the control problem---such as the cost function, system dynamics, and constraints---while the tool handles the optimization process automatically. We demonstrate the capabilities of nMPyC through numerical examples and simulations.