acept.examples.main_example

Main example for building the scenario profiles for a given PLZ and year.

To run the example use the following command with the venv activated:

$ source venv/bin/activate
$ cd src/acept
$ python examples/main_example.py

Module Contents

Functions

build_scenario_profiles_for_plz_year(→ dict)

Build the scenario profiles for the given input

Attributes

plz_cli

acept.examples.main_example.build_scenario_profiles_for_plz_year(plz: int, year: int = 2011) dict[source]

Build the scenario profiles for the given input

The scenario profiles are built for the temperature profile and the PV capacity factor profiles The scenario profiles are saved in the acept.acept_constants.TEMP_PATH directory

Parameters:
  • plz (int) – PLZ to search

  • year (int) – year to use for the scenario profiles

Returns:

The paths to the created scenario profiles in a dictionary

Return type:

dict

acept.examples.main_example.plz_cli = 91126[source]