@init begin
Resp = Kin/Kout
end
this is the init value given in tutorials,
kin, kout are having same numerical value in exercise,what can i write in init block.
and i also give Eo value as initial value of enzyme availability
No worries. Insert a block above the diff eqs like below:
@init begin
Central = 0 # change to the appropriate initial value
Peripheral = 0
fAI = 1 # You are essentially creating a 'dummy' delayed auto-induction of
# the systemic clearance. I think fraction auto-induction is a better
# notation, hence I suggest we change it to fAI. See below for more info.
end
Your E can be better termed as fAI. Why ‘fraction’? it is because this is a ‘dummy’ compartment. All we are interested in is to change the systemic CL by a ‘fraction’. Further, it makes our equations easier by making the diff eq for fAI as below. This way, you keep the initial condition for fAI quantity as 1. Meaning, at baseline - at drug dosing, the auto-induction is 1 (ie no effect). With Central’ amounts changing, the fAI will also change, affecting the cls. fAI' = kai * (cls*(Central/vc)- fAI)
Does this help? try this and let me know how it goes. Output each compartment to visualize how the diff eqs operate. Good luck…J
I think tvcls is too low in your model. I just ran your model by changing tvcls=4, then I can see concentration is decreasing and enzyme is increasing.