lbl-srg / modelica-buildings

Modelica Buildings library
240 stars 153 forks source link

Correct capitalization of names in derivative function #2504

Closed mwetter closed 3 years ago

mwetter commented 3 years ago

This issue is to correct on the 7.0.x maintenance branch the capitalization of the function arguments in the derivative implementation to avoid warnings such as

Check of Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid:

Warning: function Buildings.Utilities.Psychrometrics.Functions.saturationPressureLiquid specified derivative Buildings.Utilities.Psychrometrics.Functions.BaseClasses.der_saturationPressureLiquid, but
argument TSat function did not match argument Tsat of derivative.

The model has the same number of unknowns and equations: 3

Check of Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid successful.

WARNINGS have been issued.

The warning is issued in Dymola 2022. The master branch already has this correction.

mwetter commented 3 years ago

This is now fixed on the maintenance branch.