oemof.demand 0.2.3a1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. oemof_demand-0.2.3a1/.coveragerc +14 -0
  2. oemof_demand-0.2.3a1/.editorconfig +20 -0
  3. oemof_demand-0.2.3a1/.pre-commit-config.yaml +26 -0
  4. oemof_demand-0.2.3a1/.readthedocs.yml +14 -0
  5. oemof_demand-0.2.3a1/AUTHORS.rst +20 -0
  6. oemof_demand-0.2.3a1/CHANGELOG.rst +166 -0
  7. oemof_demand-0.2.3a1/CONTRIBUTING.rst +87 -0
  8. oemof_demand-0.2.3a1/LICENSE +9 -0
  9. oemof_demand-0.2.3a1/PKG-INFO +161 -0
  10. oemof_demand-0.2.3a1/README.rst +104 -0
  11. oemof_demand-0.2.3a1/docs/authors.rst +1 -0
  12. oemof_demand-0.2.3a1/docs/bdew.rst +162 -0
  13. oemof_demand-0.2.3a1/docs/changelog.rst +1 -0
  14. oemof_demand-0.2.3a1/docs/conf.py +65 -0
  15. oemof_demand-0.2.3a1/docs/contributing.rst +1 -0
  16. oemof_demand-0.2.3a1/docs/further_profiles.rst +46 -0
  17. oemof_demand-0.2.3a1/docs/index.rst +23 -0
  18. oemof_demand-0.2.3a1/docs/installation.rst +7 -0
  19. oemof_demand-0.2.3a1/docs/readme.rst +1 -0
  20. oemof_demand-0.2.3a1/docs/reference/index.rst +27 -0
  21. oemof_demand-0.2.3a1/docs/requirements.txt +2 -0
  22. oemof_demand-0.2.3a1/docs/spelling_wordlist.txt +11 -0
  23. oemof_demand-0.2.3a1/docs/vdi4655.rst +95 -0
  24. oemof_demand-0.2.3a1/examples/bdew_slp25.py +58 -0
  25. oemof_demand-0.2.3a1/examples/electricity_demand_example.py +117 -0
  26. oemof_demand-0.2.3a1/examples/example_data.csv +8761 -0
  27. oemof_demand-0.2.3a1/examples/heat_demand_example.py +127 -0
  28. oemof_demand-0.2.3a1/examples/vdi_profile_example.py +103 -0
  29. oemof_demand-0.2.3a1/pyproject.toml +123 -0
  30. oemof_demand-0.2.3a1/src/oemof/demand/__init__.py +9 -0
  31. oemof_demand-0.2.3a1/src/oemof/demand/bdew/__init__.py +26 -0
  32. oemof_demand-0.2.3a1/src/oemof/demand/bdew/_profiles25.py +253 -0
  33. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/g25.csv +98 -0
  34. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/h25.csv +98 -0
  35. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/l25.csv +98 -0
  36. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/p25.csv +98 -0
  37. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/s25.csv +98 -0
  38. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/selp_series.csv +2017 -0
  39. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/shlp_hour_factors.csv +2545 -0
  40. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/shlp_sigmoid_factors.csv +69 -0
  41. oemof_demand-0.2.3a1/src/oemof/demand/bdew/bdew_data/shlp_weekday_factors.csv +99 -0
  42. oemof_demand-0.2.3a1/src/oemof/demand/bdew/elec_slp.py +353 -0
  43. oemof_demand-0.2.3a1/src/oemof/demand/bdew/heat_building.py +361 -0
  44. oemof_demand-0.2.3a1/src/oemof/demand/config.py +145 -0
  45. oemof_demand-0.2.3a1/src/oemof/demand/demand.ini +2 -0
  46. oemof_demand-0.2.3a1/src/oemof/demand/particular_profiles.py +187 -0
  47. oemof_demand-0.2.3a1/src/oemof/demand/tools.py +76 -0
  48. oemof_demand-0.2.3a1/src/oemof/demand/vdi/__init__.py +11 -0
  49. oemof_demand-0.2.3a1/src/oemof/demand/vdi/dwd_try.py +131 -0
  50. oemof_demand-0.2.3a1/src/oemof/demand/vdi/regions.py +655 -0
  51. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_01_Jahr.dat +8798 -0
  52. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_02_Jahr.dat +8798 -0
  53. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_03_Jahr.dat +8798 -0
  54. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_04_Jahr.dat +8798 -0
  55. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_05_Jahr.dat +8798 -0
  56. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_06_Jahr.dat +8798 -0
  57. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_07_Jahr.dat +8798 -0
  58. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_08_Jahr.dat +8798 -0
  59. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_09_Jahr.dat +8798 -0
  60. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_10_Jahr.dat +8798 -0
  61. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_11_Jahr.dat +8798 -0
  62. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_12_Jahr.dat +8798 -0
  63. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_13_Jahr.dat +8798 -0
  64. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_14_Jahr.dat +8798 -0
  65. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY2010_15_Jahr.dat +8798 -0
  66. oemof_demand-0.2.3a1/src/oemof/demand/vdi/resources_weather/TRY_polygons.geojson +22 -0
  67. oemof_demand-0.2.3a1/src/oemof/demand/vdi/vdi_data/VDI_4655_Typtag-Faktoren.csv +91 -0
  68. oemof_demand-0.2.3a1/src/oemof/demand/vdi/vdi_data/VDI_4655_Typtage.csv +15361 -0
  69. oemof_demand-0.2.3a1/tests/test_config.py +131 -0
  70. oemof_demand-0.2.3a1/tests/test_data/__init__.py +0 -0
  71. oemof_demand-0.2.3a1/tests/test_data/cloud_coverage_test.csv +366 -0
  72. oemof_demand-0.2.3a1/tests/test_data/config_test.ini +10 -0
  73. oemof_demand-0.2.3a1/tests/test_data/energy_factors_test.csv +7 -0
  74. oemof_demand-0.2.3a1/tests/test_data/temperature_test.csv +366 -0
  75. oemof_demand-0.2.3a1/tests/test_elec_slp.py +215 -0
  76. oemof_demand-0.2.3a1/tests/test_examples.py +27 -0
  77. oemof_demand-0.2.3a1/tests/test_particular_profiles.py +300 -0
  78. oemof_demand-0.2.3a1/tests/test_tools.py +40 -0
  79. oemof_demand-0.2.3a1/tests/test_vdi4655.py +339 -0
  80. oemof_demand-0.2.3a1/tox.ini +76 -0
