<< Click to Display Table of Contents >> Navigation: Macros > Macro commands and parameters > Macro alteration commands > Macro command Subtract |
Purpose:
Subtracts a value from an attribute or a variable.
General notation:
Subtract( Object( ObjectName ).Attribute , value )
or
Subtract( Variable , value )
Examples:
Lower load with name 'MyLoad' with 0.1 MW:
Subtract( Load ( 'MyLoad' ).Pl , 0.1 )
Lower variable with name 'MyVoltage' with 0.5:
Subtract( MyVoltage , 0.5 )