-
Hi I am trying to run a a minimal PBPK model for a mAB in mrgsolve without any success.
I get an error when trying to read the .cpp file```
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @Ravua1992 - First: missing When I fix that, I'm not getting the same error. Not sure why that is; I'll put my ---:: stderr ::---------------------------------------------
18:46: error: use of undeclared identifier 'KOFFM'
dxdt_RM=KSYNM-KDEGM*RM-KSHP*RM -KONM*CIEX*RM+KOFFM*RMCIEX;
^
19:26: error: use of undeclared identifier 'KOFFM'
dxdt_RMCIEX=KONM*CIEX*RM-KOFFM*RMCIEX-KINTM*RMCIEX-KSHP*RMCIEX;
^
20:46: error: use of undeclared identifier 'KOFFS'
dxdt_RS=KSYNS-KDEGS*RS+KSHP*RM -KONS*CIEX*RS+KOFFS*RSCIEX;
^
21:26: error: use of undeclared identifier 'KOFFS'
dxdt_RSCIEX=KONS*CIEX*RS-KOFFS*RSCIEX-KINTS*RSCIEX;
^
21:39: error: use of undeclared identifier 'KINTS'
dxdt_RSCIEX=KONS*CIEX*RS-KOFFS*RSCIEX-KINTS*RSCIEX;
^
25:15: error: use of undeclared identifier 't'
dxdt_CPEX=(ln(t)+R0+(Q-L)*CVEX+L*CLEX-Q*CPEX-KONP*CPEX*VP+VOFFP*RPCPEX*VP)/VP;
^
25:59: error: use of undeclared identifier 'VOFFP'
dxdt_CPEX=(ln(t)+R0+(Q-L)*CVEX+L*CLEX-Q*CPEX-KONP*CPEX*VP+VOFFP*RPCPEX*VP)/VP;
^
7 errors generated.
make: *** [foo-mread-source.o] Error 1
R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 13.0.1
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] mrgsolve_1.0.6.9000
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9 fansi_1.0.3 assertthat_0.2.1 utf8_1.2.2
[5] dplyr_1.0.10 R6_2.5.1 DBI_1.1.3 lifecycle_1.0.3
[9] magrittr_2.0.3 pillar_1.8.1 rlang_1.0.6 cli_3.4.1
[13] rstudioapi_0.14 vctrs_0.5.1 generics_0.1.3 tools_4.1.2
[17] glue_1.6.2 compiler_4.1.2 pkgconfig_2.0.3 tidyselect_1.2.0
[21] tibble_3.1.8 |
Beta Was this translation helpful? Give feedback.
-
I was able to fix the error, thanks for your response @kylebaron However, I am unable to solve the error for solvertime. Code and below
Error
In(t) is the infusion rate and R0 is the mass flux produced by intravenous bolus or subcutaneous administration. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@Ravua1992 Is that supposed to be |
Beta Was this translation helpful? Give feedback.
@Ravua1992 Is that supposed to be
log(SOVLERTIME)
?