필터 지우기
필터 지우기

How to model a switch to charge/discharge a battery and/or supercapacitor equivalent circuit.

조회 수: 9 (최근 30일)
So I am very new to simscape and I was wondering if anyone could help me model a switch for charging and discharging an equivalent circuit. Basically, I just need to figure out how to get the switch to open and close using either a voltage or time threshold.
Any help would be VERY appreciated as ive been stuck at this for some time now.
Thanks!

채택된 답변

Maadhav Akula
Maadhav Akula 2019년 7월 26일
I understand from your question that you want to implement a switch that can be controlled using voltage/time threshold and in that context the Simscape library has a switch block in it, and you can access it by going to Simulink Library Browser>Simscape>Foundation Library>Electrical>Electrical Elements>Switch.
You can also check the documentation page for Switch block below:
  댓글 수: 4
Fraser Lloyd
Fraser Lloyd 2019년 7월 31일
Hi Maadhav,
That was very helpful! Thank you very much!
Much appreciated!!
Fraser
Yashendra Mohan
Yashendra Mohan 2022년 6월 9일
I also wanted to show charge/discharge in a battery. But I'm not able to. I've used the same switch. Can you please share how you got it to work? Or even if you share your file, that might help!
Thank you in advanced!

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by