modelCrossUP

generates a message of type EType, when crossing Value upwards

Information

This model translates a real signal into messages when the signal crosses a predefined Value upwards. The generated message has a value equal to the signal and a type equal to the EType parameter.

Parameters

TypeNameDefaultDescription
IntegerEType1Type of the event to generate

Connectors

TypeNameDefaultDescription
Interfaces.outPortoutport
Modelica.Blocks.Interfaces.RealInputu

Components

TypeNameDefaultDescription
RealValue1Cross value