blockMultiplyByParameter

Output the product of a gain value with the input signal

Information

Block that outputs y = k * u, where k is a parameter and u is an input.

Parameters

TypeNameDefaultDescription
RealkFactor to be multiplied with input signal

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputuInput to be multiplied with gain
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyProduct of the parameter times the input

Revisions

  • January 27, 2022, by Jianjun Hu:
    Renamed the block name from Gain to MultiplyByParameter.
    This is for Buildings, issue 2865.
  • March 2, 2020, by Michael Wetter:
    Changed icon to display dynamically the output value.
  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.