pyrc.core.wall#

class Wall(azimuth_deg=180, location: tuple = (53.0123, 7.0123), tilt_deg=90, sight_factor_sky=None)#

Bases: object

Parameters:
  • azimuth_deg (float) – Wall azimuth angle in degrees (0 = north, 90 = east, 180 = south, …).

  • location (tuple) – Latitude and longitude of the location in degrees.

  • tilt_deg (float) – Tilt angle of the wall from horizontal in degrees (90 = vertical, 0 = flat).

  • sight_factor_sky (float, optional) – The sight factor to the atmosphere (sky). If None, it is calculated.

__init__(azimuth_deg=180, location: tuple = (53.0123, 7.0123), tilt_deg=90, sight_factor_sky=None)#
Parameters:
  • azimuth_deg (float) – Wall azimuth angle in degrees (0 = north, 90 = east, 180 = south, …).

  • location (tuple) – Latitude and longitude of the location in degrees.

  • tilt_deg (float) – Tilt angle of the wall from horizontal in degrees (90 = vertical, 0 = flat).

  • sight_factor_sky (float, optional) – The sight factor to the atmosphere (sky). If None, it is calculated.

apply_direct_radiation(values: ndarray, dates: ndarray) ndarray#

Changes horizontal values to actual values.

Parameters:
  • values (np.ndarray) – The values of the direct solar radiation measures on a horizontal plane.

  • dates (np.ndarray) – The date times of the values.

Returns:

The values of the direct solar radiation measures on the wall.

Return type:

np.ndarray

apply_ground_radiation(values: ndarray) ndarray#

Like apply_direct_radiation but applies radiation to the ground.

Parameters:
  • values (np.ndarray) – The values of the diffuse solar radiation measures on a horizontal plane.

  • dates (np.ndarray) – The date times of the values.

Returns:

The values of the diffuse solar radiation measures on the wall reduced by the sight factor of the wall.

Return type:

np.ndarray

apply_sky_radiation(values: ndarray) ndarray#

Like apply_direct_radiation but applies radiation to the sky.

Parameters:
  • values (np.ndarray) – The values of the diffuse solar radiation measures on a horizontal plane.

  • dates (np.ndarray) – The date times of the values.

Returns:

The values of the diffuse solar radiation measures on the wall reduced by the sight factor of the wall.

Return type:

np.ndarray

calculate_sight_factor_sky()#
property latitude#
property longitude#