Francesco Casella

Results 1758 comments of Francesco Casella

The flat simplified model [ACLine_L](https://github.com/user-attachments/files/15994584/ACLine_L.mo.txt) contains these equations ```modelica Lline_3b.terminal_n.i[1] + Lline_3.terminal_n.i[1] + E.terminal.i[1] = 0.0; Lline_3b.terminal_n.i[2] + Lline_3.terminal_n.i[2] + E.terminal.i[2] = 0.0; Lline_3b.terminal_p.i[1] + Lline_3.terminal_p.i[1] + R3.terminal.i[1] = 0.0;...

@mwetter if some variables cannot be uniquely determined, we should probably remove them from the reference results. Do you have other ideas?

I guess this will improve the verification results massively 😄

Considering that eta = 0.9, the first conditional equation is equivalent to ```modelica i_n = i_p*conversionFactor*(eta - 2) = -1.1*i_p*conversionFactor; ``` while the second is ```modelica i_n = i_p*conversionFactor/(eta -...

By turning on LOG_EVENT_V, it seems that the event is correctly triggered ``` state event at time=0.450000000001 [3] conDCDC.i_n >= 0.0 ```

Apparently, the condition `conDCDC.i_n >= 0.0` is not handled correctly by the nonlinear solver.

MWE: ```modelica model TestImplicitConditional Real i_p = if time >= 0.5 then 1 else -1+4*time; Real i_n; parameter Real eta = 0.9; equation if i_n >=0 then i_p = i_n/(-2);...

A question related to the manifold implementation: the volume has an array connector, are the three pipes connected to the same element of it, or to three separate connectors?

@FrancescoPavarelli23 quadratic flow models are well-known to become singular at zero flow. The Modelica.Fluid pipe models have a range of countermeasures to avoid that, which should be set up with...

@adpo, @sjoelund can you please look into that. We also have other cases where "time" has issues, I really do not understand what it means. I guess it's some problem...