net.simplace.sim.components.management.ReSowManagement

Determines sowing or re-sowing date as function of precipitation.

References

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcDroughtCriticalPeriodTime span in days after sowing drought days are considered for possible resowingINTd--30
constantcMaximumDroughtDaysIf number of drought days is bigger than MaximumDroughtDays, then resowing is required.INTd--7
constantcMinimumPrecipitationSumMinimum amount of precipitation that has been acumulated during last cPrecipitationDaysDOUBLEmm--30.0
constantcPrecipitationDaysNumber of days where precipitation is acumulated to decide about sowingINTd--5
constantcPrecipitationThresholdIf daily precipitation is below this threshold, the day is counted as a drought dayDOUBLEmm0.01.00.1
constantcSowingWindowDaysTime span in days after start where (re)sowing is possible INTd--60
inputiDoResetBoolean that triggers resetting of all counts (except TotalDays) and statesBOOLEAN1--false
inputiPrecipitationDaily precipitationDOUBLEmm--0.0
inputiStartSowingPhaseBoolean that triggers the start of sowing period.BOOLEAN1--false
inputiTRANRFDaily stress factor due to transpiration reductionDOUBLE1--1.0
outDaysSinceSowingDays since last DoSow was triggeredINTd--0
outDaysSinceStartDays since start of sowing period phaseINTd--0
outDoSowIs set to true, when sowing is required and possible.BOOLEAN1--false
outDroughtDaysNumber of days where TRANRF is below the thresholdINTd--0
outHasSownIs true, when sowing has been triggered.BOOLEAN1--false
outHasStartedIs set to true, when start of sowing period is triggered.BOOLEAN1--false
outNeedsReSowingIs true, when number of drought days exceeds the maximum and simulation is still in the sowing window.BOOLEAN1--false
outPreviousDaysPrecipitationArray that holds the precipitation of the last Precipitation days. Values are cyclically updated.DOUBLEARRAYmm---
outPreviousDaysPrecipitationSumSum of the previous days precipitationDOUBLEmm--0.0
outSowingAttemptsNumber of sowing attemptsINT1--0
outSowingDOYDOY when DoSow occursINT1--0
outTotalDaysCounts total running days. Used to cyclically populate PreviousDaysPrecipitation with the last precipitation values.INTd--0



public class ReSowManagement extends net.simplace.sim.model.FWSimComponent {
// Public Constructors
public ReSowManagement(String aName, HashMap aFieldMap, HashMap aInputMap,
Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber);
public ReSowManagement();


// Public Instance Methods
public HashMap createVariables(); // Defines
net.simplace.sim.model.FWSimComponent



// Protected Instance Methods
protected void init(); // Defines net.simplace.sim.model.FWSimComponent

protected void reset();

protected void process(); // Defines net.simplace.sim.model.FWSimComponent

protected FWSimComponent clone(FWSimVarMap aVarMap);
// Defines net.simplace.sim.model.FWSimComponent


creates a clone from this SimComponent for use in other threads


}



Hierarchy: java.lang.Object - net.simplace.sim.model.FWSimComponent (net.simplace.sim.util.FWSimFieldContainer) - ReSowManagement