├── .gitattributes ├── .gitignore ├── LICENSE.md ├── README.md ├── cases ├── IEEE-118 │ └── IEEE-118.raw ├── IEEE-14 │ └── IEEE-14.RAW ├── NYISO │ ├── scenario.json │ └── scenarios │ │ ├── 2030 │ │ └── NYISO_onpeak2030_v11_shunts_as_gens.raw │ │ ├── offpeak │ │ ├── NYISO_offpeak2019_v23.raw │ │ ├── NYISO_offpeak2019_v23_shunts_as_gens.raw │ │ └── NYISO_offpeak2019_v23_shunts_as_gens_costs.json │ │ └── onpeak │ │ └── NYISO_onpeak2019_v23_shunts_as_gens.RAW └── Texas7k │ └── Texas7k.RAW ├── conda.recipe ├── bld.bat ├── build.sh ├── conda_build_config.yaml └── meta.yaml ├── environment.yml ├── pyopf ├── OPF.py ├── __init__.py ├── __main__.py ├── _version.py ├── models │ ├── TransmissionElements.py │ ├── Variables.py │ └── __init__.py ├── postprocess │ ├── __init__.py │ └── postprocess.py ├── preprocess │ ├── __init__.py │ ├── argparse_actions.py │ ├── data_utilities │ │ ├── __init__.py │ │ ├── check_data.py │ │ ├── construct_infeasibility_solution.py │ │ ├── cost_utils.py │ │ ├── data.py │ │ ├── data_json.py │ │ ├── data_numpy.py │ │ ├── evaluation.py │ │ ├── infeasibility_solution.py │ │ ├── main.py │ │ ├── modify_data.py │ │ ├── scrub_data.py │ │ ├── sup_schema.json │ │ ├── swsh_utils.py │ │ ├── swsh_utils_py.py │ │ ├── write_summary_keys.py │ │ └── xfmr_utils.py │ ├── parse.py │ └── parse_filepaths.py ├── run.py └── util │ ├── Log.py │ ├── __init__.py │ ├── save_results.py │ └── update_grid_data.py ├── pyproject.toml ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── test_OPF_basic.py └── test_OPF_options.py └── versioneer.py /.gitattributes: -------------------------------------------------------------------------------- 1 | pyopf/_version.py export-subst 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/README.md -------------------------------------------------------------------------------- /cases/IEEE-118/IEEE-118.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/IEEE-118/IEEE-118.raw -------------------------------------------------------------------------------- /cases/IEEE-14/IEEE-14.RAW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/IEEE-14/IEEE-14.RAW -------------------------------------------------------------------------------- /cases/NYISO/scenario.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenario.json -------------------------------------------------------------------------------- /cases/NYISO/scenarios/2030/NYISO_onpeak2030_v11_shunts_as_gens.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenarios/2030/NYISO_onpeak2030_v11_shunts_as_gens.raw -------------------------------------------------------------------------------- /cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23.raw -------------------------------------------------------------------------------- /cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23_shunts_as_gens.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23_shunts_as_gens.raw -------------------------------------------------------------------------------- /cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23_shunts_as_gens_costs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenarios/offpeak/NYISO_offpeak2019_v23_shunts_as_gens_costs.json -------------------------------------------------------------------------------- /cases/NYISO/scenarios/onpeak/NYISO_onpeak2019_v23_shunts_as_gens.RAW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/NYISO/scenarios/onpeak/NYISO_onpeak2019_v23_shunts_as_gens.RAW -------------------------------------------------------------------------------- /cases/Texas7k/Texas7k.RAW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/cases/Texas7k/Texas7k.RAW -------------------------------------------------------------------------------- /conda.recipe/bld.bat: -------------------------------------------------------------------------------- 1 | "%PYTHON%" setup.py install 2 | if errorlevel 1 exit 1 -------------------------------------------------------------------------------- /conda.recipe/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/conda.recipe/build.sh -------------------------------------------------------------------------------- /conda.recipe/conda_build_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/conda.recipe/conda_build_config.yaml -------------------------------------------------------------------------------- /conda.recipe/meta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/conda.recipe/meta.yaml -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/environment.yml -------------------------------------------------------------------------------- /pyopf/OPF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/OPF.py -------------------------------------------------------------------------------- /pyopf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/__init__.py -------------------------------------------------------------------------------- /pyopf/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/__main__.py -------------------------------------------------------------------------------- /pyopf/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/_version.py -------------------------------------------------------------------------------- /pyopf/models/TransmissionElements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/models/TransmissionElements.py -------------------------------------------------------------------------------- /pyopf/models/Variables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/models/Variables.py -------------------------------------------------------------------------------- /pyopf/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/models/__init__.py -------------------------------------------------------------------------------- /pyopf/postprocess/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/postprocess/__init__.py -------------------------------------------------------------------------------- /pyopf/postprocess/postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/postprocess/postprocess.py -------------------------------------------------------------------------------- /pyopf/preprocess/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/__init__.py -------------------------------------------------------------------------------- /pyopf/preprocess/argparse_actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/argparse_actions.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/__init__.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/check_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/check_data.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/construct_infeasibility_solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/construct_infeasibility_solution.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/cost_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/cost_utils.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/data.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/data_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/data_json.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/data_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/data_numpy.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/evaluation.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/infeasibility_solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/infeasibility_solution.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/main.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/modify_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/modify_data.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/scrub_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/scrub_data.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/sup_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/sup_schema.json -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/swsh_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/swsh_utils.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/swsh_utils_py.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/swsh_utils_py.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/write_summary_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/write_summary_keys.py -------------------------------------------------------------------------------- /pyopf/preprocess/data_utilities/xfmr_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/data_utilities/xfmr_utils.py -------------------------------------------------------------------------------- /pyopf/preprocess/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/parse.py -------------------------------------------------------------------------------- /pyopf/preprocess/parse_filepaths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/preprocess/parse_filepaths.py -------------------------------------------------------------------------------- /pyopf/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/run.py -------------------------------------------------------------------------------- /pyopf/util/Log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/util/Log.py -------------------------------------------------------------------------------- /pyopf/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/util/__init__.py -------------------------------------------------------------------------------- /pyopf/util/save_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/util/save_results.py -------------------------------------------------------------------------------- /pyopf/util/update_grid_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyopf/util/update_grid_data.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_OPF_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/tests/test_OPF_basic.py -------------------------------------------------------------------------------- /tests/test_OPF_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/tests/test_OPF_options.py -------------------------------------------------------------------------------- /versioneer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naeem627/PyOPF/HEAD/versioneer.py --------------------------------------------------------------------------------