Skip to content

Commit

Permalink
Completed S3
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiatoropovaa committed Apr 3, 2024
1 parent ae41aa2 commit b6c1378
Show file tree
Hide file tree
Showing 27 changed files with 48,686 additions and 15,145 deletions.
8,768 changes: 8,768 additions & 0 deletions bifacial_radiance/Tutorial_01/EPWs/USA_VA_Richmond.724010_TMY2.epw

Large diffs are not rendered by default.

8,760 changes: 8,760 additions & 0 deletions bifacial_radiance/Tutorial_01/EPWs/metdata_temp.csv

Large diffs are not rendered by default.

83 changes: 83 additions & 0 deletions bifacial_radiance/Tutorial_01/materials/ground.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
#ground materials for use in defining ground reflectance etc.
#experimental reflectance values taken at R(650nm) G(510nm) B(470nm)
#normalized reflectance: (0.265*R+0.670*G+0.065*B)

#no reflections 0%R
void plastic black
0
0
5 0.01 0.01 0.01 0 0

#G173 light soil .21R
void plastic litesoil
0
0
5 .29 .187 .163 0 0

#Concrete (from SMARTS) albedo 0.28
void plastic concrete
0
0
5 .364 .257 .2235 0 0

#White EPDM (measured) albedo .807
void plastic white_EPDM
0
0
5 .863 .791 .745 0 0

#CU Boulder Beige roof (clean) albedo 0.43
void plastic beigeroof
0
0
5 .547 .395 .339 0 0

#CU Boulder Beige roof (lite soil Case 3) albedo 0.30 case 2: 5 .43 .30 .258 0 0
void plastic beigeroof_lite
0
0
5 .388 .273 .234 0 0

#CU Boulder Beige roof (heavy soil Case 4) albedo 0.25
void plastic beigeroof_heavy
0
0
5 .321 .228 .197 0 0

#Asphalt albedo 0.1
void plastic asphalt
0
0
5 .1 .1 .1 0 .2

#Greyroof albedo 0.62 from SolarWorld calculator
void plastic greyroof
0
0
5 .62 .62 .62 0 0

void plastic Metal_Aluminum_Anodized
0
0
5 0.792157 0.819608 0.858824 0.2 0.1
#map_Kd MonoPanel/Metal_Aluminum_Anodized.jpg

void plastic Color_I11
0
0
5 0.000000 0.000000 0.600000 0.1 0.1

void plastic M_0010_Snow
0
0
5 1.000000 0.980392 0.980392 0.1 0.1

void plastic Metal_Grey
0
0
5 0.43 0.448 0.465 0.5 0.5

void glass stock_glass
0
0
3 0.96 0.96 0.96
1 change: 1 addition & 0 deletions bifacial_radiance/Tutorial_01/objects/Pvmodule.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
! genbox black Pvmodule 2 1 0.02 | xform -t -1.0 -0.5 0 -a 1 -t 0 1.02 0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!xform -rx 5.71 -t 0 0 0.04974670909469617 -a 1 -t 2.01 0 0 -a 1 -t 0 1e-06 0 -i 1 -t -0.0 -0.0 0 -rz 90 -t 0 0 0 objects/Pvmodule.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!xform -rx 45 -t 0 0 3.345954663434159 -a 25 -t 2.01 0 0 -a 1 -t 0 1e-07 0 -i 1 -t -24.119999999999997 -0.0 0 -rz 90 -t 0 0 0 objects/Pvmodule.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!xform -rx 45 -t 0 0 3.9389354358429376 -a 25 -t 2.01 0 0 -a 1 -t 0 1e-07 0 -i 1 -t -24.119999999999997 -0.0 0 -rz 90 -t 20.856001096215696 0 0 objects/Pvmodule.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!xform -rx 45 -t 0 0 4.531916208251716 -a 25 -t 2.01 0 0 -a 1 -t 0 1e-07 0 -i 1 -t -24.119999999999997 -0.0 0 -rz 90 -t 26.786428888841915 0 0 objects/Pvmodule.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!xform -rx 45 -t 0 0 5.124896980660494 -a 25 -t 2.01 0 0 -a 1 -t 0 1e-07 0 -i 1 -t -24.119999999999997 -0.0 0 -rz 90 -t 32.71685668146814 0 0 objects/Pvmodule.rad
1 change: 1 addition & 0 deletions bifacial_radiance/Tutorial_01/objects/sloped-ground.rad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
! genbox black sloped-ground 30 30 0.02 | xform -t -15.0 -15.0 0 -a 1 -t 0 30.0 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# start of sky definition for daylighting studies
# location name: RICHMOND LAT: 37.5 LON: -77.33 Elev: 50.0
# Sun position calculated w. PVLib
!gendaylit -ang 75.27193855478691 18.098553015801485 -W 691 242 -g 0.62 -O 1
skyfunc glow sky_mat
0
0
4 1 1 1 0

