Class AstronomicParametersCalculator

java.lang.Object
net.simplace.sim.components.util.helper.AstronomicParametersCalculator

public class AstronomicParametersCalculator extends Object
Methods for calculating daylength and diurnal values WIKI_START Includes methods for integration/normalization/rescaling of piecewise linear functions, as well as methods for calculating diurnal values for radiation and temperature. == Reference == (G) Goudriaan, Modeling Potential Crop Growth Processes, 1994, (revised version Nov. 2004) WIKI_END
Author:
Gunther Krauss
  • Constructor Details

    • AstronomicParametersCalculator

      public AstronomicParametersCalculator()
  • Method Details

    • AstronomicParameters

      public static AstronomicParametersCalculator.AstroParameters AstronomicParameters(int doy, double latitude)
      Calculates day length and other parameters from DOY and latitude
      Parameters:
      doy - Day of year (from 1 to 366)
      latitude - Latitude in degrees
      Returns:
      HashMap with values for Daylength, PhotoperiodicDaylength, SolarConstant, a, b, DSINB, DSINBE, SinBetaArea
    • AstronomicParameters

      public static AstronomicParametersCalculator.AstroParameters AstronomicParameters(int doy, double latitude, double inclination)
      Calculates day length and other parameters from DOY, latitude and sun inclination
      Parameters:
      doy - Day of year (from 1 to 366)
      latitude - Latitude in degrees
      inclination - Sun inclination in degrees
      Returns:
      HashMap with values for Daylength, PhotoperiodicDaylength, SolarConstant, a, b, DSINB, DSINBE, SinBetaArea