ahalev / python-microgrid

python-microgrid is a python library to generate and simulate a large number of microgrids.
https://python-microgrid.readthedocs.io
GNU Lesser General Public License v3.0
56 stars 6 forks source link

multi-microgrids environment #101

Closed WDzhd closed 6 months ago

WDzhd commented 6 months ago

Hi, I am currently conducting research on optimization of multi-microgrid system witn shared energy storage based on multi-agent deep reinforcement learning. The model involves multiple microgrids and shared energy storage stations. Can your project achieve the generation of the above model? If I need to modify your code, could you give me some suggestions?

ahalev commented 6 months ago

That would appear to be a viable use case. You would need to initialize multiple Microgrid objects with the same Battery object. You may need to subclass Microgrid._get_module_container to remove the deepcopy call to ensure the battery references point to the same object.