コード例 #1
0
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aerothon.AeroUtil import STDCorrection
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_5000 import ThunderPower_4Cell_5000
from scalar.units import MM, IN, K, inHg, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit


# Set Motor properties
Motor  = ACMotor()
Motor.name = 'Hyperion_ZS4020'
Motor.Battery = ThunderPower_4Cell_5000
Motor.Ri  = 0.058*OHM        #Coil resistance
Motor.Io  = 1.4*A          #Idle current
Motor.Kv  = 585*RPM/V      #RPM/Voltage ratio
Motor.Vmax = 25.9*V 
Motor.Imax = 85*A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 1000000 
Motor.Pz  = 0.0 

Motor.Weight = 304*GRAM*gacc
Motor.LenDi = [60.2*MM, 48.9*MM] 
Arm=10.5*IN
Arm2=19.5*IN
#
# This data has been corrected for standard day
#
コード例 #2
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hacker_A60_20S'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.027 * OHM  #Coil resistance
Motor.Io = 1.7 * A  #Idle current
Motor.Kv = 245 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 595 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #3
0
from scalar.units import AsUnit
from Aerothon.AeroUtil import STDCorrection
from Reg2015Aircraft_Aerocats.Propulsion.Batteries.Turnigy_6Cell_3000 import Turnigy_6Cell_3000

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hacker_A50_14L'
Motor.Battery = Turnigy_6Cell_3000
#Manufacturer Data
# Motor.Ri  = 0.025*OHM        #Coil resistance
# Motor.Io  = 1*A          #Idle current
# Motor.Kv  = 300*RPM/V      #RPM/Voltage ratio
#Matched data
Motor.Ri = .12 * OHM
Motor.Io = .5 * A
Motor.Kv = 355 * RPM / V

Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 445 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
STD = STDCorrection(29.9 * inHg, (23.9 + 273.15) * K)
コード例 #4
0
from scalar.units import AsUnit
from Aerothon.AeroUtil import STDCorrection
from Adv2020Aircraft.Hardware.Batteries.Gens_6Cell_5000 import Gens_6Cell_5000

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hacker_A50_V3'
Motor.Battery = Gens_6Cell_5000
# Manufacturer Data
# Motor.Ri  = 0.026*OHM        #Coil resistance
# Motor.Io  = 1.1*A          #Idle current
# Motor.Kv  = 400*RPM/V      #RPM/Voltage ratio
# Matched data
Motor.Ri = .12 * OHM
Motor.Io = .5 * A
Motor.Kv = 400 * RPM / V

Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 445 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
STD = STDCorrection(29.9 * inHg, (23.9 + 273.15) * K)
コード例 #5
0
#sys.path.append(os.path.join(BAPDir,r'Propulsion\SpeedControllers'))
from SpeedControllers.Phoenix import Phoenix100  # note: Phoenix contains multiple models

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Scorpion250KV'
Motor.Battery = Turnigy_6Cell_3000
Motor.SpeedController = Phoenix100
#Manufacturer Data
# Motor.Ri  = 0.02*OHM        #Coil resistance
# Motor.Io  = 1.5*A          #Idle current
# Motor.Kv  = 250*RPM/V      #RPM/Voltage ratio
#Matched Data
Motor.Ri = 0.037 * OHM
Motor.Io = 0.69 * A
Motor.Kv = 250 * RPM / V
#
Motor.Vmax = 23.5 * V
Motor.Imax = 65 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 450 * GRAM * gacc
Motor.LenDi = [48.8 * MM, 64.9 * MM]

# Assign objects to weight classes
Motor.Battery.WeightGroup = 'Electronics'
Motor.SpeedController.WeightGroup = 'Electronics'
コード例 #6
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Scorpion_SII_4025_330'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.025 * OHM  #Coil resistance
Motor.Io = 1.1 * A  #Idle current
Motor.Kv = 440 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 23.5 * V
Motor.Imax = 85 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 353 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #7
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'AXI_4120_20'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.082 * OHM  #Coil resistance
Motor.Io = 1.5 * A  #Idle current
Motor.Kv = 465 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 23.5 * V
Motor.Imax = 52 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 320 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #8
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'AXI_4130_20'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.099 * OHM  #Coil resistance
Motor.Io = 1.2 * A  #Idle current
Motor.Kv = 305 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 409 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #9
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hacker_A50_14XS'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.018 * OHM  #Coil resistance
Motor.Io = 1.5 * A  #Idle current
Motor.Kv = 520 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 289 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #10
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hyperion_ZS4035_12'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.024 * OHM  #Coil resistance
Motor.Io = 2.09 * A  #Idle current
Motor.Kv = 299 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 26.842 * V
Motor.Imax = 95 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 521 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #11
0
# Assign objects to weight classes
Motor.Battery.WeightGroup = 'Electronics'
Motor.SpeedController.WeightGroup = 'Electronics'

