Skip to content
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 133 commits into from
Oct 12, 2018
Merged

Moi julia v0.7 #396

merged 133 commits into from
Oct 12, 2018

Conversation

jd-lara
Copy link
Contributor

@jd-lara jd-lara commented Oct 12, 2018

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.

ccoffrin and others added 30 commits May 11, 2018 09:09
* 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
@ccoffrin
Copy link
Member

FYI, soon the PowerModels master will move to Julia v0.7. Then this branch will be only about the move to MOI.

@ccoffrin ccoffrin merged commit 188f4a1 into lanl-ansi:moi-julia-v0.7 Oct 12, 2018
@jd-lara
Copy link
Contributor Author

jd-lara commented Oct 12, 2018

@ccoffrin Will you use any of what we did in this branch for the update in master?

@ccoffrin
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants