NREL / Marmot

Marmot is a data formatting and visualization tool for production cost and capacity expansion modelling results. It provides an efficient way to combine and view disaggregated results, while also creating publication ready figures and data tables.
Other
8 stars 4 forks source link

update transmission methods Part 1 + create GenCategories dataclass #36

Closed daniellevie closed 2 years ago

daniellevie commented 2 years ago

Update transmission module, remove obsolete and broken code, Part 1

Add new method to read properties from csv files, see issue https://github.com/NREL/Marmot/issues/34

    1. [x] Add read_csv property method
    1. [x] Create GenCategories dataclass to hold gen category lists in plot_data_helper
    1. [x] Make Limit properties in transmission optional
    1. [x] Add plot_line_interface_limits method

Methods to Update

Remaining methods will be fixed and updated in a later PR

daniellevie commented 2 years ago

Change code to only plot import/export limits for each scenario if the values are different. Otherwise plot a single import/export dotted line.

Also check if import/export data is missing for a scenario, remove it from the plot rather than defaulting to zero.

This should be fixed now. Can you test again and see if it works for you