Source code for the final project (exam project) for course 02223 Model-Based Systems Engineering at the Technical University of Denmark.
Ensure Python3 is installed.
Install dependencies in requirements.txt by executing command:
pip3 install -r requirements.txt
Constants can be changed in constants.py
Run the program using
python3 -m DistributedStructure.MainEnergyGrid.py
Results are saved in plots/output.json
Files in /plots contain various plots. Requires running the main program first to generate the output JSON.
Plots are saved as a PDF in /output (This folder might need to be created manually).