<< Click to Display Table of Contents >> Navigation: Macros > Macro commands and parameters > Macro alteration commands > Macro command Multiply |
Purpose:
Multiplies an attribute or a variable with a value.
General notation:
Multiply( Object( ObjectName ).Attribute , value )
or
Multiply( Variable , value )
Examples:
Lower load with name 'MyLoad' with 10%:
Multiply( Load ( 'MyLoad' ).Pl , 0.9 )
Increase load behaviour with name 'MyLoadBehaviour' scaling factor with 5%:
Multiply( LoadBehaviour( 'MyLoadBehaviour' ).Scaling , 1.05 )
Increase variable with name 'MyVoltage' with 10%:
Multiply( MyVoltage , 1.1 )
Increase load (P and Q) with name 'MyLoad' at node 'MyNode' with the value of the scaling factor of load behaviour with name 'MyLoadBehaviour':
Multiply( Load( 'MyLoad:MyNode' ).Pl ) , LoadBehaviour( 'MyLoadbehaviour' ).Scaling )
Multiply( Load( 'MyLoad:MyNode' ).Ql ) , LoadBehaviour( 'MyLoadbehaviour' ).Scaling )