%Simple dynamic model for tank with liquid
function dxdt = SimpleTank_ODE(x,u,p,d)

%Parameters, p

A=p;

%Differential states,x
h=x;  %tank level

%Inputs, u
q2=u; %outlet flow

%Disturbances, d
q1=d; %inlet flow

%Differential equation
dxdt=(q1-q2)/A;

end