This is the source code of the optimisation unit for the BAP Project: Power flow control in a substation of a wind- and solar farm.
The main function is the starting point when running this code. There are various functions used by this main in order to run the code. There are also supplementaty scripts which are used to plot e.g. park capabilities. For the working of the code, there are various comments placed into the corresponding part.