-
Notifications
You must be signed in to change notification settings - Fork 31
3.2. Initialisation Functions
susantoj edited this page Jan 3, 2015
·
6 revisions
The following standard initialisation functions are available in the controllers module of PYPOWER-Dynamics (listed in alphabetical order):
Constant value:
Signal/State = Signal_Name = CONST(Value)
Initialises the signal or state variable to a constant scalar Value.
Multiplier function:
Signal/State = Signal_Name = MULT(Signal_1, Signal_2, ... , Signal_n)
Multiplies an arbitrary number of input signals, i.e. yo = yi1 * yi2 * ... * yin. Input signals can be negative to multiply negative inputs, e.g. SIGNAL = N3 = MULT(N1,-N2)
is equivalent to initialising signal N3 = N1 * (-N2).
Summing function:
Signal/State = Signal_Name = SUM(Signal_1, Signal_2, ... , Signal_n)
Sums (or subtracts) an arbitrary number of input signals, i.e. yo = yi1 + yi2 + ... + yin. Input signals can be negative for subtraction, e.g. SIGNAL = N3 = SUM(N1,-N2)
is equivalent to initialising signal N3 = N1 - N2.