Hello
I used the numbers 30, 12 and 365 when making Month, Year and Day conversions. I think that's why I can't edit unit errors. What can I do for it?
Unit Errors
Unit Errors
- Attachments
-
- HERD POPULATION V5.mdl
- (24.41 KiB) Downloaded 100 times
-
- Super Administrator
- Posts: 4605
- Joined: Wed Mar 05, 2003 3:10 am
Re: Unit Errors
I think you have more problems here.
Looking at "Bull", the equation should be simple. I'm not sure why you've got a PULSE TRAIN in there.
bull = integ("Bull 12-18 Growing" - deaths bull - saled bull, INITIAL BULL)
Then "deaths bull" should be measured in "number/month" (not number*number/month, bulls^2 does not make any logical sense) and the equation should be
deaths bull = bull * BULL MORTALITY / months per year
BULL MORTALITY = 0.1 (DMNL/year), I'm assuming this is the proportion of bulls that die each year.
This fixes the units for "deaths bull", but you will need to do this for all other rates in the model.
Looking at "Bull", the equation should be simple. I'm not sure why you've got a PULSE TRAIN in there.
bull = integ("Bull 12-18 Growing" - deaths bull - saled bull, INITIAL BULL)
Then "deaths bull" should be measured in "number/month" (not number*number/month, bulls^2 does not make any logical sense) and the equation should be
deaths bull = bull * BULL MORTALITY / months per year
BULL MORTALITY = 0.1 (DMNL/year), I'm assuming this is the proportion of bulls that die each year.
This fixes the units for "deaths bull", but you will need to do this for all other rates in the 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: Unit Errors
Looking at "Bull", the equation should be simple. I'm not sure why you've got a PULSE TRAIN in there.
bull = integ("Bull 12-18 Growing" - deaths bull - saled bull, INITIAL BULL)
--------------------------------------------------------------------------------------------------------------------
PULSE TRAIN results in BULL calculation because male calves born with this delay should be BULL.
I thought
bull = integ("Bull 12-18 Growing" - deaths bull - saled bull, INITIAL BULL)
--------------------------------------------------------------------------------------------------------------------
PULSE TRAIN results in BULL calculation because male calves born with this delay should be BULL.
I thought
Re: Unit Errors
The first birth begins at 24 months and occurs every 12 months.
Deaths and acquisitions happen every month, but our rate is annual.
and the transition to another higher age occurs every six months. Accordingly,
&&&&&
PULSE TRAIN(24, 0 , 12, 66 )*(+female births) PULSE TRAIN(0, 0 , 6, 66 )*(-Female Calf Growing) PULSE TRAIN(24, 0 , 12, 66 )*(-deaths female calves/12)
PULSE TRAIN(24, 0 , 12, 66 )*(-saleds female calf/12)
is it true ??
Deaths and acquisitions happen every month, but our rate is annual.
and the transition to another higher age occurs every six months. Accordingly,
&&&&&
PULSE TRAIN(24, 0 , 12, 66 )*(+female births) PULSE TRAIN(0, 0 , 6, 66 )*(-Female Calf Growing) PULSE TRAIN(24, 0 , 12, 66 )*(-deaths female calves/12)
PULSE TRAIN(24, 0 , 12, 66 )*(-saleds female calf/12)
is it true ??
-
- Super Administrator
- Posts: 4605
- Joined: Wed Mar 05, 2003 3:10 am
Re: Unit Errors
If that is correct, it probably should be something like
"Bull 12-18 Growing" = PULSE TRAIN(Avarage Herd First Calving Month, 0 , Calving interval , Productive LifeCyce )
And the units should be number/month.
"Bull 12-18 Growing" = PULSE TRAIN(Avarage Herd First Calving Month, 0 , Calving interval , Productive LifeCyce )
And the units should be number/month.
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
-
- Super Administrator
- Posts: 4605
- Joined: Wed Mar 05, 2003 3:10 am
Re: Unit Errors
I'd also advise you to take a look at this.
https://www.vensim.com/documentation/20395.html
https://www.vensim.com/documentation/20395.html
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