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

Uploaded Source

Built Distribution

palaestrai_mosaik-0.4.2-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: palaestrai-mosaik-0.4.2.tar.gz
  • Upload date:
  • Size: 278.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for palaestrai-mosaik-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f5395ffbb6a1017dbc2d4fa06bc7621b1bebcc1d1dfbb0595aa4929dedd84411
MD5 8e438c04e5d623b9f0158169f8aff10d
BLAKE2b-256 78d35490722a1f7c4c7112150dd5bac1ffb9f284bade049c70876a3232acbcd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: palaestrai_mosaik-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for palaestrai_mosaik-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48760b3ceebfc7583a82fb7014bb7637b90a14c310d67df17a33444d90d6c8ba
MD5 6c554fdc9586fd8b5788bcf20f852c94
BLAKE2b-256 e269bd4c3b11ee60615d315b16a4c2f4764b3aeffad4b58e21c7e97ca8048527

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