Skip to content

Commit

Permalink
Added permeability factor to examples that call ProductDataOpticalNBand
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCzarnecki committed Oct 3, 2022
1 parent aa71bfc commit 57d430e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/custom_glazing_single_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ def raw_glazing_wavelength_data():
glass_ir_transmittance_front = 0
glass_ir_transmittance_back = 0
glass_coated_side = pywincalc.CoatedSide.NEITHER
glass_permeability_factor = 0
flipped = False

glass_n_band_optical_data = pywincalc.ProductDataOpticalNBand(material_type=glass_material_type,
Expand All @@ -287,6 +288,7 @@ def raw_glazing_wavelength_data():
ir_transmittance_back=glass_ir_transmittance_back,
emissivity_front=glass_emissivity_front,
emissivity_back=glass_emissivity_back,
permeability_factor=glass_permeability_factor,
flipped=flipped)

# Next create the thermal data for the glass layer
Expand Down
4 changes: 4 additions & 0 deletions examples/custom_perforated.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ def raw_shade_material_wavelength_data():
glass_ir_transmittance_front = 0
glass_ir_transmittance_back = 0
glass_coated_side = pywincalc.CoatedSide.NEITHER
glass_permeability_factor = 0
flipped = False

glass_n_band_optical_data = pywincalc.ProductDataOpticalNBand(material_type=glass_material_type,
Expand All @@ -1178,6 +1179,7 @@ def raw_shade_material_wavelength_data():
ir_transmittance_back=glass_ir_transmittance_back,
emissivity_front=glass_emissivity_front,
emissivity_back=glass_emissivity_back,
permeability_factor=glass_permeability_factor,
flipped=flipped)

# Next create the thermal data for the glass layer
Expand Down Expand Up @@ -1213,6 +1215,7 @@ def raw_shade_material_wavelength_data():
shade_emissivity_back = .76
shade_ir_transmittance_front = .02
shade_ir_transmittance_back = .01
shade_permeability_factor = 0

flipped = False

Expand All @@ -1223,6 +1226,7 @@ def raw_shade_material_wavelength_data():
ir_transmittance_back=shade_ir_transmittance_back,
emissivity_front=shade_emissivity_front,
emissivity_back=shade_emissivity_back,
permeability_factor=shade_permeability_factor,
flipped=flipped)

# Create a pywincalc.Product_Data_Optical_Perforated_Screen out of the material n-band data and desired geometry
Expand Down

0 comments on commit 57d430e

Please sign in to comment.