-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExamplotinib.cpp
More file actions
84 lines (60 loc) · 1.79 KB
/
Examplotinib.cpp
File metadata and controls
84 lines (60 loc) · 1.79 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
$PROB
# Model: `Examplotinib`
- Author: "Oliver"
- Date: "02.11.2019"
- Source: "My Mind"
$SET delta=0.25
$PARAM @annotated
SEX : 0 : 0 = male, 1 = female
WT : 75 : Body surface area (kg)
CLCR : 115 : creatinine clearance (mL/min)
$THETA @annotated
0.22 : typical KA (1/h)
0.097 : typical KE (1/h)
35 : typical V (L)
0.8 : typical fraction of female clearance
0.65 : typical fraction of female central volume
0.75 : exponent for wt on volume
450 : volume of peripheral compartment (L)
5 : intercompartmental clearance (L/hr)
$MAIN
double KA_ind = THETA1*exp(ETA_KA);
double KE_ind = THETA2*(CLCR/115)*pow(THETA4, SEX) *exp(ETA_KE);
double V_ind = THETA3*pow(WT/75,THETA6)*pow(THETA5, SEX)*exp(ETA_V);
double CL_ind = KE_ind * V_ind;
double VP_ind = THETA7 * exp(ETA_V2);
double Q_ind = THETA8;
F_GUT = 1.0;
ALAG_GUT = 0.75;
$OMEGA @block @annotated
ETA_V : 0.15 : ETA on V
ETA_KE : 0.15 0.36 : ETA on ke
ETA_KA : 0.00 0.00 0.75 : ETA on ka
ETA_V2 : 0.00 0.00 0.00 0.32 : ETA on VP
$SIGMA @annotated
PROP : 0.06 : proportional error
ADD : 0.005 : additive error
$INIT
GUT = 0, CENT = 0, PER = 0
$ODE
dxdt_GUT = - KA_ind * GUT;
dxdt_CENT = + KA_ind * GUT - KE_ind*CENT-(Q_ind/V_ind)*CENT+(Q_ind/VP_ind)*PER;
dxdt_PER = +(Q_ind/V_ind)*CENT-(Q_ind/VP_ind)*PER;
$TABLE
capture IPRED = CENT/V_ind;
double DV = IPRED * (1+PROP) + ADD;
while (DV < 0) {
simeps();
DV = IPRED*(1+PROP) + ADD;
}
$CAPTURE @annotated
DV : Plasma concentration (mg/L)
KA_ind : individual ka (1/hr)
CL_ind: individual Clearance (L/hr)
V_ind : individual central volume (L)
KE_ind: individual ke (1/hr)
VP_ind : individual V_per (L)
Q_ind : individual Q (L/hr)
WT : individual WT (kg)
CLCR: individual CLCR (mL/min)
SEX : indivdual sex