Closed thorade closed 6 years ago
Dymola can only inline functions if no intermediate variables are used, and the if-else condition has to be written in the y = if cond then x form.
Also see https://github.com/xogeny/ModelicaBook/issues/338
This is a first example for #10.
Also related: https://github.com/ibpsa/modelica-ibpsa/issues/169 Also related: https://kb.dsxclient.3ds.com/mashup-ui/page/document?q=docid:SR00453610
https://build.openmodelica.org/Documentation/ModelicaReference.Annotations.smoothOrder.html https://en.wikipedia.org/wiki/Differentiable_function#Differentiability_classes https://en.wikipedia.org/wiki/Smoothness#Differentiability_classes
Dymola can only inline functions if no intermediate variables are used, and the if-else condition has to be written in the y = if cond then x form.
Also see https://github.com/xogeny/ModelicaBook/issues/338
This is a first example for #10.
Also related: https://github.com/ibpsa/modelica-ibpsa/issues/169 Also related: https://kb.dsxclient.3ds.com/mashup-ui/page/document?q=docid:SR00453610