Modeling two different inputs with algebraic solver

Fortran model files with standardized descriptions.
Post Reply
yoannc40
Posts: 3
Joined: Thu Jan 30, 2014 3:33 am

Modeling two different inputs with algebraic solver

Post by yoannc40 » Wed Oct 14, 2015 7:37 am

Hi,

I would like to know how can I write my model file to indicate two inputs RATEIV with algebraic solver?

With ODE solver this is my model file:
#Pri
Ke, 0, 3
V, 0, 120
Ka, 0, 2
KCP, 0, 5
KPC, 0, 1


#Dif
C RATEIV(1) Subcutaneous route RATEIV(2) IV infusion
XP(1) = -Ka*X(1) + RATEIV(1)
XP(2) = Ka*X(1) + RATEIV(2) - (Ke+KCP)*X(2) + KPC*X(3)
XP(3) = KCP*X(2) - KPC*X(3)

#Out
Y(1) = X(2)/V

I have tried with bolus block but it didn't work

THX for your help

yoann

User avatar
mneely
Site Admin
Posts: 233
Joined: Tue Nov 08, 2011 11:08 am
Contact:

Re: Modeling two different inputs with algebraic solver

Post by mneely » Thu Apr 28, 2016 6:30 am

Hi Yoann,

Unfortunately, you cannot currently solve two inputs algebraically.

Post Reply