Skip to content
GitLab
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
Jul 05, 2023
by
Eric Duminil
Browse files
DRY
parent
6e254759
Changes
1
Hide whitespace changes
Inline
Side-by-side
tree-water-demand/src/main/java/de/hft/stuttgart/water/TreeWaterDemand.java
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
)
{
...
...
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