InertialDelaySensitive

Provide the input as output if it holds its value for a specific amount of time

    InertialDelaySensitive

Library

Modelica/Electrical/Digital/Delay

Description

Provides the input as output delayed by Tdel if the input holds its value for a longer time than Tdel.If the time is less than Tdel the initial value y0 holds.
The delay Tdel depends on the values of the signal change. To calculate Tdel, the DelayTable specified inDigital.Tables is used. If the corresponding value is 1, then tLH is used, if it is -1, then tHLis used, if it is zero, the input is not delayed.

Parameters

InertialDelaySensitive_0

NameLabelDescriptionData TypeValid Values

mo_tLH

tLH

rise inertial delay

Scalar

mo_tHL

tHL

fall inertial delay

Scalar

mo_y0

y0

initial value of output

Structure

mo_y0/choice1

U Uninitialized

Number

0
1

mo_y0/choice2

X Forcing Unknown

Number

0
1

mo_y0/choice3

0 Forcing 0

Number

0
1

mo_y0/choice4

1 Forcing 1

Number

0
1

mo_y0/choice5

Z High Impedance

Number

0
1

mo_y0/choice6

W Weak Unknown

Number

0
1

mo_y0/choice7

L Weak 0

Number

0
1

mo_y0/choice8

H Weak 1

Number

0
1

mo_y0/choice9

- Do not care

Number

0
1

mo_y_auxiliary

y_auxiliary

y_auxiliary

Structure

mo_y_auxiliary/fixed

fixed

Cell of scalars

true
false

mo_y_auxiliary/start

start

FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''X''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''0''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''1''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''Z''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''W''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''L''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''H''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''-''')
'y0'

mo_y_old

y_old

y_old

Structure

mo_y_old/fixed

fixed

Cell of scalars

true
false

mo_y_old/start

start

FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''X''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''0''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''1''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''Z''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''W''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''L''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''H''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''-''')
'y0'

InertialDelaySensitive_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

'delayTime'
'lh'
't_next'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

x

implicit

Connector of Digital input signal

input

1

y

implicit

Connector of Digital output signal

output

1