Gridworks Marketmaker
Project description
Gridworks Marketmaker
This is the Python SDK for building MarketMakers for GridWorks. GridWorks uses distributed actors to balance the electric grid, and MarketMakers are the actors brokering this grid balancing via the markets they run for energy and balancing services.
This SDK is available as the gridworks-marketmaker pypi package. Documentation specific to using this SDK is available here. If this is your first time with GridWorks code, please start with the main GridWorks doc.
MarketMakers support grid balancing by running markets. They are geared to serve millions of coordinated and intelligent Transactive Devices, represented in their markets by AtomicTNodes. The veracity of the ex-poste energy and power data provided by AtomicTNodes to the MarketMaker is backed up via a series of GridWorks Certificates globally visible on the Algorand blockchain. These include the foundational TaDeeds that establish ownership of the underlying Transactive Device, and the TaTradingrights that give the AtomicTNode authority to represent the Transactive Device in its MarketMaker's markets.
Millinocket MarketMaker directions
These are directions for running this code as the MarketMaker in the Millinocket tutorial. These directions assume you have already started docker sandbox and the GridWorks dev rabbit broker, as described in the Demo prep.
-
Clone this repo
-
Using python 3.10.* or greater, create virtual env inside this repo
python -m venv venv source venv/bin/activate pip install -e .
3.Run the FastAPI half of the MarketMaker:
uvicorn gwmm.rest_api:app --host localhost --port 7997 --workers 5
- http://localhost:7997/ shows market maker information
- http://localhost:7997/get-time/ shows the current time of the simulation
- Run the rabbit half of the MarketMaker:
python demo.py
NOTE: This requires a TimeCoordinator and at least one AtomicTNode in order for time to move forward.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, Gridworks Marketmaker is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gridworks_marketmaker-0.0.3.tar.gz
.
File metadata
- Download URL: gridworks_marketmaker-0.0.3.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dadc663289e3bde6d63f46997b0630e8adc9e07e869c8976a2c6b87be77245a |
|
MD5 | 9efa02b3535fdc27ecf079f0ac1449ef |
|
BLAKE2b-256 | 6c33b0d4aeb96d5e3d5bc7abea985950f6487b8f9d73b93892a8c14098d59aaf |
File details
Details for the file gridworks_marketmaker-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: gridworks_marketmaker-0.0.3-py3-none-any.whl
- Upload date:
- Size: 57.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e1e27a3df4ffd40d7bdd9810dd825a35f1a6e0077d8d222f37d5bc210032ca0 |
|
MD5 | bc6d5d6d4be5686a1eba648ec38400ac |
|
BLAKE2b-256 | 11464cf4c7f98dcd78198d539cc79d336fb7f92200567b25060aa666a542b024 |