Skip to main content

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

...

Metadata

Release files for opendc-eemm 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opendc-eemm 0.0.3
File Size Uploaded
opendc-eemm-0.0.3.tar.gz 20.3 kB Details

Release files / opendc-eemm-0.0.3.tar.gz

Download URL opendc-eemm-0.0.3.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
978a2025854906a5953421be0105c63d2ceb6e276ad4c61fb6e0b3187ac43656
BLAKE2b-256 checksum
How to use checksums
eab0c1393f20254dbd91667e7b27dec9049f0ede40efa6c25e7b9081d9e8ce42
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page