Migrate all optimization code to a github submodule to clean up file hierarchy and simplify programming pipeline through a mirrored repo that fetches from the CMU SUGAR-D gitlab repo.
Added line-power functions to lines class and verified correct scaling with changes in load
Challenges Encountered:
Battery lambda gradient no longer converges with correct Lb equation stamp due to numerical tolerance issues.
Line-powers are incorrect by a factor of 2
Created an output function that generates a datastructure containing relevant optimization outputs for each period across all epochs.
line powers
generation powers
total generation
total cost
maximum and minimum voltages
battery state of charge
battery charge rate
Next Steps:
Fix numerical tolerance issues and investigate multi-period convergence across multiple epochs
Produce more example grid models to test the webapp
Further test the modifications of PQ loads to find limits