Francesco Casella
Francesco Casella
The ThermofluidStream.Media.myMedia.GasAndIncompressible.PartialGasAndIncompressible class contains the following code: https://github.com/DLR-SR/ThermofluidStream/blob/38553ffdb79f8d65566b06c46249a14605eca1e9/ThermofluidStream/Media/myMedia/GasAndIncompressible/PartialGasAndIncompressible.mo#L17-L20 This works fine as long as there is only one medium JP8DryAir that extends this base class and has the same redeclares...
Many of the recently added models, e.g. `ThermofluidStream.Boundaries.Tests.TankExtendedTest2` fail in OMC with this error ``` [ThermofluidStream 1.1.0-main/Boundaries/Internal/partialTank.mo:126:3-127:39:writable] Error: Type mismatch for positional argument 1 in ThermofluidStream.Boundaries.Tests.TankExtendedTest2.tank.Medium.Liquid.density(state=tank.medium.state). The argument has type:...
@olivleno reports: When calling: `result = OMJulia.API.simulate(omc, test_model; simflags="-lv=-LOG_ASSERT", outputFormat = "csv")` the experiment annotations take no effect.
Please check [PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow]( https://libraries.openmodelica.org/branches/newInst-newBackend/PowerGrids/files/PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.err) with the NB. The C code compilation fails because of invalid C code. According to @phannebohm (see [comment](https://github.com/OpenModelica/OpenModelica/issues/12628#issuecomment-2348938027)) this happens because the NB generates a Comples...
Please check [ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10](https://libraries.openmodelica.org/branches/newInst-newBackend/ScalableTestSuite_noopt/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim). The model is initialized successfully, but then fails with ``` ##IDA## -3 error occurred at time = 0 ``` According to the `IDA documentation` -3 is IDA_ERR_FAIL,...
@rfranke reports: `--fmiFilter` causes issues with export of discrete states cross references to e.g. previous. Possibly also with ModelStructure. The root cause is that FMI refers to indices in the...
### Description When visualizing a model's diagram, OMEdit allows to modify the parameter values of models instantiated within it, by double-clicking on their icons and showing parameter input masks. However,...
The FlexibleBeam models of the ScalableTestSuite library are currently broken when ran with `--daeMode`, see e.g. [FlexibleBeamModelica_N_2](https://libraries.openmodelica.org/branches/newInst-daeMode/ScalableTestSuite_noopt/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim): ``` assert | debug | ##IDA## discrete update failed flag -6! ``` They...
@kabdelhak, while investigating [#6199](https://trac.openmodelica.org/OpenModelica/ticket/6199) and [#6207](https://trac.openmodelica.org/OpenModelica/ticket/6207), I stumbled upon something weird related to how algorithm sections involving arrays are handled by the backend. I could reproduce the issue (or a...
Provide appropriate nominal values to derivatives for proper scaling of iterative nonlinear solvers
### Description In some cases (see e.g. #7734) derivatives are involved in nonlinear strong components. If not solved with the appropriate precision, they may fool the ODE solvers's error control...