-
Notifications
You must be signed in to change notification settings - Fork 3
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
Energy Storage #16
Comments
Hi @Aliadavid, This question has two main answers, a short one and a slightly longer one. I will start with the short answer. Short Answer:You can run time-series (in our terminology - multi-network) OPF problems with energy storage by:
Note: Since
Slightly Longer Answer:What happens if you want to add Right, now vanilla If you are interested in this, you can check out the experimental branch Using this branch, you only need to add the following code when setting up the problem. pmitd_data = parse_files(pm_file, pmd_files, pmitd_file; multinetwork=true)
......
# cost of using the energy storage
# Units of this cost must be $/pu ($/pu x 1pu/Sbase(100MVA) = $/MWh)
strg_cost1 = 0.001
# add cost to storages in PMD
for (nw_id, nw_data) in pmitd_data["it"]["pmd"]["nw"]
for (st_name, st_data) in nw_data["storage"]
if(st_name == "cktr13.s1")
st_data["cost"] = strg_cost1
end
end
end
eng2math_passthrough = Dict("storage"=>["cost"])
......
result = solve_model(pmitd_data, NLPowerModelITD{ACRPowerModel, ACRUPowerModel}, ipopt, build_mn_opfitd_storage; multinetwork=true, eng2math_passthrough=eng2math_passthrough)
In this code, we are adding a cost to energy storage named |
closing Issue for inactivity. |
How to add energy storage based time series OPF test
The text was updated successfully, but these errors were encountered: