Skip to content

Commit

Permalink
Changes UA-value of windows to U-value of windows in all templates
Browse files Browse the repository at this point in the history
Adds "area weighted" to description of u_value_win
Adds u_value_win to set_calc_default
#423
  • Loading branch information
mlauster committed Mar 29, 2017
1 parent b0e24c3 commit b679eb4
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ record ${zone.parent.name}_${zone.name} "${zone.parent.name}_${zone.name}"
alphaWin = ${zone.model_attr.alpha_conv_inner_win},
RWin = ${zone.model_attr.r1_win},
gWin = ${zone.model_attr.weighted_g_value},
UWin= ${zone.model_attr.ua_value_win},
UWin= ${zone.model_attr.u_value_win},
ratioWinConRad = ${zone.model_attr.ratio_conv_rad_inner_win},
AExt = ${get_list(zone.model_attr.facade_areas)},
alphaExt = ${zone.model_attr.alpha_conv_inner_ow},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ record ${zone.parent.name}_${zone.name} "${zone.parent.name}_${zone.name}"
alphaWin = ${zone.model_attr.alpha_conv_inner_win},
RWin = ${zone.model_attr.r1_win},
gWin = ${zone.model_attr.weighted_g_value},
UWin= ${zone.model_attr.ua_value_win},
UWin= ${zone.model_attr.u_value_win},
ratioWinConRad = ${zone.model_attr.ratio_conv_rad_inner_win},
AExt = ${get_list(zone.model_attr.facade_areas)},
alphaExt = ${zone.model_attr.alpha_conv_inner_ow},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ record ${zone.parent.name}_${zone.name} "${zone.parent.name}_${zone.name}"
alphaWin = ${zone.model_attr.alpha_conv_inner_win},
RWin = ${zone.model_attr.r1_win},
gWin = ${zone.model_attr.weighted_g_value},
UWin= ${zone.model_attr.ua_value_win},
UWin= ${zone.model_attr.u_value_win},
ratioWinConRad = ${zone.model_attr.ratio_conv_rad_inner_win},
AExt = ${get_list(zone.model_attr.facade_areas)},
alphaExt = ${zone.model_attr.alpha_conv_inner_ow},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ record ${zone.parent.name}_${zone.name} "${zone.parent.name}_${zone.name}"
alphaWin = ${zone.model_attr.alpha_conv_inner_win},
RWin = ${zone.model_attr.r1_win},
gWin = ${zone.model_attr.weighted_g_value},
UWin= ${zone.model_attr.ua_value_win},
UWin= ${zone.model_attr.u_value_win},
ratioWinConRad = ${zone.model_attr.ratio_conv_rad_inner_win},
AExt = ${get_list(zone.model_attr.facade_areas)},
alphaExt = ${zone.model_attr.alpha_conv_inner_ow},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model ${zone.parent.name}_${zone.name}
"Calculates direct solar radiation on titled surface for all directions"
annotation (Placement(transformation(extent={{-68,52},{-48,72}})));
Annex60.ThermalZones.ReducedOrder.SolarGain.CorrectionGDoublePane corGDoublePane(n=${zone.model_attr.n_outer},
UWin=${zone.model_attr.ua_value_win})
UWin=${zone.model_attr.u_value_win})
"Correction factor for solar transmission"
annotation (Placement(transformation(extent={{6,54},{26,74}})));
Annex60.ThermalZones.ReducedOrder.RC.FourElements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model ${zone.parent.name}_${zone.name}
"Calculates direct solar radiation on titled surface for all directions"
annotation (Placement(transformation(extent={{-68,52},{-48,72}})));
Annex60.ThermalZones.ReducedOrder.SolarGain.CorrectionGDoublePane corGDoublePane(n=${zone.model_attr.n_outer},
UWin=${zone.model_attr.ua_value_win})
UWin=${zone.model_attr.u_value_win})
"Correction factor for solar transmission"
annotation (Placement(transformation(extent={{6,54},{26,74}})));
Annex60.ThermalZones.ReducedOrder.RC.OneElement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model ${zone.parent.name}_${zone.name}
"Calculates direct solar radiation on titled surface for all directions"
annotation (Placement(transformation(extent={{-68,52},{-48,72}})));
Annex60.ThermalZones.ReducedOrder.SolarGain.CorrectionGDoublePane corGDoublePane(n=${zone.model_attr.n_outer},
UWin=${zone.model_attr.ua_value_win})
UWin=${zone.model_attr.u_value_win})
"Correction factor for solar transmission"
annotation (Placement(transformation(extent={{6,54},{26,74}})));
Annex60.ThermalZones.ReducedOrder.RC.ThreeElements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model ${zone.parent.name}_${zone.name}
"Calculates direct solar radiation on titled surface for all directions"
annotation (Placement(transformation(extent={{-68,52},{-48,72}})));
Annex60.ThermalZones.ReducedOrder.SolarGain.CorrectionGDoublePane corGDoublePane(n=${zone.model_attr.n_outer},
UWin=${zone.model_attr.ua_value_win})
UWin=${zone.model_attr.u_value_win})
"Correction factor for solar transmission"
annotation (Placement(transformation(extent={{6,54},{26,74}})));
Annex60.ThermalZones.ReducedOrder.RC.TwoElements
Expand Down
3 changes: 2 additions & 1 deletion teaser/logic/buildingobjects/calculation/four_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class FourElement(object):
ua_value_win : float [W/K]
U-Value times outer wall area.
u_value_win : float [W/(m2K)]
U-Value of windows.
Are weighted U-Value of windows.
r_conv_inner_win : float [K/W]
Sum of convective resistances for all windows facing the
inside of this thermal zone.
Expand Down Expand Up @@ -1592,6 +1592,7 @@ def set_calc_default(self):

