blockCos
Output the cosine of the input
Information
Block that outputs y = cos(u),
where
u is an input.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Input for the cosine function | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Cosine of the input |
Revisions
-
November 8, 2024, by Michael Wetter:
Addedfinalkeyword to unit declaration as block is only valid for this unit.
Also addeddisplayUnitkeyword. -
March 7, 2023, by Jianjun Hu:
Added unitradto 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.