unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72133] [PATCH 0/2] Add python-pandapower and python-pandapipes
@ 2024-07-16  1:08 Vinicius Monego
  2024-07-16  1:10 ` [bug#72133] [PATCH 1/2] gnu: Add python-pandapower Vinicius Monego
  2024-07-16  1:10 ` [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes Vinicius Monego
  0 siblings, 2 replies; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16  1:08 UTC (permalink / raw)
  To: 72133; +Cc: Vinicius Monego

Vinicius Monego (2):
  gnu: Add python-pandapower.
  gnu: Add python-pandapipes.

 gnu/packages/engineering.scm | 59 ++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)


base-commit: eb508e32d2d359c94d2cabebfe90dc32ca5dcf4f
-- 
2.39.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#72133] [PATCH 1/2] gnu: Add python-pandapower.
  2024-07-16  1:08 [bug#72133] [PATCH 0/2] Add python-pandapower and python-pandapipes Vinicius Monego
@ 2024-07-16  1:10 ` Vinicius Monego
  2024-07-16  1:10 ` [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes Vinicius Monego
  1 sibling, 0 replies; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16  1:10 UTC (permalink / raw)
  To: 72133; +Cc: Vinicius Monego

* gnu/packages/engineering.scm (python-pandapower): New variable.

Change-Id: I08bbb31df0e8c9918f331c420eb2f3ac136b69a8
---
 gnu/packages/engineering.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index cc9020c6fd..6e204e6b6d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2627,6 +2627,40 @@ (define-public python-pyvisa
 measurement devices and test equipment via GPIB, RS232, Ethernet or USB.")
     (license license:expat)))
 
+(define-public python-pandapower
+  (package
+    (name "python-pandapower")
+    (version "2.14.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pandapower" version ".zip"))
+       (sha256
+        (base32 "0c5vgiq795kd5q4wcy2x7s3l7x9xdj2nqyfx188dmhgqckrym161"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pyproj python-pytest unzip))
+    (propagated-inputs (list python-deepdiff
+                             python-geojson
+                             python-networkx
+                             python-numpy
+                             python-packaging
+                             python-pandas
+                             python-scipy
+                             python-tqdm
+                             python-typing-extensions))
+    (home-page "https://www.pandapower.org/")
+    (synopsis "Power system modelling and analysis")
+    (description "@code{pandapower} is an easy to use network calculation
+program aimed to automate the analysis and optimization of power systems.
+It uses the data analysis library @code{pandas} and is compatible with the
+commonly used @code{MATPOWER} / @code{PYPOWER} case format.  @code{pandapower}
+allows using different solvers including an improved Newton-Raphson power flow
+implementation, all @code{PYPOWER} solvers, the C++ library solvers for fast
+steady-state distribution power system analysis of @code{PowerGridModel}, the
+Newton-Raphson power flow solvers in the C++ library lightsim2grid, and the
+@code{PowerModels.jl} library.")
+    (license license:bsd-3)))
+
 (define-public python-scikit-rf
   (package
     (name "python-scikit-rf")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes.
  2024-07-16  1:08 [bug#72133] [PATCH 0/2] Add python-pandapower and python-pandapipes Vinicius Monego
  2024-07-16  1:10 ` [bug#72133] [PATCH 1/2] gnu: Add python-pandapower Vinicius Monego
@ 2024-07-16  1:10 ` Vinicius Monego
  2024-07-16  5:36   ` bug#72133: [PATCH 0/2] Add python-pandapower and python-pandapipes jgart via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16  1:10 UTC (permalink / raw)
  To: 72133; +Cc: Vinicius Monego

* gnu/packages/engineering.scm (python-pandapipes): New variable.

Change-Id: I5858f8a82ec6b351e14a03ecc52a0b9fef62f7c0
---
 gnu/packages/engineering.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 6e204e6b6d..2875d45330 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2661,6 +2661,31 @@ (define-public python-pandapower
 @code{PowerModels.jl} library.")
     (license license:bsd-3)))
 
+(define-public python-pandapipes
+  (package
+    (name "python-pandapipes")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pandapipes" version ".zip"))
+       (sha256
+        (base32 "06yqqd25hxa6q49qcbpy0njwxkqzfhbff4frrrxd84391njgvdhq"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-nbmake
+                         python-pytest
+                         python-pytest-xdist
+                         unzip))
+    (propagated-inputs (list python-matplotlib
+                             python-pandapower
+                             python-shapely))
+    (home-page "http://www.pandapipes.org")
+    (synopsis "Simulation of multi energy grids")
+    (description
+     "This package provides a pipeflow calculation tool that complements
+@code{pandapower} in the simulation of multi energy grids.")
+    (license license:bsd-3)))
+
 (define-public python-scikit-rf
   (package
     (name "python-scikit-rf")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#72133: [PATCH 0/2] Add python-pandapower and python-pandapipes
  2024-07-16  1:10 ` [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes Vinicius Monego
@ 2024-07-16  5:36   ` jgart via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-07-16  5:36 UTC (permalink / raw)
  To: 72133-done; +Cc: Vinicius Monego



Thanks, applied!

-- 
all the best,
jgart




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-16  5:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16  1:08 [bug#72133] [PATCH 0/2] Add python-pandapower and python-pandapipes Vinicius Monego
2024-07-16  1:10 ` [bug#72133] [PATCH 1/2] gnu: Add python-pandapower Vinicius Monego
2024-07-16  1:10 ` [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes Vinicius Monego
2024-07-16  5:36   ` bug#72133: [PATCH 0/2] Add python-pandapower and python-pandapipes jgart via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).