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 个评论
社区
另请参阅
类别
在 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!