This project contains code and data to model the electric system. It relies mainly on a combined use of
- two well known python packages (panda and pyomo) for linear programming adapted for the specific use of electric system modeling.
- a package of my own dynprogstorage for efficient storage optimisation (with ad-hoc ) that can be installed with pip
The installation relies on the use of a conda environment. Instruction is below
conda env create robin.girard/energyalternatives
conda activate energyalternatives
Or just to update the environment
conda env update --file conda.yml
If you're using PyCharm you should fix the environement in settings by choosing the right "python interpreter"
I strongly recommend to use the keyboard shortcut "crtl+enter" for action "Execute selection". This can be set in PyCharm Settings -> keymap
Contains CSV files for the project projet (Wind/PV power instantaneous load factor, availability time series of french nuke, consumption, economic data for operation and planing), These files are loaded in the different examples given in the next section (see in particular Economic Assumptions in file input-Economic.ipynb , Availability/load factor Assumptions in file input-Availability.ipynb Model consumption in file input-Consumption.ipynb ).
New data and associated documentation are welcome here to allow modeling of more different asses.
Contains python files exposing basic functionalities. For each .py file there is an associated Jupyter Notebook that explains the content with text and math formulae Hence, if you want to learn how to use the exposed tools, you can star having a look at how to
- Economic Assumptions in file input-Economic.ipynb
- Availability/load factor Assumptions in file input-Availability.ipynb
- Model consumption in file input-Consumption.ipynb
- optimisation of operation in file optim-Operation.ipynb
- optimisation of storage operation in file optim-Storage.ipynb
- optimisation of planing in file optim-Planing.ipynb
- Advanced optimisation of operation in file optim-Operation-Advanced.ipynb
- Advanced optimisation of planing in file optim-Planing-Advanced.ipynb
Contains used function for planing and operation of electric system, for demand modeling, together with graphical tools. n de la thermosensibilité
This folder contains subjects for analysis and a practical work