fram-core 0.1.0a1__py3-none-any.whl → 0.1.0a2__py3-none-any.whl
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.
- {fram_core-0.1.0a1.dist-info → fram_core-0.1.0a2.dist-info}/METADATA +3 -2
- {fram_core-0.1.0a1.dist-info → fram_core-0.1.0a2.dist-info}/RECORD +5 -5
- framcore/aggregators/HydroAggregator.py +2 -2
- {fram_core-0.1.0a1.dist-info → fram_core-0.1.0a2.dist-info}/WHEEL +0 -0
- {fram_core-0.1.0a1.dist-info → fram_core-0.1.0a2.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fram-core
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a2
|
|
4
4
|
Summary:
|
|
5
5
|
License: LICENSE.md
|
|
6
6
|
License-File: LICENSE.md
|
|
7
7
|
Author: The Norwegian Water Resources and Energy Directorate
|
|
8
8
|
Author-email: fram@nve.no
|
|
9
|
-
Requires-Python: >=3.11
|
|
9
|
+
Requires-Python: >=3.11,<4
|
|
10
10
|
Classifier: License :: Other/Proprietary License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Requires-Dist: juliacall (>=0.9.28,<0.10.0)
|
|
16
17
|
Requires-Dist: numexpr (>=2.10.2)
|
|
17
18
|
Requires-Dist: numpy (>=2.2.2)
|
|
18
19
|
Requires-Dist: pandas (>=2.2.3)
|
|
@@ -2,7 +2,7 @@ framcore/Base.py,sha256=2MP0T1HAjU3gqkSvdGnbvd3t1JZmdXGCcwueETIhrrs,5326
|
|
|
2
2
|
framcore/Model.py,sha256=TraN6dRQoJgm4veePEVszpdGAMGiTJA1dKSG4s_DtZg,2580
|
|
3
3
|
framcore/__init__.py,sha256=5Ryn1oUwtxaPX95dfleE5GVYo9_QSBAwMG8UiUNrg74,128
|
|
4
4
|
framcore/aggregators/Aggregator.py,sha256=n9jL4iAGk_N0An80BJNntkYYaXaQzGW1xGD3oFjUYzk,6473
|
|
5
|
-
framcore/aggregators/HydroAggregator.py,sha256=
|
|
5
|
+
framcore/aggregators/HydroAggregator.py,sha256=nsSzAqbTTwkifXyMeKXflMWSJWu6eNwICQuZVE20Qp0,47211
|
|
6
6
|
framcore/aggregators/NodeAggregator.py,sha256=Zz4D1H42EmDU0jgYJtAR4C0_eRDN6nacLA3guRt_r2M,20716
|
|
7
7
|
framcore/aggregators/WindSolarAggregator.py,sha256=3cHIxYZixTIH8kmkuR8GL6eROd8oU7z5txRVCMOvOrg,19620
|
|
8
8
|
framcore/aggregators/__init__.py,sha256=ZoBqilfv0XhFkYVROBPQhJHzSY1IcvhJmJ_FOo_Z5Pw,426
|
|
@@ -94,7 +94,7 @@ framcore/utils/isolate_subnodes.py,sha256=iRiqgTU_c6W1jLmIBGO7fQoK_abPA3N8beGJbr
|
|
|
94
94
|
framcore/utils/loaders.py,sha256=8llunmOC6XkbqNXSxL1XVNipGj7OpjIZ-2AyJUj-5v8,3320
|
|
95
95
|
framcore/utils/node_flow_utils.py,sha256=4Z6eB4oUqhOWWeHFNYRZY0c0UQlJ8tM9duYvLzkJQ3k,7800
|
|
96
96
|
framcore/utils/storage_subsystems.py,sha256=PmkV9rhiVUrmPz1zsyKcEwjJzYUkXQUcGM511tttsXc,4158
|
|
97
|
-
fram_core-0.1.
|
|
98
|
-
fram_core-0.1.
|
|
99
|
-
fram_core-0.1.
|
|
100
|
-
fram_core-0.1.
|
|
97
|
+
fram_core-0.1.0a2.dist-info/METADATA,sha256=sCfBTgaBnPmQOiyYov3DDdMrC9tfVkpH12uVideaToo,1251
|
|
98
|
+
fram_core-0.1.0a2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
99
|
+
fram_core-0.1.0a2.dist-info/licenses/LICENSE.md,sha256=fxh4ZxuR8dM2HDs-pIUitPrJdxQ4fEFh1GvEYZA2m1E,1075
|
|
100
|
+
fram_core-0.1.0a2.dist-info/RECORD,,
|
|
@@ -54,7 +54,7 @@ class HydroAggregator(Aggregator):
|
|
|
54
54
|
3a. Aggregate results if all modules in group have results.
|
|
55
55
|
- Production is the sum of production levels with weighted profiles
|
|
56
56
|
- Reservoir filling is the sum of energy reservoir filling levels (filling*energy_equivalent_downstream/agg_energy_equivalent) with weighted profiles
|
|
57
|
-
- TODO:
|
|
57
|
+
- TODO: Water values, spill, bypass and pumping results are currently ignored in the aggregation.
|
|
58
58
|
- TODO: Add possibility to skip results aggregation.
|
|
59
59
|
3b. Make new hydro module and delete original modules from model data.
|
|
60
60
|
4. Add mapping from detailed to aggregated modules to self._aggregation_map.
|
|
@@ -62,7 +62,7 @@ class HydroAggregator(Aggregator):
|
|
|
62
62
|
Disaggregation steps (self._disaggregate):
|
|
63
63
|
1. Restore original modules from self._original_data. NB! Changes to aggregated modules are lost except for results (TODO)
|
|
64
64
|
2. Move production and filling results from aggregated modules to detailed modules, weighted based on production capacity and reservoir capacity.
|
|
65
|
-
- TODO:
|
|
65
|
+
- TODO: Water values, spill, bypass and pumping results are currently ignored in the disaggregation.
|
|
66
66
|
3. Delete aggregated modules.
|
|
67
67
|
|
|
68
68
|
NB! Watershed that crosses power nodes should not be aggregated in two different HydroAggregators as the aggregator will remove all connected modules
|
|
File without changes
|
|
File without changes
|