├── .gitignore ├── LICENSE.txt ├── MANIFEST.in ├── README.md ├── examples ├── cumulative-sum.py ├── data │ ├── load.csv │ ├── tariff.json │ └── temp.csv ├── dr-event-calc.py └── seven-day-baseline.py ├── loadshape ├── __init__.py ├── exclusions.py ├── loadshape.py ├── r │ ├── baseline.R │ ├── diff.R │ └── tariff.R ├── series.py ├── tariff.py └── utils.py ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── data ├── test_dr_days.csv ├── test_kw.csv ├── test_kw_small.csv ├── test_tariff.csv ├── test_tariff.json ├── test_temp.csv └── test_temp_small.csv ├── test_loadshape.py ├── test_series.py ├── test_tariff.py └── test_utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | examples/output/*.json -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/README.md -------------------------------------------------------------------------------- /examples/cumulative-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/cumulative-sum.py -------------------------------------------------------------------------------- /examples/data/load.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/data/load.csv -------------------------------------------------------------------------------- /examples/data/tariff.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/data/tariff.json -------------------------------------------------------------------------------- /examples/data/temp.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/data/temp.csv -------------------------------------------------------------------------------- /examples/dr-event-calc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/dr-event-calc.py -------------------------------------------------------------------------------- /examples/seven-day-baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/examples/seven-day-baseline.py -------------------------------------------------------------------------------- /loadshape/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/__init__.py -------------------------------------------------------------------------------- /loadshape/exclusions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/exclusions.py -------------------------------------------------------------------------------- /loadshape/loadshape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/loadshape.py -------------------------------------------------------------------------------- /loadshape/r/baseline.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/r/baseline.R -------------------------------------------------------------------------------- /loadshape/r/diff.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/r/diff.R -------------------------------------------------------------------------------- /loadshape/r/tariff.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/r/tariff.R -------------------------------------------------------------------------------- /loadshape/series.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/series.py -------------------------------------------------------------------------------- /loadshape/tariff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/tariff.py -------------------------------------------------------------------------------- /loadshape/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/loadshape/utils.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/data/test_dr_days.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_dr_days.csv -------------------------------------------------------------------------------- /tests/data/test_kw.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_kw.csv -------------------------------------------------------------------------------- /tests/data/test_kw_small.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_kw_small.csv -------------------------------------------------------------------------------- /tests/data/test_tariff.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_tariff.csv -------------------------------------------------------------------------------- /tests/data/test_tariff.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_tariff.json -------------------------------------------------------------------------------- /tests/data/test_temp.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_temp.csv -------------------------------------------------------------------------------- /tests/data/test_temp_small.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/data/test_temp_small.csv -------------------------------------------------------------------------------- /tests/test_loadshape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/test_loadshape.py -------------------------------------------------------------------------------- /tests/test_series.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/test_series.py -------------------------------------------------------------------------------- /tests/test_tariff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/test_tariff.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LBNL-ETA/loadshape/HEAD/tests/test_utils.py --------------------------------------------------------------------------------