Closed TurtleCamera closed 1 year ago
Load the result to data only when the termination_status
is locally_solved
.
@TurtleCamera you can move forward with processing the JSON file into dataset.py
Notes:
load
on bus
with pd
and qd
valuespg
and qg
on gen
pd
and pd
are the perturbed values for load in buses, but with a scalar mpc['bus']['Pd'] = 100 * load_data['net']['load'][k]['pd']
AC_OPF setting is considered as reg problem. Ignore for now.
Change in code
ac_opf
h_data['y']
with the optimalpg
fromgen
results
results
~result
~branch
hasqf
,qt
,pt
,pf
~gen
hasqg
~bus
hasva
,vm
~Change in training
DataLoader
Update the model as the regression model to predict the
pg
/qg
/va
/vm
in generator/bus Keep the DC network as it is.