Motor.WeightGroup = 'Propulsion'

## Manufacturer Data(SPH: Why are we not using these? are they not valid? 151113)
# Motor.Ri  = 0.025*OHM        #Coil resistance
# Motor.Io  = 1*A          #Idle current
# Motor.Kv  = 300*RPM/V      #RPM/Voltage ratio

# Matched data - Model 2
Motor.Ri = .077 * OHM  #.09
Motor.Io = 1.5 * A
Motor.Kv = 310 * RPM / V  #320

# SPH: Test data here?? (151113)
Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

# This data has been corrected for standard day #SPH: confirm the methodology behind these calculations 151113
STD = STDCorrection(29.9 * inHg, (23.9 + 273.15) * K)
Arm = 19.5 * IN
# Test data from the test stand
#            RPM,      Torque              Current   Voltage
コード例 #12
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit


# Set Motor properties
Motor  = ACMotor()
Motor.name = 'AXI_5325_16'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri  = 0.026*OHM        #Coil resistance
Motor.Io  = 2.1*A          #Idle current
Motor.Kv  = 350*RPM/V      #RPM/Voltage ratio
Motor.Vmax = 23.5*V
Motor.Imax = 85*A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm =  100000
Motor.Pz  = 0.0

Motor.Weight = 575*GRAM*gacc
Motor.LenDi = [46.8*MM, 59.98*MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage
コード例 #13
0
from scalar.units import AsUnit
from Aerothon.AeroUtil import STDCorrection
from Aircraft_Models.Reg2015Aircraft_AeroCats.Propulsion.Batteries.Turnigy_6Cell_3000 import Turnigy_6Cell_3000

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Hacker_A60_7XS'
Motor.Battery = Turnigy_6Cell_3000
#Manufacturer Data
# Motor.Ri  = 0.02*OHM        #Coil resistance
# Motor.Io  = 1.5*A          #Idle current
# Motor.Kv  = 320*RPM/V      #RPM/Voltage ratio
#Matched Data
Motor.Ri = 0.16 * OHM  #.15
Motor.Io = .5 * A  #1.5
Motor.Kv = 380 * RPM / V  #370
#
Motor.Vmax = 23.5 * V
Motor.Imax = 55 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 480 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
STD = STDCorrection(30.2 * inHg, (16.1 + 273.15) * K)
コード例 #14
0
# Optimum Prop None
from Aerothon.ACMotor import ACMotor
import numpy as npy
import cmath as math
from Aircraft_Models.Reg2014Aircraft_AeroCats.Propulsion.Batteries.ThunderPower_4Cell_4400 import ThunderPower_4Cell_4400
from scalar.units import MM, IN, OZF, RPM, HP, V, A, OHM, GRAM, gacc, mAh, W, LBF
from scalar.units import AsUnit

# Set Motor properties
Motor = ACMotor()
Motor.name = 'Scorpion_HK_3226_900'
Motor.Battery = ThunderPower_4Cell_4400
Motor.Ri = 0.034 * OHM  #Coil resistance
Motor.Io = 1.54 * A  #Idle current
Motor.Kv = 630 * RPM / V  #RPM/Voltage ratio
Motor.Vmax = 15.7 * V
Motor.Imax = 95 * A
Motor.ThrustUnit = LBF
Motor.ThrustUnitName = 'lbf'

Motor.xRm = 100000
Motor.Pz = 0.0

Motor.Weight = 346 * GRAM * gacc
Motor.LenDi = [46.8 * MM, 59.98 * MM]

#
# This data has been corrected for standard day
#
#            RPM,        Torque     Current   Voltage