jonathf / chaospy

Chaospy - Toolbox for performing uncertainty quantification.
https://chaospy.readthedocs.io/
MIT License
439 stars 87 forks source link

SEIR model: plot the data with uncertainty intervals #391

Open pkhamchuai opened 2 years ago

pkhamchuai commented 2 years ago

Hi, I'm just started to learn how to use chaospy. I want to perform polynomial chaos expansion on my interested system of ODEs, a chemical kinetics model consisted of 5-7 ODEs, which I'd apply UQ and SA to it later.

I found a guide on SEIR model, ran the codes as it is in Colab. And the result figure doesn't seem to be the same as the original one found here. Below you can find the result I've got. The same thing occurred when I ran it on my computer too (Ubuntu, Python 3.9 Conda env, PyCharm). It happended also when I apply the code on my kinetics model.

image

Not sure if the issue has been asked before. Thank you in advance for all helps.

jonathf commented 2 years ago

I am unsure. I'm not super familiar with the SEIR model.

@Novermars, you made the SEIR example once upon a time. Do you have some insight into the issue?

blchrisum commented 1 year ago

Hi,

i ran into the same problem as described by @pkhamchuai . Has anyone found an answer yet ?