# UA-Value
self.ua_value_win = 0.0
self.u_value_win = 0.0

# resistances for heat transfer facing the inside of this thermal zone
self.r_conv_inner_win = 0.0
Expand Down
3 changes: 2 additions & 1 deletion teaser/logic/buildingobjects/calculation/one_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class OneElement(object):
ua_value_win : float [W/K]
U-Value times window wall area.
u_value_win : float [W/(m2K)]
U-Value of windows.
Are weighted U-Value of windows.
r_conv_inner_win : float [K/W]
Sum of convective resistances for all windows facing the
inside of this thermal zone.
Expand Down Expand Up @@ -946,6 +946,7 @@ def set_calc_default(self):

# UA-Value
self.ua_value_win = 0.0
self.u_value_win = 0.0

# resistances for heat transfer facing the inside of this thermal zone
self.r_conv_inner_win = 0.0
Expand Down
3 changes: 2 additions & 1 deletion teaser/logic/buildingobjects/calculation/three_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class ThreeElement(object):
ua_value_win : float [W/K]
U-Value times outer wall area.
u_value_win : float [W/(m2K)]
U-Value of windows.
Are weighted U-Value of windows.
r_conv_inner_win : float [K/W]
Sum of convective resistances for all windows facing the
inside of this thermal zone.
Expand Down Expand Up @@ -1301,6 +1301,7 @@ def set_calc_default(self):

# UA-Value
self.ua_value_win = 0.0
self.u_value_win = 0.0

# resistances for heat transfer facing the inside of this thermal zone
self.r_conv_inner_win = 0.0
Expand Down
3 changes: 2 additions & 1 deletion teaser/logic/buildingobjects/calculation/two_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class TwoElement(object):
ua_value_win : float [W/K]
U-Value times window wall area.
u_value_win : float [W/(m2K)]
U-Value of windows.
Are weighted U-Value of windows.
r_conv_inner_win : float [K/W]
Sum of convective resistances for all windows facing the
inside of this thermal zone.
Expand Down Expand Up @@ -1155,6 +1155,7 @@ def set_calc_default(self):

# UA-Value
self.ua_value_win = 0.0
self.u_value_win = 0.0

# resistances for heat transfer facing the inside of this thermal zone
self.r_conv_inner_win = 0.0
Expand Down

0 comments on commit b679eb4

Please sign in to comment.