sky_mat source sky
0
0
4 0 0 1 180

skyfunc glow ground_glow
0
0
4 0.9966115208291808 0.9966115208291808 0.9966115208291808 0

ground_glow source ground
0
0
4 0 0 -1 180

void plastic custom
0
0
5 0.620 0.620 0.620 0 0

custom ring groundplane
0
0
8
0 0 -.01
0 0 1
0 100
Binary file added bifacial_radiance/Tutorial_01/tutorial_19.oct
Binary file not shown.
1 change: 1 addition & 0 deletions bifacial_radiance/Tutorial_01/views/front.vp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvu -vtv -vp 0 -3 5 -vd 0 0.894427 -0.894427 -vu 0 0 1 -vh 45 -vv 45 -vo 0 -va 0 -vs 0 -vl 0
1 change: 1 addition & 0 deletions bifacial_radiance/Tutorial_01/views/module.vp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvu -vtv -vp -3 -3 0.3 -vd 0.8139 0.5810 0.0 -vu 0 0 1 -vh 45 -vv 45 -vo 0 -va 0 -vs 0 -vl 0
1 change: 1 addition & 0 deletions bifacial_radiance/Tutorial_01/views/side.vp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvu -vtv -vp -10 1.5 3 -vd 1.581 0 -0.519234 -vu 0 0 1 -vh 45 -vv 45 -vo 0 -va 0 -vs 0 -vl 0
36 changes: 36 additions & 0 deletions bifacial_radiance/data/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@
"z": 0.02,
"zgap": 0.1
},
"Pvmodule": {
"bifi": 1,
"glass": false,
"modulefile": "objects/Pvmodule.rad",
"modulematerial": "black",
"numpanels": 1,
"offsetfromaxis": 0,
"scenex": 2.01,
"sceney": 1.0,
"scenez": 0.1,
"text": "! genbox black Pvmodule 2 1 0.02 | xform -t -1.0 -0.5 0 -a 1 -t 0 1.02 0",
"x": 2,
"xgap": 0.01,
"y": 1,
"ygap": 0.02,
"z": 0.02,
"zgap": 0.1
},
"basic-module": {
"bifi": 1,
"glass": false,
Expand All @@ -68,6 +86,24 @@
"z": 0.02,
"zgap": 0.1
},
"sloped-ground": {
"bifi": 1,
"glass": false,
"modulefile": "objects/sloped-ground.rad",
"modulematerial": "black",
"numpanels": 1,
"offsetfromaxis": 0,
"scenex": 30.01,
"sceney": 30.0,
"scenez": 0.1,
"text": "! genbox black sloped-ground 30 30 0.02 | xform -t -15.0 -15.0 0 -a 1 -t 0 30.0 0",
"x": 30,
"xgap": 0.01,
"y": 30,
"ygap": 0.0,
"z": 0.02,
"zgap": 0.1
},
"test-module": {
"bifi": 1,
"cellModule": {
Expand Down
17 changes: 3 additions & 14 deletions bifacial_radiance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3216,36 +3216,25 @@ def exportScenarioData(self, trackerdict, savefile):
timestamp = []
rowWanted = []
modWanted = []
dni = []
dhi = []
ghi = []
temp_air = []
surf_tilt = []
Gfront_mean = []
Grear_mean = []
Module_temp = []
surf_tilt = []
Dc_String = []

for key in trackerdict.keys():
timestamp.append(key)
rowWanted.append(trackerdict[key]['Results'][0]['rowWanted'])
modWanted.append(trackerdict[key]['Results'][0]['modWanted'])
dni.append(trackerdict[key]['dni'])
dhi.append(trackerdict[key]['dhi'])
ghi.append(trackerdict[key]['ghi'])
temp_air.append(trackerdict[key]['temp_air'])
surf_tilt.append(trackerdict[key]['surf_tilt'])
Gfront_mean.append(trackerdict[key]['Gfront_mean'])
Grear_mean.append(trackerdict[key]['Grear_mean'])
Module_temp.append(trackerdict[key]['Module_temp'])
surf_tilt.append(trackerdict[key]['surf_tilt'])
Dc_String.append(trackerdict[key]['Pout']*trackerdict[key]['scene'].sceneDict['nMods'])

data = {
'rowWanted': rowWanted,
'modWanted': modWanted,
'dni': dni,
'dhi': dhi,
'ghi': ghi,
'temp_air': temp_air,
'Gfront_mean': Gfront_mean,
'Grear_mean': Grear_mean,
'Module_temp': Module_temp,
Expand Down
Binary file modified docs/development/.DS_Store
Binary file not shown.
Loading

0 comments on commit b6c1378

Please sign in to comment.