Name | Description |
---|---|
![]() | Equal (==) |
![]() | not equal (!=) |
![]() | Greather (>) |
![]() | Greather or equal (>=) |
![]() | Less (<) |
![]() | Less or equal (<=) |
![]() | Interfaces |
Model of a comparison for Real numbers.
The output y is true if the inputs u1 and u2 are equal.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |
Model of a comparison for Real numbers.
The output y is true if the inputs u1 and u2 differ.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |
Model of a comparison for Real numbers.
The output y is true if the inputs u1 is higher than u2.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |
Model of a comparison for Real numbers.
The output y is true if the inputs u1 is higher or equal than u2.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |
Model of a comparison for Real numbers.
The output y is true if the inputs u1 is less than u2.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |
Model of comparison for Real numbers.
The output y is true if the inputs u1 is less or equal than u2.
Depending on the value of the sampling time (Ts), the model has two different behaviours:
Ts > 0it behaves as a discrete time system,
Ts <= 0it behaves as a continous time system. No delay is introduced and events are generated when the output changes (this mode reduces the simulation time)
Extends from Interfaces.RealComparison (Partial interface for Real comparisons).
Name | Description |
---|---|
Ts | sampling time |
eps | tolerance for the comparison |
Name | Description |
---|---|
u1 | input |
u2 | input |
y | output |