This example checks whether the function derivative
is implemented correctly. If the derivative implementation
is not correct, the model will stop with an assert statement.
-
April 22, 2016, by Michael Wetter:
Changed accuarcy test in assertion to use the relative error because the
magnitude of y
is 1E5 and hence testing an absolute
error is too stringent.
This is for
Buildings, issue 510.
-
August 17, 2015 by Michael Wetter:
Updated regression test to have slope that is different from one.
This is for
issue 303.
-
October 4, 2014, by Michael Wetter:
Added a high tolerance which is needed for OpenModelica to pass the assert
statement.
-
October 29, 2008, by Michael Wetter:
First implementation.
Generated at 2024-11-23T19:25:52Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos