marmot.plottingmodules.plotutils.plot_data_helper.GenCategories#
- class GenCategories(vre: typing.List[str] = <factory>, pv: typing.List[str] = <factory>, re: typing.List[str] = <factory>, thermal: typing.List[str] = <factory>)[source]#
Bases:
object
Defines various generator categories.
Methods
set_categories
(df)Set generator categories from a dataframe
Attributes
List of variable renewable technologies.
List of PV technologies.
List of renewable technologies.
List of thermal technologies.
- classmethod set_categories(df: pandas.core.frame.DataFrame) marmot.plottingmodules.plotutils.plot_data_helper.GenCategories [source]#
Set generator categories from a dataframe
Categories include the following:
vre
pv
re
thermal
- Parameters
df (pd.DataFrame) –
Dataframe containing an ‘Ordered_Gen’ column and a column for each generator category. The format should appear like the following.
https://nrel.github.io/Marmot/references/input-files/mapping-folder/ ordered_gen_categories.html#input-example
- Returns
returns instance of class.
- Return type