enerdata 1.1.5__tar.gz → 1.2.0__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.
- enerdata-1.2.0/PKG-INFO +27 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/README.rst +2 -2
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/__init__.py +1 -1
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/profile.py +2 -2
- enerdata-1.2.0/enerdata.egg-info/PKG-INFO +27 -0
- enerdata-1.2.0/enerdata.egg-info/requires.txt +13 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/requirements-dev.txt +1 -1
- enerdata-1.2.0/requirements.txt +9 -0
- enerdata-1.1.5/PKG-INFO +0 -11
- enerdata-1.1.5/enerdata.egg-info/PKG-INFO +0 -11
- enerdata-1.1.5/enerdata.egg-info/requires.txt +0 -7
- enerdata-1.1.5/requirements.txt +0 -7
- {enerdata-1.1.5 → enerdata-1.2.0}/LICENSE +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/MANIFEST.in +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/calendars/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/contract.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/electrical_seasons.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/normalized_power.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/tariff.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/cups/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/cups/cups.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/holidays.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/solar_hour.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/station.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/timezone.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/work_and_holidays.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/measure.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/meter.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/__init__.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/data/coefficients_HIDRO_RE.csv +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/data/coefficients_RE.xlsx +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/SOURCES.txt +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/dependency_links.txt +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/top_level.txt +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/setup.cfg +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/setup.py +0 -0
- {enerdata-1.1.5 → enerdata-1.2.0}/spec/__init__.py +0 -0
enerdata-1.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: enerdata
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: A set of energy models
|
|
5
|
+
Home-page: http://code.gisce.net
|
|
6
|
+
Author: GISCE-TI, S.L.
|
|
7
|
+
Author-email: devel@gisce.net
|
|
8
|
+
License: MIT
|
|
9
|
+
Provides: enerdata
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Requires-Dist: pytz
|
|
12
|
+
Requires-Dist: workalendar<8.0.0; python_version <= "2.7.18"
|
|
13
|
+
Requires-Dist: workalendar; python_version > "2.7.18"
|
|
14
|
+
Requires-Dist: pandas<3.0.0,>=0.23.4
|
|
15
|
+
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: sgp4<2.26; python_version <= "2.7.18"
|
|
17
|
+
Requires-Dist: six
|
|
18
|
+
Requires-Dist: xlrd==1.2.0
|
|
19
|
+
Requires-Dist: openpyxl
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
Dynamic: provides
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: summary
|
|
@@ -7,8 +7,8 @@ A set of energy models
|
|
|
7
7
|
.. image:: https://github.com/gisce/enerdata/actions/workflows/python2.7-app.yml/badge.svg
|
|
8
8
|
:target: https://github.com/gisce/enerdata/actions/workflows/python2.7-app.yml
|
|
9
9
|
|
|
10
|
-
.. image:: https://github.com/gisce/enerdata/actions/workflows/python3.
|
|
11
|
-
:target: https://github.com/gisce/enerdata/actions/workflows/python3.
|
|
10
|
+
.. image:: https://github.com/gisce/enerdata/actions/workflows/python3.13-app.yml/badge.svg
|
|
11
|
+
:target: https://github.com/gisce/enerdata/actions/workflows/python3.13-app.yml
|
|
12
12
|
|
|
13
13
|
.. image:: https://coveralls.io/repos/github/gisce/enerdata/badge.svg?branch=master
|
|
14
14
|
:target: https://coveralls.io/github/gisce/enerdata?branch=master
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__author__ = 'ecarreras'
|
|
2
|
-
__version__ = '1.
|
|
2
|
+
__version__ = '1.2.0'
|
|
@@ -364,7 +364,7 @@ class REProfile(object):
|
|
|
364
364
|
hour = solar_hour.hour
|
|
365
365
|
else:
|
|
366
366
|
hour = 24
|
|
367
|
-
coff_value = float(df[df[key] == month][
|
|
367
|
+
coff_value = float(df.loc[df[key] == month, hour].iloc[0])
|
|
368
368
|
coff = Coefficent(start, {'A': coff_value})
|
|
369
369
|
cofs.append(coff)
|
|
370
370
|
start += relativedelta(hours=1)
|
|
@@ -432,7 +432,7 @@ class REProfileHydraulic(REProfile):
|
|
|
432
432
|
cofs = []
|
|
433
433
|
while start <= end:
|
|
434
434
|
month = cls.translate_month[start.month]
|
|
435
|
-
coff_value = float(df[df['MES'] == month
|
|
435
|
+
coff_value = float(df.loc[df['MES'] == month, 'Factor de funcionamiento'].values.item())
|
|
436
436
|
coff = Coefficent(start, {'A': coff_value})
|
|
437
437
|
cofs.append(coff)
|
|
438
438
|
start += relativedelta(hours=1)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: enerdata
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: A set of energy models
|
|
5
|
+
Home-page: http://code.gisce.net
|
|
6
|
+
Author: GISCE-TI, S.L.
|
|
7
|
+
Author-email: devel@gisce.net
|
|
8
|
+
License: MIT
|
|
9
|
+
Provides: enerdata
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Requires-Dist: pytz
|
|
12
|
+
Requires-Dist: workalendar<8.0.0; python_version <= "2.7.18"
|
|
13
|
+
Requires-Dist: workalendar; python_version > "2.7.18"
|
|
14
|
+
Requires-Dist: pandas<3.0.0,>=0.23.4
|
|
15
|
+
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: sgp4<2.26; python_version <= "2.7.18"
|
|
17
|
+
Requires-Dist: six
|
|
18
|
+
Requires-Dist: xlrd==1.2.0
|
|
19
|
+
Requires-Dist: openpyxl
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
Dynamic: provides
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: summary
|
enerdata-1.1.5/PKG-INFO
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.1
|
|
2
|
-
Name: enerdata
|
|
3
|
-
Version: 1.1.5
|
|
4
|
-
Summary: A set of energy models
|
|
5
|
-
Home-page: http://code.gisce.net
|
|
6
|
-
Author: GISCE-TI, S.L.
|
|
7
|
-
Author-email: devel@gisce.net
|
|
8
|
-
License: MIT
|
|
9
|
-
Description: UNKNOWN
|
|
10
|
-
Platform: UNKNOWN
|
|
11
|
-
Provides: enerdata
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.1
|
|
2
|
-
Name: enerdata
|
|
3
|
-
Version: 1.1.5
|
|
4
|
-
Summary: A set of energy models
|
|
5
|
-
Home-page: http://code.gisce.net
|
|
6
|
-
Author: GISCE-TI, S.L.
|
|
7
|
-
Author-email: devel@gisce.net
|
|
8
|
-
License: MIT
|
|
9
|
-
Description: UNKNOWN
|
|
10
|
-
Platform: UNKNOWN
|
|
11
|
-
Provides: enerdata
|
enerdata-1.1.5/requirements.txt
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|