Class ErosionFunctions
java.lang.Object
net.simplace.sim.components.experimental.erosion.ErosionFunctions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
angleDegreeFromSlope
(double slope) Calculates the angle in degree from slopestatic double
angleDegreeFromSlopePercent
(double slopepercent) Calculates the angle in degree from slope in percentstatic double
coverFractionFromLAIandResidues
(double LAI, double residues, double k) Calculates fraction of covered soil from LAI and crop residues Equation from EPIC documentationstatic double
coverIndexFromLAIandResidues
(double LAI, double residues, double k) Calculates soil cover index from LAI and crop residues Equation from EPIC documentationstatic double
degreeFromRadiant
(double radiant) Convert from radiant to angular degreesstatic double
ErosionFreebairn
(double Q, double COV, double K, double P, double L, double S) Calculates erosion with Freebairn equationstatic double
ErosionRose
(double Q, double COV, double lambda_bare, double S) Calculates erosion with Rose equationstatic double
LSfactor
(double L, double S) Calculates LS factorstatic double
mExponent
(double S) Calculates exponent m for Freebairn equationstatic double
radiantFromDegree
(double degree) Converts from angular degrees to radiantstatic double
sinAngleFromSlope
(double slope) Calculates sine of angle (rise / slope length) from slopestatic double
sinAngleFromSlopePercent
(double slopepercent) Calculates sine of angle (rise / slope length) from slopestatic double
slopeFromAngleDegree
(double degree) Calculates the slope (tan(a)) from an anglestatic double
slopeFromSinAngle
(double sinangle) Calculates slope from sine of angle (rise / slope length)static double
slopePercentFromAngleDegree
(double degree) Calculates the slope in percent (tan(a)*100) from an anglestatic double
slopePercentFromSinAngle
(double sinangle) Calculates slope in percent from sine of angle (rise / slope length)
-
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 mmCOV
- Soil cover in percentK
-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 mmCOV
- Soil cover in percentlambda_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 indexresidues
- in g/m^2k
- 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 indexresidues
- in g/m^2- Returns:
- soilcover fraction of covered soil
-