Changes between Version 3 and Version 4 of EcosimVariableTimestepPluginExample


Ignore:
Timestamp:
2010-02-24 15:02:06 (14 years ago)
Author:
joeb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EcosimVariableTimestepPluginExample

    v3 v4  
    44==== Sub time step data ==== 
    55When 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. 
     6 
     7==== Sub time step plugin points ==== 
     8IEcosimSubTimestepsPlugin.!EcosimSubTimeStepBegin(!ByRef !BiomassAtTimestep() As Single, !ByVal !TimeInYears As Single, !ByVal DeltaT As Single, !ByVal !SubTimestepIndex As Integer, !ByVal !EcosimDatastructures As Object) 
     9 
     10 * Called at the start of a sub time step. 
     11 * !BiomassAtTimestep() contains the biomass that will be used for the time step. Any changes to biomass by a plugin point will be use be by Ecosim for the time step. 
     12 
     13 
     14 
     15IEcosimSubTimestepsPlugin.!EcosimSubTimeStepEnd(!ByRef !BiomassAtTimestep() As Single, !ByVal !TimeInYears As Single, !ByVal DeltaT As Single, !ByVal !SubTimestepIndex As Integer, !ByVal !EcosimDatastructures As Object) 
     16 
     17 * Called at the end of a sub time step. 
     18 * !BiomassAtTimestep() contains the biomass computed for the time step.