Changes between Version 2 and Version 3 of EcosimVariableTimestepPluginExample


Ignore:
Timestamp:
2010-02-24 14:49:45 (9 years ago)
Author:
joeb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EcosimVariableTimestepPluginExample

    v2 v3  
    11= Running Ecosim on a variable time step = 
    2 Ecosim can be run on a variable time step via a plugin. When run from the Scientific Interface Ecosim runs 1 time step per month, 12 time steps per year. The number of timesteps per month can be set in code via the cEcosimDataStuctures.!StepsPerMonth property. This allows a plugin to run Ecosim on sub time steps, multiple time steps in a month. When running with sub time steps Ecosim will only update its results objects once at the end of the month. Data computed for the sub time step can only be access via the IEcosimSubTimestepsPlugin.!EcosimSubTimeStepBegin() and I!EcosimSubTimestepsPlugin.!EcosimSubTimeStepEnd() plugin points 
     2Ecosim can be run on a variable time step via a plugin. When run from the Scientific Interface Ecosim runs 1 time step per month, 12 time steps per year. The number of timesteps per month can be set in code via the cEcosimDataStuctures.!StepsPerMonth property. This allows a plugin to run Ecosim on sub time steps, multiple time steps in a month. 
     3 
     4==== Sub time step data ==== 
     5When running on sub time steps Ecosim will only update its results objects cCore.cEcoSimResults(), cCore.cEcosimGroupOutput(), cCore.cEcosimOutput() and cCore.cEcosimFleetOutput()  once at the end of the month. Data computed for the sub time step can only be access via the cEcosimDataStrucutres provided by the IEcosimSubTimestepsPlugin.!EcosimSubTimeStepBegin() and IEcosimSubTimestepsPlugin.!EcosimSubTimeStepEnd() plugin points. The IEcosimBeginTimestepPlugin.!EcosimBeginTimeStep() and IEcosimEndTimestepPlugin.!EcosimEndTimeStep() will only be call at the start and end of the month not during the sub time step and will not contain the sub time step data.