A method read_tech_data under the OnSSTOVE class to read the tech_specs.csv file. This function reads the data and creates a technology for each fuel, and saves them in a self.techs dictionary.
A method __setitem__ under the Technology class to allow setting a parameter of the class with a dictionary notation: technology['parameter'] = 'something. This is used in the read_tech_data method.
Changes some Param names from the tech_specs file (#32) so they match the ones in the Technology class.
Removes the lines in the technology.py file where we created the technologies manually.
This PR closes #32 and closes #37. It contains:
read_tech_data
under theOnSSTOVE
class to read thetech_specs.csv
file. This function reads the data and creates a technology for each fuel, and saves them in aself.techs
dictionary.__setitem__
under theTechnology
class to allow setting a parameter of the class with a dictionary notation:technology['parameter'] = 'something
. This is used in theread_tech_data
method.Param
names from thetech_specs
file (#32) so they match the ones in theTechnology
class.technology.py
file where we created the technologies manually.