UdK-VPT / BuildingSystems

Modelica BuildingSystems library
http://modelica-buildingsystems.de/
BSD 3-Clause "New" or "Revised" License
70 stars 34 forks source link

refactor softcut_upper #101

Closed thorade closed 6 years ago

thorade commented 7 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

thorade commented 7 years ago

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