🧪 This repository holds all shared code for the AiNed project 'AI for the Future Energy System (AIFES)'.
Useful links
Electricity flows through the land,
A force of nature, ever grand,
But with demand that’s on the rise,
Our grids must evolve to be wise.
Enter AI, with powers vast,
To optimize the power cast,
To manage energy supply,
And help the planet to get by.
With solar panels on the rise,
And turbines spinning to the skies,
Electric cars on every street,
We need the grid to be complete.
But variability is the bane,
Of these renewable energy trains,
The sun may hide, the wind may still,
The power may just fall to nil.
But with AI to lend a hand,
We can create a better brand,
Of grid that’s smart, that can adapt,
To any change, without mishap.
With data analyzed to a tee,
AI can optimize the energy,
Stored and released when it’s due,
To power homes and cars anew.
So let us look towards the sun,
And harness wind until we’re done,
Let AI take control of the grid,
And let clean energy take the lead.
Automated steps
- Automatic linting of Python, Markdown, config files, etc. using pre-commit
- Nice default GitHub settings (just install the Probot settings app to your repo)
- IDE hints via EditorConfig with good defaults for most languages
- CodeMeta and CITATION.cff
- Nice gitignore, dockerignore, changelog, and other misc files
- Example/stub Conda environment file, Vagrantfile, and shields
How to download needed data, run the code, etc.
- Clone this repository
- Create virtual environment from yaml:
conda env create --file=environment.yml
- Run
pre-commit install
. - Create a .data folder in the root of the project, this folder is excluded by git. Then, download the data from Sharepoint (not public), and move it to the .data folder
- Commit and push to main. Linting and clean-up of output cells is performed automatically. If a linter fails on commit, just re-run. It just meant the linter modified a file.
This project is licensed under the Apache License 2.0.
Contributions and questions are welcome. For reference, refer to the Code of Conduct, contributing guide and security policy.