Francesco Casella

Results 1726 comments of Francesco Casella

Yes, maybe we don't need to do anything to the library code, let's see how OpenModelica/OpenModelica#14116 works out.

What you should do is to slightly change point 2. of the procedure sketched above as follows: 2a. equations setting to zero the derivative of all component inputs are added;...

Adding @rosiereflo, @marcochiaramello, @joyelfeghali, @phannebohm, @bernardbachmann to the loop.

I haven't checked what happens with Jacobian, but I assume everything's going to be fine. It could also be that using der(terminal.v) = 0 also happens to work, as long...

> > This will ensure that you always get the required C code also with future versions of OMC 😃 > > That is until omc simplifies states `x` with...

> > Yeah. And possibly replace `der(x) = k` with `x = x.start + k*(time - StartTime)`. Are there plans to do that? 😃 > > Right, simple things like...

Update after OSMC-RTE meeting of 2025-09-24 and subsequent analysis by myself on 2025-09-24. The previously proposed metod for the extractor is not safe, if the causality changes at the global...

Updated MWE: ```modelica package TestExtractionDAECorrect connector Pin Real V; flow Real i; end Pin; connector InputReal = input Real; model VariableResistanceLoad Pin p; parameter Real P; InputReal deltaP; Real V;...

Modelica is a declarative language: it tries to describe mathematical models by abstracting as much as possible from the solution process. This follows the so-called problem-solver separation principle, which is...

One very simple thing we could do for starters is to reject models where the start attribute violates the min/max limits, e.g.: ```modelica model M Real x(min = 1, max...