VERenewables

class iesve.VERenewables

Bases: object


get_chp_data() dict

Returns all CHP data. Dictionary fields are:

Key

Description

electrical_generation_meter

Electrical generation meter name

is_enabled

Whether CHP data is enabled

min_fraction_rated_heat_output

Fraction of rated heat

min_power_efficiency

Minimum power efficiency

min_thermal_efficiency

Minimum thermal efficiency

profile

Name of profile for heat matching strategy

quality_index

Quality index

rated_heat_output

Heat output

rated_power_efficiency

Power efficiency at rated output

rated_thermal_efficiency

Thermal efficiency at rated output

source_meter

Source meter name


get_pv_data() dict

Returns data for all PVs. Possible dictionary fields are (varies by PV class):

Key

Description

area

Area of the PV panel

azimuth

Azimuth of the PV

cell_efficiency

Cell efficiency

cell_surface

Cell surface

description

PV panel description

geometric_concentration

Geometric concentration

id

ID of the PV panel

inclination

PV inclination

linear_temperature_factor

Linear temperature factor

meter

Energy meter

num_cells

Number of cells

optical_efficiency

Optical efficiency

power_temperature_coefficient

Power temperature coefficient

shading_factor

PV shading factor

spectral_factor

Spectral factor

tracking_device_power_losses

Tracking device power losses

tracking_error

Tracking error

type_id

PV type ID. Use with get_pv_type_by_id() to get PV

type data


get_pv_data_by_id(id: str) dict

Returns PV data from the given ID. Possible dictionary fields are (varies by PV class):

Key

Description

area

Area of the PV panel

azimuth

Azimuth of the PV

cell_efficiency

Cell efficiency

cell_surface

Cell surface

description

PV panel description

geometric_concentration

Geometric concentration

id

ID of the PV panel

inclination

PV inclination

linear_temperature_factor

Linear temperature factor

meter

Energy meter

num_cells

Number of cells

optical_efficiency

Optical efficiency

power_temperature_coefficient

Power temperature coefficient

shading_factor

PV shading factor

spectral_factor

Spectral factor

tracking_device_power_losses

Tracking device power losses

tracking_error

Tracking error

type_id

PV type ID. Use get_pv_type_by_id() to get PV type data


get_pv_type_by_id(id: str) dict

Returns data for a PV type from the given ID. Dictionary fields are:

Key

Description

degradation_factor

Degradation factor

description

PV type description

electrical_conversion_efficiency

Electrical conversion efficiency

id

ID of the PV type

meter

Energy meter

module_nominal_efficiency

Module nominal efficiency

noct

Nominal cell temperature (NOCT)

ref_irradiance

Reference irradiance for NOCT

technology

Name of PV type technology

temp_coefficient

Temperature coefficient for module efficiency


get_pv_types() list[dict]

Returns data for all PV types. Dictionary fields are:

Key

Description

degradation_factor

Degradation factor

description

PV type description

electrical_conversion_efficiency

Electrical conversion efficiency

id

ID of the PV type

meter

Energy meter

module_nominal_efficiency

Module nominal efficiency

noct

Nominal cell temperature (NOCT)

ref_irradiance

Reference irradiance for NOCT

technology

Name of PV type technology

temp_coefficient

Temperature coefficient for module efficiency


get_wind_data() dict

Returns all wind data. Dictionary fields are:

Key

Description

hub_height

Hub height

is_enabled

Whether wind data is enabled

meter

Energy meter

rated_power

Rated power


set_chp_data(**kwds)

Helper for @overload to raise when called.


set_pv_data(data: dict, id: str) None

Sets data for a PV panel. Possible dictionary entries are:

  • area

  • azimuth

  • cell_efficiency

  • cell_surface

  • description

  • geometric_concentration

  • inclination

  • linear_temperature_factor

  • meter

  • num_cells

  • optical_efficiency

  • power_temperature_coefficient

  • shading_factor

  • spectral_factor

  • tracking_device_power_losses

  • tracking_error

  • type_id


set_pv_type_data(data: dict, id: str) None

Sets data for a PV type.

Parameters:
  • data (dict) –

    Possible entries:

    • degradation_factor

    • description

    • electrical_conversion_efficiency

    • meter

    • module_nominal_efficiency

    • noct

    • ref_irradiance

    • technology

    • temp_coefficient

  • id (str) – PV type ID


set_wind_data(**kwds)

Helper for @overload to raise when called.



Enums

class iesve.pvs_type(*values)

Bases: IntEnum


amorphous_silicon = 2


monocrystalline_silicon = 0


other_thin_film = 3


polycrystalline_silicon = 1


thin_film_cadmium = 4


thin_film_copper = 5



class iesve.reference_irradiance(*values)

Bases: IntEnum


irad_1000wm2 = 1000


irad_800wm2 = 800