What is more suitable to interface SimPowerSystems battery with Simscape, a Current-Voltage Simscape interface or a Voltage-Current interface?

3 views (last 30 days)
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.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 24 Sep 2020
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

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Energy Storage in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!