function [Kc,tauI,KI,par]=transformedcase(par)
kapp    = 1;                                    % process gain from v1 to V

k    = -1/par.A22;                             % process gain from v2 to ca
tau  = -1/par.A22;                                          % time constant
par.p(2) = 1;

par.v10 = 0;                                % transformed input bias case 1
par.v20 = -par.A22*par.ca0;                 % transformed input bias case 2


tauC(1) = par.taur;       % desired closed loop time constant for flow loop


tauC(2) = 1*par.thetaca;    % desired closed loop time constant for flow loop
if tauC(2)==0
    tauC(2) = par.taur;
end




% PI-controller for hold up
Kc(1)   = 1/kapp/(tauC(1));                        % first-order plus delay
tauI(1) = 4*(tauC(1)); 
KI(1)   = Kc(1)/tauI(1);

% PI-controller for concentration
Kc(2)   = 1/k*tau/(tauC(2)+par.thetaca);           % first-order plus delay
tauI(2) = min(tau,4*(tauC(2)+par.thetaca)); 
KI(2)   = Kc(2)/tauI(2);
end
