From 955b0574e40593c9490b5ab8e9a599398f36ba56 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Wed, 10 Jan 2024 15:08:33 -0700 Subject: [PATCH] update code to instantiate --- Project.toml | 12 ++++++++++++ README.md | 1 - src/PowerSimulationsDecomposition.jl | 7 +++++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index ab84d87..ba3b1da 100644 --- a/Project.toml +++ b/Project.toml @@ -4,8 +4,20 @@ authors = ["Jose Daniel Lara"] version = "0.1.0" [deps] +Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +InfrastructureSystems = "2cd47ed4-ca9b-11e9-27f2-ab636a7671f1" +JuMP = "4076af6c-e467-56ae-b986-b466b2749572" +MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" +PowerSimulations = "e690365d-45e2-57bb-ac84-44ba829e73c4" +PowerSystems = "bcd98974-b02a-5e2f-9ee0-a103f5c450dd" [compat] DocStringExtensions = "~0.8, ~0.9" +Dates = "1" +InfrastructureSystems = "^1.21" +JuMP = "1" +MPI = "^0.20" +PowerSimulations = "^0.25" +PowerSystems = "^3" julia = "^1.6" diff --git a/README.md b/README.md index e1d2f68..e62101f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [](https://join.slack.com/t/nrel-sienna/shared_invite/zt-glam9vdu-o8A9TwZTZqqNTKHa7q3BpQ) [![PowerSimulationsDecomposition.jl Downloads](https://shields.io/endpoint?url=https://pkgs.genieframework.com/api/v1/badge/PowerSimulationsDecomposition)](https://pkgs.genieframework.com?packages=PowerSimulationsDecomposition) - ## Development Contributions to the development and enahancement of PowerSimulationsDecomposition is welcome. Please see [CONTRIBUTING.md](https://github.com/NREL-Sienna/PowerSimulationsDecomposition.jl/blob/master/CONTRIBUTING.md) for code contribution guidelines. diff --git a/src/PowerSimulationsDecomposition.jl b/src/PowerSimulationsDecomposition.jl index 9d4c5fd..279903a 100644 --- a/src/PowerSimulationsDecomposition.jl +++ b/src/PowerSimulationsDecomposition.jl @@ -1,14 +1,17 @@ module PowerSimulationsDecomposition import PowerSimulations +import PowerSystems +import InfrastructureSystems import JuMP import Dates import MPI const PSI = PowerSimulations +const PSY = PowerSystems +const IS = InfrastructureSystems const PM = PSI.PM -const PSY = PSI.PSY -const IS = PSI.IS + using DocStringExtensions @template (FUNCTIONS, METHODS) = """