bifacial_radiance.AnalysisObj#

class bifacial_radiance.AnalysisObj(octfile=None, name=None, hpc=False)[source]#

Analysis class for performing raytrace to obtain irradiance measurements at the array, as well as plotting and reporting results.

__init__(octfile=None, name=None, hpc=False)[source]#

Initialize AnalysisObj by pointing to the octfile. Scan information is defined separately by passing scene details into AnalysisObj.moduleAnalysis()

Parameters:
  • octfile (string) – Filename and extension of .oct file

  • name

  • hpc (boolean, default False. Waits for octfile for a) – longer time if parallel processing.

  • modWanted (Module used for analysis)

  • rowWanted (Row used for analysis)

  • sceneNum (Which scene number (in case of multiple scenes))

Methods

__init__([octfile, name, hpc])

Initialize AnalysisObj by pointing to the octfile.

analysis(octfile, name, frontscan[, ...])

General analysis function, where linepts are passed in for calling the raytrace routine _irrPlot and saved into results with _saveResults.

analyzeField(octfile, scene[, name, ...])

Function to Analyze every module in a scene

analyzeRow(octfile, scene[, rowWanted, ...])

Function to Analyze every module in the row.

calculatePerformance(meteo_data, ...[, CECMod2])

For a given AnalysisObj, use performance.calculatePerformance to calculate performance, considering electrical mismatch, using PVLib.

groundAnalysis(scene[, modWanted, ...])

run a single ground scan along the entire row-row pitch of the scene.

makeFalseColor(viewfile[, octfile, name])

Makes a false-color plot of octfile, viewfile

makeImage(viewfile[, octfile, name])

Makes a visible image (rendering) of octfile, viewfile

moduleAnalysis(scene[, modWanted, ...])

Handler function that decides how to handle different number of front and back sensors.

Attributes

columns

methods

results

go through the AnalysisObj and return a DF of irradiance result keys.