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
  • Loading branch information
martinmoraga authored Oct 10, 2023
1 parent b49972e commit c3b2a9b
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 c3b2a9b

Please sign in to comment.