GNU bug report logs - #72336
[PATCH] gnu: Add python-motulator.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sun, 28 Jul 2024 14:34:02 UTC

Severity: normal

Tags: patch

Done: jgart <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jgart <jgart <at> dismail.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72336: closed ([PATCH] gnu: Add python-motulator.)
Date: Mon, 29 Jul 2024 18:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 29 Jul 2024 13:52:32 -0500
with message-id <878qxkdo9b.fsf <at> dismail.de>
and subject line Re: [PATCH] gnu: Add python-motulator.
has caused the debbugs.gnu.org bug report #72336,
regarding [PATCH] gnu: Add python-motulator.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72336: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72336
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add python-motulator.
Date: Sun, 28 Jul 2024 14:32:18 +0000
* gnu/packages/engineering.scm (python-motulator): New variable.

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

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5f380ceb23..f411d4ac1e 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2996,6 +2996,32 @@ (define-public libmedfile
 interpolation toolkit.")
     (license license:gpl3+)))
 
+(define-public python-motulator
+  (package
+    (name "python-motulator")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "motulator" version))
+       (sha256
+        (base32 "01qv4d4rgkwk653vz1qz1nmakniv86572j5ikrxwd63rwv5ckggf"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f)) ; there are no tests
+    (propagated-inputs (list python-matplotlib python-numpy python-scipy))
+    (native-inputs (list python-hatchling
+                         python-ipykernel
+                         python-toml))
+    (home-page "https://aalto-electric-drives.github.io/motulator/")
+    (synopsis "Motor Drive Simulator in Python")
+    (description "This package includes simulation models for an induction
+motor, a synchronous reluctance motor, and a permanent-magnet synchronous
+motor.  The motor models are simulated in the continuous-time domain while the
+control algorithms run in discrete time.  The default solver is the explicit
+Runge-Kutta method of order 5(4) from @code{scipy.integrate.solve_ivp.}")
+    (license license:expat)))
+
 (define-public cgns
   (package
     (name "cgns")

base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
-- 
2.39.2



[Message part 3 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: 72336-done <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: Re: [PATCH] gnu: Add python-motulator.
Date: Mon, 29 Jul 2024 13:52:32 -0500
Applied, thanks!
-- 
all the best,
jgart


This bug report was last modified 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.