Skip to main content

A simulator for carbon-aware applications and systems.

Project description

Vessim

PyPI version Build License Supported versions

Vessim is a versatile co-simulation testbed for carbon-aware applications and systems. It lets users connect domain-specific simulators for energy system components like renewable power generation, energy storage, and power flow analysis with real software and hardware.

Vessim is in alpha stage and under active development. Functionality and documentation will improve in the next weeks and months.

⚙️ Installation

If you are using Vessim for the first time, we recommend to clone and install this repository, so you have all code and examples at hand:

$ pip install -e .

Alternatively, you can also install our latest release via pip:

$ pip install vessim

🚀 Getting started

To execute our exemplary co-simulation scenario, run:

$ python examples/cosim_example.py

Software-in-the-Loop Simulation

Software-in-the-Loop (SiL) allows Vessim to interact with real computing systems. There is not yet good documentation on how to set up a full SiL scenario, but you can play with the existing functionality by installing

pip install vessim[sil]

and running:

$ python examples/cosim_sil_example.py

Vessim Base Components

We are still working on examples for the base modules such as CarbonApi or Generator which can be used directly without the use of Mosaik to support simple experiments that do not require the entire co-simulation engine to run.

Documentation and API are in progress.

🏗️ Development

Install Vessim with the dev option in a virtual environment:

python -m venv venv                # create venv
. venv/bin/activate                # activate venv
pip install ".[sil,dev,analysis]"  # install dependencies

📖 Publications

If you use Vessim in your research, please cite our vision paper:

Bibtex:

@misc{vessim2023,
    title={A Testbed for Carbon-Aware Applications and Systems}, 
    author={Wiesner, Philipp and Behnke, Ilja and Kao, Odej},
    year={2023},
    eprint={2306.09774},
    archivePrefix={arXiv},
    primaryClass={cs.DC}
}

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

vessim-0.2.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vessim-0.2.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file vessim-0.2.0.tar.gz.

File metadata

  • Download URL: vessim-0.2.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.12 Darwin/22.3.0

File hashes

Hashes for vessim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 27945e64b2e939f6da6b76e494b2e6abb788788de5024715cceba9d508721bf7
MD5 aefdf0e2dfc581361d222d6cb3dac28d
BLAKE2b-256 853defc4f8db14a43469321216303a32f287d065b19b9fc54be8ca4dc939fad8

See more details on using hashes here.

File details

Details for the file vessim-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vessim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.12 Darwin/22.3.0

File hashes

Hashes for vessim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4acc7cbc774e6a588d94dc544576091eb5e1443b8cabcbb49bfe5928076acaa
MD5 faa377d3fca4a665b33733a2644dc766
BLAKE2b-256 96763145c147aeaab39d5fd083a90a0949bcf4b7921b368506757e5d6b4131f2

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