diff --git a/gpkitmodels/GP/aircraft/motor/motor.py b/gpkitmodels/GP/aircraft/motor/motor.py index 18cae3ae..3f27dbdc 100644 --- a/gpkitmodels/GP/aircraft/motor/motor.py +++ b/gpkitmodels/GP/aircraft/motor/motor.py @@ -17,7 +17,9 @@ class MotorPerf(Model): i [amps] current v [V] woltage i0 4.5 [amps] zero-load current - Kv 29 [rpm/V] motor voltage constant + Kv_min 1 [rpm/V] min motor voltage constant + Kv_max 1000 [rpm/V] max motor voltage constant + Kv [rpm/V] motor voltage constant R .033 [ohms] internal resistance """ def setup(self, static, state): @@ -29,7 +31,9 @@ def setup(self, static, state): static.Qmax >= Q, v <= static.V_max, TCS([i >= Q*Kv+i0]), - TCS([v >= omega/Kv + i*R]) + TCS([v >= omega/Kv + i*R]), + Kv >= Kv_min, + Kv <= Kv_max ] class Motor(Model): @@ -56,10 +60,6 @@ def setup(self): class PropulsorPerf(Model): """Propulsor Performance Model - Variables - --------- - V_static 1 [cm/s] inflow velocity for static thrust - """ def setup(self, static, state):