-
Notifications
You must be signed in to change notification settings - Fork 158
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
Moi julia v0.7 #396
Merged
Merged
Moi julia v0.7 #396
Conversation
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
* found for discrepancy SOC BFM vs BIM * Documentation fix * Looser bounds on square current magnitude variable
* update case names to be consistent with file names * remove areas block from some test cases
Adds a warning enumerating the missing data fields when parsing a PTI file.
removes depreciation warnings.
* adding multiphase flag to data parsers * adding ismultiphase test to build_generic_model * making network and phase kwargs in constraint templates * making network and phase kwargs in variable constructors * change usage of pm.ref[:nw] to nws() * exporting multinetwork and multiphase helper functions * minor fix to psse test * multi-phase solution nominally working * adding JSON output for multiphase data * making phases optional to support array-based single phase models * adding isapprox so compare_dict works with multi-phase * adding ref file and making data functions work with multiphase * adding MultiPhaseMatrix to support branch parameters * add support for multiphase duals * minor bugfix to apply_func * adding area, zone, and base_kv to phaseless parameters * adding basic multiphase tests * adding multinetwork multiphase tests * adding run_mn_pf formulation for testing * removed multinetwork models defined in tests * fixing dcline cost function unit conversion * replace getstart with getval, closes #252 * ADD: operators for MultiPhaseValues * REF: multiphasevalues operations * ADD: Unit tests for MultiPhaseValue operations * FIX: DistFlow formulation for multiphase (#289) * Adds more `getmpv` variants * ADD: Unit tests for Multphase and Multinetwork (#300) * ADD: Unit tests for Multphase and Multinetwork * REF: Updated Memento log tests * ADD: Missing unit tests for check_connectivity (#301) * ADD: Missing unit tests for check_connectivity * ADD: Missing ismultiphase test * UPD: updates network checks for multiphase networks (#302) * UPD: updates network checks for multiphase networks * update to changelog
* Matpower Export Branch Intermediate backup of this branch * Iterative code backup * intermediate backup * Matpower export Complete * removing .project * add .project to .gitignore * Suggested modifications * updated test due to change to case3.m
Closes #310 * move `check_network_data` from `parse_file` into the format-specific parsers: `parse_matpower`, `parse_psse` and `parse_json` ref #310 (comment) 87343 * bugfix * parser support for iostream implemented for `parse_json`, `parse_matpower`, `parse_psse`, and `parse_pti`. ref #310 (comment) 82468 * remove filename kwarg there’s a `.name` attribute in IOStream that I wasn’t previously aware of * add explicit return statements * use in memory buffers instead of creating temp files `::IOStream` -> `::IO` * move matpower_export tests from test/data.jl to test/matpower.jl
* removing series variables * removing dead code and adding pf hvdc test * rename df.jl to bf.jl, consistency * rename SOCDF to SOCBF, consistency * update AbstractDFForm to AbstractBFForm, consistency
* adding test case for asymmetric line charging * adding opf tests for asymmetric line charging * adding ots tests for asymmetric line charging * extending constraint_power_magnitude_link to asymetric line charge, closes #284
* do not add HVDC line costs when no HVDC lines exist * fix non-increasing domain on default hvdc pwl costs, and added test case * closes #316
* remove use of getmpv in constraint_voltage_angle_difference * apply complement to vad constraint
Uses the pseudo-inverse to avoid issues when certain phases are absent in the impedance matrix. Added corresponding unit test
Fixes problems with MultiPhaseVector and MultiPhaseMatrix operations not being symmetrical, e.g. `Number + MultiPhaseValue` might not work whereas `MultiPhaseValue + Number` might. This has been fixed. Added `inv` function for matrices. Added `real` and `imag` functions for MutliPhaseValues Updated `calc_branch_y`, and one OTS test whose objective value changed due to the difference in rounding errors between doing the calculation in complex vs float types. Closes #313
Moi julia v0.7
FYI, soon the PowerModels master will move to Julia v0.7. Then this branch will be only about the move to MOI. |
@ccoffrin Will you use any of what we did in this branch for the update in master? |
To best answer that I need to understand more about how Julia packages work in v0.7. I will surely use this branch as a template for the v0.7 update. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removes more deprecations for Julia v0.7 that fill the logs and updates some of the code to MOI from the MOI Branch. Most of the
Matpower
tests are passing but still WIP.