Understanding "start simulation from steady state" option in solver block
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
John Wang
am 20 Jun. 2019
Beantwortet: David John
am 16 Jan. 2020
I'm trying to understand when "start simulation from steady state" checkbox should be selected in the solver configuration block when modelling a circuit. I have been attempting to generate the mosfet characteristic curve but I don't get the right curve unless that option is selected in the solver block. The documentation doesn't really explain the option well and I don't see why I shouldn't get the correct answer if I leave the box unchecked. Any help would be appreciated! Attached is the screenshot of my simulink schematic. I'm also attaching the wrong i_d curve that I get when i don't check "start simulation from steady state" and the correct curve when I do select the option.
0 Kommentare
Akzeptierte Antwort
David John
am 16 Jan. 2020
If the box is unchecked, then the MOSFET may not be starting from a DC steady-state operating point. It could be starting from any operating point at all (depending on priorities for different variables inside the block). In your case, it looks like the current is starting from -275V at t=0. This may be because there are voltages inside the MOSFET (behind the terminal resistances, for example) that are higher than the voltage supplied from your source. If you zoom vertically on the i_d plot, it should start to look okay once the initial transient is gone. This may sometimes be caused by high priority variables in a block that are set to a high voltage or by having no variables at all having a high priority...in which case the equations at t=0 may have multiple solutions.
Checking the box means that Simscape will try to find a unique initial solution that is a steady-state solution. Care must be taken with those though, since some circuits do not have a steady-state (such as a DC current source feeding an ideal capacitor).
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Electrical Sensors finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!