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
d3c7bc0a
Commit
d3c7bc0a
authored
Jul 07, 2023
by
Matthias Betz
Browse files
changing divisor to double
parent
636e41dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tree-water-demand/src/main/java/de/hft/stuttgart/water/TreeWaterDemand.java
View file @
d3c7bc0a
...
...
@@ -229,8 +229,8 @@ public class TreeWaterDemand {
double
omegas
=
Math
.
acos
(-
Math
.
tan
(
phi
)
*
Math
.
tan
(
delta
));
double
ra
=
0
;
if
(!(
omega
<
-
omegas
||
omega
>
omegas
))
{
double
omega1
=
omega
-
Math
.
PI
*
1
/
24
;
double
omega2
=
omega
+
Math
.
PI
*
1
/
24
;
double
omega1
=
omega
-
Math
.
PI
*
1
/
24
d
;
double
omega2
=
omega
+
Math
.
PI
*
1
/
24
d
;
ra
=
12
*
60
/
Math
.
PI
*
0.0820
*
dr
*
((
omega2
-
omega1
)
*
Math
.
sin
(
phi
)
*
Math
.
sin
(
delta
)
+
Math
.
cos
(
phi
)
*
Math
.
cos
(
delta
)
*
(
Math
.
sin
(
omega2
)
-
Math
.
sin
(
omega1
)));
}
...
...
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