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

refactor: improve the flexibility of the transmission upgrades map #301

Merged
merged 8 commits into from
Jun 1, 2021

Conversation

danielolsen
Copy link
Contributor

Pull Request doc

Purpose

  • Change hard-coded values to user-facing parameters with default values.
  • Separate the init of a bokeh figure from the addition of upgrades information.
  • Add a parameter to filter display of DC line additions by length
  • Add parameter to control legend display

What the code is doing

The only effective code change is allowing the user to filter the display of DC lines by minimum length, and to allow the user to size and locate the legend. All other changes are just reorganization of the code.

Testing

Tested manually, still works.

Time estimate

15 minutes.

@danielolsen danielolsen self-assigned this May 25, 2021
Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@danielolsen danielolsen force-pushed the daniel/transmission_upgrade_flexibility branch from 1121c29 to 4e14055 Compare June 1, 2021 20:13
@danielolsen danielolsen merged commit 5331011 into develop Jun 1, 2021
@danielolsen danielolsen deleted the daniel/transmission_upgrade_flexibility branch June 1, 2021 20:20
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.

2 participants