Class GecrosFunctions
java.lang.Object
net.simplace.sim.components.models.gecros.GecrosFunctions
Here you find functions that are part of the Gecros algorithm and
are used by the related sim components.
WIKI_START
== Modifications ==
In the function TOTPT the DTR calculation was corrected. By setting
the parameter legacymode to true one can switch to the original calculation
method.
== Reference: ==
(Y) Yin, X. and van Laar, H.H. (2005): Crop Systems Dynamics. An ecophysiological simulation model for genotype-by-environment interactions. Wageningen Academic Publishers, Wageningen, The Netherlands.
WIKI_END
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
BETAF
(double DVR, double TE, double TX, double TI) Calculates the dynamics of expected growth of sinks, based on the beta sigmoid growth equationstatic double
KDIFF
(double LAI, double BL, double SCP) Calculates extinction coefficient for diffuse radiationstatic double
PHENO
(double DS, boolean SLP, double DDLP, double SPSP, double EPSP, double PSEN, double MTDV, double MTDR, double TDU) Calculates phenological development rate.static double
RLAIC
(double DS, double SLA0, double RWLV, double LAI, double KN, double NLV, double RNLV, double SLNB, double RSLNB) Calculates the daily increase of leaf area index (m2 leaf/m2 ground/day)static double[]
RNACC
(double FNSH, double NUPT, double RWST, double STEMNC, double LNCMIN, double RNCMIN, double LNC, double RNC, double NLV, double NRT, double WLV, double WRT, double DELT, double CB, double CX, double TM, double DS, double SEEDNC, double RWSO, double LNLV, double LNRT) Calculates rate of N accumulation in organsstatic double[]
SINKG
(double DS, double SSG, double TOTC, double YG, double FD, double DCDR, double DCS, double DELT) Calculates carbon demand for sink growth.static double[]
TOTPT
(double SC, double SINLD, double COSLD, double DAYL, double DSINBE, double DDTR, double TMAX, double TMIN, double DVP, double WNM, boolean C3C4, double LAI, double TLAI, double HT, double LWIDTH, double RD, double SD1, double RSS, double BLD, double KN, double KW, double SLN, double SLNT, double SLNN, double SLNMIN, double DWSUP, double CO2A, double LS, double EAJMAX, double XVN, double XJN, double THETA, double WCUL, double FVPD, boolean legacymode) Calculates daily total gross photosynthesis and transpiration by performing a Gaussian integration over time.static double
TUNIT
(double DS, double TMAX, double TMIN, double DIF, double DAYL, double TBD, double TOD, double TCD, double TSEN) Calculates the daily amount of thermal day
-
Constructor Details
-
GecrosFunctions
public GecrosFunctions()
-
-
Method Details
-
TUNIT
public static double TUNIT(double DS, double TMAX, double TMIN, double DIF, double DAYL, double TBD, double TOD, double TCD, double TSEN) Calculates the daily amount of thermal day- Parameters:
DS
- Development stageTMAX
- Daily maximum temperature oCTMIN
- Daily minimum temperature oCDIF
- Daytime plant-air temperature differential oCDAYL
- Astronomic daylength (base = 0 degrees) hTBD
- Base temperature for phenology oCTOD
- Optimum temperature for phenology oCTCD
- Ceiling temperature for phenology oCTSEN
- Curvature for temperature response- Returns:
- Daily thermal-day unit [-]
-
PHENO
public static double PHENO(double DS, boolean SLP, double DDLP, double SPSP, double EPSP, double PSEN, double MTDV, double MTDR, double TDU) Calculates phenological development rate.- Parameters:
DS
- Development stageSLP
- Crop type(true for short-day, false for long-day)DDLP
- Daylength for photoperiodism hSPSP
- DS for start of photoperiod-sensitive phaseEPSP
- DS for end of photoperiod-sensitive phasePSEN
- Photoperiod sensitivity (+ for SD, - for LD) h-1MTDV
- Minimum thermal days for vegetative phase dMTDR
- Minimum thermal days for reproductive phase dTDU
- Daily thermal-day unit- Returns:
- Development rate [d-1]
-
RNACC
public static double[] RNACC(double FNSH, double NUPT, double RWST, double STEMNC, double LNCMIN, double RNCMIN, double LNC, double RNC, double NLV, double NRT, double WLV, double WRT, double DELT, double CB, double CX, double TM, double DS, double SEEDNC, double RWSO, double LNLV, double LNRT) Calculates rate of N accumulation in organs- Parameters:
FNSH
- Fraction of new N partitioned to shootNUPT
- Nitrogen uptake at a time step gN/m2/dRWST
- Rate of stem weight g/m2/dSTEMNC
- Nitrogen concentration in stem gN/gLNCMIN
- Minimum N concentration in leaf gN/gRNCMIN
- Minimum N concentration in root gN/gLNC
- Nitrogen concentration in leaf gN/gRNC
- Nitrogen concentration in root gN/gNLV
- Canopy (green)leaf N content gN/m2NRT
- (living)root N content gN/m2WLV
- Canopy (green)leaf weight g/m2WRT
- (living)Root weight g/m2DELT
- Time step of simulation dCB
- Factor for initial N concent. of seed-fillCX
- Factor for final N concent. of seed-fillTM
- DS when transition from CB to CX is fastestDS
- Development stageSEEDNC
- Standard seed N concentration gN/gRWSO
- growth rate of seed g/m2/dLNLV
- Loss rate of NLV due to senescence gN/m2/dLNRT
- Loss rate of NRT due to senescence gN/m2/d- Returns:
- rate of N accumulation in root[gN/m2/d] / rate of N accumulation in stem [gN/m2/d] / rate of N accumulation in leaf [gN/m2/d] / Positive value of rate in leaf [gN/m2/d] /rate of N accumulation in seed(storage organ) [gN/m2/d]
-
RLAIC
public static double RLAIC(double DS, double SLA0, double RWLV, double LAI, double KN, double NLV, double RNLV, double SLNB, double RSLNB) Calculates the daily increase of leaf area index (m2 leaf/m2 ground/day)- Parameters:
DS
- Development stageSLA0
- Specific leaf area constant m2 g-1RWLV
- Rate of increment in leaf weight g m-2 d-1LAI
- Leaf area index m2 m-2KN
- Leaf nitrogen extinction coefficient m2 m-2NLV
- Total leaf nitrogen content in a canopy g m-2RNLV
- Rate of increment in NLV g m-2 d-1SLNB
- Nitrogen content of bottom leaves g m-2RSLNB
- Rate of increment in SLNB g m-2 d-1- Returns:
- Rate of increment in leaf area index [m2 m-2d-1]
-
BETAF
public static double BETAF(double DVR, double TE, double TX, double TI) Calculates the dynamics of expected growth of sinks, based on the beta sigmoid growth equation- Parameters:
DVR
- Development rate d-1TE
- Stage at which sink growth stopsTX
- Stage at which sink growth rate is maximalTI
- Stage of a day considered- Returns:
- Relative expected growth of a sink at a day [d-1]
-
SINKG
public static double[] SINKG(double DS, double SSG, double TOTC, double YG, double FD, double DCDR, double DCS, double DELT) Calculates carbon demand for sink growth.- Parameters:
DS
- Development stageSSG
- Stage at which sink growth startsTOTC
- Total carbon in a sink at end of its growth g C/m2YG
- Growth efficiency g C/g CFD
- Relative expected growth of a sink at a day d-1DCDR
- Shortfall of C demand in previous days g C/m2DCS
- Daily C supply for sink growth g C/m2/dDELT
- Time step of integration d- Returns:
- C demand of the current day [g C/m2/d] / Daily C demand for sink growth [g C/m2/d] / Flow of current assimilated C to sink [g C/m2/d]
-
TOTPT
public static double[] TOTPT(double SC, double SINLD, double COSLD, double DAYL, double DSINBE, double DDTR, double TMAX, double TMIN, double DVP, double WNM, boolean C3C4, double LAI, double TLAI, double HT, double LWIDTH, double RD, double SD1, double RSS, double BLD, double KN, double KW, double SLN, double SLNT, double SLNN, double SLNMIN, double DWSUP, double CO2A, double LS, double EAJMAX, double XVN, double XJN, double THETA, double WCUL, double FVPD, boolean legacymode) Calculates daily total gross photosynthesis and transpiration by performing a Gaussian integration over time. At five different times of the day, temperature and radiation are computed to determine assimilation and transpiration whereafter integration takes place. Resulting values are stored in the SimVariables PPCAN Potential canopy CO2 assimilation g m-2 d-1 O * APCANS Actual standing-canopy CO2 assimilation g m-2 d-1 O * APCANN APCANS with small plant-N increment g m-2 d-1 O * APCAN Actual canopy CO2 assimilation g m-2 d-1 O * PTCAN Potential canopy transpiration mm d-1 O * ATCAN Actual canopy transpiration mm d-1 O * PESOIL Potential soil evaporation mm d-1 O * AESOIL Actual soil evaporation mm d-1 O * DIFS Daytime average soil-air temp. difference oC O * DIFSU Daytime aver. sunlit leaf-air temp. diff. oC O * DIFSH Daytime aver. shaded leaf-air temp. diff. oC O * DAPAR Daily PAR absorbed by crop canopy J m-2 d-1 O *- Parameters:
SC
- Solar constant J m-2 s-1SINLD
- Seasonal offset of sine of solar heightCOSLD
- Amplitude of sine of solar heightDAYL
- Astronomic daylength (base = 0 degrees) hDSINBE
- Daily total of effective solar height s d-1DDTR
- Daily global radiation J m-2 d-1TMAX
- Daily maximum temperature oCTMIN
- Daily minimum temperature oCDVP
- Vapour pressure kPaWNM
- daily average wind speed (>=0.1 m/s) m s-1C3C4
- Crop type (=true for C3, false for C4 crops)LAI
- (green)Leaf area index m2 m-2TLAI
- Total Leaf area index m2 m-2HT
- Plant height mLWIDTH
- Leaf width mRD
- Rooting depth cmSD1
- Depth of evaporative upper soil layer cmRSS
- Soil resistance,equivalent to leaf stomata s m-1BLD
- Leaf angle from horizontal degreeKN
- Leaf nitrogen extinction coefficient m2 m-2KW
- Windspeed extinction coefficient in canopy m2 m-2SLN
- Average leaf nitrogen content in canopy g m-2SLNT
- Top-leaf nitrogen content g m-2SLNN
- Value of SLNT with small plant-N increment g m-2SLNMIN
- Minimum or base SLNT for photosynthesis g m-2DWSUP
- Daily water supply for evapotranspirationCO2A
- Ambient CO2 concentration ml m-3LS
- Lodging severityEAJMAX
- Energy of activation for Jmax J mol-1XVN
- Slope of linearity between Vcmax & leaf N umol/g/sXJN
- Slope of linearity between Jmax & leaf N umol/g/sTHETA
- Convexity for light response of e-transportWCUL
- Water content of the upper soil layer m3 m-3FVPD
- Slope for linear effect of VPD on Ci/Ca (kPa)-1legacymode
- If true, DTR is calculated with the old faulty formula from (Y) -
-
KDIFF
public static double KDIFF(double LAI, double BL, double SCP) Calculates extinction coefficient for diffuse radiation- Parameters:
LAI
- Total leaf area index [ m2 m-2]BL
- Leaf angle (from horizontal) [radians]SCP
- Leaf scattering coefficient- Returns:
- Diffuse radiation extinction coefficient [m2 m-2]
-