solarenergy.solar_panels module

Functions for solar energy dealing with solar (PV) panels/modules.

class solarenergy.solar_panels.SolarPanels(geo_lon: float = 0.0, geo_lat: float = 0.0, az: float = 0.0, incl: float = 0.0, area: float = 0.0, eff: float = 0.0, t_coef: float = 0.0, p_max: float = 0.0)[source]

Bases: object

Dataclass containing solar-panel parameters.

area = 0.0

Surface area of solar panels (m2)

az = 0.0

‘Azimuth’ of the panel normal vector (rad; 0=S, π/2=W)

eff = 0.0

Efficiency of solar panels (0-1)

geo_lat = 0.0

Geographic latitude of the panels (rad; >0 for east of Greenwich)

geo_lon = 0.0

Geographic longitude of the panels (rad; >0 for northern hemisphere)

incl = 0.0

‘Zenith angle’ of the panel normal vector (rad; 0=horizontal, π/2=vertical)

p_max = 0.0

Maximum electrical power of solar panels or inverter (W)

t_coef = 0.0

PV temperature coefficient (/K; typically -0.005)