MATLAB Answers

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

5 views (last 30 days)
NN
NN on 19 Jul 2021
Commented: Torsten on 20 Jul 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

Accepted Answer

Alan Weiss
Alan Weiss on 19 Jul 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 Comments
Torsten
Torsten on 20 Jul 2021
First we must see your code. Then someone might be able to advice how to overcome the error.

Sign in to comment.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by