refactoring and code cleaning

This commit is contained in:
Guille Gutierrez 2020-06-09 11:33:03 -04:00
parent a9b0579e01
commit 5fefd40d4b

View File

@ -77,7 +77,6 @@ class UsBasePhysicsParameters:
if construction['window'] is None: if construction['window'] is None:
continue continue
w_lib = self.search_construction_type('window', construction['window']) w_lib = self.search_construction_type('window', construction['window'])
opening.area = '0.0'
opening.conductivity_w_mk = w_lib['conductivity']['#text'] opening.conductivity_w_mk = w_lib['conductivity']['#text']
opening.frame_ratio = w_lib['frame_ratio']['#text'] opening.frame_ratio = w_lib['frame_ratio']['#text']
opening.g_value = w_lib['solar_transmittance_at_normal_incidence']['#text'] opening.g_value = w_lib['solar_transmittance_at_normal_incidence']['#text']