Create an unmapping of Switch generator indices to both PowerSimData plant IDs and storage IDs. Closes #99 (in combination with the previously-merged #101)
What the code is doing
We follow pretty closely the unmapping patterns of Switch branches into our AC & DC lines. recover_plant_indices now returns two pandas Series, one for plants and one for storage.
Testing
More test cases are added to the existing unit test.
Pull Request doc
Purpose
Create an unmapping of Switch generator indices to both PowerSimData plant IDs and storage IDs. Closes #99 (in combination with the previously-merged #101)
What the code is doing
We follow pretty closely the unmapping patterns of Switch branches into our AC & DC lines.
recover_plant_indices
now returns two pandas Series, one for plants and one for storage.Testing
More test cases are added to the existing unit test.
Time estimate
5 minutes.