You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to solve #4424, I discovered that the pressure/flow behaviour of the Modelica.Fluid.Fittings.GenericResistances.VolumeFlowRate model when I set a = 0 and b > 0 was not
dp = b*V_flow
as claimed by the documentation, but rather dp = 1/b*V_flow, which of course caused the pressure losses to be wrong by many orders of magnitude. The issue can be traced back to this chunk of code:
where the last line should be dp/b rather than b*dp.
Probably nobody has ever used this component in this way, i.e. to obtain a linear pressure-flow characteristic, otherwise we would have heard about that. This needs of course to be fixed in MSL 4.1.0.
The text was updated successfully, but these errors were encountered:
While trying to solve #4424, I discovered that the pressure/flow behaviour of the Modelica.Fluid.Fittings.GenericResistances.VolumeFlowRate model when I set a = 0 and b > 0 was not
dp = b*V_flow
as claimed by the documentation, but rather dp = 1/b*V_flow, which of course caused the pressure losses to be wrong by many orders of magnitude. The issue can be traced back to this chunk of code:
ModelicaStandardLibrary/Modelica/Fluid/Dissipation.mo
Lines 4618 to 4625 in 9e8b7fb
where the last line should be dp/b rather than b*dp.
Probably nobody has ever used this component in this way, i.e. to obtain a linear pressure-flow characteristic, otherwise we would have heard about that. This needs of course to be fixed in MSL 4.1.0.
The text was updated successfully, but these errors were encountered: