Solution-of-Optimal-Power-Flow-in-Power-System The code is based on Python 3 and gurobi8.0.1 powerflow is the code for data collation OPF is model building and calculation