Understanding "start simulation from steady state" option in solver block

9 次查看(过去 30 天)
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.

采纳的回答

David John
David John 2020-1-16
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 个)

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by