Variable resistor with Tustin solver
3 views (last 30 days)
Show older comments
Vinícius Freitas
on 12 Dec 2020
Commented: Vinícius Freitas
on 16 Dec 2020
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)?
0 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Simscape Electrical 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!