Commit 7c4c42bf authored by Matthias Betz's avatar Matthias Betz
Browse files

Merge branch 'master' of transfer.hft-stuttgart.de:circulargreensimcity/circulargreensimcity

parents d3c7bc0a e5919908
This diff is collapsed.
......@@ -206,7 +206,7 @@ public class TreeWaterDemand {
double extraterrestrialRadiation){
// divide by 24 for hourly
double sigma = 4.903E-9 / 24;
double rso = (0.75 + 2 * 10E-5 * altitude) * extraterrestrialRadiation;
double rso = (0.75 + 2E-5 * altitude) * extraterrestrialRadiation;
double rsRsoQuotient = 0.5;
if (rso != 0) {
rsRsoQuotient = rs / rso;
......@@ -219,6 +219,7 @@ public class TreeWaterDemand {
}
// ExtraterrestrialRadiation
// unit is apparently [MJ / (m².h)]
private static double ra(int dayOfYear, double hourOfDay, double lz, double lm, double latitude) {
double dr = 1 + 0.033 * Math.cos(2 * Math.PI * dayOfYear / 365d);
double b = (2 * Math.PI * (dayOfYear - 81)) / 364;
......
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