-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #836 from NREL-SIIP/jd/pv_bus_parsing_correction
correct matpower parsing
- Loading branch information
Showing
6 changed files
with
262 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
@testset "TAMU Parsing " begin | ||
files = readdir(TAMU_DIR) | ||
if length(files) == 0 | ||
error("No test files in the folder") | ||
end | ||
|
||
sys = PSB.build_system(PSB.PSYTestSystems, "tamu_ACTIVSg2000_sys") | ||
@info "Successfully parsed $TAMU_DIR to System struct" | ||
|
||
# Added due to inconsistencies in the incoming data. If the data is fixed, this test_logs call will fail | ||
sys = PSB.build_system(PSB.PSYTestSystems, "tamu_ACTIVSg2000_sys"; force_build = true) | ||
@test isa(sys, PSY.System) | ||
# Test bad input | ||
@test_throws PowerSystems.DataFormatError TamuSystem("") | ||
end |
Oops, something went wrong.