https://github.com/sgpinkus/microgrid_device_kit_market_simulations
Experiement device_kit based microgrid market simulation scripts.
https://github.com/sgpinkus/microgrid_device_kit_market_simulations
Last synced: about 2 months ago
JSON representation
Experiement device_kit based microgrid market simulation scripts.
- Host: GitHub
- URL: https://github.com/sgpinkus/microgrid_device_kit_market_simulations
- Owner: sgpinkus
- Created: 2023-01-05T04:30:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T23:46:04.000Z (10 months ago)
- Last Synced: 2025-02-13T14:18:03.385Z (4 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MICROGRID DEVICE_KIT MARKET SIMULATIONS
This is a simple wrapper over [device_kit](https://github.com/sgpinkus/device_kit) microgrid modelling tool, that simulates market / auction based price adjustment (or equivalently distributed gradient descent), to find an optimal resource allocation and corresponding prices. Currently only supports point bid agent strategy with an optional proximal penalty. Some convenience scripts to generate plots and gifs are included.# INSTALLATION
```
git clone https://github.com/sgpinkus/device_kit_market_simulations && cd device_kit_market_simulations
pip install -r requirements.txt
```# USAGE
`run.py` runs `device_kit` "scenarios" which are model of day-ahead flexibility to do anything. Example:./run.py device_kit/sample_scenarios/ev_charge_scenario.py -i50
This will create a directory in the CWD that stores the results. The results can be inspected with `report.py`.
This more complex scenario is a variation of the scenario presented in [Li, Chen & Low 2011][lcl]:
./run.py scenario/lcl/lcl_scenario.py --stepsize="1/(steps+10)" --maxiter=100 --tol="5e-3" -d my-run
./report.py my-run --movie -v0 -e5[lcl]: https://ieeexplore.ieee.org/abstract/document/6039082/