MATLAB Answers

Variable resistor with Tustin solver

3 views (last 30 days)
Hi,
I am simulating a system with variable resistor from SimPowerSystems Specialized Power Systems library. When powergui solver Tustin/Backward-Euler is chosen, it runs ok. But when Tustin is chosen with options "Interpolate switching events" and "use time-stamped gate signals" enabled, the following error appears:
Invalid Simulink object name: power_utile/Discrete NoSingleSwitch DSS Interp_ext
Caused by:
No block called 'Discrete NoSingleSwitch DSS Interp_ext' could be found.
Does anybody know how to simulate varible resistors with Tustin solver with these options enabled (I use them to improve converter PWM precision)?

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 16 Dec 2020
Hello,
I think the interpolation function is incompatible with the variable resistor. I'll submit a bug report and see what I hear back. You would need to make your own variable resistor to compensate. Perhaps you can use a controlled current source instead of a variable resistor? If the variable resistor is very important, simscape electrical is much better as handling variable resistors than specialized power systems is.
Regards,
Joel
  1 Comment
Vinícius Freitas
Vinícius Freitas on 16 Dec 2020
Thanks for your reply.
Unfortunately, I have to stay with specialized power systems because of other functionalities.
I'll try using the current source.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by