Class TrendAndTechnologyFunctions

java.lang.Object
net.simplace.sim.components.models.lintulfast.TrendAndTechnologyFunctions

public class TrendAndTechnologyFunctions extends Object
Class that implements some methods from the LintulFAST C# version to calculate trend and technology effect on yield. They are used by the model LintulFast. WIKI_START Class should not be used in other modules than LintulFast. WIKI_END
Author:
Gunther Krauss
  • Constructor Details

    • TrendAndTechnologyFunctions

      public TrendAndTechnologyFunctions()
  • Method Details

    • AddLinearTrendIncrease

      public static double AddLinearTrendIncrease(double a1, int Currentyear, int startYear)
    • RemoveLinearTrendFromYieldArray

      public static double[] RemoveLinearTrendFromYieldArray(int[] Year, double[] yield_obs, double TrendCompensation_a1, double TrendCompensationStartYear)
    • CalculateYrt0

      public static double CalculateYrt0(double a1, double a0, int Yrt0_RefernceYear, double LimitMin, double LimitMax)
    • CalculateLinearTrend

      public static TrendAndTechnologyFunctions.LinearTrend CalculateLinearTrend(Integer[] years, Double[] yields, Boolean TrendCalculateStartYearMeansBased)
    • calculateLinearRegression

      public static TrendAndTechnologyFunctions.RegressionCoefficients calculateLinearRegression(int ind, double[] x, double[] y)
    • AddTrend

      public static double AddTrend(double WSO, int yr, double TrendCompensation_a1, double TrendCompensationStartYear)
    • AddTechnology

      public static double AddTechnology(double WSO, int ipd, double TechnologyYr_t0, double Technologyf_T_Pr, double Technologyf_T_Gr, double Technologyf_IntervallT_Gr, int Technology_Intervall)