Francesco Casella
Francesco Casella
One trick which is perfectly legal is to put the equations in modifiers of the conditional component declaration. For example: ```modelica parameter Boolean active; SomeModel m(x = a + b)...
> If the Boolean expression is false the component (including its modifier) is removed from the flattened DAE, and connections to/from the component are removed by the tool. It is...
Now that #3489 has been finalized, can we also close this ticket?
This PR should be back-ported to maint/4.1.0
I'm keeping this ticket open, since we should do some long-terms tests with it in the near future
In fact, we already looked a this problem 1 1/2 years ago, see #10920 😅. @matteodepascali can you please check what happens to that initial strong component if you set...
Fast-forward to December 2024, @matteodepascali checked what happens if we set `--replaceHomotopy=simplified`, and we still get the same huge strong component.
After some more discussion with @matteodepascali, we figured out a simple MWE that demonstrates the problem: ```modelica model TestBLT Real p, T, X; Real dM_dt, dU_dt; Real h_out; Real w_out;...
As discussed with @phannebohm during today's devmeeting, there are two issues here: 1. these simplifications are carried out on the regular equations, but then when the initial equations are added,...
With a bit of luck, after #13031 is fixed, we should be able to run the model with the NB, then @phannebohm can fix it there.