Skip to main content

Mosaik Environment for palaestrAI.

Project description

Adversarial Resilience Learning --- Mosaik Environment

This projects contains the interface between palaestrAI and mosaik, the mosaik environment.

Introduction

This package allows to use worlds created with the co-simulation framework mosaik as environment in palaestrAI. The package was developed with MIDAS in mind but should work for arbitrary mosaik worlds. See documenation for more details on how to import a world.

Installation

palaestrAI-mosaik is written in Python. It provides a setup.py that installs the minimal set of packages to run ARL Mosaik. Use, preferable in a virtual environment::

 ./setup.py install

or, for development::

pip install -e .

Additional requirements are listed in the requirements.txt::

pip install -r requirements.txt

Alternatively, you can install it directly with pip

pip install palaestrai-mosaik

Usage

To run an example you have to install the requirements.txt. Under tests, you find the example_experiment_midas.yml that should be passed to the palaestrai command line interface::

palaestrai experiment-start /path/to/tests/example_experiment_midas.yml

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

palaestrai-mosaik-0.7.1.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

palaestrai_mosaik-0.7.1-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file palaestrai-mosaik-0.7.1.tar.gz.

File metadata

  • Download URL: palaestrai-mosaik-0.7.1.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for palaestrai-mosaik-0.7.1.tar.gz
Algorithm Hash digest
SHA256 9c4649780e2138bcd993138b0b9937a06651acdf7ada3c084fb05056e82e2cdf
MD5 1bc040543810279eee9eca2c639d6e73
BLAKE2b-256 467f8f6fee531a9451c9e2a2e8a52847deca0de99497ca145197bbea0372e76a

See more details on using hashes here.

File details

Details for the file palaestrai_mosaik-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for palaestrai_mosaik-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03fc2c254858096adc89c6e979c4732ffea1f82a16f34828a30eff7c3ee16e40
MD5 0992abda01aea196f7e293929ded33bc
BLAKE2b-256 9bed754934f500d58a0a22218ca2fab7d2cc44c8eeacc7398b833e62e21c5a4b

See more details on using hashes here.

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