onstove.OnStove.read_scenario_data#
- OnStove.read_scenario_data(path_to_config: str, delimiter=',')[source]#
Reads the scenario data into a dictionary.
The scenario data (specifically the Param and Value columns) are saved in a
specs
attribute of the OnStove class which is called with model.specs (model is substituted for the name that you gave the model instance). The attribute is in the form of a dictionary where the keys are the names given in the Param and the value is taken from the Value. See example.