WOLFRAM SYSTEM MODELER
maxWithoutEventMaximum of the input arguments, without event and function can be differentiated |
SystemModel["Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
y = Internal.maxWithoutEvent(u1, u2)
Function maxWithoutEvent returns the maximum of its two input arguments. This functions is used instead of the Modelica built-in function "max" or an if-statement with "noEvent(…)", in order that the function can be differentiated by providing the first and second derivatives with additional functions. Note, from a strict mathematical point of view the derivatives will be wrong, since Dirac impulses would occur in the derivatives. For the special cases as used in the MultiBody library, this is irrelevant and therefore the usage of the function is correct.
u1 |
Type: Real |
---|---|
u2 |
Type: Real |
y |
Type: Real |
---|