This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
concepts:over_all_time_vs._one_time-step_at_a_time [2009/11/24 02:47] marcus.williams |
concepts:over_all_time_vs._one_time-step_at_a_time [2009/11/24 22:29] marcus.williams |
||
---|---|---|---|
Line 2: | Line 2: | ||
Terminalogy definition to set it up maybe reference [[:glossary#c|calculator ]] FIXME | Terminalogy definition to set it up maybe reference [[:glossary#c|calculator ]] FIXME | ||
- | |||
- | Add diagram FIXME - Marcus | ||
Suppose you have 2 models, model1 and model2, and some of the outputs of the model1 are to be used as inputs to model2. Both models are to be run over time. Two ways of implementing this are: | Suppose you have 2 models, model1 and model2, and some of the outputs of the model1 are to be used as inputs to model2. Both models are to be run over time. Two ways of implementing this are: | ||
- | {{:concepts:sequential.png|}} | ||
1)temporally sequential (one time step at a time over all models) | 1)temporally sequential (one time step at a time over all models) | ||
+ | |||
+ | update diagram to two processes (e.g. population and stock driven by pop) FIXME Marcus | ||
+ | |||
+ | {{:concepts:sequential.png|}} | ||
+ | |||
set time = first time | set time = first time | ||
evaluate model1 | evaluate model1 | ||
Line 15: | Line 17: | ||
if time = last time finish | if time = last time finish | ||
set time = time + timeStep and go to evaluate model1 | set time = time + timeStep and go to evaluate model1 | ||
+ | |||
+ | 2)temporally blockwise (over all time one model at a time) | ||
{{:concepts:parallel.png|}} | {{:concepts:parallel.png|}} | ||
- | 2)temporally blockwise (over all time one model at a time) | ||
evaluate model1 for all time | evaluate model1 for all time | ||
evaluate model2 for all time | evaluate model2 for all time |