MultiProductProduct of Reals: y = u[1]*u[2]* ... *u[n] |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This blocks computes the scalar Real output "y" as product of the elements of the Real input signal vector u:
y = u[1]*u[2]* ... *u[N];
The input connector is a vector of Real input signals. When a connection line is drawn, the dimension of the input vector is enlarged by one and the connection is automatically connected to this new free index (thanks to the connectorSizing annotation).
The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.RealNetwork1.
If no connection to the input connector "u" is present, the output is set to zero: y=0.
significantDigits |
Value: 3 Type: Integer Description: Number of significant digits to be shown in dynamic diagram layer for y |
---|---|
nu |
Value: 0 Type: Integer Description: Number of input connections |
u |
Type: RealVectorInput[nu] |
|
---|---|---|
y |
Type: RealOutput |
Modelica.Blocks.Examples Demonstrates the usage of blocks from Modelica.Blocks.Math |
|
Modelica.Blocks.Examples.Noise Demonstrates the computation of properties for uniformly distributed noise |
|
Modelica.Blocks.Examples.Noise Demonstrates the computation of properties for normally distributed noise |
Modelica.Blocks.Math Calculate root mean square over period 1/f |
|
Modelica.Blocks.Math Calculate harmonic over period 1/f |