lorenzo.cioni wrote:Hi
could you please check the attached model and explain the seemingly absurd behavior of the 1F1 variable through which I'm trying to implement the infinite series expression of such the 1F1 Hypergeometric function?
How many terms should I consider? Is there any better and more clever way (in Vensim, of course)?
All the best.
Lorenzo
I forgot saying that the variable I'm referring to is in the view labelled Pinf.
L.
Because doseAdenovirus increases linearly with time according to doseAdenovirus=ConcentrationAdenovirus*Time*rin*rf/(reff*fconv) and so I expect a strictly monotone behavior from 1F1 and so from Pinf=1-1F1, don't you agree with me? If you do agree you cannot deem the current behavior of Pinf as rational.
All the best.
Lorenzo
Hi
I was able to solve by using the following relation that guarantees the convergencence of the Taylor series with a limited number of terms that I use to implement the hypergeometric function :
1F1(a,b,z)=exp(z)*1F1(b-a,b,-z)
to be used if z<0.
Anyway, thank you all for your suggestions.
Lorenzo