Skip to content

Commit

Permalink
Merge pull request #472 from openeemeter/feature/caltrack-2.1-daily
Browse files Browse the repository at this point in the history
EEmeter 4.0
  • Loading branch information
jason-recurve committed Feb 26, 2024
2 parents b4c9247 + 742a7ad commit 43b84c9
Show file tree
Hide file tree
Showing 143 changed files with 23,122 additions and 14,931 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,13 @@ Development

* Placeholder

4.0.0
-----

* Update daily model methods, API, and serialization
* Provide new API for hourly model to match daily syntax and prepare for future additions
* Add baseline and reporting dataclasses to support compliant initialization of meter and temperature data

3.2.0
-----

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -79,7 +79,7 @@ All source files must apply the following SPDX header:
``` python
"""
Copyright 2014-2023 OpenEEmeter contributors
Copyright 2014-2024 OpenEEmeter contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2014-2023 OpenEEmeter contributors
Copyright 2014-2024 OpenEEmeter contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,3 +1,3 @@
include README.rst LICENSE pytest.ini
include eemeter/samples/*.json eemeter/samples/*.csv.gz
include eemeter/eemeter/samples/*.json eemeter/eemeter/samples/*.csv.gz
recursive-include tests *.py
5 changes: 5 additions & 0 deletions Pipfile
Expand Up @@ -9,6 +9,11 @@ matplotlib = "*"
statsmodels = "*"
scipy = "*"
pandas = ">=1.0.0"
attrs = "*"
numpy = "*"
numba = "*"
nlopt = "*"
pydantic = ">=2.0"

[dev-packages]
sqlalchemy = "*"
Expand Down
3,380 changes: 1,887 additions & 1,493 deletions Pipfile.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions data/attribution.txt
@@ -0,0 +1,8 @@
This data is derived from NREL's ComStock datasets (2023/comstock_amy2018_release_2)

The ComStock database, part of the Open Energy Data Initiative, carries with it a Creative Commons Attribution 3.0 United States License

Data includes information from the ComStock™ dataset developed by the National Renewable Energy Laboratory (NREL) with funding from the U.S. Department of Energy (DOE).

Citation:
Parker, Andrew, et al. 2023. ComStock Reference Documentation. Golden, CO: National Renewable Energy Laboratory. NREL/TP-5500-83819. https://www.nrel.gov/docs/fy23osti/83819.pdf
1,201 changes: 1,201 additions & 0 deletions data/features.csv

Large diffs are not rendered by default.

Binary file added data/hourly_data_0.parquet
Binary file not shown.
Binary file added data/hourly_data_1.parquet
Binary file not shown.
Binary file added data/hourly_data_2.parquet
Binary file not shown.
1,201 changes: 1,201 additions & 0 deletions data/month_loadshape.csv

Large diffs are not rendered by default.

1,201 changes: 1,201 additions & 0 deletions data/seasonal_day_of_week_loadshape.csv

Large diffs are not rendered by default.

1,201 changes: 1,201 additions & 0 deletions data/seasonal_hourly_day_of_week_loadshape.csv

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions docs/conf.py
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
Copyright 2014-2023 OpenEEmeter contributors
Copyright 2014-2024 OpenEEmeter contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,16 +37,14 @@

# -- Project information -----------------------------------------------------

from eemeter import get_version
import eemeter

project = "eemeter"
copyright = "Copyright 2014-2023 OpenEEmeter contributors"
copyright = "Copyright 2014-2024 OpenEEmeter contributors"
author = "Phil Ngo"

# The short X.Y version
version = get_version()
# The full version, including alpha/beta/rc tags
release = version
release = eemeter.__version__


# -- General configuration ---------------------------------------------------
Expand Down
26 changes: 8 additions & 18 deletions eemeter/__init__.py
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
Copyright 2014-2023 OpenEEmeter contributors
Copyright 2014-2024 OpenEEmeter contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -18,27 +18,17 @@
"""

import logging
import logging as _logging

from .__version__ import __title__, __description__, __url__, __version__
from .__version__ import __author__, __author_email__, __license__
from .__version__ import __copyright__
from .caltrack import *
from .derivatives import *
from .exceptions import *
from .features import *
from .io import *
from .metrics import *
from .samples.load import *
from .segmentation import *
from .transform import *
from .visualization import *
from .warnings import *


def get_version():
return __version__

from .common import *
from . import (
eemeter,
drmeter,
)

# Set default logging handler to avoid "No handler found" warnings.
logging.getLogger(__name__).addHandler(logging.NullHandler())
_logging.getLogger(__name__).addHandler(_logging.NullHandler())
6 changes: 3 additions & 3 deletions eemeter/__version__.py
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
Copyright 2014-2023 OpenEEmeter contributors
Copyright 2014-2024 OpenEEmeter contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -20,8 +20,8 @@
__title__ = "eemeter"
__description__ = "Open Energy Efficiency Meter"
__url__ = "http://github.com/openeemeter/eemeter"
__version__ = "3.2.0"
__version__ = "4.0.0"
__author__ = "Phil Ngo"
__author_email__ = "admin@openee.io"
__license__ = "Apache 2.0"
__copyright__ = "Copyright 2014-2023 OpenEEmeter contributors"
__copyright__ = "Copyright 2014-2024 OpenEEmeter contributors"
217 changes: 0 additions & 217 deletions eemeter/caltrack/quickstart.py

This file was deleted.

0 comments on commit 43b84c9

Please sign in to comment.