Skip to content

Commit

Permalink
Merge pull request #40 from NREL-Sienna/jd/fix_tests
Browse files Browse the repository at this point in the history
Jd/fix tests
  • Loading branch information
jd-lara authored Jul 1, 2024
2 parents 717ecc2 + 77e503f commit 87920a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StorageSystemsSimulations"
uuid = "e2f1a126-19d0-4674-9252-42b2384f8e3c"
authors = ["Jose Daniel Lara, Rodrigo Henriquez-Auba, Sourabh Dalvi"]
version = "0.10.0"
version = "0.10.1"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
6 changes: 3 additions & 3 deletions test/test_utils/mock_operation_models.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NOTE: None of the models and function in this file are functional. All of these are used for testing purposes and do not represent valid examples either to develop custom
# models. Please refer to the documentation.

struct MockOperationProblem <: PSI.DecisionProblem end
struct MockEmulationProblem <: PSI.EmulationProblem end
struct MockOperationProblem <: PSI.DefaultDecisionProblem end
struct MockEmulationProblem <: PSI.DefaultEmulationProblem end

function PSI.DecisionModel(
::Type{MockOperationProblem},
Expand Down Expand Up @@ -120,7 +120,7 @@ function mock_construct_device!(
built_for_recurrent_solves
PSI.initialize_system_expressions!(
PSI.get_optimization_container(problem),
PSI.get_network_formulation(template),
PSI.get_network_model(template),
PSI.get_network_model(template).subnetworks,
PSI.get_system(problem),
Dict{Int64, Set{Int64}}(),
Expand Down

2 comments on commit 87920a6

@jd-lara
Copy link
Member Author

@jd-lara jd-lara commented on 87920a6 Jul 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/110150

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.1 -m "<description of version>" 87920a600f69d072fc98a584818ded5c0be90d8c
git push origin v0.10.1

Please sign in to comment.