Skip to main content

Database Connection for OpenSTF

Project description

icarus-base - Korte Termijn Prognoses

Documentation (master)

Alliander heeft slimme, zelflerende algoritmes ontwikkeld die voorspellen wat de belasting op het elektriciteitsnet gaat worden voor de komende paar dagen. De toename van fluctuerende, duurzame bronnen zoals wind en zon maken de elektriciteitsbelasting steeds grilliger, terwijl de stijgende elektriciteitsvraag zorgt voor minder ruimte op het net. Om lokaal vraag en aanbod van energie op elkaar af te stemmen, helpt het om al vóóraf inzicht te hebben in wat er op het net gaat gebeuren. Meer informatie en achtergonden staan op onze wiki

Install

  1. Clone repository
  2. Install by running pip install . in the icarus-tools directory
  3. Collect acc-secrets.yaml and prd-secrets.yaml files from a KTP teammember or KeePass
  4. Place it in the 'HOME' directory (see the config manager documentation for tips)
    • On Windows this is usually C:\Users\<YOUR_USER_NAME>
  5. Enjoy!

Usage

This is a package with functionality to support the Korte Termijn Prognoses workflow. Most important is the DataBase class. This class give access to the data used by KTP via an convenient interface. You can use it, for example, to retrieve a prediciton job by running the following lines of code:

from openstf_dbc.database import DataBase

db = DataBase()

pj = db.get_prediction_jon(307)

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Contact

korte.termijn.prognoses@alliander.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openstf_dbc-1.0.0.tar.gz (43.0 kB view hashes)

Uploaded Source

Built Distribution

openstf_dbc-1.0.0-py3-none-any.whl (52.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page