How do we define prob=optimproblem for multiple energy storage systems

7 vues (au cours des 30 derniers jours)
NN
NN le 19 Juil 2021
Commenté : Danny le 14 Oct 2021
In the below example,
one battery is considered in this example and optimproblem has been defined for that.What if there are one more battery and is it possible to define two optimproblem like
prob=optimproblem;
prob1=optimproblem;
If so is this the correct format ?Please advice
  1 commentaire
Danny
Danny le 14 Oct 2021
Hi, did you manage to solve the problem with multiple storage systems?

Connectez-vous pour commenter.

Réponse acceptée

Alan Weiss
Alan Weiss le 19 Juil 2021
Most likely, you should use a single problem, but have multiple variables that represent the batteries' charge levels or whatever you want. I say this because you probably do not have independent batteries, but they interact in some way. In that case, use just one problem with multiple battery variables.
Alan Weiss
MATLAB mathematical toolbox documentation
  3 commentaires
NN
NN le 20 Juil 2021
When i used one problem with multiple variables, i got this error.
An error occurred while running the simulation and the simulation was terminated
Caused by:
Too many output arguments
How can i solve this , pleas eadvice.
Torsten
Torsten le 20 Juil 2021
First we must see your code. Then someone might be able to advice how to overcome the error.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Manual Performance Optimization dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by