Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2- SSN-UCB, notably SSN Synchronous machines are not taken into account in the SSN steady-state calculation. For machines, a load-flow calculation is often required (and not yet available in SSN).

Setting SSN Initial Conditions with SSN_USE_SPS_INITIAL_CONDITIONS_FILE flag (see note 2)

It is possible to set the initial conditions (IC) of an SSN model, although not as easy as a standard SPS model. Again, the reason for this is most of the SPS code is hidden in p-files and unknown from the ARTEMiS coders. The method is shown here in R2015a-SP1 release (SPS version 6.3)

...

Background Color
color#D3D3D3


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.)

...