필터 지우기
필터 지우기

Batterypack with variable number of cells

조회 수: 4 (최근 30일)
SmaShBr0ther
SmaShBr0ther 2017년 11월 2일
댓글: Birdman 2017년 11월 2일
Hello,
I'm currently trying to implement a batterypack in Simulink using simscape. Each cell is modeled with 2 RC elements, a serial resistance and an OCV Voltage source. I know connected 20 of those cells in parallel and 2 in serial. What i want to do now is to be able to vary the number of cells in parallel and serial connection. I thought of implementing switches that would open or shortcut not cells based on a set variable (e.g. if VarSerial=2 the battery pack would consist of to serial cells.If VarSerial=1 all serial cells should be shortcutted) but each switch comes with an internal resistance that can't be set to zero. Is there any way to implement my model? Maybe with an enable block?
Regards
  댓글 수: 2
Birdman
Birdman 2017년 11월 2일
Share your model(export to r2017a)
SmaShBr0ther
SmaShBr0ther 2017년 11월 2일
편집: SmaShBr0ther 2017년 11월 2일
The model is still work in progress. If I now want to run the model with only 15 parallel cells, how could I handle this without having to delete the cells by hand?

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

채택된 답변

Birdman
Birdman 2017년 11월 2일
I checked your model, the only useful way that I could find is using Variant Subsystem. It enables you to select any subsystem that you want and you wouldn't have to delete the cells by hand. For more information, see the link below:
  댓글 수: 4
SmaShBr0ther
SmaShBr0ther 2017년 11월 2일
I just realized that variant subsystems are not available with physical signals. This makes it more complicated to implement this with my model.
Birdman
Birdman 2017년 11월 2일
No, it is. Right click your physical subsystem, go to Subsystem&Model Reference->Convert Subsystem to->Variant Subsystem. It automatically creates it for you.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by