From 26d6b7b0d8f1ff76371e4510f9b9c6ba33da7603 Mon Sep 17 00:00:00 2001 From: Martin Moraga Date: Tue, 10 Oct 2023 10:35:40 +0200 Subject: [PATCH] Update RotatingMachineDynamics.py initialize parameter 'inertia' of class RotatingMachineDynamics as float Signed-off-by: Martin Moraga --- cimpy/cgmes_v2_4_15/RotatingMachineDynamics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cimpy/cgmes_v2_4_15/RotatingMachineDynamics.py b/cimpy/cgmes_v2_4_15/RotatingMachineDynamics.py index bdb81b86..ca6e47fb 100644 --- a/cimpy/cgmes_v2_4_15/RotatingMachineDynamics.py +++ b/cimpy/cgmes_v2_4_15/RotatingMachineDynamics.py @@ -28,7 +28,7 @@ class RotatingMachineDynamics(DynamicsFunctionBlock): __doc__ += '\n Documentation of parent class DynamicsFunctionBlock: \n' + DynamicsFunctionBlock.__doc__ - def __init__(self, damping = 0.0, inertia = 0, saturationFactor = 0.0, saturationFactor120 = 0.0, statorLeakageReactance = 0.0, statorResistance = 0.0, *args, **kw_args): + def __init__(self, damping = 0.0, inertia = 0.0, saturationFactor = 0.0, saturationFactor120 = 0.0, statorLeakageReactance = 0.0, statorResistance = 0.0, *args, **kw_args): super().__init__(*args, **kw_args) self.damping = damping