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 Modeling with State Graphs<br />

<strong>SIMPLORER</strong> 6.0 — <strong>Manual</strong> 241<br />

The following components to create state graphs appear in the States folder of the «Basics»<br />

tab. Open the folder States, select a state or transition, drag the component onto the sheet and<br />

release the mouse button.<br />

With <strong>SIMPLORER</strong>’s state graph, discontinuous processes can be modeled as event-oriented<br />

based on the Petri Net theory. The theoretical basis of the modeling is to divide a system into:<br />

• significant states and<br />

• events, or transfers from one state to the other<br />

A process sequence can be considered as a sequence of states. The current state is called active.<br />

Switching the activity from states to their successor states is called an event. An event<br />

occurs only if all previous states are active, all following states are inactive and the transfer<br />

condition in the form of a logical expression is true. At the beginning of the simulation, one<br />

state must be defined as active.<br />

The event occurs if<br />

• all previous states are active (marked) and<br />

• the transfer conditions are TRUE; if no transfer condition is specified, the default value<br />

FALSE is used.<br />

The result of an event will be<br />

• all previous states are deactivated and<br />

• all successor states are activated<br />

On entering a state, several arithmetic and logical instructions (actions) that influence the<br />

system behavior can be executed.<br />

Creating State Graphs<br />

State 1 Event State 2<br />

State 1 Event State 2<br />

You cannot use state graphs in AC and DC simulations. To leave state graphs on the sheet,<br />

select the components and choose ELEMENT>DON’T ADD TO MODEL DESCRIPTION. When you<br />

want to process a transient simulation, you can change this option.<br />

The state graph components are placed in the States folder in the «Basics» tab. Select the<br />

folder, click the component name (transition or state), drag the component onto the sheet and<br />

release the mouse button. Within the dialogs you can define the transfer conditions (transition)<br />

and actions (states). A selected component can be rotated (R key) or flipped (F key).<br />

To connect the state graph components start the wire mode with CTRL+W or choose CON-<br />

NECT>WIRE. Place the cross wires on the component pins and set beginnings, corners, and<br />

ends of the wire with the mouse. Exit the wire mode with ESC.<br />

Schematic does not test the pins during the routing and allows all connections. However,<br />

only reasonable state graphs lead to correct simulation results.

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

Saved successfully!

Ooh no, something went wrong!