read_ev_model {evsim} | R Documentation |
Read an EV model JSON file and convert it to object of class evmodel
read_ev_model(file)
file |
path to the JSON file |
object of class evmodel
ev_model <- california_ev_model # Model of example
save_ev_model(ev_model, file = file.path(tempdir(), "evmodel.json"))
read_ev_model(file = file.path(tempdir(), "evmodel.json"))