Skip to main content

''

Project description

OpenDC EEMM

OpenDC Extension for Energy Modelling & Management

version License doc travis MaintenancePercentage of issues still open PRs Welcome

pypi

Info

Document: https://opendc-eemm.rtfd.io.


Get Started

First, you need to download market data in CSV format from the following offical websites:

  • Day-ahead market data: ENTSO-E
  • Imbance market data: TenT

Note that data from ENTSO-E is in CET, whilst data from TenT is in GMT. Please make sure that all market data you selected are of the same period. The ./example/market/ directory contains two such sample datasets.

Next, to run the example, you also need the simulation results produced by the OpenDC datacenter simulator. A sample parque file can be found here.

Installation

Please follow the instructions presented here.

Usage

Top-level commands

usage: opendc-eemm [-v] [-h] -t path [--pue float] {trace,market,decision} ...

CLI of OpenDC Extension for Energy Modelling & Managament.

optional arguments:
  -v, --version         Show version number of the package and exit.
  -h, --help            Show the help messages and exit.
  -t path, --trace path
                        Path to simulation results (expecting a Parque file).
  --pue float           PUE value of the simulatied datacenter.

subcommands:
  Available commands.

  {trace,market,decision}
    trace               Visualize simulation results.
    market              Compare costs in different markets.
    decision            Optimize fine-grained decision-making.

Visualize simulation results

usage: opendc-eemm trace [-h] -s ['power', 'oc'] [-f float] [-g value]

optional arguments:
  -s ['power', 'oc'], --show ['power', 'oc']
                        Choose 'power' to show power draw; choose 'oc' to show over-commissioned.
  -f float, --frequency float
                        Frequency of simulated machines.
  -g value, --governor value
                        Governor to visualize.

Analyze energy markets

usage: opendc-eemm market [-h] -s ['load', 'strategy'] -o float -d path -i path

optional arguments:
  -s ['load', 'strategy'], --show ['load', 'strategy']
  -o float, --od_price float
                        On-demand energy price.
  -d path, --dayahead_prices path
                        Path to day-ahead energy prices (expecting a CSV file).
  -i path, --imbalance_prices path
                        Path to imbalance energy prices (expecting a CSV file).

Invoke DVFS scheduler

usage: opendc-eemm decision [-h] -o ['score', 'schedule'] [-f float] -d path -i path -p path -a ['first', 'last', 'mean'] [-s path]

optional arguments:
  -o ['score', 'schedule'], --option ['score', 'schedule']
                        Choose 'score' to compute the agreement accuracy (AA) sore of the predictions; choose 'schedule' for DVFS
                        scheduling.
  -f float, --factor float
                        Damping factor of the DVFS scheduler.
  -d path, --dayahead_prices path
                        Path to day-ahead energy prices (expecting a CSV file).
  -i path, --imbalance_prices path
                        Path to imbalance energy prices (expecting a CSV file).
  -p path, --predictions path
                        Machine learning predictions (expecting a CSV file).
  -a ['first', 'last', 'mean'], --aggregate ['first', 'last', 'mean']
                        Aggregation method for machine learning predictions.
  -s path, --save_to path
                        Destination path of the DVFS schedule.

History

...

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

opendc-eemm-0.0.3.tar.gz (20.3 kB view details)

Uploaded Source

File details

Details for the file opendc-eemm-0.0.3.tar.gz.

File metadata

  • Download URL: opendc-eemm-0.0.3.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for opendc-eemm-0.0.3.tar.gz
Algorithm Hash digest
SHA256 978a2025854906a5953421be0105c63d2ceb6e276ad4c61fb6e0b3187ac43656
MD5 7b005f522598bb52e85a0f6768dae66f
BLAKE2b-256 eab0c1393f20254dbd91667e7b27dec9049f0ede40efa6c25e7b9081d9e8ce42

See more details on using hashes here.

Supported by

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