Change

Output y is true, if the input u has a rising or falling edge (y = change(u))

    Change

Library

Modelica/Blocks/Logical

Description

The output is true if the Boolean input has either a rising edgefrom false to true or a falling edge fromtrue to false, otherwisethe output is false.

Parameters

Change_0

NameLabelDescriptionData TypeValid Values

mo_pre_u_start

pre_u_start

Start value of pre(u) at initial time

Scalar

true
false

Change_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Connector of Boolean input signal

input

1

y

implicit

Connector of Boolean output signal

output

1