Changes between Version 10 and Version 11 of EcosimVariableTimestepPluginExample


Ignore:
Timestamp:
2010-02-25 14:47:57 (14 years ago)
Author:
joeb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EcosimVariableTimestepPluginExample

    v10 v11  
    1313=  = 
    1414= Running Ecosim on a variable time step = 
    15 = By default Ecosim runs on a monthly time step, 12 time steps per year. To accommodate a variable time step Ecosim can be told to run more then one time step in a month via the  cEcosimDataStuctures.!StepsPerMonth property. The !StepsPerMonth property is only accessible from code and can not be set in the Scientific Interface. This allows Ecosim to run on a sub time step scheme by setting the cEcosimDataStuctures.!StepsPerMonth property to the number of sub time steps to run in a month. At the end of each run Ecosim will set cEcosimDataStuctures.[wiki:StepsPerMonth] back to its default value of one. = 
    16 ==== Sub time step data ==== 
     15By default Ecosim runs on a monthly time step, 12 time steps per year. To accommodate a variable time step Ecosim can be told to run more then one time step in a month via the  cEcosimDataStuctures.!StepsPerMonth property. The !StepsPerMonth property is only accessible from code and can not be set in the Scientific Interface. This allows Ecosim to run on a sub time step scheme by setting the cEcosimDataStuctures.!StepsPerMonth property to the number of sub time steps to run in a month. At the end of each run Ecosim will set cEcosimDataStuctures.[wiki:StepsPerMonth] back to its default value of one. 
     16 
     17Sub time step data 
     18 
    1719When 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. 
    1820