Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mayer
CircularGreenSimCity
Commits
a5b3521b
Commit
a5b3521b
authored
1 year ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
DRY
parent
6e254759
master
eric_enrich_trees
gPMayer2-master-patch-26512
gPMayer2-master-patch-49202
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tree-water-demand/src/main/java/de/hft/stuttgart/water/TreeWaterDemand.java
+1
-2
...src/main/java/de/hft/stuttgart/water/TreeWaterDemand.java
with
1 addition
and
2 deletions
+1
-2
tree-water-demand/src/main/java/de/hft/stuttgart/water/TreeWaterDemand.java
+
1
-
2
View file @
a5b3521b
...
...
@@ -202,11 +202,10 @@ public class TreeWaterDemand {
// NetLongwaveRadiation
// unit is apparently [MJ / (m².h)]
private
static
double
rnl
(
double
temperature
,
double
actualVaporPressure
,
double
s
hortWaveRadiation
,
double
altitude
,
private
static
double
rnl
(
double
temperature
,
double
actualVaporPressure
,
double
r
s
,
double
altitude
,
double
extraterrestrialRadiation
){
// divide by 24 for hourly
double
sigma
=
4.903
E
-
9
/
24
;
double
rs
=
shortWaveRadiation
;
double
rso
=
(
0.75
+
2
*
10
E
-
5
*
altitude
)
*
extraterrestrialRadiation
;
double
rsRsoQuotient
=
0.5
;
if
(
rso
!=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets