Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
CompositeModel.Initialize()
Model1.Initialize()
Model2.Initialize()
Model3.Initialize()
CompositeModel.Execute()
Model1.RunExecute()
Model2.RunExecute()
Model3.Run.Execute()
Model2.Execute()
CompositeModel.Execute()
Model1.InitializeExecute()
Model2.InitializeExecute()
Model3Model2.InitializeExecute()

Basically the rule is:

Code Block
  While (there is a model with currenttime < compositemodel.currenttime + compositemodel.timestep)
     Run all models with currenttime < compositemodel.currenttime+compositemode.timestep in order

...