read_ev_model: Read EV model

View source: R/evmodel.R

read_ev_modelR Documentation

Read EV model

Description

Read an EV model JSON file and convert it to object of class evmodel

Usage

read_ev_model(file)

Arguments

file

path to the JSON file

Value

object of class evmodel

Examples

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"))


mcanigueral/evsim documentation built on April 5, 2025, 3:05 a.m.