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

조회 수: 8 (최근 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