Skip to main content

A development toolkit for simulating energy systems

Project description

License: GPL v2 documentation

Illuminator

The Illuminator is an easy-to-use Energy System Integration Development kit to demystify energy system's operation, illustrate challenges that arise due to the energy transition and test state-of-the-art energy management concepts. The kit utilises Raspberry Pi's as individual components of an energy system emulator, and the simulation engine is based on Mosaik.

Installation

Requirements

  • The toolkit requires a RaspberryPi cluster with at least two nodes. But Illuminator can alos be installed in a PC.
  • Miniconda (optional)

Using Conda

The environment.yml provides all dependecies to create a conda environment called Ecosystem.

conda env create -f environment.yml

conda activate Ecosystem

Raspberry Pi Setup

The setup for the Illuminator requires one master Raspberry Pi and several clients Raspberry Pi's. Raspberry Pi's must be connected and configured as a local network, and the master must be configured to have permissions to access and control the clients through Secure Shell Protocol (SSH).

During simulation, the master engage with the clients to run the simulations defined in the simulation configuration, and information is exchanged between Rasberry Pi's using network sockets. The master provides a Dashboard to viazulize the results, and saves them to a .csv files for later analysis.

Set up a Raspberry Pi cluster

  1. Install Raspberry pi OS using Raspberry Pi imager.

  2. Set an static IP addresse for each Raspberry Pi. Use the following command on the terminal to open the dhcpcd.conf file:

    sudo nano /etc/dhcpcd.conf
    

    In the dhcpcd.conf file, find the information to change the IP address as static as following:

    interface etho
    static ip_address=192.168.0.1/24 # change the IP address as you want
    

    Finally, reboot the Raspberry Pi suing sudo reboot on the terminal.

  3. Configure SSH connections so that the master can connect to the clients without a password.

  4. Install the following Python packages.

    pandas
    tk
    python-csv
    datetime
    python-math
    numpy
    scipy
    arrow
    mosaik
    mosaik_api
    mosaik.util
    wandb
    matplotlib
    itertools
    
  5. Send the Illuminator package [TODO: What is the illuminator package?] to all clients. Use the following command on the master's terminal to check the connection between master and the clients

    ssh illuminator@ip #ip represent your follower IP address
    

    [TODO: This suggest that all Pi's need a user with the name 'illuminator']

  6. Run the buildcilentremoterun.py file on each client and give all users execute permission to all the documents in runshfile/ in order to make sure the leader can access the client model.

    chmod -R a+X *dir*
    

More detialed instructions are given in the user guide document and the model build up document.

PC Setup

To install the Illuminator in one regular PC:

  1. Clone this repository.
git clone https://github.com/Illuminator-team/Illuminator.git
  1. Create a conda environement using the YAML file in the root of the repository, as follows:
conda env create -f environment.yml

conda activate Ecosystem
  1. Refer to the documenation for an explanation on how to set up and run a simulation.

Contributing Guidelines

The Illuminator team accepts contributions to the Illuminator source, test files, documentation, and other materials distributed with the program. To contribute read our guidelines

License

Illuminator is available under a GNU Lesser General Public License (LGPL). The Illuminator team does not take responsibility for any damage or loss derive from using this sourcecode.

Citation

Please cite this software as follows:

A. Fu, R. Saini, R. Koornneef, A. van der Meer, P. Palensky and M. Cvetković, "The Illuminator: An Open Source Energy System Integration Development Kit," 2023 IEEE Belgrade PowerTech, Belgrade, Serbia, 2023, pp. 01-05, doi: 10.1109/PowerTech55446.2023.10202816.

Contributors

Many people have contributed to the development of Illuminator, we list their names and contributions below:

Role Contributor
Conceptualization A. Fu, A. Neagu, M. Cvetkovic, M. Garcia Alvarez, M. Rom
Funding acquisition A. Fu, M. Cvetkovic, P. Palensky
Project management A. Neagu, M. Cvetkovic
Research A. Fu, M. Cvetkovic, N. Balassi, R. Saini, S.K. Trichy Siva Raman
Resources R. Koornneef
Software A. Fu, J. Grguric, J. Pijpker, M. Garcia Alvarez, M. Rom.
Supervision A. Neagu, M. Cvetkovic

Acknowledgements

The Illuminator team extends its sincere gratitude for the invaluable support and contributions from our dedicated members:

  • Aihui Fu, who played a pivotal role as the main developer for both Versions 1.0 and 2.0.
  • Remko Koornneef, whose expertise in hardware development has been instrumental.
  • Siva Kaviya, for her significant contributions to the development of the initial version.
  • Raghav Saini, for his substantial involvement in developing the models for Version 1.0.
  • Niki Balassi, for his crucial role in advancing the multi-energy system models in Version 2.0.

Each of these individuals has been essential in shaping the success and evolution of our project. We are profoundly thankful for their dedication and expertise.

Contact and Support

For more comprehensive support, please contact us at illuminator@tudelft.nl. Additionally, you can reach out to the main contributors for specific inquiries:

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

illuminator-3.0.0a0.tar.gz (39.6 MB view details)

Uploaded Source

Built Distribution

illuminator-3.0.0a0-py3-none-any.whl (11.0 MB view details)

Uploaded Python 3

File details

Details for the file illuminator-3.0.0a0.tar.gz.

File metadata

  • Download URL: illuminator-3.0.0a0.tar.gz
  • Upload date:
  • Size: 39.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for illuminator-3.0.0a0.tar.gz
Algorithm Hash digest
SHA256 7ee622869dbb4f2e8dca194babaf0b1a99ef17f8f4295d340da258ec86c9484f
MD5 5e554883966ee50a0c2a8d1ab06b8270
BLAKE2b-256 8d866cb17d4ba445946723d00599112ad7b53d8e01e3e47724dc9b42cf5a74b5

See more details on using hashes here.

File details

Details for the file illuminator-3.0.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for illuminator-3.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 73eca38b235d9dadf5931bca3b87dd4c03c1d9d5486ebfd612c3d12377cf3034
MD5 3a906b8ec820f1d1b41d9264a4dc745c
BLAKE2b-256 cbd231ace0e514bea70b1d2a7234ab26cddf1b95fb2d5377e020518c262f6f60

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