blockSin

Output the sine of the input

Information

Block that outputs y = sin(u), where u is an input.

sin.png

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputuInput for the sine function
Buildings.Controls.OBC.CDL.Interfaces.RealOutputySine of input

Revisions

  • November 8, 2024, by Michael Wetter:
    Added final keyword to unit declaration as block is only valid for this unit.
    Also added displayUnit keyword.
  • March 7, 2023, by Jianjun Hu:
    Added unit rad to the input.
    This is for Buildings, issue 3277.
  • 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.