uschna

Results 20 comments of uschna

Also for Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.massFlowRate_dp_staticHead?

There is also a jump in these functions at dp = 0. I don't know if there is an error in the interval 0

This problem is only for g_times_height_ab = 0 or small values (= 1e-10 this is continuous.

### Reasons for these: **Incorrect values:** In function massFlowRate_dp_staticHead: dp_zero < dp < dp_a: Computation of dm_flow_ddp_fric_zero using Modelica.Fluid.Utilities.regFun3: abs((y1d+y0d)-2 * Delta0)=100 * Modelica.Constants.eps, abs(y0d-y1d)>100 * Modelica.Constants.eps, (mu>0 and eta

Because the creation of this ticket was some time ago, I am not sure. But I suspect the problem does not only affect ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 but also ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances (pipe8.flowModel.WallFriction.massFlowRate_dp_staticHead -> pipe8.port_a.m_flow)....

I didn't understand offhand the algorithm in Modelica.Fluid.Utilities.regFun3. Therefore, I don't know what the problem is with the discontinuity at the edges and whether this can be fixed in Modelica.Fluid.Utilities.regFun3...

Lieber Thomas @beutlich, ich weiß zwar, dass die Toleranz irgendwie mit dem Maximum aus der Intervalllänge und einer Mindestgröße multipliziert wird und dies die Toleranz in die jeweilige Richtung ist....

If you use --tolerance=0.1 instead the light-green and light-blue curve probably starts at -0.009 = -(0.09-0)*tolerance with the value 0.008 = (0.08-0)*tolerance resp. -0.008 = -(0.08-0)*tolerance and the breakpoints are...

Dear @horeah, dear @andreas-junghanns my comment https://github.com/modelica-tools/csv-compare/issues/62#issuecomment-607274799 has been confirmed. Specifically: The tolerance is a relative tolerance in the direction of the respective axis. The factor is usually (largest value...

Dear @horeah, dear @andreas-junghanns, in https://github.com/modelica-tools/csv-compare/blob/master/Modelica_ResultCompare/CurveCompare/TubeSize.cs there is also the variant absolute tolerance (relativity == Relativity.Absolute in Calculate). Surely it could also be built in that different tolerances are used...