ka_pop = -0.0318013448616758
Vd_pop = 1.03598837793817
CL_pop = 0.24965304895424
omega_ka = 0.127501
omega_Vd = 0.108315
omega_CL = 0.376105
beta_Vd_WT = 0.0210163
Cc_b = 0.184722

ka_tv = exp(ka_pop)
Vd_tv = exp(Vd_pop)
CL_tv = exp(CL_pop)

ka = ka_tv * exp(omega_ka)
Vd = Vd_tv * exp(omega_Vd) * exp(beta_Vd_WT * WT)
CL = CL_tv * exp(omega_CL)
Cc = Ac/Vd

Ad(0) = 0
Ac(0) = 0

d/dt(Ad) = -ka * Ad
d/dt(Ac) = ka * Ad - CL * Cc

Cc_ResErr = Cc * (1 + Cc_b)
