Different outputs for the same inputs for model predictive controller in Microgrid using scripts

조회 수: 12 (최근 30일)
I have a microgrid connected to a model predictive controller, and I created a custom cost function using scripts. Although the model is linear, I used nonlinear MPC because I needed a custom cost function. However, when I run the model many times, I get different plots for the same inputs. What could be causing this?
I will show you differents results for the same inputs;
ps: I choose the Euler method for state calculating fct;

답변 (0개)

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by