Skip to content

Commit

Permalink
add customname to keys of trackerdict['Results']
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeline committed Nov 29, 2023
1 parent 8e22bd2 commit 6a670d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bifacial_radiance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2320,6 +2320,7 @@ def printModules(self):
print('Available module names: {}'.format([str(x) for x in modulenames]))
return modulenames


def addPiles(self, spacingPiles=6, pile_lenx=0.2, pile_leny=0.2, pile_height=None):
'''
Function to add support piles at determined intervals throughout the rows.
Expand Down Expand Up @@ -2409,7 +2410,7 @@ def addPiles(self, spacingPiles=6, pile_lenx=0.2, pile_leny=0.2, pile_height=Non


return


def makeScene(self, module=None, sceneDict=None, radname=None,
moduletype=None, appendtoScene=None):
Expand Down Expand Up @@ -2860,6 +2861,7 @@ def analysis1axis(self, trackerdict=None, singleindex=None, accuracy='low',
row_mod_pairs = list(itertools.product(rowWanted,modWanted))
for (r,m) in row_mod_pairs:
Results = {'rowWanted':r,'modWanted':m}
if customname: Results['customname'] = customname
try: # look for missing data
analysis = AnalysisObj(octfile,name)
name = '1axis_%s%s'%(index,customname,)
Expand Down

0 comments on commit 6a670d9

Please sign in to comment.