I have data from a doublet test and I'm trying to identify the mathematical model in order to tune a PID controller. This is the plotted data ... I'm pouring hot water (m [kg/s]) into a water tank and displace the colder water inside.
The aim of the fitting is to acquire the values K_p, tau_p, and theta_p.
On APMonitor, there is a Python script available to fit a FOPDT model to data. Sadly, the outcome is very disappointing.
What could be the reason for this? This is the data i used (first column is time, second one the inout, third one the output)