Dear all,
I am new to modeling and system dynamics, thus I seek help from you.
I built a model, it is based on Bass diffusion model of adoption. The story behind is: at the university I am doing my doctorate, there is a consumer food cooperative ran by volunteers (students and university academics/ non academics). I am trying to look at the student adoption to buy from there (the food is healthy, nutritious, chemical-free and ethically produced but the sales are not the same after covid). But model stops after running, giving floating point error for "ratio of students buying from market" variable. Could you please help me fix my model?
Thanks.
Pinar
New modeler asking for help
-
- Junior Member
- Posts: 2
- Joined: Tue Dec 31, 2024 10:57 am
- Vensim version: PLE
New modeler asking for help
- Attachments
-
- TrialNewModel_Pinar.mdl
- (10.78 KiB) Downloaded 30 times
-
- Super Administrator
- Posts: 4739
- Joined: Wed Mar 05, 2003 3:10 am
Re: New modeler asking for help
I've got the model running for you, but there is still some debugging to do.
"Students buying from BÜKOOP" goes negative as you are removing more from the stock than is available. So I've changed the equation to
min ( Students buying from BÜKOOP / TIME STEP , Students buying from BÜKOOP * disadoption rate )
"Students buying from market" goes negative as you are removing more from the stock than is available. So I've changed the equation to
min ( Students buying from market / TIME STEP
, reference adoption rate
* effect of ratio of students buying from market on adoption rate
* effect of comparative prices on adoption
* effect of comparative quality on adoption
* effect of comparative operating hours on adoption
* product satisfaction )
This causes a division by zero in "BÜKOOP product demand", so change equation to
zidz ( Students buying from BÜKOOP , monthly product demand per student )
"product availability" causes division by zero, so change to
zidz ( Products in BÜKOOP , BÜKOOP product demand )
"Students buying from BÜKOOP" goes negative as you are removing more from the stock than is available. So I've changed the equation to
min ( Students buying from BÜKOOP / TIME STEP , Students buying from BÜKOOP * disadoption rate )
"Students buying from market" goes negative as you are removing more from the stock than is available. So I've changed the equation to
min ( Students buying from market / TIME STEP
, reference adoption rate
* effect of ratio of students buying from market on adoption rate
* effect of comparative prices on adoption
* effect of comparative quality on adoption
* effect of comparative operating hours on adoption
* product satisfaction )
This causes a division by zero in "BÜKOOP product demand", so change equation to
zidz ( Students buying from BÜKOOP , monthly product demand per student )
"product availability" causes division by zero, so change to
zidz ( Products in BÜKOOP , BÜKOOP product demand )
- Attachments
-
- TrialNewModel_Pinar_Modded.mdl
- (11.58 KiB) Downloaded 33 times
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Junior Member
- Posts: 2
- Joined: Tue Dec 31, 2024 10:57 am
- Vensim version: PLE
Re: New modeler asking for help
Thank you very much for your help and time. Wish you a great day.