Class ErosionFunctions

java.lang.Object
net.simplace.sim.components.experimental.erosion.ErosionFunctions

public class ErosionFunctions extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    angleDegreeFromSlope(double slope)
    Calculates the angle in degree from slope
    static double
    angleDegreeFromSlopePercent(double slopepercent)
    Calculates the angle in degree from slope in percent
    static double
    coverFractionFromLAIandResidues(double LAI, double residues, double k)
    Calculates fraction of covered soil from LAI and crop residues Equation from EPIC documentation
    static double
    coverIndexFromLAIandResidues(double LAI, double residues, double k)
    Calculates soil cover index from LAI and crop residues Equation from EPIC documentation
    static double
    degreeFromRadiant(double radiant)
    Convert from radiant to angular degrees
    static double
    ErosionFreebairn(double Q, double COV, double K, double P, double L, double S)
    Calculates erosion with Freebairn equation
    static double
    ErosionRose(double Q, double COV, double lambda_bare, double S)
    Calculates erosion with Rose equation
    static double
    LSfactor(double L, double S)
    Calculates LS factor
    static double
    mExponent(double S)
    Calculates exponent m for Freebairn equation
    static double
    radiantFromDegree(double degree)
    Converts from angular degrees to radiant
    static double
    sinAngleFromSlope(double slope)
    Calculates sine of angle (rise / slope length) from slope
    static double
    sinAngleFromSlopePercent(double slopepercent)
    Calculates sine of angle (rise / slope length) from slope
    static double
    slopeFromAngleDegree(double degree)
    Calculates the slope (tan(a)) from an angle
    static double
    slopeFromSinAngle(double sinangle)
    Calculates slope from sine of angle (rise / slope length)
    static double
    Calculates the slope in percent (tan(a)*100) from an angle
    static double
    slopePercentFromSinAngle(double sinangle)
    Calculates slope in percent from sine of angle (rise / slope length)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErosionFunctions

      public ErosionFunctions()
  • Method Details

    • radiantFromDegree

      public static double radiantFromDegree(double degree)
      Converts from angular degrees to radiant
      Parameters:
      degree - value from 0 to 360
      Returns:
      radiant
    • degreeFromRadiant

      public static double degreeFromRadiant(double radiant)
      Convert from radiant to angular degrees
      Parameters:
      radiant -
      Returns:
      degree
    • slopeFromAngleDegree

      public static double slopeFromAngleDegree(double degree)
      Calculates the slope (tan(a)) from an angle
      Parameters:
      degree -
      Returns:
      slope as ratio of rise / horizontal distance
    • slopePercentFromAngleDegree

      public static double slopePercentFromAngleDegree(double degree)
      Calculates the slope in percent (tan(a)*100) from an angle
      Parameters:
      degree -
      Returns:
      slope in percent
    • angleDegreeFromSlope

      public static double angleDegreeFromSlope(double slope)
      Calculates the angle in degree from slope
      Parameters:
      slope - as ratio rise / horizontal distance
      Returns:
      degree
    • angleDegreeFromSlopePercent

      public static double angleDegreeFromSlopePercent(double slopepercent)
      Calculates the angle in degree from slope in percent
      Parameters:
      slopepercent - slope in percent
      Returns:
      degree
    • slopeFromSinAngle

      public static double slopeFromSinAngle(double sinangle)
      Calculates slope from sine of angle (rise / slope length)
      Parameters:
      sinangle - sine of angle, i.e. rise / slope length
      Returns:
      slope as rise / horizontal distance
    • slopePercentFromSinAngle

      public static double slopePercentFromSinAngle(double sinangle)
      Calculates slope in percent from sine of angle (rise / slope length)
      Parameters:
      sinangle -
      Returns:
      slope in percent
    • sinAngleFromSlope

      public static double sinAngleFromSlope(double slope)
      Calculates sine of angle (rise / slope length) from slope
      Parameters:
      slope - as ratio rise / horizontal distance
      Returns:
      sine of angle as rise / slope length
    • sinAngleFromSlopePercent

      public static double sinAngleFromSlopePercent(double slopepercent)
      Calculates sine of angle (rise / slope length) from slope
      Parameters:
      slopepercent - slope in percent
      Returns:
      sine of angle as rise / slope length
    • mExponent

      public static double mExponent(double S)
      Calculates exponent m for Freebairn equation
      Parameters:
      S -
      Returns:
      m
    • LSfactor

      public static double LSfactor(double L, double S)
      Calculates LS factor
      Parameters:
      L -
      S -
      Returns:
    • ErosionFreebairn

      public static double ErosionFreebairn(double Q, double COV, double K, double P, double L, double S)
      Calculates erosion with Freebairn equation
      Parameters:
      Q - Runoff in mm
      COV - Soil cover in percent
      K -
      P -
      L -
      S -
      Returns:
    • ErosionRose

      public static double ErosionRose(double Q, double COV, double lambda_bare, double S)
      Calculates erosion with Rose equation
      Parameters:
      Q - Runoff in mm
      COV - Soil cover in percent
      lambda_bare -
      S -
      Returns:
    • coverIndexFromLAIandResidues

      public static double coverIndexFromLAIandResidues(double LAI, double residues, double k)
      Calculates soil cover index from LAI and crop residues Equation from EPIC documentation
      Parameters:
      LAI - leaf area index
      residues - in g/m^2
      k - extinction factor
      Returns:
      soil cover index (fraction of uncovered soil?)
    • coverFractionFromLAIandResidues

      public static double coverFractionFromLAIandResidues(double LAI, double residues, double k)
      Calculates fraction of covered soil from LAI and crop residues Equation from EPIC documentation
      Parameters:
      LAI - leaf area index
      residues - in g/m^2
      Returns:
      soilcover fraction of covered soil