-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: new energy storage opfitd problem specification #19
Merged
juanjospina
merged 16 commits into
lanl-ansi:main
from
juanjospina:add-energystorage-costs
Nov 27, 2023
Merged
ADD: new energy storage opfitd problem specification #19
juanjospina
merged 16 commits into
lanl-ansi:main
from
juanjospina:add-energystorage-costs
Nov 27, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…eration of the eng2math_passthrough both in single network and multinetwork applications.
…itd_storage to perform opf considering storage costs.
…ergy storage costs in the objective function for the opf optimization
…itd_pass.jl unit tests.
…stribution systems.
… any solve_x functions.
…ed BeginnersGuide and dependencies.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 79.80% 80.57% +0.77%
==========================================
Files 28 30 +2
Lines 4040 4885 +845
==========================================
+ Hits 3224 3936 +712
- Misses 816 949 +133 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) Template
This PR is a major PR that adds a new problem specification that allows running a OPFITD considering storage costs. The names of the new problem specifications are:
solve_opfitd_storage(...)
- single network (single timestep)solve_mn_opfitd_storage(...)
- multinetwork (multi-timestep)Major Changes:
eng2math_passthrough
parameter to allinstantiate_model(..)
andsolve_X(...)
functions.opftid_storage.jl
that test the correct operation of theeng2math_passthrough
both in single network and multinetwork applications.opftid_storage.jl
unit tests.build_opfitd_storage
andbuild_mn_opfitd_storage
toprob/opfitd_storage.jl
that perform opf optimization taking into account storage costs.objective_storage.jl
that consider energy storage costs in the objective function for the opf optimization.opftid_storage.jl
that test the new costs functions with energy storage costs added._compute_default_strg_cost_transmission
and_compute_default_strg_cost_distribution
todata.jl
that compute default costs for storage devices based on dafault parameters. Users are encouraged to use their own costs.common.jl
functionsparse_power_distribution_file
andparse_power_transmission_file
that adds default costs to distribution and transmission system(s) storage devices when parsing their individual files.solve_opfitd_storage
andsolve_mn_opfitd_storage
functions inopfitd_storage.jl
, so that theeng2math_passthrough = Dict("storage"=>["cost"])
is done automatically. PMITD assumes that if an user is running thesolve_opfitd_storage(...)
function, then storage costs should be passed fromENG
toMATH
models.opfitd_storage.jl
.opfitd
andopfitd_oltc.jl
where the versions used were the_mi
mixed integer versions.objective_storage.jl
to take into account the cost of discharging the storage devices in the transmission system. Also, added in-situ conversion for the PMD cost that converts the$/kWh
->$/pu
cost, so that the user can provide the$/kWh
in theENG
model, avoiding confusions.solve_opfitd_storage(..)
andsolve_mn_opfitd_storage(..)
. This allows users to parse the data, modify costs (or other parameters) and then run the solve functions without using thesolve_model(..)
function which requires users to explicitly use theeng2math_passthrough = Dict("storage"=>["cost"])
.solve_x(..)
functions.