Gain#

block

Block appearance in REPEAT VISION#

 The Gain block returns the value of the input signal multiplied by the coefficient set in the block parameters: \(out(t)\:=\:K\:\cdot\:in(t)\)

1.  Properties#

Property

Default value

Description

Units of measurement

Gain

2

-

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Input

Input

-

-

Automation

Output

Output

-

-

Automation

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

Hint

The block supports displaying values of coefficients on blocks instead of an image of the block itself

See also

Examples of using this block can be found in the sections:

  1. How-to guides Electrical equipment Power industry subsection - Modeling of zero-sequence current directional protection of 220 kV power transmission lines;

  2. Tutorials Automation - Modeling a DC motor using blocks from the “Automation” section.