blockAltitude

Generate constant signal of type Real

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

Information

Block to output the altitude of the location. This block is added so that the altitude is displayed with a comment in the GUI of the weather bus connector.

Implementation

If Modelica.Blocks.Sources.Constant where used, then the comment for the Altitude would be "Connector of Real output signal". As this documentation string cannot be overwritten, a new block was implemented.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.LengthAltitudeLocation altitude above sea level

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputyLocation altitude above sea level

Revisions

  • May 2, 2021, by Ettore Zanetti:
    First implementation.