...
Background Color | ||
---|---|---|
| ||
Note 1: This initialization method can only work if there is only one topologically connected electric circuit in your model. If there are multiple non-connected electric circuits, SPS will generate multiple data structures internally and this method will fail. Note 2: the SSN_USE_SPS_INITIAL_CONDITIONS method will soon be obsolete due to the capacity of SSN to compute automatically the steady-state conditions in v 7.7.2+. |
Forcing Initial Conditions to Zero Programmatically
It is often desirable to simply set all electrical initial conditions to zero. This can be done effectively without using the SimPowerSystems powergui GUI and making the following command set_param(gcb,'X0status','zero') (with gcb pointing to the powergui block.)
...