Power System Blockset | ![]() |
Set the initial states values of a model built with the Power System Blockset
Syntax
powerinit('sys','look') powerinit('sys','reset') powerinit('sys','steady') powerinit('sys','set',X0) powerinit('sys','setb','StateVariableName',Value)
Description
powerinit('sys','look')
displays the current initial states for the specified system.
powerinit('sys','reset')
resets to zero the initial states of specified system.
powerinit('sys','steady')
sets the initial states of specified system in order to start the simulation in steady-state.
powerinit('sys','set',X0)
sets the initial states values of `sys
' to the specified vector X0
. The ordering of the states variables is given by the powerinit('sys','look')
command.
powerinit('sys','setb','StateVariableName',Value)
sets the initial state variable specified in 'StateVariableName
' to Value
. The names of the states variables are given by the powerinit('sys','look')
command.
Example
The following commands reset to zero the initial states values of the psbfilter.mdl
demo.
psbfilter
powerinit('psbfilter','reset')
This command returns the name of the states and their current values.
powerinit('psbfilter','look') Initial states for a particular case: Il_5th Harm. Filter = 0 Uc_5th Harm. Filter = 0 Il_Zsource = 0
See Also
![]() | power2sys |