Main Content

power_steadystate

Compute steady-state values of voltages and currents of model

Syntax

sps = power_steadystate('sys')

Description

sps = power_steadystate('sys') returns the steady-state values of the inductor currents and capacitor voltages (electrical state variables), steady-state voltages and currents of measurement blocks and sources, and steady-state voltages and currents of nonlinear blocks of a model.

If the model contains power electronic switches (diodes, thyristors, IGBTs, and so on), the steady-state values are computed considering them as open-circuit. If the model contains breakers (the Breaker, Three-Phase Breaker, or Three-Phase Fault blocks) the steady-state values are computed considering their initial status (open-circuit or short-circuit).

This function returns a structure with these fields:

FieldDescription
circuitThe name of the model
FrequenciesVector listing the source frequencies in the model
StatesThe names of the electrical states of the model
XssThe steady-state values of electrical states of the model
DependentStatesThe names of the dependent states, if any
MeasurementsThe names of the measurement blocks in the model
Yss_MeasurementsThe steady-state values of the measurement blocks in the model
SourcesThe names of the electrical source blocks in the model
Uss_SourcesThe steady-state values of the electrical sources in the model
NonlinearOutputsThe names of the outputs that correspond to the nonlinear blocks (current-source injection based models). This value consist of the measured terminal voltages used by the nonlinear models to compute the corresponding current sources
Yss_NonlinearOutputsThe steady-state values of the outputs used by the nonlinear blocks
NonlinearInputsThe names of the inputs corresponding to the nonlinear blocks in the model
Uss_NonlinearInputsThe steady-state values of the current inputs defined by the nonlinear blocks (current-source injection based models)

Note

When the model contains more that one source frequency, the Xss, Yss_Measurements, Uss_Sources, Yss_NonlinearOutputs, and Uss_NonlinearInputs fields return a matrix of steady-state values. For every source frequency listed in the Frequencies field, there is a corresponding column of steady-states values in the matrix.