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

Can I do this?

Can I do this?

as you can see in the title, I have an ordinary diffrential equation and the unknow function can takes complex values and
I don't figure out how I can derivate this function.

I propose the code below

can anyone help me?

Code:



der(T7[i].re) = (0.4 * mr[i] * 0.016 * Kf * (Tout[i].re- T7[i].re) - Ks * (T7[i].re - Ta[i])) * (1 / Ct);
der(T7[i].im) = (0.4 * mr[i] * 0.016 * Kf * (Tout[i].im - T7[i].im) - Ks * (T7[i].im - Ta[i])) * (1 / Ct);



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