pyrc.model.facade#

class Facade(*args, height=0.5, length=11, nodes_in_length=1, nodes_in_height=1, one_y_node_z_layer_indexes: list | Any = None, ambient_htc: float | int = 7, interior_htc: float | int = 10, specific_power_in_w_per_meter_squared: float | int = 200, **kwargs)#

Bases: RCNetwork

A Facade RC network to simulate different wall layers.

#TODO: update, because a lot of new algorithms make the build up easier and faster since this model was created

Parameters:
  • args (list) – The arguments for RCNetwork .

  • one_y_node_z_layer_indexes (list | Any, optional) – A list with z layer indexes where only one y node should be applied. The numbers must match the indexes of the z_list (layers list). This is used to minimize the number of nodes in the network where it is not necessary to resolve in this detail. Currently, it is only working when the region is at the end of the layer (and maybe at the beginning). So, using [n-2, n-1, n] is working, but not [n-3, n-2, n-1] because the last layer is not chosen. To implement it properly the connection between the layers must be modified.

  • ambient_htc (float | int, optional) – The heat transfer coefficient on the outer wall surface.

  • interior_htc (float | int, optional) – The heat transfer coefficient on the inner wall surface.

  • specific_power_in_w_per_meter_squared (float | int, optional) – The specific power in W/m^2 squared of all Radiation objects. Only used when weather data is not used.

  • kwargs

__init__(*args, height=0.5, length=11, nodes_in_length=1, nodes_in_height=1, one_y_node_z_layer_indexes: list | Any = None, ambient_htc: float | int = 7, interior_htc: float | int = 10, specific_power_in_w_per_meter_squared: float | int = 200, **kwargs)#

A Facade RC network to simulate different wall layers.

#TODO: update, because a lot of new algorithms make the build up easier and faster since this model was created

Parameters:
  • args (list) – The arguments for RCNetwork .

  • one_y_node_z_layer_indexes (list | Any, optional) – A list with z layer indexes where only one y node should be applied. The numbers must match the indexes of the z_list (layers list). This is used to minimize the number of nodes in the network where it is not necessary to resolve in this detail. Currently, it is only working when the region is at the end of the layer (and maybe at the beginning). So, using [n-2, n-1, n] is working, but not [n-3, n-2, n-1] because the last layer is not chosen. To implement it properly the connection between the layers must be modified.

  • ambient_htc (float | int, optional) – The heat transfer coefficient on the outer wall surface.

  • interior_htc (float | int, optional) – The heat transfer coefficient on the inner wall surface.

  • specific_power_in_w_per_meter_squared (float | int, optional) – The specific power in W/m^2 squared of all Radiation objects. Only used when weather data is not used.

  • kwargs

get_last_y_node(nodes: list, x, y, z) Node#

Returns the node that is the last of the y direction.

E.g. if only one node is created in y direction but other x-z-layers have more y-nodes, the single node is stored in index 0. It is returned instead of the None value in the nodes list.

Correcter way would be to check, which node is the neighbour by using position and delta values, but it is heavier to calculate.

Parameters:
  • nodes

  • x

  • y

  • z

get_last_y_object(nodes: list, x, z) Node#
lengths_to_position(the_list: list, index: int)#