Skip to main content

Operational & economic simulation of Microgrid projects

Project description

Microgrids.py

The Microgrids.py package allows simulating the energetic operation of an isolated microgrid, returning economic and operation indicators.

Installation with pip:

pip install -U microgrids

Documentation

See the Microgrid_py_PV_BT_DG.ipynb notebook example which walks through:

  1. the main data structure to describe a Microgrid project
  2. the main function to simulate it and display the results

You can have a live demo of this notebook right in your browser: Microgrid_py_PV_BT_DG.ipynb web demo (from Microgrids.web repository).

Acknowledgements

The development of Microgrids.jl (sibling package in Julia) was first led by Evelise de Godoy Antunes. She was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nı́vel Superior - Brasil (CAPES) – Finance Code 001, by Conselho Nacional de Desenvolvimento Cientı́fico e Tecnológico - Brasil (CNPq) and by the grant “Accélérer le dimensionnement des systèmes énergétiques avec la différentiation automatique” from GdR SEEDS (CNRS, France).

Other microgrids-related packages in Python

Found by searching for "microgrid" on PyPI or from personal knowledge:

  • PyEPLAN: a free software toolbox for designing resilient mini-grids in developing countries. From Leeds, CUT, ICL.
  • pymgrid (PYthon MicroGRID): a python library to generate and simulate a large number of microgrids.
  • OpenModelica Microgrid Gym (OMG): a software toolbox for the simulation and control optimization of microgrids based on energy conversion by power electronic converters.
    • “The main characteristics of the toolbox are the plug-and-play grid design and simulation in OpenModelica as well as the ready-to-go approach of intuitive reinforcement learning (RL) approaches through a Python interface.”
    • “The OMG toolbox is built upon the OpenAI Gym environment definition framework. Therefore, the toolbox is specifically designed for running reinforcement learning algorithms to train agents controlling power electronic converters in microgrids. Nevertheless, also arbritary classical control approaches can be combined and tested using the OMG interface.”
  • CVXMG: Planning of Microgrids considering Demand Side Management Strategies using Disciplined Convex Deterministic and Stochastic Programming

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

microgrids-0.3.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microgrids-0.3.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file microgrids-0.3.1.tar.gz.

File metadata

  • Download URL: microgrids-0.3.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for microgrids-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6f785429e93694504b27cf374c488bbc80c121d2cb5ac335dd7482f27589c124
MD5 950890280b3f01043fb00cae3f73b703
BLAKE2b-256 9188365488830877d78e0da24dc1c7ba71f265fb89f3d8668f7cc7b52008739c

See more details on using hashes here.

File details

Details for the file microgrids-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: microgrids-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for microgrids-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb36f61e9c7438f96726e65fa6ff3e82b7756518451f8227725e6b7f124d9bb4
MD5 cd4e02667376e3321d2cc86a22c3179b
BLAKE2b-256 23a5ee7e15ba696e500d403a0d94cec4e7195e4c3a1093c422259be8a046bf1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page