net.simplace.sim.components.experimental.n2o.N2Ofunctions




public class N2Ofunctions {
// Public Constructors
public N2Ofunctions();


// Class Methods
public static void calculateN2O(FWSimVariable cSoilDepth, FWSimVariable
cTopSoilDepth, FWSimVariable cParticleDensity, FWSimVariable cKm,
FWSimVariable cPotentialDenitrificationRate, FWSimVariable
iSoilTemperature, FWSimVariable iNitrate, FWSimVariable iWaterContent,
FWSimVariable iBulkDensity, FWSimVariable TemperatureLimitFactor,
FWSimVariable NitrateLimitFactor, FWSimVariable WaterLimitFactor,
FWSimVariable DenitrificationLayers, FWSimVariable Denitrification);

public static Double[] calculateDenitrificationRate(Double
potentialdenitrificationrate, Double km, Double particledensity, Double[]
nitrateamount, Double[] soildepth, Double denitrificationdepth, Double[]
bulkdensity, Double[] watercontent, Double[] soiltemperature);

Calculates Denitrification per Layer The potential denitrification rate is split proportionally to the layers in the topsoil. Then the actual rate per layer is determined by multiplying with the layer specific limiting factors regarding temperature, water content and nitrate content.
returns denitrification rate per layer [g m-2 d-1]
public static Double calculateN2O(Double cSoilDepth, Double cTopSoilDepth,
Double cSoilLayerHeight, Double cParticleDensity, Double cKm, Double
cPotentialDenitrificationRate, Double iSoilTemperature, Double iNitrate,
Double iWaterContent, Double iBulkDensity);

public static Double calculateN2O(Double cParticleDensity, Double cKm,
Double cPotentialDenitrificationRate, Double iSoilTemperature, Double
iNitrate, Double iWaterContent, Double iBulkDensity);

public static double calculateDenitrification(Double
cPotentialDenitrificationRate, Double TemperatureLimitFactor, Double
NitrateLimitFactor, Double WaterLimitFactor);

public static Double calculateWaterLimitFactor(Double cParticleDensity,
Double iWaterContent, Double iBulkDensity);

public static Double calculateNitrateLimitFactor(Double cKm, Double iNitrate);

public static Double calculateTemperatureLimitFactor(Double iSoilTemperature);



}