Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

DASSL solver for ODE

DASSL solver for ODE

Hi,


I have an ODE to solve

Code:


Der(Vc)=hg*(Vc-Vf)+hcp*(Vc-Vh)-m*Vc

at the beginning the initial condition is Vc (0) = 17.3

And after each iteration in the for loop I would like the initial condition to be the value of Vc itself.
how am i going to do that on openmodelica?

Please Can anyone help me?

There are 0 guests and 0 other users also viewing this topic