Current modelling. Future modelling will incorporate reactive power as a non-linear function wrt maximum apparent power and real power. ↩
Except when used as a superscript in denoting Battery SOC $B^{t}_j$, $t$ refers to the average value of the variable within the time-period $t$. For Battery SOC, $B^{t}_j$ refers to the value of SOC at the end of time-period $t$. ↩
Related: You may also check out the Greedy Single Time Period Sequential OPF Model repo here. Temporal decomposition will be applied there later, after algorithm development.
It is mildly annoying to wait for all six boundary convergence plot to show up before I can see my change in output plots. Maybe I can also turn off their showing?
Because right now, with the hard terminal SOC constraint in place, whatever contribution batteries have (and they basically don't have any contribution before T = 10, but that's more likely due to a boring time-series), batteries will always give a net 'contribution' of around 0kW, because they need to ensure (about) the same horizon-total amount of charging and discharging in order to arrive at the same SOC as that at the beginning of the Multi Period.
This new metric will really give a much better perspective on the role of the batteries in the grid.
Currently only PSubs is printed out, which is unlike the OpenDSS validation script, which prints out both PSubs, QSubs for power borrowed from the substation.
Just realized that if after a simulation I run validate and then run checkForSCD iterations, they are saved wrt validateOPF's path instead of main's path, which is why I see battery scd plots in validateAgainstOpenDSS folder
Right now, because of area-wise selection of GED Buses based on a desired DER_percent and Batt_percent, causing discrepancy in both number of GED buses chosen as well as (probably) causing a non-overlapping set of GED buses to be chosen between the two simulations.
In this issue, it was found that COPF and DOPF violate the battery terminal charge penalty (a soft constraint) differently, causing different objective function values between the two simulations. Maybe it is time we put a hard constraint on it closed this gap between the simulations.
MAYBE sometimes DOPF sims are giving more optimal results compared to COPF (MAYBE).
If there is no modelling fault, then I should really check if DOPF is abusing battery energy more (pretty sure SCD is in check for both cases).