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

Uploaded Source

Built Distribution

palaestrai_mosaik-0.4.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: palaestrai-mosaik-0.4.0.tar.gz
  • Upload date:
  • Size: 277.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for palaestrai-mosaik-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e1ad1453e71b50b51a445e83100a4b0dbc592f188c59ec5dc08fe88af70ff778
MD5 4142a8ae009a7cdc9fbd73cfdc4daf6c
BLAKE2b-256 0afb2aaea918fdb87a2e9f4ee32285a1f225ca08e2be59a93a63c3aa169ef1e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: palaestrai_mosaik-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for palaestrai_mosaik-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b64f7e9fe1d1750ac1cdaf956a58e1c4d52e7020494eb016b6828445ad90ba
MD5 a19933ca956285ea0fe874a030540dfc
BLAKE2b-256 e8a458b083639def614e33e6efb885d9123b140a668a4d1efafe712d930818d6

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