Skip to content

Commit

Permalink
Merge pull request #2 from cdeline/faster
Browse files Browse the repository at this point in the history
crucial update to v0.1.0 - broken references fixed
  • Loading branch information
cdeline committed Sep 29, 2017
2 parents a6f0971 + b4e42fa commit 49bd17c
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 16 deletions.
13 changes: 7 additions & 6 deletions bifacialvf/bifacialvf.py
Expand Up @@ -32,11 +32,11 @@
from sun import hrSolarPos, perezComp, solarPos, sunIncident



@profile
def simulate(TMYtoread, writefiletitle, beta, sazm, C = 1, D = 0.5,
rowType = 'interior', transFactor = 0.01, cellRows = 6,
PVfrontSurface = 'glass', PVbackSurface = 'glass', albedo = 0.62,
tracking = False, backtrack = False, r2r = 1.5, Cv= 0.05, offset = 0):
tracking = False, backtrack = True, r2r = 1.5, Cv= 0.05, offset = 0):


## Read TMY3 data and start loop ~
Expand Down Expand Up @@ -326,14 +326,15 @@ def simulate(TMYtoread, writefiletitle, beta, sazm, C = 1, D = 0.5,

# Tracking instructions
tracking=False
backtrackingOpt=False
backtrack=True
r2r = 1.5 # meters. This input is not used (D is used instead) except for in tracking
Cv = 0.05 # GroundClearance when panel is in vertical position (panel slope lengths)

TMYtoread="data/724010TYA.csv" # VA Richmond
writefiletitle="data/Output/TEST.csv"

simulate(TMYtoread, writefiletitle, beta, sazm,
C, D, rowType, transFactor, cellRows, PVfrontSurface,
PVbackSurface, albedo, dataInterval,
tracking, backtrackingOpt, r2r, Cv)
C, D, rowType= rowType, transFactor= transFactor, cellRows= cellRows,
PVfrontSurface= PVfrontSurface, PVbackSurface= PVbackSurface,
albedo= albedo, tracking= tracking, backtrack= backtrack, r2r= r2r, Cv= Cv)

0 comments on commit 49bd17c

Please sign in to comment.