From patchwork Tue Jul 16 01:10:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29325 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E2E5327BBEA; Tue, 16 Jul 2024 02:12:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4ED0527BBE2 for ; Tue, 16 Jul 2024 02:12:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTWjc-0000F4-1Z; Mon, 15 Jul 2024 21:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTWjY-00006N-Fl for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTWjY-0004Io-7D for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sTWja-0000Tb-Dr for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72133] [PATCH 1/2] gnu: Add python-pandapower. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Jul 2024 01:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72133 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72133@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 72133-submit@debbugs.gnu.org id=B72133.17210922871772 (code B ref 72133); Tue, 16 Jul 2024 01:12:02 +0000 Received: (at 72133) by debbugs.gnu.org; 16 Jul 2024 01:11:27 +0000 Received: from localhost ([127.0.0.1]:60622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTWj0-0000SV-Gi for submit@debbugs.gnu.org; Mon, 15 Jul 2024 21:11:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTWiy-0000SB-RU for 72133@debbugs.gnu.org; Mon, 15 Jul 2024 21:11:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 51116240101 for <72133@debbugs.gnu.org>; Tue, 16 Jul 2024 03:11:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721092276; bh=ifWp4P501l+Dw0HWHPB1M95I3XCijRDE5JkxyWtnYJQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=bmMZnk9vEkMu/omL2Km8aFUgVKxD7IQIQCIxLn5ePFdpzryXkVJJW3LPymf9fcjGV GGgIHVqY5xiPBrxhSyhnhfvb7U0i87iigPGRXy61n8V36LJV+hejND1J3KdkA8Fg3I D9xDvZ5i0Nlz1nzis3BoAqNQP7oarnNVdVont+XaS/xuJ8wmKKv3P6byjahXeobI3s 75l2DYejBwynakQQsh+1MihQRi/jCky7E83UXu3wcT9CKQNxtPB+wXpX0F+Q/J95rh hS4JaUJu4phqhMps0LIqzAQiATMdc73bwwB61pCKK90HSLpRPHkpxf7iSiy/WtBO+i QXUlsAs2a0QyA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WNLcM0KDlz6tvn; Tue, 16 Jul 2024 03:11:14 +0200 (CEST) From: Vinicius Monego Date: Tue, 16 Jul 2024 01:10:08 +0000 Message-Id: <6f763535fd29b3b0b82de04f8c6e4ccd0289c498.1721091992.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jul 16 01:10:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29326 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 89E4A27BBE9; Tue, 16 Jul 2024 02:12:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B8F2F27BBE2 for ; Tue, 16 Jul 2024 02:12:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTWja-0000Ek-D9; Mon, 15 Jul 2024 21:12:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTWjZ-000090-24 for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTWjY-0004J6-Q3 for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sTWjb-0000Tk-0b for guix-patches@gnu.org; Mon, 15 Jul 2024 21:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72133] [PATCH 2/2] gnu: Add python-pandapipes. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Jul 2024 01:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72133 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72133@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 72133-submit@debbugs.gnu.org id=B72133.17210922901788 (code B ref 72133); Tue, 16 Jul 2024 01:12:02 +0000 Received: (at 72133) by debbugs.gnu.org; 16 Jul 2024 01:11:30 +0000 Received: from localhost ([127.0.0.1]:60625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTWj3-0000Sl-VD for submit@debbugs.gnu.org; Mon, 15 Jul 2024 21:11:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTWj2-0000SF-3E for 72133@debbugs.gnu.org; Mon, 15 Jul 2024 21:11:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0369A240101 for <72133@debbugs.gnu.org>; Tue, 16 Jul 2024 03:11:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721092280; bh=fznDdtXXjg97ILOJ/QHIsK70Ph7VkO3OhxINyFDAsY4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=OPC2y4/vy1dhGS2W7EMi7JqzeNtgVxDLhlQTIywhZGfcLoCYlkYLod45PQB+HLXLR MyF5u8RYx4Y2hKDT2HGzBzbQmfnjwHcEO0N55i4WemsuGUW6lUh2W+MnxweqSuwIqC WsruVy5rEvgU0ET3+I2P+S2GHsTSe+wKbXk6LuKoah1erMy05S8L1wikNyb3xSO6Qt u6SFI1EN1rUohbHt4QvJCV/rHBU7WbgPpqXl/7RvREhZPzo786kCGB1PU2uMfD5/bJ Uc20VZ+3IMDfYwFPHhVB5DDctGO3WccnlTT9vygAs0Tv/Qp+HN/Oabr6m+5/cZlQoc BIOdUL6HGNRDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WNLcR0xtwz6tvn; Tue, 16 Jul 2024 03:11:18 +0200 (CEST) From: Vinicius Monego Date: Tue, 16 Jul 2024 01:10:09 +0000 Message-Id: <4a31aeddd0a9029e9213e6602149060103c108aa.1721091992.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")