Hello everyone and Gekko developers,
I want to model the following equations for my Thermal Energy Storage Systems,
which are both linear and differential. Some variables are also time dependent, come as external parameters. From the examples of Gekko, it look likes that I can only add equation such as mdl.Equation(T_a.dt() == mt*c_p_w*(T_b-T_a)) / d_w*c_p_w
in this format, however for equation not involving differential, I want to add as normal equations also such as mdl.Equation(m[t] == mc - m[t])
.
p.s How can I add both styles, and which mode and solver will allow this. ?
Thanks,
Best regards,
Rahul