Published July 16, 2021 | Version 0.7.0
Software Open

Marmot v0.7.0

Contributors

  • 1. Michigan Technological University

Description

This is the second official release of Marmot and brings it to **v0.7.0**

*This release has been tested against many different PLEXOS databases to limit the possibility of bugs, however some may still exist.
To report a bug, please open an [Issue](https://github.com/NREL/Marmot/issues/new) on the Marmot GitHub repo so that we can address it in a following release.*
 
- To clone this release use the following command:
 ``git clone --recurse-submodules git@github.com:NREL/Marmot.git --branch v0.7.0``

- If you have already cloned Marmot you can checkout this release using the following two commands:
```git fetch --all --tags```
```git checkout tags/v0.7.0```

## Features

- **Meta Data Now Saved to Formatted h5:** Meta data for each scenario is now copied over to the processed HDF5 output file created in marmot_h5_formatter.py.  Meta data used for plotting is obtained from this file, so the original PLEXOS solution file is no longer necessary to run marmot_plot_main.py.  The processed HDF5 file includes meta data from each partition in a given scenario in case there are subtle changes between different partitions.  (https://github.nrel.gov/PCM/Marmot/issues/126)

- **Four New Plots**, New capability to plot nodal prices: (https://github.nrel.gov/PCM/Marmot/issues/135)
   - Node Price Duration Curve
   - Node Price Time-series
   - Node Price Histogram
   - Node Price Histogram Difference (compare all scenarios vs a reference case)


## Changes

- Figures are now saved using the same format.  Previously, two different formats were used to create and save figures.  Code written to create new plots will have to follow this format seen below.  In the initial creation of a plot, both the figure and axis is assigned to the plot.   (https://github.nrel.gov/PCM/Marmot/issues/107)

```python
fig1, ax = plt.subplots(figsize=(self.x,self.y))
cap_started_all_scenarios.T.plot.bar(stacked = False, rot=0,
                                 color = self.color_list,edgecolor='black', linewidth='0.1', ax=ax)
ax.spines['right'].set_visible(False)
ax.spines['top'].set_visible(False)
```

- The mplot class was changed to the MPlot class within plotting modules to adhere to PEP Styling. (https://github.nrel.gov/PCM/Marmot/issues/108)

- When installing Marmot as a module, the version number automatically updates based on git tags. The value is no longer hard codded in setup.py (https://github.nrel.gov/PCM/Marmot/pull/120)

## Bug Fixes

- Fixed BUG: Running from a terminal will not work depending on location (https://github.nrel.gov/PCM/Marmot/issues/121)
- Fixed BUG: Incorrect class inheritance in marmot_h5_formatter.py (https://github.nrel.gov/PCM/Marmot/issues/122)
- Fixed legend in Zonal Interchange Total (https://github.nrel.gov/PCM/Marmot/issues/132)
- Fixed Unserved Energy totals not equal across modules (https://github.nrel.gov/PCM/Marmot/issues/127)
- Fixed legend placement in All Region Price Duration curve (https://github.nrel.gov/PCM/Marmot/issues/117)
- Fixed BUG: Thermal Cap Reserve - plots contain non thermal gen (#112)

Files

Marmot-0.7.0.zip

Files (210.6 kB)

Name Size Download all
md5:aa236b433eb7633c8735efe188051e0d
210.6 kB Preview Download