blockWeightedDifference

Block which calculates the weighted difference between an input variable and a reference parameter
Diagram of WeightedDifference

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
RealWeightMultiplicative weight for the associated entry
RealTargetReference (target) parameter

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuInput signal connector
Modelica.Blocks.Interfaces.RealOutputyOutput signal connector

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Math.Gaingain1