希望有1stopt 2.0 以上的高手帮小妹一个忙,深表感激
1.5下编的,感觉sharemodel 不起作用,希望有更高版本的高手帮忙运算一下,小妹在此先谢过了!Title "mp3";
Parameters
m(1:3) = ;
p(1:3) = ;
q(1:3) = ;
Variable t,N1,N2,N3;
SharedModel;
Function
N1=(1-exp(-(p1+q1)*t))/(1+(q1/p1)*exp(-(p1+q1)*t))*m1*(1-(if(t<=4,0,(1-exp(-(p1+q1)*(t-4)))/(1+(q1/p1)*exp(-(p1+q1)*(t-4))))));
N2=(if(t<=4,0,(1-exp(-(p2+q2)*(t-4)))/(1+(q2/p2)*exp(-(p2+q2)*(t-4)))))*(m2+(1-exp(-(p2+q2)*t))/(1+(q2/p2)*exp(-(p2+q2)*t))*m1)*(1-(if(t<=6,0,(1-exp(-(p2+q2)*(t-6)))/(1+(q2/p2)*exp(-(p2+q2)*(t-6))))));
N3=(if(t<=6,0,(1-exp(-(p3+q3)*(t-6)))/(1+(q3/p3)*exp(-(p3+q3)*(t-6)))))*(m3+(if(t<=4,0,(1-exp(-(p3+q3)*(t-4)))/(1+(q3/p3)*exp(-(p3+q3)*(t-4)))))*(m2+(1-exp(-(p3+q3)*t))/(1+(q3/p3)*exp(-(p3+q3)*t))*m1));
data;
1 14.88 0 0
2 57.02 0 0
3 92.22 0 0
4 123.72 4.5 0
5 148.78 31.91 0
6 208.2 59.09 11.11
7 286.86 100.72 25.55
8 342.65 171.43 47.98
9 380.75 222.24 72.48
10 411.27 296.04 144.71
11 428.74 377.04 245.75
页:
[1]