26.07.2013 Views

Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ...

Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ...

Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

102 MATLAB kode til simulering af <strong>for</strong>søgsscenarie<br />

19 par.ke = 0.138; % Insulin elimination rate [1/min]<br />

20 par.tauD = 40.0; % CHO absorption time constant [min]<br />

21 par.tauS = 55.0; % Insulin absorption time constant [min]<br />

22 par.AG = 0.8; % CHO utilization [−]<br />

23<br />

24 SI1 = 51.2e−4; % Transport insulin sensitivity [L/mU]<br />

25 SI2 = 8.2e−4; % Disposal insulin sensitivity [L/mU]<br />

26 SI3 = 520e−4; % EGP insulin sensitivity [L/mU]<br />

27<br />

28 par.kb1 = par.ka1*SI1; % Activation rate [(L/mU)/min]<br />

29 par.kb2 = par.ka2*SI2; % Activation rate [(L/mU)/min]<br />

30 par.kb3 = par.ka3*SI3; % Activation rate [(L/mU)/min]<br />

31<br />

32 par.VI = 0.12*BodyMass; % Insulin distribution volume [L]<br />

33 par.VG = 0.16*BodyMass; % Glucose distribution volume [L]<br />

34 par.EGP0 = 0.0161*BodyMass; % Liver glucose production at zero insulin<br />

35 % [mmol/min]<br />

36 par.F01 = 0.0097*BodyMass; % Insulin independent glucose consumption<br />

37 % [mmol/min]<br />

38<br />

39 par.MwG = 180.1577; % Molecular weight of glucose [g/mol]<br />

40<br />

41 % Parameters from Cobelli<br />

42 norm = 1/6.00; % [mU/pmol]<br />

43<br />

44 par.gamma = 0.5; % Transfer rate constant between portal vein<br />

45 % and liver [1/min]<br />

46 par.K = (2.3*norm*par.MwG*0.1)*(BodyMass/par.VG); % [mU/mmol]<br />

47 par.alpha = 0.05; % [1/min]<br />

48 par.beta = 0.11*norm*0.1*par.MwG*BodyMass; % [(mU/min)/(mmol/L)]<br />

49<br />

50 HEb = 0.6; % [−]<br />

51 m5 = 0.0304*(1/norm)*(1/BodyMass); % [min/mU]<br />

52 m6 = 0.6471; % [−]<br />

53<br />

54 par.Sb = ((m6−HEb)/m5)*0.36; % [mU/min]<br />

55 % For BW = 70 kg is par.Sb = ((m6−HEb)/m5)*0.36 and I(0) = 5.7677<br />

56 % For BW = 60 kg is par.Sb = ((m6−HEb)/m5)*0.12 and I(0) = 5.7253<br />

57 par.Gss = 4.9656; % [mmol/L] <strong>for</strong> BW = 70 kg<br />

Listing D.2: Hovorka<strong>Model</strong>2pancreas.m<br />

1 function xdot = Hovorka<strong>Model</strong>2pancreas(t,x,u,ug,d,par)<br />

2 %HOVORKAMODEL The Hovorka model <strong>for</strong> the glucoregulatory system<br />

3 %<br />

4 % The function implements the Hovorka model <strong>for</strong> the gluco−regulatory system<br />

5 % including absorption of food and iv administration of short−acting<br />

6 % insulin together with Cobelli model <strong>for</strong> endogeneous insulin production.<br />

7 %<br />

8 % The model is in the <strong>for</strong>m<br />

9 %<br />

10 % xdot(t) = (dx/dt)(t) = f(t,x(t),u,ug,d,par)<br />

11 %<br />

12 % with

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!