@@ -0,0 +1,14 @@
1
+ [paths]
2
+ source = src
3
+
4
+ [run]
5
+ branch = true
6
+ source =
7
+ src
8
+ tests
9
+ parallel = true
10
+
11
+ [report]
12
+ show_missing = true
13
+ precision = 2
14
+ omit = *migrations*
@@ -0,0 +1,20 @@
1
+ # see https://editorconfig.org/
2
+ root = true
3
+
4
+ [*]
5
+ # Use Unix-style newlines for most files (except Windows files, see below).
6
+ end_of_line = lf
7
+ trim_trailing_whitespace = true
8
+ indent_style = space
9
+ insert_final_newline = true
10
+ indent_size = 4
11
+ charset = utf-8
12
+
13
+ [*.{bat,cmd,ps1}]
14
+ end_of_line = crlf
15
+
16
+ [*.{yml,yaml}]
17
+ indent_size = 2
18
+
19
+ [*.tsv]
20
+ indent_style = tab
@@ -0,0 +1,26 @@
1
+ # To install the git pre-commit hooks run:
2
+ # pre-commit install --install-hooks
3
+ # To update the versions:
4
+ # pre-commit autoupdate
5
+ exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
6
+ # Note the order is intentional to avoid multiple passes of the hooks
7
+ repos:
8
+ - repo: https://github.com/astral-sh/ruff-pre-commit
9
+ rev: v0.12.10
10
+ hooks:
11
+ - id: ruff
12
+ args: [--fix, --exit-non-zero-on-fix, --show-fixes]
13
+ - id: ruff-format
14
+ - repo: https://github.com/ComPWA/taplo-pre-commit
15
+ rev: v0.9.3
16
+ hooks:
17
+ - id: taplo-format
18
+ - id: taplo-lint
19
+ - repo: https://github.com/pre-commit/pre-commit-hooks
20
+ rev: v6.0.0
21
+ hooks:
22
+ - id: trailing-whitespace
23
+ - id: end-of-file-fixer
24
+ - id: mixed-line-ending
25
+ args: [--fix=lf]
26
+ - id: debug-statements
@@ -0,0 +1,14 @@
1
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
2
+ version: 2
3
+ build:
4
+ os: ubuntu-22.04
5
+ tools:
6
+ python: "3.10"
7
+ sphinx:
8
+ configuration: docs/conf.py
9
+ formats: all
10
+ python:
11
+ install:
12
+ - requirements: docs/requirements.txt
13
+ - method: pip
14
+ path: .
@@ -0,0 +1,20 @@
1
+
2
+ Authors
3
+ =======
4
+
5
+ (alphabetic order)
6
+
7
+ * Amedeo Ceruti
8
+ * Benjamin Singh
9
+ * Birgit Schachler
10
+ * Caroline Möller
11
+ * Florian Maurer
12
+ * Francesco Witte
13
+ * Guido Plessmann
14
+ * Hendrik Huyskens
15
+ * Jann Launer
16
+ * Patrik Schönfeldt
17
+ * Pyosch
18
+ * Steffen Wehkamp
19
+ * Stephen Bosch
20
+ * Uwe Krien
@@ -0,0 +1,166 @@
1
+ Changelog
2
+ =========
3
+
4
+ v0.2.3 (YYYY-MM-DD)
5
+ +++++++++++++++++++++++++
6
+
7
+ New features
8
+ ############
9
+
10
+ Bug fixes
11
+ #########
12
+ * Implement default temperature limits for VDI 4655 calculation to make
13
+ ``summer_temperature_limit`` and ``winter_temperature_limit`` optional
14
+ * Fix leap year handling in VDI 4655 profiles
15
+
16
+ Other changes
17
+ #############
18
+
19
+ * Documentation improvements.
20
+
21
+
22
+ v0.2.2 (2025-04-09)
23
+ +++++++++++++++++++++++++
24
+
25
+ * Added Electricity standard load profiles as released by the BDEW in 2025.
26
+ * Added VDI profile based on LPagg
27
+
28
+
29
+ v0.2.1 (2024-08-06)
30
+ +++++++++++++++++++++++++
31
+
32
+ New features
33
+ ############
34
+ * Allow to have holidays in industrial profile
35
+
36
+ Bug fixes
37
+ #########
38
+ * simple_profile from IndustrialLoadProfile behaved differently in version
39
+ 0.2.0 compared to 0.1.9 due to pandas masking functions. We are now back
40
+ to the old (design) values.
41
+
42
+
43
+ v0.2.0 (2024-06-27)
44
+ +++++++++++++++++++++++++
45
+
46
+ Bug fixes
47
+ #########
48
+ * Raise error for non supported shlp_type
49
+ in non-commercial buildings
50
+
51
+ Other changes
52
+ #############
53
+ * Adhere to packaging standards
54
+ * Raise errors in sigmoid parameter queries
55
+
56
+
57
+ v0.1.9 (2023-03-18)
58
+ +++++++++++++++++++++++++
59
+
60
+ * Calculation of BDEW profiles was improved
61
+
62
+
63
+
64
+ v0.1.8 (2021-01-27)
65
+ +++++++++++++++++++++++++
66
+
67
+ Bug fixes
68
+ #########
69
+ * FutureWarning for "dyn_function_h0" was raised instead of printed
70
+
71
+
72
+
73
+ v0.1.7 (2021-01-27)
74
+ +++++++++++++++++++++++++
75
+
76
+ New features
77
+ ############
78
+ * Add dynamic h0 profile calculation
79
+ (The implementation is not optimised for performance.
80
+ Thus, it is not used by default.)
81
+
82
+ Bug fixes
83
+ #########
84
+ * Fix improper use of pandas.dataframe.merge
85
+ (oemof-demand will now work with pandas>=1.2)
86
+
87
+ Other changes
88
+ #############
89
+ * Update deprecated pd.datetime to datetime.datetime
90
+ * Add (integration) tests and coverage as CI
91
+ * Split BDEW profile generation into submodules
92
+
93
+
94
+
95
+ v0.1.6 (2019-01-30)
96
+ +++++++++++++++++++++++++
97
+
98
+ General
99
+ #######
100
+
101
+ * Update requirements
102
+ * Fix typos
103
+
104
+
105
+
106
+ v0.1.5 (2018-09-05)
107
+ +++++++++++++++++++++++++
108
+
109
+ New features
110
+ ############
111
+
112
+ * Add function `get_normalized_bdew_profile(self)` to get a normalised profile. You could also use an annual_demand of one to get the same results.
113
+
114
+ Bug fixes
115
+ #########
116
+
117
+ * Fix y-label of the heat example plot.
118
+
119
+ Other changes
120
+ #############
121
+
122
+ * Make matplotlib optional in examples.
123
+
124
+
125
+
126
+ v0.1.4 (2018-05-30)
127
+ +++++++++++++++++++++++++
128
+
129
+ Code
130
+ ####
131
+
132
+ * fix temperature bug
133
+ * fix Code style
134
+
135
+ Documentation
136
+ #############
137
+
138
+ * Documentation improvements.
139
+
140
+
141
+
142
+ v0.1.1 (2016-11-30)
143
+ +++++++++++++++++++++++++
144
+
145
+ New features
146
+ ############
147
+ * Examples callable by command-line script
148
+
149
+ Bug fixes
150
+ #########
151
+ * Path specs when installed via pip
152
+
153
+ Other changes
154
+ #############
155
+ * Fix versioning
156
+
157
+
158
+
159
+ 0.1.0 (2016-10-04)
160
+ +++++++++++++++++++++++++
161
+
162
+ New features
163
+ ############
164
+ * Implementation of BDEW synthetic load profiles
165
+ * Synthetic load profiles for heating sector
166
+ * Self-made industry demand profile similar to BDEW profiles
@@ -0,0 +1,87 @@
1
+ ============
2
+ Contributing
3
+ ============
4
+
5
+ Contributions are welcome, and they are greatly appreciated! Every
6
+ little bit helps, and credit will always be given.
7
+
8
+ Bug reports
9
+ ===========
10
+
11
+ When `reporting a bug <https://github.com/oemof/oemof-demand/issues>`_ please include:
12
+
13
+ * Your operating system name and version.
14
+ * Any details about your local setup that might be helpful in troubleshooting.
15
+ * Detailed steps to reproduce the bug.
16
+
17
+ Documentation improvements
18
+ ==========================
19
+
20
+ oemof could always use more documentation, whether as part of the
21
+ official oemof docs, in docstrings, or even on the web in blog posts,
22
+ articles, and such.
23
+
24
+ Feature requests and feedback
25
+ =============================
26
+
27
+ The best way to send feedback is to file an issue at https://github.com/oemof/oemof-demand/issues.
28
+
29
+ If you are proposing a feature:
30
+
31
+ * Explain in detail how it would work.
32
+ * Keep the scope as narrow as possible, to make it easier to implement.
33
+ * Remember that this is a volunteer-driven project, and that code contributions are welcome :)
34
+
35
+ Development
36
+ ===========
37
+
38
+ To set up `oemof-demand` for local development:
39
+
40
+ 1. Fork `oemof-demand <https://github.com/oemof/oemof-demand>`_
41
+ (look for the "Fork" button).
42
+ 2. Clone your fork locally::
43
+
44
+ git clone git@github.com:YOURGITHUBNAME/oemof-demand.git
45
+
46
+ 3. Create a branch for local development::
47
+
48
+ git checkout -b name-of-your-bugfix-or-feature
49
+
50
+ Now you can make your changes locally.
51
+
52
+ 4. When you're done making changes run all the checks and docs builder with `tox <https://tox.wiki/en/latest/>`_ one command::
53
+
54
+ tox
55
+
56
+ 5. Commit your changes and push your branch to GitHub::
57
+
58
+ git add .
59
+ git commit -m "Your detailed description of your changes."
60
+ git push origin name-of-your-bugfix-or-feature
61
+
62
+ 6. Submit a pull request through the GitHub website.
63
+
64
+ Pull Request Guidelines
65
+ -----------------------
66
+
67
+ If you need some code review or feedback while you're developing the code just make the pull request.
68
+
69
+ For merging, you should:
70
+
71
+ 1. Include passing tests (run ``tox``).
72
+ 2. Update documentation when there's new API, functionality etc.
73
+ 3. Add a note to ``CHANGELOG.rst`` about the changes.
74
+ 4. Add yourself to ``AUTHORS.rst``.
75
+
76
+
77
+
78
+ Tips
79
+ ----
80
+
81
+ To run a subset of tests::
82
+
83
+ tox -e envname -- pytest -k test_myfeature
84
+
85
+ To run all the test environments in *parallel*::
86
+
87
+ tox -p auto
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) oemof developer group
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,161 @@
1
+ Metadata-Version: 2.4
2
+ Name: oemof.demand
3
+ Version: 0.2.3a1
4
+ Summary: Creating heat and power demand profiles from annual values
5
+ Author-email: oemof developer group <contact@oemof.org>
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/x-rst
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: Unix
13
+ Classifier: Operating System :: POSIX
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: Implementation :: CPython
23
+ Classifier: Topic :: Utilities
24
+ License-File: LICENSE
25
+ Requires-Dist: numpy >= 2.0
26
+ Requires-Dist: pandas >= 2.1
27
+ Requires-Dist: build ; extra == "build"
28
+ Requires-Dist: check-manifest ; extra == "build"
29
+ Requires-Dist: flake8 ; extra == "build"
30
+ Requires-Dist: flit ; extra == "build"
31
+ Requires-Dist: isort ; extra == "build"
32
+ Requires-Dist: pygments ; extra == "build"
33
+ Requires-Dist: readme-renderer ; extra == "build"
34
+ Requires-Dist: twine ; extra == "build"
35
+ Requires-Dist: sphinx ; extra == "docs"
36
+ Requires-Dist: sphinx_rtd_theme ; extra == "docs"
37
+ Requires-Dist: matplotlib ; extra == "examples"
38
+ Requires-Dist: workalendar ; extra == "examples"
39
+ Requires-Dist: shapely >= 2.0.0 ; extra == "geometry"
40
+ Requires-Dist: geopandas ; extra == "geometry"
41
+ Requires-Dist: coverage ; extra == "test"
42
+ Requires-Dist: matplotlib ; extra == "test"
43
+ Requires-Dist: pytest ; extra == "test"
44
+ Requires-Dist: geopandas ; extra == "test"
45
+ Requires-Dist: tox ; extra == "tox"
46
+ Project-URL: Changelog, https://oemof-demand.readthedocs.io/en/latest/changelog.html
47
+ Project-URL: Documentation, https://oemof-demand.readthedocs.io/
48
+ Project-URL: Homepage, https://github.com/oemof/oemof-demand
49
+ Project-URL: Issue Tracker, https://github.com/oemof/oemof-demand/issues/
50
+ Provides-Extra: build
51
+ Provides-Extra: docs
52
+ Provides-Extra: examples
53
+ Provides-Extra: geometry
54
+ Provides-Extra: test
55
+ Provides-Extra: tox
56
+
57
+ ========
58
+ Overview
59
+ ========
60
+
61
+ .. start-badges
62
+
63
+ .. list-table::
64
+ :stub-columns: 1
65
+
66
+ * - docs
67
+ - |docs|
68
+ * - tests
69
+ - | |tox-pytest| |tox-checks| |coveralls|
70
+ * - package
71
+ - | |version| |wheel| |supported-versions| |supported-implementations| |commits-since| |packaging|
72
+
73
+
74
+ .. |tox-pytest| image:: https://github.com/oemof/oemof-demand/workflows/tox%20pytests/badge.svg
75
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3A%22tox+checks%22
76
+
77
+ .. |tox-checks| image:: https://github.com/oemof/oemof-demand/workflows/tox%20checks/badge.svg?branch=dev
78
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3A%22tox+checks%22
79
+
80
+ .. |packaging| image:: https://github.com/oemof/oemof-demand/workflows/packaging/badge.svg?branch=dev
81
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3Apackaging
82
+
83
+ .. |docs| image:: https://readthedocs.org/projects/oemof-demand/badge/?style=flat
84
+ :target: https://oemof-demand.readthedocs.io/
85
+ :alt: Documentation Status
86
+
87
+ .. |coveralls| image:: https://coveralls.io/repos/oemof/oemof-demand/badge.svg?branch=dev&service=github
88
+ :alt: Coverage Status
89
+ :target: https://coveralls.io/github/oemof/oemof-demand?branch=dev
90
+
91
+ .. |version| image:: https://img.shields.io/pypi/v/oemof-demand.svg
92
+ :alt: PyPI Package latest release
93
+ :target: https://pypi.org/project/oemof-demand
94
+
95
+ .. |wheel| image:: https://img.shields.io/pypi/wheel/oemof-demand.svg
96
+ :alt: PyPI Wheel
97
+ :target: https://pypi.org/project/oemof-demand
98
+
99
+ .. |supported-versions| image:: https://img.shields.io/pypi/pyversions/oemof-demand.svg
100
+ :alt: Supported versions
101
+ :target: https://pypi.org/project/oemof-demand
102
+
103
+ .. |supported-implementations| image:: https://img.shields.io/pypi/implementation/oemof-demand.svg
104
+ :alt: Supported implementations
105
+ :target: https://pypi.org/project/oemof-demand
106
+
107
+ .. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/oemof-demand/latest/dev
108
+ :alt: Commits since latest release
109
+ :target: https://github.com/oemof/oemof-demand/compare/master...dev
110
+
111
+
112
+
113
+ .. end-badges
114
+
115
+ Creating heat and power demand profiles from annual values.
116
+
117
+ * Free software: MIT license
118
+
119
+ Installation
120
+ ============
121
+
122
+ ::
123
+
124
+ pip install oemof-demand
125
+
126
+ You can also install the in-development version with::
127
+
128
+ pip install https://github.com/oemof/oemof-demand/archive/master.zip
129
+
130
+
131
+ Documentation
132
+ =============
133
+
134
+
135
+ https://oemof-demand.readthedocs.io/
136
+
137
+
138
+ Development
139
+ ===========
140
+
141
+ To run all the tests run::
142
+
143
+ tox
144
+
145
+ Note, to combine the coverage data from all the tox environments run:
146
+
147
+ .. list-table::
148
+ :widths: 10 90
149
+ :stub-columns: 1
150
+
151
+ - - Windows
152
+ - ::
153
+
154
+ set PYTEST_ADDOPTS=--cov-append
155
+ tox
156
+
157
+ - - Other
158
+ - ::
159
+
160
+ PYTEST_ADDOPTS=--cov-append tox
161
+
@@ -0,0 +1,104 @@
1
+ ========
2
+ Overview
3
+ ========
4
+
5
+ .. start-badges
6
+
7
+ .. list-table::
8
+ :stub-columns: 1
9
+
10
+ * - docs
11
+ - |docs|
12
+ * - tests
13
+ - | |tox-pytest| |tox-checks| |coveralls|
14
+ * - package
15
+ - | |version| |wheel| |supported-versions| |supported-implementations| |commits-since| |packaging|
16
+
17
+
18
+ .. |tox-pytest| image:: https://github.com/oemof/oemof-demand/workflows/tox%20pytests/badge.svg
19
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3A%22tox+checks%22
20
+
21
+ .. |tox-checks| image:: https://github.com/oemof/oemof-demand/workflows/tox%20checks/badge.svg?branch=dev
22
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3A%22tox+checks%22
23
+
24
+ .. |packaging| image:: https://github.com/oemof/oemof-demand/workflows/packaging/badge.svg?branch=dev
25
+ :target: https://github.com/oemof/oemof-demand/actions?query=workflow%3Apackaging
26
+
27
+ .. |docs| image:: https://readthedocs.org/projects/oemof-demand/badge/?style=flat
28
+ :target: https://oemof-demand.readthedocs.io/
29
+ :alt: Documentation Status
30
+
31
+ .. |coveralls| image:: https://coveralls.io/repos/oemof/oemof-demand/badge.svg?branch=dev&service=github
32
+ :alt: Coverage Status
33
+ :target: https://coveralls.io/github/oemof/oemof-demand?branch=dev
34
+
35
+ .. |version| image:: https://img.shields.io/pypi/v/oemof-demand.svg
36
+ :alt: PyPI Package latest release
37
+ :target: https://pypi.org/project/oemof-demand
38
+
39
+ .. |wheel| image:: https://img.shields.io/pypi/wheel/oemof-demand.svg
40
+ :alt: PyPI Wheel
41
+ :target: https://pypi.org/project/oemof-demand
42
+
43
+ .. |supported-versions| image:: https://img.shields.io/pypi/pyversions/oemof-demand.svg
44
+ :alt: Supported versions
45
+ :target: https://pypi.org/project/oemof-demand
46
+
47
+ .. |supported-implementations| image:: https://img.shields.io/pypi/implementation/oemof-demand.svg
48
+ :alt: Supported implementations
49
+ :target: https://pypi.org/project/oemof-demand
50
+
51
+ .. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/oemof-demand/latest/dev
52
+ :alt: Commits since latest release
53
+ :target: https://github.com/oemof/oemof-demand/compare/master...dev
54
+
55
+
56
+
57
+ .. end-badges
58
+
59
+ Creating heat and power demand profiles from annual values.
60
+
61
+ * Free software: MIT license
62
+
63
+ Installation
64
+ ============
65
+
66
+ ::
67
+
68
+ pip install oemof-demand
69
+
70
+ You can also install the in-development version with::
71
+
72
+ pip install https://github.com/oemof/oemof-demand/archive/master.zip
73
+
74
+
75
+ Documentation
76
+ =============
77
+
78
+
79
+ https://oemof-demand.readthedocs.io/
80
+
81
+
82
+ Development
83
+ ===========
84
+
85
+ To run all the tests run::
86
+
87
+ tox
88
+
89
+ Note, to combine the coverage data from all the tox environments run:
90
+
91
+ .. list-table::
92
+ :widths: 10 90
93
+ :stub-columns: 1
94
+
95
+ - - Windows
96
+ - ::
97
+
98
+ set PYTEST_ADDOPTS=--cov-append
99
+ tox
100
+
101
+ - - Other
102
+ - ::
103
+
104
+ PYTEST_ADDOPTS=--cov-append tox
@@ -0,0 +1 @@
1
+ .. include:: ../AUTHORS.rst