Skip to content
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 an Artifacts.toml? #67

Open
amontoison opened this issue Jul 29, 2024 · 0 comments
Open

Add an Artifacts.toml? #67

amontoison opened this issue Jul 29, 2024 · 0 comments

Comments

@amontoison
Copy link
Contributor

amontoison commented Jul 29, 2024

For some research papers with François Pacaud and Sungho Shin, we rely on an Artifacts.toml to easily test our optimization solvers on ACOPF problems. It can be also useful here.
The content of Artifacts.toml is:

[PGLib_opf]
git-tree-sha1 = "0e8968a89b6ad43910a8eda4ec30656add35cf91"
lazy = false
    [[PGLib_opf.download]]
    sha256 = "f1421ce22f0a7b9de8a8b2111776b496348220192ad24aace392c3bf608706c2"
    url = "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v23.07.tar.gz"

In our test, we can afterward do:

pglib_path = joinpath(artifact"PGLib_opf", "pglib-opf-23.07")

using PowerModels
pglib_opf_case78484_epigrids = ac_power_model(joinpath(pglib_path, "pglib_opf_case78484_epigrids.m"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant