Skip to content

Commit a6787d6

Browse files
v1.0.7. Updating to latest Window-CalcEngine and fix for examples.
1 parent 98b2457 commit a6787d6

11 files changed

+6
-5
lines changed

CMakeLists-WinCalc.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include(ExternalProject)
44

55
ExternalProject_Add(wincalc
66
GIT_REPOSITORY https://github.com/LBNL-ETA/WinCalc.git
7-
GIT_TAG "v1.1.2"
7+
GIT_TAG "v1.1.4"
88

99
UPDATE_COMMAND ""
1010
PATCH_COMMAND ""

example/example.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
thermal_ir_optical_results_single_layer = glazing_system_single_layer.all_method_values(pywincalc.Method_Type.SOLAR)
2929
print("Finished single layer tir calc")
30-
print("Single Layer Thermal IR optical transmittance front direct-direct: {r}".format(r=thermal_ir_optical_results_single_layer.tf_direct_direct))
30+
print("Single Layer Thermal IR optical transmittance front direct-direct: {r}".format(r=thermal_ir_optical_results_single_layer.direct_direct.tf))
3131

3232
color_results_single_layer = glazing_system_single_layer.color()
3333
print("Single Layer color results: {r}".format(r=thermal_ir_optical_results_single_layer))
@@ -55,7 +55,8 @@
5555
print("Triple Layer SHGC solar absorptances per layer: {a}".format(a=shgc_results.layer_solar_absorptances))
5656

5757
photopic_optical_results_tripple_layer = glazing_system_tripple_layer.all_method_values(pywincalc.Method_Type.PHOTOPIC)
58-
print("Tripple Layer Photopic optical results: {r}".format(r=photopic_optical_results_tripple_layer))
58+
print("Tripple Layer Photopic optical results transmittance front direct-direct: {r}".format(r=photopic_optical_results_tripple_layer.direct_direct.tf))
5959

6060
color_results_tripple_layer = glazing_system_tripple_layer.color()
61-
print("Tripple Layer color results: {r}".format(r=thermal_ir_optical_results_tripple_layer))
61+
tf_rgb_results_tripple_layer = color_results_tripple_layer.direct_direct.tf.rgb
62+
print("Tripple Layer color results transmittance front direct-direct RGB: ({r}, {g}, {b})".format(r=tf_rgb_results_tripple_layer.R, g=tf_rgb_results_tripple_layer.G, b=tf_rgb_results_tripple_layer.B))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def build_extension(self, ext):
5858

5959
setup(
6060
name='pywincalc',
61-
version='1.0.6',
61+
version='1.0.7',
6262
ext_modules=[CMakeExtension('pywincalc')],
6363
cmdclass=dict(build_ext=CMakeBuild),
6464
zip_safe=False,
-251 KB
Binary file not shown.
-307 KB
Binary file not shown.
-250 KB
Binary file not shown.
-305 KB
Binary file not shown.
253 KB
Binary file not shown.
Binary file not shown.
252 KB
Binary file not shown.

0 commit comments

Comments
 (0)