10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6<br />

242 Modeling with State Graphs<br />

Using Actions in State Graphs<br />

For every state actions can be defined which are processed if the state is active. In the dialog<br />

for the State component, the available action types can be selected from a drop-down-list,<br />

which is opened by clicking on .<br />

Actions in States<br />

�<br />

�<br />

�<br />

�<br />

�<br />

�<br />

Create a new action<br />

Select action type<br />

Enter the assignment<br />

Action Description Syntax in Value<br />

CALC The variable is calculated at each simulation step and<br />

each transition from one state to another.<br />

var1:=100*t<br />

STEP The variable is calculated at each valid simulation step. var2:=2*t<br />

CATI The variable is calculated outside the state graph and before<br />

the calculation of the electric circuit.<br />

var3:=sqrt(t)<br />

SET The variable is calculated only once at the moment of acti- var4:=2.5<br />

vation of the state.<br />

DEL Sets a delay. The variable is set to false at the moment of var##time [s]<br />

activation and set to true after the delay time.<br />

delation##10m<br />

DELRES Deletes a defined delay variable. del4<br />

DIS The variable value (and moment) is displayed in the simu- Name.Qualifier<br />

lator status window.<br />

dc.n<br />

TXT The given text string is displayed in the simulator status "Text String"<br />

window.<br />

"State waiting"<br />

KEY Sets a mark in the state graph by pressing a key. <br />

STOP Interrupts the simulation (can be continued). No Parameters<br />

BREAK Finishes the simulation. No Parameters<br />

SAVE Saves the active simulation status in a status file. No Parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!