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

Add ability to read from MATPOWER data files #4

Open
5 of 7 tasks
pelesh opened this issue Aug 23, 2021 · 2 comments
Open
5 of 7 tasks

Add ability to read from MATPOWER data files #4

pelesh opened this issue Aug 23, 2021 · 2 comments

Comments

@pelesh
Copy link
Collaborator

pelesh commented Aug 23, 2021

A significant (though not too time-consuming) task for this project is to add the ability to read from MATPOWER data files.

@rcrutherford, you wrote some file I/O utilities for the ExaGO project, how long do you think it would take you to add this capability? It would likely be only a couple of functions for parsing different options from a matpower file. Please feel free to suggest a deadline and don't be afraid to speak up if you don't feel you have adequate time.

See these docs for reference.

Complete following tasks:

  • Staring from function setLookupTable in FileIO.hpp implement prototype for Matpower parser class. The method to read from Matpower netfile should be based on setLookupTable.
    • Use the same approach for reading Matpower netfile. Read line by line and then use string stream to parse each line.
    • For the first cut, I suggest make table as vector of vector of strings.
    • Verify what was read by method based on printLookupTable function.
    • Add feature to skip comments when reading the netfile.
  • Parameters for each component should be read into a std::map with key being string describing parameter and value being parameter value.
  • Group maps in separate vectors based on the component type. E.g. separate vector for bus maps, branch maps, load maps, etc.
@pelesh
Copy link
Collaborator Author

pelesh commented Aug 23, 2021

@ashermancinelli
Copy link
Collaborator

Could you update the repository to reflect the gitlab development? I think this functionality is already present.

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

No branches or pull requests

2 participants