Skip to content

Commit

Permalink
Merge pull request #119 from NREL-Sienna/jd/fix_tests_psy4
Browse files Browse the repository at this point in the history
use period
  • Loading branch information
jd-lara authored Jul 11, 2024
2 parents 5562453 + dd81950 commit 73374be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_data/results_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ function add_re!(sys)
PrimeMovers.WT,
(min = 0.0, max = 0.0),
1.0,
TwoPartCost(0.220, 0.0),
RenewableGenerationCost(CostCurve(LinearCurve(22.0))),
100.0,
)
add_component!(sys, re)
copy_time_series!(re, get_component(PowerLoad, sys, "bus2"))

fx = RenewableFix(
fx = RenewableNonDispatch(
"RoofTopSolar",
true,
get_component(Bus, sys, "bus5"),
Expand Down Expand Up @@ -84,7 +84,7 @@ function run_test_sim(result_dir::String)
c_sys5_hy_uc = PSB.build_system(PSB.PSISystems, "5_bus_hydro_uc_sys")
@info "Building ED system from"
c_sys5_hy_ed = PSB.build_system(PSB.PSISystems, "5_bus_hydro_ed_sys")
transform_single_time_series!(c_sys5_hy_ed, 1, Hour(1))
transform_single_time_series!(c_sys5_hy_ed, Hour(1), Hour(1))

@info "Adding extra RE"
add_re!(c_sys5_hy_uc)
Expand Down

2 comments on commit 73374be

@jd-lara
Copy link
Member Author

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/110882

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.18.0 -m "<description of version>" 73374be99e7c2a611722efacd6849430cce0a430
git push origin v0.18.0

Please sign in to comment.