I am trying to develop system dynamic model about dairy cow lifecycle. Cow number growing exponentially but when calf grow , heifer should inceace , number of calf shoud be decreace. I'm adding model that I made.
I'm waiting for your suggestion
Thank you
Lifecycle
Lifecycle
- Attachments
-
- dongu v1.mdl
- (5.03 KiB) Downloaded 548 times
-
- Super Administrator
- Posts: 4827
- Joined: Wed Mar 05, 2003 3:10 am
Re: Lifecycle
I'd start by adding units to all the variables in your model.
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
Re: Lifecycle
]Thank you i have added all to units
And i worked for control only 1 year
Result but it have to this For example number of calf have to decrace later 6 mounts and number of heifer 6-12 have to increace
And i worked for control only 1 year
Result but it have to this For example number of calf have to decrace later 6 mounts and number of heifer 6-12 have to increace
- Attachments
-
- dongu v2.mdl
- (5.16 KiB) Downloaded 396 times
Re: Lifecycle
I think your first step should be to adopt standard stock-flow notation in your diagram.
Currently you have no flows, so your are integrating earlier age categories directly into later age categories, like
This won't work, and produces the unit errors reported.
Currently you have no flows, so your are integrating earlier age categories directly into later age categories, like
Code: Select all
Bull= INTEG (
-Bull+"Bullock 12-18",
0)
Units: number
**************************************************************
"Bullock 12-18"= INTEG (
"Bullock 6-12",
0)
Units: number
**************************************************************
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Lifecycle
For inspiration, you might look to
C:\Users\Public\Vensim\Models\Sample\EXTRA\COMMOD.MDL
which installs with Vensim.
C:\Users\Public\Vensim\Models\Sample\EXTRA\COMMOD.MDL
which installs with Vensim.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Lifecycle
Thank you very much. i update to my model. i have 2 problem for now
1- i"d like first female calf and first male calf come about at 25 mounths but later other female and male calf come about once every 12 mounts.
2-Since the number of cows cannot be a number with a decimal(1,05 ), is there any way to solve this?
1- i"d like first female calf and first male calf come about at 25 mounths but later other female and male calf come about once every 12 mounts.
2-Since the number of cows cannot be a number with a decimal(1,05 ), is there any way to solve this?
- Attachments
-
- dongu akis v3.mdl
- (10.59 KiB) Downloaded 413 times
Re: Lifecycle
1 - the PULSE TRAIN function might work
2 - you can solve this, but it may not be the best choice - https://metasd.com/2017/01/forrester-on ... ous-flows/
2 - you can solve this, but it may not be the best choice - https://metasd.com/2017/01/forrester-on ... ous-flows/
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Lifecycle
i set up my dynamic system with yearly units.
but first move time will be 26 mounth so i have to fix units ?
when i use time private variate , how can l use formula?
but first move time will be 26 mounth so i have to fix units ?
when i use time private variate , how can l use formula?
Re: Lifecycle
(Cow*Birth Rate)-(Cow*Death Birth Rate)-(Cow*Female Birth Rate)
how is formula for work above formula ?
So if time is 26< dont work
if time =26 formula work and it will work every 12 month ?
i did not solve
how is formula for work above formula ?
So if time is 26< dont work
if time =26 formula work and it will work every 12 month ?
i did not solve