antupy.tsg.weather.TMY#

class antupy.tsg.weather.TMY(dataset: str = 'meteonorm', location: str | Location = <factory>, time_params: TimeParams = <factory>)[source]#

TMY (Typical Meteorological Year) weather generator. One year of data, usually with TMY files.

Parameters:
  • dataset (str) – Source of weather data. Options: “meteonorm”, “merra2”.

  • location (str | Location) – City where the simulation is performed.

  • time_params (TimeParams) – Time parameters defining the simulation period.

__init__(dataset: str = 'meteonorm', location: str | Location = <factory>, time_params: TimeParams = <factory>) None#
Parameters:
Return type:

None

Methods

__init__(dataset, location, time_params)

load_data()

Load TMY data based on the instance's time_params.

Attributes

dataset

location

time_params