AixLib icon indicating copy to clipboard operation
AixLib copied to clipboard

wrong sign of source.m_flow_in in AixLib.Fluid.DistrictHeatingCooling.Demands.OpenLoop.VarTSupplyDpBypass

Open j-zipplies opened this issue 1 year ago • 0 comments

Describe the bug Within AixLib.Fluid.DistrictHeatingCooling.Demands.OpenLoop.VarTSupplyDpBypass the connector source.m_flow_in is connected to changeSing.y (the negative mass flow signal = inflow) instead of smoothMax.y (which would be the correct outflow from the model). This wrong connection lets this load model "consume" water from both, flow and return line of the pipe network.

To Reproduce Check the model itself or simulation results from AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.OpenLoopVarTSupplyDpBypass (flow velocity in pipeReturn is negative)

j-zipplies avatar Apr 17 '23 14:04 j-zipplies