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.

A<br />

534 Appendix<br />

z=a+bi=r(cosϕ+i•sinϕ)=r•e iϕ<br />

Notation Description Example<br />

z=5+3i=5.83(cos30.96°+i•sin30.96°)<br />

SGN(x) Sign dependent value (-1, 0, 1). SGN(3)=1; SIGN(0)=0;<br />

RAD(x)<br />

r=0 if z=0, 1 if Re(z)>0 or (Re(z)=0 SIGN(-3)=-1<br />

and Im(z)>0), -1 otherwise.<br />

Conversion from degrees to radians. RAD(30)=PI/6=0.524<br />

DEG(x) Conversion from radians to degrees. DEG(PI/2)=90°<br />

DEGEL(x[,y]); y=1 Conversion from degrees electrical<br />

to seconds with respect to Hz.<br />

DEGEL(180,50)=10ms<br />

MOD(x,[y]); y=1 Modulus. MOD(370,60)=10<br />

INT(x) Integer part of a value. INT(2.5)=2<br />

FRAC(x) Fractional part of a value. FRAC(2.5)=0.5<br />

LOOKUP(x,y)<br />

Access function to a characteristic. LOOKUP(XY1.VAL,5)=<br />

Y value of the characteristic<br />

XY1 for the X value 5<br />

x=Characteristic name<br />

y=X value<br />

IF (condition) If-Else function to perform opera-<br />

{ var:=1; }<br />

tions dependent on conditions.<br />

[ ELSE IF (condition) The ELSE IF and ELSE statement<br />

{ var:=2; } can be omitted.<br />

ELSE<br />

{ var:=3; } ]<br />

DB(x) Conversion to Decibel (Available in<br />

the DAY Post Processor only.)<br />

IF (t>=1)<br />

{ var:=1; }<br />

[ ELSE IF (t>=2)<br />

{ var:=2; }<br />

ELSE<br />

{ var:=3; }<br />

DB(8)=20•log(8)=18.062<br />

When entering these functions, do not leave any space between the function argument,<br />

e.g., MOD and the open parenthesis mark.<br />

If you define arguments for trigonometric functions, poles must be considered to avoid possible<br />

errors during the simulation.

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

Saved successfully!

Ooh no, something went wrong!