domainiac 9.0.0__tar.gz → 9.0.2__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.
- {domainiac-9.0.0 → domainiac-9.0.2}/PKG-INFO +2 -1
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/temperature.py +3 -1
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/wind.py +3 -1
- {domainiac-9.0.0 → domainiac-9.0.2}/pyproject.toml +2 -2
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/__init__.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/__init__.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/conversions.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/interpolation.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/solar.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/functions/typing.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/__init__.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/masterdata_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/metering_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/nwp_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/outage_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/plant_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/resource_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/managers/unit_manager.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/modeling/__init__.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/modeling/nwp.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/modeling/plant.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/wrappers/__init__.py +0 -0
- {domainiac-9.0.0 → domainiac-9.0.2}/domainiac/wrappers/cache_wrapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: domainiac
|
|
3
|
-
Version: 9.0.
|
|
3
|
+
Version: 9.0.2
|
|
4
4
|
Summary: Package for working with Energinet data, but with specialized functions used for Enigma.
|
|
5
5
|
Author: Team Enigma
|
|
6
6
|
Author-email: gridop-enigma@energinet.dk
|
|
@@ -9,6 +9,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
10
|
Requires-Dist: datamazing (>=5.0.2,<6.0.0)
|
|
11
11
|
Requires-Dist: pandas (>=2.2.0,<3.0.0)
|
|
12
|
+
Requires-Dist: pvlib (>=0.13.1,<0.14.0)
|
|
12
13
|
Requires-Dist: scikit-learn (>=1.3.0,<2.0.0)
|
|
13
14
|
Requires-Dist: scipy (>=1.15.3,<2.0.0)
|
|
14
15
|
Requires-Dist: typeguard (>=4.2.1,<5.0.0)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import numpy as np
|
|
1
2
|
import pandas as pd
|
|
3
|
+
from numpy.typing import NDArray
|
|
2
4
|
from scipy import interpolate
|
|
3
5
|
|
|
4
6
|
from domainiac.functions import conversions
|
|
@@ -21,7 +23,7 @@ def interpolate_temperature(times: pd.Series, temperature: pd.Series) -> RealFun
|
|
|
21
23
|
|
|
22
24
|
f = interpolate.make_interp_spline(x, y, k=1)
|
|
23
25
|
|
|
24
|
-
def estimate(times):
|
|
26
|
+
def estimate(times: pd.Series) -> NDArray[np.float64]:
|
|
25
27
|
x = conversions.datetime_to_float(times)
|
|
26
28
|
return f(x)
|
|
27
29
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import numpy as np
|
|
1
2
|
import pandas as pd
|
|
3
|
+
from numpy.typing import NDArray
|
|
2
4
|
from scipy import interpolate
|
|
3
5
|
|
|
4
6
|
from domainiac.functions import conversions
|
|
@@ -23,7 +25,7 @@ def interpolate_wind_components(
|
|
|
23
25
|
|
|
24
26
|
f = interpolate.make_interp_spline(x, y, k=1)
|
|
25
27
|
|
|
26
|
-
def estimate(times):
|
|
28
|
+
def estimate(times: pd.Series) -> NDArray[np.float64]:
|
|
27
29
|
x = conversions.datetime_to_float(times)
|
|
28
30
|
return f(x)
|
|
29
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "domainiac"
|
|
3
|
-
version = "9.0.
|
|
3
|
+
version = "9.0.2"
|
|
4
4
|
description = "Package for working with Energinet data, but with specialized functions used for Enigma."
|
|
5
5
|
authors = ["Team Enigma <gridop-enigma@energinet.dk>"]
|
|
6
6
|
packages = [
|
|
@@ -14,6 +14,7 @@ datamazing = "^5.0.2"
|
|
|
14
14
|
typeguard = "^4.2.1"
|
|
15
15
|
scikit-learn = "^1.3.0"
|
|
16
16
|
scipy = "^1.15.3"
|
|
17
|
+
pvlib = "^0.13.1"
|
|
17
18
|
|
|
18
19
|
[tool.poetry.dev-dependencies]
|
|
19
20
|
pytest = "^7"
|
|
@@ -22,7 +23,6 @@ pre-commit = "^2.20.0"
|
|
|
22
23
|
pytype = "^2023.7"
|
|
23
24
|
parameterized = "^0.9.0"
|
|
24
25
|
plotly = "^6.0.0"
|
|
25
|
-
pvlib = "^0.13.1"
|
|
26
26
|
|
|
27
27
|
[build-system]
|
|
28
28
|
requires = ["poetry-core>=1.0.0"]
|
|
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
|