What is more suitable to interface SimPowerSystems battery with Simscape, a Current-Voltage Simscape interface or a Voltage-Current interface?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am building a powertrain model in Simscape and the battery in SimPowerSystems is more suitable for my application. In order to interface with the rest of my Simscape model I am using interface blocks. However, when I use a voltage-current interface with voltage on the SimPowerSystems side and current on the Simscape side the simulation is running much faster than if I use a current on the SimPowerSystems side and voltage on the Simscape side. Could someone please shed some light on why this is happening?
Thanks in advance.
댓글 수: 0
답변 (1개)
Joel Van Sickel
2020년 9월 24일
Hello Saif,
neither is better or worse than other and totally dependent on your specific toplogy. In general, if your output is connected to a capacitor, you want it to be a controlled current source, and if it is going into and inductor, you want a controlled voltage source. You can compensate by adding a snubber resistance if you need to connect a current source to an inductor, but this will likely require smaller time steps and slow your simulaiton down. In general, it would be better to use the simscape battery model instead of combining the two technologies. While the converter blocks allow it, it typically makes your simulation noticeably slower and actually decoulples the two electrical networks which does add a small innacuracy.
Regards,
Joel
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Energy Storage에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!