Download SimPowerSystems User`s Guide

Transcript
power_init
Purpose
6power_init
Set the initial state values of a model built with SimPowerSystems
Syntax
power_init('sys','look')
power_init('sys','reset')
power_init('sys','steady')
power_init('sys','set',X0)
power_init('sys','setb','StateVariableName',Value)
Description
power_init('sys','look') displays the current initial states for the specified
system.
power_init('sys','reset') resets to zero the initial states of the specified
system.
power_init('sys','steady') sets the initial states of the specified system in
order to start the simulation in steady state.
power_init('sys','set',X0) sets the initial state values of the model sys to
the specified vector X0. The ordering of the states variable is given by the
power_init('sys','look') command.
power_init('sys','setb','StateVariableName',Value) sets the initial
state of the variable specified in 'StateVariableName' to Value. The names of
the variables states are given by the power_init('sys','look') command.
Example
The following commands reset to zero the initial state values of the
power_filter demo.
power_filter
power_init('power_filter','reset')
This command returns the names of the states and their current values.
power_init('power_filter','look')
Initial states for a particular case:
Il_5th Harm. Filter = 0
Uc_5th Harm. Filter = 0
Il_Zsource
= 0
See Also
6-10
power_analyze, Powergui