Gain

Output the product of a gain value with the input signal

    Gain

Library

Modelica/Blocks/Math

Description

This block computes output y asproduct of gain k with theinput u:

    y = k * u;

Parameters

Gain_0

NameLabelDescriptionData TypeValid Values

mo_k

k

Gain value multiplied with input signal

Scalar

Gain_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Input signal connector

input

1

y

implicit

Output signal connector

output

1

See Also