LinearDependency

Output a linear combination of the two inputs

    LinearDependency

Library

Modelica/Blocks/Math

Description

Determine the linear combination of the two inputs: y = y0 + k1*u1 + k2*u2

Parameters

LinearDependency_0

NameLabelDescriptionData TypeValid Values

mo_y0

y0

Initial value

Scalar

mo_k1

k1

Gain of u1

Scalar

mo_k2

k2

Gain of u2

Scalar

LinearDependency_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

u1

implicit

Connector of Real input signal 1

input

1

u2

implicit

Connector of Real input signal 2

input

2

y

implicit

Connector of Real output signal

output

1

See Also