modelRound

Example for round function

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example tests the implementation of Buildings.Utilities.Math.Functions.round for different values of n. Arguments and return values are scale to simplify the show that the scaling for the rounding is implemented correctly.

Components

TypeNameDefaultDescription
Realym2Function value
Realym1Function value
RealyFunction value
Realy1Function value
Realy2Function value

Revisions

  • October 19, 2020, by Michael Wetter:
    First implementation.