domainiac 6.0.0__py3-none-any.whl → 7.0.0__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.
@@ -17,6 +17,7 @@ class Plant:
17
17
  @classmethod
18
18
  def plants_from_df(cls, df: pd.DataFrame) -> list["Plant"]:
19
19
  plants = []
20
+
20
21
  for _, row in df.iterrows():
21
22
  plant = cls(
22
23
  plant_gsrn=row["plant_gsrn"],
@@ -26,7 +27,7 @@ class Plant:
26
27
  coordinate=Coordinate(
27
28
  latitude=row["latitude"],
28
29
  longitude=row["longitude"],
29
- altitude=0,
30
+ altitude=row["altitude"],
30
31
  ),
31
32
  installed_power_MW=row["installed_power_MW"],
32
33
  )
@@ -51,7 +52,7 @@ class Group:
51
52
  coordinate=Coordinate(
52
53
  latitude=row["latitude"],
53
54
  longitude=row["longitude"],
54
- altitude=0,
55
+ altitude=row["altitude"],
55
56
  ),
56
57
  )
57
58
  groups.append(group)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: domainiac
3
- Version: 6.0.0
3
+ Version: 7.0.0
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
@@ -8,9 +8,9 @@ domainiac/managers/resource_manager.py,sha256=QMkNcrgyXLLlkCR9kg4-nFjTaYHtlsldex
8
8
  domainiac/managers/unit_manager.py,sha256=DYF-AiBHzUGZJE5XlTLcszvgIQkSzZs_s9o35l4bkVk,1219
9
9
  domainiac/modeling/__init__.py,sha256=Ac5feYZ9gVLayU1Cb1ACqOyDrmvcxoOvZuUkOeXVKf8,101
10
10
  domainiac/modeling/nwp.py,sha256=PolrBdQn8W-e1M0_pefvmLn2mr4HT0NqlYlkyCV0dds,438
11
- domainiac/modeling/plant.py,sha256=48KEcfiMk90fOAzOeI5qtf1FcGvpyBNIRmN2zvx9CLc,1699
11
+ domainiac/modeling/plant.py,sha256=SvJmpx-a_WXStQhlRPWbcQNovSaCGU5N2oV8eBdvneE,1728
12
12
  domainiac/wrappers/__init__.py,sha256=vZOw9maXgVoAvudZqioD-GTPkgPI6fm7_CUELQcR_-g,43
13
13
  domainiac/wrappers/cache_wrapper.py,sha256=jDg-Lt_y-YzItyP-74tGULOxb07s_CcutmOHP1Ie00Q,355
14
- domainiac-6.0.0.dist-info/METADATA,sha256=8AxmvrHi2zk11DutGQ4qTipr6i6DNmXTtLlG8Rr8tO4,510
15
- domainiac-6.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
16
- domainiac-6.0.0.dist-info/RECORD,,
14
+ domainiac-7.0.0.dist-info/METADATA,sha256=38NsSJNtDHhairTH-Uebk-CugBJjmhLZ0mPID8fmTDQ,510
15
+ domainiac-7.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
16
+ domainiac-7.0.0.dist-info/RECORD,,