|
13 | 13 | *RADIANCE software should be installed from https://github.com/NREL/Radiance/releases |
14 | 14 |
|
15 | 15 | *If you want to use gencumulativesky, move 'gencumulativesky.exe' from |
16 | | - 'bifacial_radiance\data' into your RADIANCE source directory. |
| 16 | + 'bifacial_radiance/data' into your RADIANCE source directory. |
17 | 17 |
|
18 | 18 | *If using a Windows machine you should download the Jaloxa executables at |
19 | 19 | http://www.jaloxa.eu/resources/radiance/radwinexe.shtml#Download |
|
28 | 28 | different PV system orientations for rear bifacial irradiance. |
29 | 29 | Note that this is simply an optical model - identifying available rear irradiance under different conditions. |
30 | 30 |
|
31 | | - For a detailed demonstration example, look at the .ipnyb notebook in \docs\ |
| 31 | + For a detailed demonstration example, look at the .ipnyb notebook in /docs/ |
32 | 32 |
|
33 | 33 | There are two solar resource modes in bifacial_radiance: `gendaylit` uses hour-by-hour solar |
34 | 34 | resource descriptions using the Perez diffuse tilted plane model. |
@@ -578,7 +578,7 @@ def addMaterial(self, material, Rrefl, Grefl, Brefl, materialtype='plastic', |
578 | 578 | Returns |
579 | 579 | ------- |
580 | 580 | None. Just adds the material to the material_file specified or the |
581 | | - default in ``materials\ground.rad``. |
| 581 | + default in ``materials/ground.rad``. |
582 | 582 |
|
583 | 583 | References: |
584 | 584 | See examples of documentation for more materialtype details. |
@@ -787,7 +787,7 @@ def setGround(self, material=None, material_file=None): |
787 | 787 | def getEPW(self, lat=None, lon=None, GetAll=False): |
788 | 788 | """ |
789 | 789 | Subroutine to download nearest epw files to latitude and longitude provided, |
790 | | - into the directory \EPWs\ |
| 790 | + into the directory /EPWs/ |
791 | 791 | based on github/aahoo. |
792 | 792 | |
793 | 793 | .. warning:: |
@@ -1837,7 +1837,7 @@ def genCumSky(self, gencumsky_metfile=None, savefile=None): |
1837 | 1837 | gencumulativesky.exe is required to be installed, |
1838 | 1838 | which is not a standard radiance distribution. |
1839 | 1839 | You can find the program in the bifacial_radiance distribution directory |
1840 | | - in \Lib\site-packages\bifacial_radiance\data |
| 1840 | + in /Lib/site-packages/bifacial_radiance/data |
1841 | 1841 | |
1842 | 1842 | |
1843 | 1843 | Use :func:`readWeatherFile(filename, starttime='YYYY-mm-dd_HHMM', endtime='YYYY-mm-dd_HHMM')` |
@@ -2278,7 +2278,7 @@ def makeModule(self, name=None, x=None, y=None, z=None, modulefile=None, |
2278 | 2278 | from bifacial_radiance import ModuleObj |
2279 | 2279 |
|
2280 | 2280 | if name is None: |
2281 | | - print("usage: makeModule(name,x,y,z, modulefile = '\objects\*.rad', "+ |
| 2281 | + print("usage: makeModule(name,x,y,z, modulefile = '/objects/*.rad', "+ |
2282 | 2282 | " zgap = 0.1 (module offset)"+ |
2283 | 2283 | "numpanels = 1 (# of panels in portrait), ygap = 0.05 "+ |
2284 | 2284 | "(slope distance between panels when arrayed), "+ |
@@ -2514,7 +2514,7 @@ def makeScene(self, module=None, sceneDict=None, radname=None, |
2514 | 2514 |
|
2515 | 2515 | def appendtoScene(self, radfile=None, customObject=None, text=''): |
2516 | 2516 | """ |
2517 | | - Appends to the `Scene radfile` in folder `\objects` the text command in Radiance |
| 2517 | + Appends to the `Scene radfile` in folder `/objects` the text command in Radiance |
2518 | 2518 | lingo created by the user. |
2519 | 2519 | Useful when using addCustomObject to the scene. |
2520 | 2520 | |
@@ -2822,17 +2822,20 @@ def analysis1axis(self, trackerdict=None, singleindex=None, accuracy='low', |
2822 | 2822 |
|
2823 | 2823 | Returns |
2824 | 2824 | ------- |
2825 | | - trackerdict is returned with :py:class:`bifacial_radiance.AnalysisObj` |
2826 | | - for each timestamp: |
2827 | | - |
2828 | | - trackerdict.key.'AnalysisObj' : analysis object for this tracker theta |
2829 | | - to get a dictionary of results, run :py:class:`bifacial_radiance.AnalysisObj`.results |
2830 | | - :py:class:`bifacial_radiance.AnalysisObj`.results returns the following df: |
2831 | | - 'name', 'modNum', 'rowNum', 'sceneNum', 'x','y','z', 'mattype', 'rearMat', |
2832 | | - 'Wm2Front' : np.array of front Wm-2 irradiances, len=sensorsy_back |
2833 | | - 'Wm2Back' : np.array of rear Wm-2 irradiances, len=sensorsy_back |
2834 | | - 'backRatio' : np.array of rear irradiance ratios, len=sensorsy_back |
2835 | | -
|
| 2825 | + trackerdict : dict |
| 2826 | + trackerdict.key. :py:class:`bifacial_radiance.AnalysisObj` |
| 2827 | + for each timestamp or tracker theta. |
| 2828 | + |
| 2829 | + Note |
| 2830 | + ---- |
| 2831 | + :py:class:`bifacial_radiance.AnalysisObj`.results returns a DataFrame with |
| 2832 | + the following columns: |
| 2833 | + |
| 2834 | + * 'name', 'modNum', 'rowNum', 'sceneNum', 'x','y','z', 'mattype', 'rearMat' |
| 2835 | + * 'Wm2Front' : np.array of front Wm-2 irradiances, len=sensorsy_back |
| 2836 | + * 'Wm2Back' : np.array of rear Wm-2 irradiances, len=sensorsy_back |
| 2837 | + * 'backRatio' : np.array of rear irradiance ratios, len=sensorsy_back |
| 2838 | + |
2836 | 2839 | """ |
2837 | 2840 |
|
2838 | 2841 | import warnings, itertools |
@@ -2952,13 +2955,11 @@ def analysis1axisground(self, trackerdict=None, singleindex=None, accuracy='low' |
2952 | 2955 | Returns |
2953 | 2956 | ------- |
2954 | 2957 | trackerdict is returned with :py:class:`bifacial_radiance.AnalysisObj` |
2955 | | - for each timestamp: |
| 2958 | + for each timestamp. |
2956 | 2959 | |
2957 | | - trackerdict.key.'AnalysisObj' : analysis object for this tracker theta |
2958 | | - to get a dictionary of results, run :py:class:`bifacial_radiance.AnalysisObj`.results |
2959 | | - :py:class:`bifacial_radiance.AnalysisObj`.results returns the following keys: |
2960 | | - 'Wm2Ground' : np.array of Wm-2 irradiances along the ground, len=sensorsground |
2961 | | - 'sensorsground' : int of number of ground scan points |
| 2960 | + * :py:class:`bifacial_radiance.AnalysisObj`.results returns the following keys: |
| 2961 | + * 'Wm2Ground' : np.array of Wm-2 irradiances along the ground, len=sensorsground |
| 2962 | + * 'sensorsground' : int of number of ground scan points |
2962 | 2963 |
|
2963 | 2964 | """ |
2964 | 2965 |
|
@@ -3034,31 +3035,29 @@ def calculatePerformance1axis(self, trackerdict=None, module=None, |
3034 | 3035 | considering electrical mismatch, using |
3035 | 3036 | PVLib. Cell temperature is calculated |
3036 | 3037 |
|
3037 | | -
|
3038 | 3038 | Parameters |
3039 | 3039 | ---------- |
3040 | 3040 | module: ModuleObj from scene.module |
3041 | 3041 | It's best to set this in advance in the ModuleObj. |
3042 | 3042 | If passed in here, it overrides the value that may be set in the |
3043 | 3043 | trackerdict already. |
3044 | | - CECMod2 : Dict |
| 3044 | + CECMod2 : dict, optional |
3045 | 3045 | Dictionary with CEC Module Parameters for a Monofacial module. If None, |
3046 | 3046 | same module as CECMod is used for the BGE calculations, but just |
3047 | 3047 | using the front irradiance (Gfront). |
3048 | 3048 | |
3049 | 3049 | Returns |
3050 | 3050 | ------- |
3051 | | - trackerdict |
| 3051 | + trackerdict : dict |
3052 | 3052 | Trackerdict with new entries for each key of irradiance and Power |
3053 | | - Output for the module. |
3054 | | - POA_eff: mean of [(mean of clean Gfront) + clean Grear * bifaciality factor] |
3055 | | - Gfront_mean: mean of clean Gfront |
3056 | | - Grear_mean: mean of clean Grear |
3057 | | - Mismatch: mismatch calculated from the MAD distribution of |
3058 | | - POA_total |
3059 | | - Pout_raw: power output calculated from POA_total, considers |
3060 | | - wind speed and temp_amb if in trackerdict. |
3061 | | - Pout: power output considering electrical mismatch |
| 3053 | + Output for the module. Each entry contains the keys: |
| 3054 | +
|
| 3055 | + * 'POA_eff': mean of [(mean of clean Gfront) + clean Grear * bifaciality factor] |
| 3056 | + * 'Gfront_mean': mean of clean Gfront |
| 3057 | + * 'Grear_mean': mean of clean Grear |
| 3058 | + * 'Mismatch': mismatch calculated from the MAD distribution of POA_total |
| 3059 | + * 'Pout_raw': power output calculated from POA_total, considers wind speed and temp_amb if in trackerdict. |
| 3060 | + * 'Pout': power output considering electrical mismatch losses. |
3062 | 3061 |
|
3063 | 3062 | """ |
3064 | 3063 |
|
@@ -3707,7 +3706,7 @@ def _makeSceneNxR(self, modulename=None, sceneDict=None, radname=None, addhubhei |
3707 | 3706 |
|
3708 | 3707 | def appendtoScene(self, customObject=None, radfile=None, text=''): |
3709 | 3708 | """ |
3710 | | - Appends to the `Scene radfile` in folder `\objects` the text command in Radiance |
| 3709 | + Appends to the `Scene radfile` in folder `/objects` the text command in Radiance |
3711 | 3710 | lingo created by the user. |
3712 | 3711 | Useful when using addCustomObject to the scene. |
3713 | 3712 |
|
@@ -5552,12 +5551,13 @@ def calculatePerformance(self, meteo_data, cumulativesky, module, |
5552 | 5551 | ------- |
5553 | 5552 | performance : dictionary with performance results for that simulation. |
5554 | 5553 | Keys: |
5555 | | - 'POA_eff': mean of [(mean of clean Gfront) + clean Grear * bifaciality factor] |
5556 | | - 'Gfront_mean': mean of clean Gfront |
5557 | | - 'Grear_mean': mean of clean Grear |
5558 | | - 'Mismatch': mismatch calculated from the MAD distribution of POA_total |
5559 | | - 'Pout_raw': power output calculated from POA_total, considers wind speed and temp_amb if in trackerdict. |
5560 | | - 'Pout': power output considering electrical mismatch |
| 5554 | +
|
| 5555 | + * 'POA_eff': mean of [(mean of clean Gfront) + clean Grear * bifaciality factor] |
| 5556 | + * 'Gfront_mean': mean of clean Gfront |
| 5557 | + * 'Grear_mean': mean of clean Grear |
| 5558 | + * 'Mismatch': mismatch calculated from the MAD distribution of POA_total |
| 5559 | + * 'Pout_raw': power output calculated from POA_total, considers wind speed and temp_amb if in trackerdict. |
| 5560 | + * 'Pout': power output considering electrical mismatch |
5561 | 5561 |
|
5562 | 5562 | """ |
5563 | 5563 |
|
|
0 commit comments