mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
76_SolarForecast: contrib 1.34.0
git-svn-id: https://svn.fhem.de/fhem/trunk@29178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9bce363c1e
commit
996ac08b2c
@ -3544,9 +3544,10 @@ sub ___areaFactorTrack {
|
||||
my $sx = cos ($sunalt * $pi180) * sin ($sunaz * $pi180);
|
||||
|
||||
#-- Normale N = ($nx,$ny,$nz) Richtung Sonne S = ($sx,$sy,$sz)
|
||||
my $daf = sprintf "%.2f", ($nx * $sx + $ny * $sy + $nz * $sz);
|
||||
my $daf = $nx * $sx + $ny * $sy + $nz * $sz;
|
||||
$daf = max ($daf, 0);
|
||||
$daf += 1 if($daf);
|
||||
$daf = sprintf "%.2f", $daf;
|
||||
|
||||
## Schätzung Anteil Direktstrahlung an Globalstrahlung
|
||||
########################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user