Forum mates,
I'm working with a simple model to simulate the dynamics of workgroup populations that have different recruitment and training times. The results are coherent and valid when I run the simulation, but I keep getting the 'DIFFERENCES IN ACTIVE INITIAL' message.
I'm attaching the model so you can see the message. I've tried several approaches, but I can't figure it out.
I kindly ask for your help, please.
Active initial differences help
Active initial differences help
- Attachments
-
- active_initial_error.mdl
- (3.68 KiB) Downloaded 68 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Active initial differences help
You can probably ignore that as it's coming from the random number generator.
It would be good to do the following to your model.
1. Most important, add units to your model.
2. It's bad practice to next functions in the way you are doing so in "Ingresos a plantel OSPC" (and "Tiempo de ingreso OSPC"). Remove things like DELAY1 in here and put them in a separate equation and give it units.
It would be good to do the following to your model.
1. Most important, add units to your model.
2. It's bad practice to next functions in the way you are doing so in "Ingresos a plantel OSPC" (and "Tiempo de ingreso OSPC"). Remove things like DELAY1 in here and put them in a separate equation and give it units.
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: Active initial differences help
The warning arises because the random draw differs between the initialization step and the first dynamic time step.
However, since this is not an ACTIVE INITIAL variable, I don't think it should be reporting this. I think the trigger is, as Admin suggests, that there's too much nesting in:
Ingresos a plantel OSPC=INTEGER(ABS(DELAY1(ABS(Diferencia con plantel óptimo de OSPC), (Tiempo de ingreso OSPC+Tiempo para entrenamiento y obtención de permisos y licencias de plantel OSPC ))))
This should be broken up into several equations to reduce the complexity. Currently you have in effect,
y = INTEGER(ABS(DELAY1(ABS(X),t))))
The ABS are redundant, so you could make this:
y = DELAY1( ABS(x), t )
z = INTEGER( y )
This would likely eliminate the warning, though in the meantime you can ignore it safely.
I agree that units are essential.
However, since this is not an ACTIVE INITIAL variable, I don't think it should be reporting this. I think the trigger is, as Admin suggests, that there's too much nesting in:
Ingresos a plantel OSPC=INTEGER(ABS(DELAY1(ABS(Diferencia con plantel óptimo de OSPC), (Tiempo de ingreso OSPC+Tiempo para entrenamiento y obtención de permisos y licencias de plantel OSPC ))))
This should be broken up into several equations to reduce the complexity. Currently you have in effect,
y = INTEGER(ABS(DELAY1(ABS(X),t))))
The ABS are redundant, so you could make this:
y = DELAY1( ABS(x), t )
z = INTEGER( y )
This would likely eliminate the warning, though in the meantime you can ignore it safely.
I agree that units are essential.
/*
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: Active initial differences help
Thank you for your expert feedback, I will implement the suggested changes