kabdelhak
kabdelhak
> Of course it is, that's a 1D mechanical system :) Ah well then we cannot solve this yet :) I need to implement index reduction. The error you see...
Yes you are totally correct, alias elimination handles this case and it might be that in the case of array alias it is not properly handled yet by the new...
@casella and regarding your original question regarding a way to check if it is index-2 or higher: i don't know of a way to check if trivial state equalities are...
> Or to the old one? You could try to run it with `--preOptModules-=removeSimpleEquations` and `-d=bltdump` to see if it has index reduction without the removal, but i am not...
I understand what is wrong now. The issue is the following equation: ``` pen.concLosses.D_O2_i = {SOFCPoliMi.Components.FuelCell.DiffusionLosses.Utilities.DiffusivityEffCoeff(pen.concLosses.Temp, pen.concLosses.pCathode, 8, i, ({3.054e-10, 3.147e-10, 3.7040000000000003e-10, 3.5785e-10, 3.6125e-10, 3.9550000000000003e-10, 4.2925000000000004e-10, 3.467e-10, 3.6325e-10, 3.5045e-10})[i], pen.concLosses.collIntegral_O2_i[i],...
i found the definition in `SOFCPoliMi.Components.FuelCell.DiffusionLosses.ConcResitanceDGM`: ``` D_O2_i = {Utilities.DiffusivityEffCoeff(Temp, pCathode, 8, i, collDiam_O2_i[i], collIntegral_O2_i[i], ratioPorTor) for i in {1, 2, 3, 4, 5, 6, 7, 9, 10}}; ``` It's...
The problem is sliced states. ``` vol[N] = cur[N] * RL; for i in 1:N - 1 loop ind * der(cur[i]) = (-res * cur[i]) - (vol[i + 1] -...
> [@kabdelhak](https://github.com/kabdelhak) can we get through this issue? Thanks! seems like my partial fix from last year did not survive some sanity checks, will try to finalize the PR
> Still not there 😢 No, i took a step back and made a new PR. This portion of the old backend is very fragile and i will try to...
I tried to change it to an error in PR #14722 but the `StateSelect.never` compliance check fails as well as `Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint`. i am not quite sure but it claims it...