Macrocommando Simulation

<< Click to Display Table of Contents >>

Navigation:  Macros > Macro commands and parameters > Macro calculating commands >

Macrocommando Simulation

Purpose:

Execute the security simulation calculation optionally on a single node, cable or connection or element.

 

If the calculation is called with NIL (without specification of node, cable, connection or element), the simulation is performed for all objects.

 

General notation:

Simulation ( Node( NodeName ), Closure, Rf, Xf )

Simulation ( Cable( CableName ) , Closure, Rf, Xf )

Simulation ( Line( ConnectionName ) , Closure, Rf, Xf )

or

Simulation ( NIL, Closure, Rf, Xf )

 

In the place of Closure, a text value must be entered or a text variable. The possibilities are:

'abc': symmetric closure
'abc0': symmetrical closure with earth contact
'a0' : phase-to-earth closure
'b0' : phase-to-earth closure
'c0' : phase-to-earth closure
'ab' : phase-earth connection
'ac' : phase-terminal closure
'bc' : phase-terminal closure
'ab0': phase-ground closure
'ac0': phase-phase ground closure
'bc0': phase-phase-earth closure

 

After successful execution, the default objects Network.Result and Object.Result are equal to 'SIM' and otherwise 'NO'.

 

Examples:

Execute symmetric simulation calculation:

Simulation ( Node ('MyNode') , 'abc', 0, 0 )