Addition (linear combination)#
Block appearance in REPEAT VISION#
The Addition (linear combination) block sums input signals with specified amplification coefficients. The number of ports and their gain factors are specified as an array in the block property.
Hint
A record of “1; 1; 1” form will create 3 input ports with a gain of 1 for each port.
1. Properties#
Property |
Default value |
Description |
Units of measurement |
|---|---|---|---|
1;1 |
The number of values entered with “;” is equal to the number of input ports |
- |
2. Inputs and outputs#
Parameters |
Input/Output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
Input 1 |
Input |
- |
- |
Automation |
Output |
Output |
- |
- |
Automation |
Note
The number of Input parameters is specified by the value of the Signal gain coefficients property. Each Input is numbered sequentially (Input 1, Input 2, Input 3 …).
In order to see the connection capabilities of the block, you need to go to page Description of block ports
3. Code generation#
Important
Block supports C source code generation
4. Examples of use#
Examples of using this block can be found in the following sections:
Description of Demo.
Tutorials
Library |
Tutorial name |
|---|---|
Heat exchange |
|
External models |
Implementing a moving average filter using a Java-function block |
Electronics |
How-to guides
Section |
Guide name |
|---|---|
Electrical equipment / Power industry |
Simulation of static synchronous compensator based on voltage converter |