Commit c61ee5a5 authored by Eric Duminil's avatar Eric Duminil
Browse files

273.15 für Celsius -> Kelvin

parent 7c4c42bf
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -168,7 +168,7 @@ public class TreeWaterDemand { ...@@ -168,7 +168,7 @@ public class TreeWaterDemand {
double delta = delta(temperature, saturationVaporPressure); double delta = delta(temperature, saturationVaporPressure);
double g = g(netRadiation, shortWaveRadiation > 0); double g = g(netRadiation, shortWaveRadiation > 0);
double n = 0.408 * delta * (netRadiation - g) double n = 0.408 * delta * (netRadiation - g)
+ gamma * (37 / (temperature + 273)) * windSpeed * (saturationVaporPressure - actualVaporPressure); + gamma * (37 / (temperature + 273.15)) * windSpeed * (saturationVaporPressure - actualVaporPressure);
return n / (delta + gamma * (1 + 0.34 * windSpeed)); return n / (delta + gamma * (1 + 0.34 * windSpeed));
} }
...@@ -214,7 +214,7 @@ public class TreeWaterDemand { ...@@ -214,7 +214,7 @@ public class TreeWaterDemand {
if (rsRsoQuotient > 1) { if (rsRsoQuotient > 1) {
rsRsoQuotient = 1; rsRsoQuotient = 1;
} }
return sigma * Math.pow(temperature + 273.16, 4) * (0.34 - 0.14 * Math.sqrt(actualVaporPressure)) return sigma * Math.pow(temperature + 273.15, 4) * (0.34 - 0.14 * Math.sqrt(actualVaporPressure))
* (1.35 * rsRsoQuotient - 0.35); * (1.35 * rsRsoQuotient - 0.35);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment