Hi,
I have a large calculation that gets very slow. With every new line I add it takes like 5 minutes to calculate. I think the problem is that I am calling functions several times as shown below:
c.air(T):line(τ:T/'K,(1045.356-0.3161783*τ+7.083814*10^{-4}*τ^2-2.705209*10^{-7}*τ^3)*'J/{'kg*'K},2,1)
c.pbed2:c.air(T.bed2)
I have tried to make the optimisation numeric instead of symbolic, but then it says: units don't match.
Same with the eval() function.
Please help me on this. I need this urgently.
Thank you very much.
Kind regards