function y = CSTR_meas_model(x,k1,par)

% Written by Krishnamoorthy, Oct 2018.
% email - dineshk@ntnu.no


nA = x(1);
nB = x(2);
nC = x(3);

CA = nA/(par.V);
CB = nB/(par.V);
CC = nC/(par.V);
qr = (par.H1*k1*CA*CB*(par.V) + par.H2*par.k2*CB^2*(par.V))./1e6;

y = vertcat(CA,CB,CC,qr);

end
