Skip to content

Add methods to Model for visualization #5

Description

@nreinicke

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions