Power System Blockset    
powerinit

Set the initial states values of a model built with the Power System Blockset

Syntax

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.

This command returns the name of the states and their current values.

See Also

powergui, power2sys


power2sys