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 methods to Model for visualization #5

Open
nreinicke opened this issue Oct 23, 2023 · 0 comments
Open

Add methods to Model for visualization #5

nreinicke opened this issue Oct 23, 2023 · 0 comments
Assignees
Milestone

Comments

@nreinicke
Copy link
Collaborator

nreinicke commented Oct 23, 2023

We currently have methods to visualize individual features and a combination of features. It would be convenient to add a method on the Model class that calls these functions (maybe using the feature ranges as default). Maybe it would look something like:

import nrel.routee.powertrain as pt

model = pt.load_pretrained_model("ICE")

model.visualize_feature("speed")
model.visualize_feature("grade")
model.contour("speed", "grade")

Where the user just inputs one or more feature names and the code does the work to generate the inputs for producing the plots.

@nreinicke nreinicke added this to the PyCon 2024 milestone May 14, 2024
@jhoshiko jhoshiko self-assigned this May 20, 2024
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