Filter löschen
Filter löschen

Variable resistor with Tustin solver

3 Ansichten (letzte 30 Tage)
Vinícius Freitas
Vinícius Freitas am 12 Dez. 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)?

Akzeptierte Antwort

Joel Van Sickel
Joel Van Sickel am 16 Dez. 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 Kommentar
Vinícius Freitas
Vinícius Freitas am 16 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simscape Electrical finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by