Skip to content

Commit

Permalink
Update version to 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EPRI-SQA committed Jul 11, 2022
1 parent ec5cc32 commit afe8dec
Show file tree
Hide file tree
Showing 13 changed files with 35,251 additions and 17,696 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,21 @@ Questions and feedback can be submitted to the Electric Power Research Institute

The format is based on [Keep a Changelog] (https://keepachangelog.com/en/1.0.0/).

## [1.2.2] - 2022-05-05 to 2022-07-07
### Added
- introduce 3 new cvx solver error types:
- SolverInfeasibleError, SolverUnboundedError and SolverError
- adds tests for these by reading in bad data
### Changed
- improved handling of input time series data
- new method: get_single_series()
- introduce more specific error classes: TimeseriesDataError and TimeseriesMissingError
- better error and warning messaging and readability
- sets all min and max battery constraint values to empty in the default input time series
- adds column: LF Price ($/kW) to default time series
### Removed
- remove line where all missing/empty time series values are set to zero

## [1.2.1] - 2022-03-31 to 2022-05-04
### Changed
- change in upstream dervet repo only
Expand Down
17,522 changes: 8,761 additions & 8,761 deletions Data/hourly_timeseries.csv

Large diffs are not rendered by default.

17,522 changes: 8,761 additions & 8,761 deletions Data/multi_der_hourly_timeseries.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ pip install -e ./storagevet
## Versioning

We use [Gitlab](https://gitlab.epri.com/storagevet/storagevet) for versioning.
This is version 1.2.1
This is version 1.2.2

## Authors

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -27,4 +27,4 @@ toolz==0.10.0
xmltodict==0.12.0
xlrd==1.2.0
zipp==3.1.0
# storagevet==1.2.1 manually add
# storagevet==1.2.2 manually add
2 changes: 1 addition & 1 deletion run_StorageVET.py
Expand Up @@ -47,7 +47,7 @@
'analysis, dispatch, modelling, optimization, and valuation tool' +
'. Should be used with Python 3.8',
epilog='Copyright 2022. Electric Power Research Institute (EPRI). ' +
'v1.2.1 All Rights Reserved.')
'v1.2.2 All Rights Reserved.')
parser.add_argument('parameters_filename', type=str,
help='specify the filename of the CSV file defining the PARAMETERS dataframe')
parser.add_argument('-v', '--verbose', action='store_true',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -44,7 +44,7 @@
README = (HERE / "README.md").read_text()

setup(name='storagevet',
version='1.2.1',
version='1.2.2',
description='Storage value estimation tool',
url='#',
long_description=README,
Expand Down
16 changes: 16 additions & 0 deletions storagevet/ErrorHandling.py
Expand Up @@ -37,6 +37,18 @@
from pathlib import Path


class SolverError(Exception):
pass


class SolverInfeasibleError(Exception):
pass


class SolverUnboundedError(Exception):
pass


class ModelParameterError(Exception):
pass

Expand All @@ -45,6 +57,10 @@ class TimeseriesDataError(Exception):
pass


class TimeseriesMissingError(Exception):
pass


class MonthlyDataError(Exception):
pass

Expand Down

0 comments on commit afe8dec

Please sign in to comment.