-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazithro.cpp
51 lines (39 loc) · 1.56 KB
/
azithro.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[PROB]
1: Zhao Q, Tensfeldt TG, Chandra R, Mould DR. Population pharmacokinetics of
azithromycin and chloroquine in healthy adults and paediatric malaria subjects
following oral administration of fixed-dose azithromycin and chloroquine
combination tablets. Malar J. 2014 Jan 29;13:36. doi: 10.1186/1475-2875-13-36.
PubMed PMID: 24472224; PubMed Central PMCID: PMC3909452.
https://malariajournal.biomedcentral.com/articles/10.1186/1475-2875-13-36
[SET] end=10*24, delta=0.1
[PARAM] @annotated
TVCL : 100 : Typical value of clearance (L/h)
TVV1 : 186 : Typical central volume of distribution (L)
TVQ2 : 180 : Typical intercomp clearance 1 (L/h)
TVV2 : 2890 : Typical peripheral volume of distribution 1 (L)
Q3 : 10.6 : Intercomp clearance 2 (L/h)
V3 : 2610 : Peripheral volume of distirbution 2 (L)
KA : 0.259 : Absorption rate constant (1/h)
WT : 70 : Patient weight (kg)
[CMT] @annotated
GUT : Dosing compartment (mg)
CENT : Central comaprtment (mg)
PER2 : First peripheral compartment (mg)
PER3 : Second peripheral compartment (mg)
[OMEGA] @annotated @block
ETACL : 0.097969 : ETA on clearance
ETAV1 : 0.280000 1.2769 : ETA on V1
[MAIN]
double CL = TVCL*pow(WT/70.0,0.75)*exp(ETACL);
double V1 = TVV1*(WT/70)*exp(ETAV1);
double Q2 = TVQ2*pow(WT/70.0,0.75);
double V2 = TVV2*(WT/70.0);
[SIGMA] @annotated
RUV : 0 : Residual unexplained variability
[ODE]
dxdt_GUT = -KA*GUT;
dxdt_CENT = KA*GUT - (CL+Q2+Q3)*CENT/V1 + Q2*PER2/V2 + Q3*PER3/V3;
dxdt_PER2 = Q2*(CENT/V1 - PER2/V2);
dxdt_PER3 = Q3*(CENT/V1 - PER3/V3);
[TABLE]
capture CP = CENT/(V1/1000.0)*exp(RUV);