.ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative

Information

This test model demonstrates that the regRoot(..) function cannot be differentiated, if multiplied with a discontinuous factor as it is usual for pressure drop components where upstream properties are used. In such a case, the regRoot2(..) function should be used. In order to test this behaviour, change the line "yd=0" to "yd = der(y)".


Generated at 2024-04-27T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos