From 8f98febabf3760df5e4ab84cf5da4342d61a3a69 Mon Sep 17 00:00:00 2001 From: cdeline Date: Wed, 7 Feb 2018 16:18:00 -0700 Subject: [PATCH] South latitude solstice on 6/21/14 --- bifacialvf/vf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bifacialvf/vf.py b/bifacialvf/vf.py index ffd056c..cc6b3a1 100644 --- a/bifacialvf/vf.py +++ b/bifacialvf/vf.py @@ -1386,7 +1386,7 @@ def rowSpacing(beta, sazm, lat, lng, tz, hour, minute): if lat >= 0: [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos (2014, 12, 21, hour, minute, lat, lng, tz) else: - [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos (2014, 6, 20, hour, minute, lat, lng, tz) + [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos (2014, 6, 21, hour, minute, lat, lng, tz) tst = 8.877 ##DLL Forced value minute -= 60.0 * (tst - hour); # Adjust minute so sun position is calculated for a tst equal to the # time passed to the function @@ -1394,7 +1394,7 @@ def rowSpacing(beta, sazm, lat, lng, tz, hour, minute): if lat >= 0: [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos(2014, 12, 21, hour, minute, lat, lng, tz) else: - [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos(2014, 6, 20, hour, minute, lat, lng, tz) + [azm, zen, elv, dec, sunrise, sunset, Eo, tst] = solarPos(2014, 6, 21, hour, minute, lat, lng, tz) # Console.WriteLine("tst = {0} azm = {1} elv = {2}", tst, azm * 180.0 / Math.PI, elv * 180.0 / Math.PI); D = math.cos(sazm - azm) * math.sin(beta) / math.tan(elv); @@ -1421,4 +1421,4 @@ def trackingBFvaluescalculator(beta, hub_height, r2r): #C = 0.5+Cv-hm # Ground clearance of PV panel (in PV panel slope lengths). C = hub_height - hm #Adding a 0.5 for half a panel slope length, since it is assumed the panel is rotating around its middle axis - return C, D; \ No newline at end of file + return C, D;