def test_Power(self): """ Tests that the engine class is working properly """ # Create the propeller defined in the mathcad pdf documents Prop = ACPropeller() Prop.D = 14.2*IN Prop.PitchAngle = 12*ARCDEG # Prop.Pitch = 7.1117*IN Prop.dAlpha = 0*ARCDEG Prop.Solidity = 0.0136 Prop.RD = 3/8 Prop.AlphaStall = 14*ARCDEG N = 11400 * RPM self.assertAlmostEqual(Prop.P(N, 0*FT/SEC, 0*FT) / HP, 1.2950, 4)
from Aerothon.ACPropeller import ACPropeller from Aerothon.AeroUtil import STDCorrection import numpy as npy import pylab as pyl from scalar.units import IN, LBF, SEC, ARCDEG, FT, RPM, OZF, GRAM, gacc, W, K, degR, inHg, MM from scalar.units import AsUnit # Set Propeller properties Prop = ACPropeller() Prop.name = 'APC 22x10E' Prop.D = 22 * IN Prop.Thickness = 0.5 * IN Prop.Pitch = 10 * IN Prop.dAlpha = 11 * ARCDEG Prop.Solidity = 0.0126 Prop.AlphaStall = 20 * ARCDEG Prop.AlphaZeroCL = 0 * ARCDEG Prop.CLSlope = .22 / ARCDEG #- 2D airfoil lift slope Prop.CDCurve = 2.2 #- 2D curvature of the airfoil drag bucket Prop.CDp = .02 #- Parasitic drag Prop.Weight = 240.9 * GRAM * gacc Prop.ThrustUnit = LBF Prop.ThrustUnitName = 'lbf' Prop.PowerUnit = W Prop.PowerUnitName = 'watt' Prop.MaxTipSpeed = None #
from __future__ import division # let 5/2 = 2.5 rather than 2 from Aerothon.ACPropeller import ACPropeller import numpy as npy import pylab as pyl from scalar.units import IN, LBF, SEC, ARCDEG, FT, RPM, OZF from scalar.units import AsUnit # Set Propeller properties Prop = ACPropeller() Prop.name = 'Prop 13.5x4' Prop.D = 13.5*IN Prop.Thickness = 5/8*IN #Prop.PitchAngle = 12*ARCDEG Prop.Pitch = 4*IN Prop.dAlpha = 0.8*ARCDEG Prop.Solidity = 0.013 #0.0125 seems to match the old data better... Prop.RD = 3/8 Prop.AlphaStall = 13*ARCDEG Prop.Weight = 3/32*LBF # # These are corrected for standard day # # RPM, Thrust #Prop.ThrustData = [(8100 *RPM, 4 *LBF + 8*OZF), # (9200 *RPM, 5 *LBF + 13*OZF), # (11200 *RPM, 9 *LBF + 3*OZF)] # # RPM, Torque #Prop.TorqueData = [(11000 *RPM, 114.768*IN*OZF)]
from Aerothon.ACPropeller import ACPropeller from Aerothon.AeroUtil import STDCorrection import numpy as npy import pylab as pyl from scalar.units import IN, LBF, SEC, ARCDEG, FT, RPM, OZF, GRAM, gacc, hPa, K, W, inHg from scalar.units import AsUnit # Set Propeller properties Prop = ACPropeller() Prop.name = 'APC 12.25x3.75 ADV' Prop.D = 12.25 * IN Prop.Thickness = 5 / 8 * IN Prop.Pitch = 3.75 * IN Prop.dAlpha = 6.25 * ARCDEG # for correlating Prop.Solidity = 0.013 # for correlating Prop.AlphaStall = 18 * ARCDEG # for correlating Prop.AlphaZeroCL = 0 * ARCDEG #- 2D curvature of the airfoil drag bucket Prop.CLSlope = 0.095 / ARCDEG #- 2D airfoil lift slope (default 0.068/deg) Prop.CDCurve = 2.5 #- 2D curvature of the airfoil drag bucket Prop.CDp = 0.01 #- 2D parasite drag Prop.Weight = 1.80 * OZF Prop.WeightGroup = 'Propulsion' # # These are corrected for standard day #Standard correction for 2:00 pm for the test day #STD = STDCorrection(30.16*inHg, (1.6667 + 273.15)*K) #
from __future__ import division # let 5/2 = 2.5 rather than 2 from Aerothon.ACPropeller import ACPropeller from Aerothon.ACEngine import ACEngine from Aerothon.ACPropulsion import ACPropulsion import numpy as npy from Aerothon.scalar.units import IN, LBF, PSFC, SEC, ARCDEG, FT, OZF, RPM, HP from Aerothon.scalar.units import AsUnit # Set Propeller properties Prop = ACPropeller() Prop.D = 13.5 * IN # Diameter Prop.Thickness = .5 * IN # Thickness at the hub... just for drawing purposes Prop.PitchAngle = 14 * ARCDEG # Pitch angle.. aka \Beta Prop.dAlpha = 0 * ARCDEG # Difference between measured alpha and zero lift alpha Prop.Solidity = 0.0136 # Proportional to the blade disk area, similar to the activity factor (AreaBlades/(2*D**2)) Prop.RD = 3 / 8 # The location on the profile chord where the PitchAngle is defined (default 3/8) Von Mises 306 Prop.AlphaStall = 12 * ARCDEG # Stall angle of attack Prop.Weight = 3 / 32 * LBF # Weight # Use these parameters to match test data if need be. # Prop.CLSlope = .078/ARCDEG #- 2D airfoil lift slope # Prop.CDCurve = 2.2 #- 2D curvature of the airfoil drag bucket # Prop.CDp = .02 #- Parasitic drag # Set Engine properties - glow engine... see 2015 files for setting up electric motor Engine = ACEngine() Engine.Rbs = 1.1 Engine.Rla = 3.5 Engine.NumCyl = 1 Engine.NumRev = 1 Engine.CompRatio = 9