Skip to content

Commit

Permalink
Update SynchronousMachineTimeConstantReactance.py
Browse files Browse the repository at this point in the history
initialize dynamic parameters of class SynchronousMachineTimeConstantReactance as float

Signed-off-by: Martin Moraga <martin.moraga@eonerc.rwth-aachen.de>
Signed-off-by: Martin Moraga <martin.moraga@rwth-aachen.de>
  • Loading branch information
martinmoraga committed Jun 21, 2024
1 parent d611e32 commit 5431086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SynchronousMachineTimeConstantReactance(SynchronousMachineDetailed):

__doc__ += '\n Documentation of parent class SynchronousMachineDetailed: \n' + SynchronousMachineDetailed.__doc__

def __init__(self, rotorType = None, modelType = None, ks = 0.0, xDirectSync = 0.0, xDirectTrans = 0.0, xDirectSubtrans = 0.0, xQuadSync = 0.0, xQuadTrans = 0.0, xQuadSubtrans = 0.0, tpdo = 0, tppdo = 0, tpqo = 0, tppqo = 0, tc = 0, *args, **kw_args):
def __init__(self, rotorType = None, modelType = None, ks = 0.0, xDirectSync = 0.0, xDirectTrans = 0.0, xDirectSubtrans = 0.0, xQuadSync = 0.0, xQuadTrans = 0.0, xQuadSubtrans = 0.0, tpdo = 0.0, tppdo = 0.0, tpqo = 0.0, tppqo = 0.0, tc = 0.0, *args, **kw_args):
super().__init__(*args, **kw_args)

self.rotorType = rotorType
Expand Down

0 comments on commit 5431086

Please sign in to comment.