Simulation modeling is important for resource management and operational strategy within the industry. Optimation AB specializes in modeling and simulation of complex systems using Dymola, but also offers solutions for decision support by solving simplified optimal control problems (OCPs). Since simulation models can be exported as functional mock-up units (FMUs), interfacing the underlying equations, this thesis explores the use of FMUs to formulate and solve OCPs in Python, proposing a workflow based on the softwares CasADi, Rockit and IPOPT. Test cases of increasing complexity, including a cogeneration plant OCP, were employed to evaluate the workflow. Promising results were obtained for simplified models, though scaling, initial guesses and solver settings require further consideration. Collocation demonstrated the fastest convergence time and overall robustness. It could be concluded that integrating FMUs into OCPs is feasible, although complex models require modifications. This suggest that creating simplified component libraries in Dymola, tailored for optimization, could improve method implementation and re-usability.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:ltu-105880 |
Date | January 2024 |
Creators | Vestman, Klara |
Publisher | Luleå tekniska universitet, Institutionen för teknikvetenskap och matematik |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0023 seconds