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

조회 수: 2 (최근 30일)
NN
NN 2021년 7월 19일
댓글: Danny 2021년 10월 14일
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
Danny
Danny 2021년 10월 14일
Hi, did you manage to solve the problem with multiple storage systems?

댓글을 달려면 로그인하십시오.

채택된 답변

Alan Weiss
Alan Weiss 2021년 7월 19일
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
NN
NN 2021년 7월 20일
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 2021년 7월 20일
First we must see your code. Then someone might be able to advice how to overcome the error.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by