Beispiel #1
0
 def pre_run(self):
     """
     Intercepts the call to pre_run and does some scroll processing, then 
     calls the base class function
     """
     
     #Call the base class function        
     PDSimCore.pre_run(self)
Beispiel #2
0
 def pre_run(self):
     """
     Intercepts the call to pre_run and does some scroll processing, then 
     calls the base class function
     """
     
     #Call the base class function        
     PDSimCore.pre_run(self)
Beispiel #3
0
 def _PDSimCore__post_solve(self):
     """
     {\eta _{motor}} = \frac{{{{\dot W}_{shaft}}}}{{{{\dot W}_{shaft}} + {{\dot W}_{motor}}}}
     {\eta _{motor}}\left( {{{\dot W}_{shaft}} + {{\dot W}_{motor}}} \right) = {{\dot W}_{shaft}}
     {{\dot W}_{motor}} = \frac{{{{\dot W}_{shaft}}}}{{{\eta _{motor}}}} - {{\dot W}_{shaft}}
     """
     #Call the base class function
     PDSimCore._PDSimCore__post_solve(self)
     
     #Extra code for the recip
     #Motor losses
     self.Wdot_motor = self.Wdot*(1/self.eta_motor-1)
     
     #Electrical Power
     self.Wdot_electrical = self.Wdot + self.Wdot_motor
     
     #Overall isentropic efficiency
     self.eta_oi = self.Wdot_i/self.Wdot_electrical
Beispiel #4
0
 def _PDSimCore__post_solve(self):
     """
     {\eta _{motor}} = \frac{{{{\dot W}_{shaft}}}}{{{{\dot W}_{shaft}} + {{\dot W}_{motor}}}}
     {\eta _{motor}}\left( {{{\dot W}_{shaft}} + {{\dot W}_{motor}}} \right) = {{\dot W}_{shaft}}
     {{\dot W}_{motor}} = \frac{{{{\dot W}_{shaft}}}}{{{\eta _{motor}}}} - {{\dot W}_{shaft}}
     """
     #Call the base class function
     PDSimCore._PDSimCore__post_solve(self)
     
     #Extra code for the recip
     #Motor losses
     self.Wdot_motor = self.Wdot*(1/self.eta_motor-1)
     
     #Electrical Power
     self.Wdot_electrical = self.Wdot + self.Wdot_motor
     
     #Overall isentropic efficiency
     self.eta_oi = self.Wdot_i/self.Wdot_electrical
Beispiel #5
0
 def __init__(self):
     PDSimCore.__init__(self)
Beispiel #6
0
 def __init__(self):
     #Initialize the base class that PistonExpander is derived from
     PDSimCore.__init__(self)
Beispiel #7
0
 def __init__(self):
     #Initialize the base class that PURecip is derived from
     PDSimCore.__init__(self)
Beispiel #8
0
 def __init__(self):
     #Initialize the base class that PistonExpander is derived from
     PDSimCore.__init__(self)
Beispiel #9
0
 def __init__(self):
     #Initialize the base class that PURecip is derived from
     PDSimCore.__init__(self)
Beispiel #10
0
 def __init__(self):
     PDSimCore.__init__(self)