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.3.6.tar.gz (275.3 kB view details)

Uploaded Source

Built Distribution

palaestrai_mosaik-0.3.6-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: palaestrai-mosaik-0.3.6.tar.gz
  • Upload date:
  • Size: 275.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.5

File hashes

Hashes for palaestrai-mosaik-0.3.6.tar.gz
Algorithm Hash digest
SHA256 4770f50c8636c53ca7e306a078bebed977e7fbdf0892e9ba4674e8d5792197e8
MD5 d4b9f3c2cc3f4c8f78a1298acd21373f
BLAKE2b-256 df6892d8e7414a893981fe03a4c4b5f748448b210f8b6fd784b3ccaca76cddc0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: palaestrai_mosaik-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.5

File hashes

Hashes for palaestrai_mosaik-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 592a390c4d1b9742beda39f18c86887d1e1f5a9e6fc65213483884dfd9f13a1c
MD5 9ce9572724f020ce3ae434967c129418
BLAKE2b-256 89c9af1819fc2ab9250eb77f4603ca7515799f5f14ffe21d31c6d9427c4b1f49

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