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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Equations<br />

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

>>Basics>Tools>Equations<br />

The equation function provides mathematical expressions to all <strong>SIMPLORER</strong> modules. The<br />

formula interpreter manages general mathematical and logical expressions, which consist of<br />

a number of operands and operators. In addition, widely used mathematical standard functions<br />

are supported. Variables are allowed as operands (for example voltages or currents from<br />

the circuit components, quantities from the Block Diagram and variables and states from the<br />

State Graph). Of course, variables from other expressions can also be used in an expression.<br />

The name of a variable is defined by the user. It can be up to 50 characters long and must start<br />

with a letter.<br />

The spelling of the variable names is case sensitive.<br />

Dialog Settings<br />

«Expression»<br />

Create, delete, or move entries with the symbols placed on the upper right side. Choose<br />

«Equation» to enter the expression in the single line mode. Choose «If…Else…» to open the<br />

equation editor window.<br />

In the single line mode, click in the «Expression» field and define the expression, for example<br />

C:=A+B, var1:=sin(2*PI*50*t). See also “Defining Parameters” on page 49. and “Equations,<br />

Expressions, and Variables” on page 32.<br />

«Expression»<br />

To open the equation editor window, double-click the symbol in the text box or choose «If…<br />

else…» on the drop-down menu.<br />

The editor window can display the complete text of an equation. In addition, you can insert<br />

standard mathematical functions and If-Else statements from a panel.<br />

To insert functions, click the f(x) symbol and insert a function by clicking one of the symbols<br />

on the panel.<br />

To define an If-Else statement click the new entry symbol and select one of the statements.<br />

Define conditions and variable assignments in the text to complete the inserted template.<br />

To check the syntax of an expression, click the � symbol. Errors and warnings are displayed<br />

below the edit box.<br />

Click to close the equation editor window and return to the single line mode. If errors<br />

in the definition occur, the ⊗ symbol is displayed at the beginning of an entry in the list.<br />

See also “Equations, Expressions, and Variables” on page 32.<br />

� «Calculation Sequence»<br />

In the list, select «Standard», «Before State Graph», or «After State Graph». Standard<br />

means the equation is calculated first of all simulation quantities (before circuit, block diagram,<br />

state graph, time functions, …). Before State Graph is computed before the state graph<br />

is processed; After State Graph, after the state graph is processed. See also 13.6 “Simulator<br />

Backplane” on page 418.<br />

«Info»<br />

Field for user specific information about an expression. Click in the field of the corresponding<br />

entry and enter the text. You can display these information on the sheet by defining the display<br />

setting within the «Output/Displays» tab.

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

Saved successfully!

Ooh no, something went wrong!