コード例 #1
0
            (6973  *RPM, (12.35*Arm*OZF)*STD,    54.51*A,    14.8*V),
            (7104  *RPM, (9.78*Arm*OZF)*STD,    43.18*A,    14.8*V),
            (7034  *RPM, (10.99*Arm*OZF)*STD2,    47.68*A,    14.8*V),
            (7166  *RPM, (9.29*Arm*OZF)*STD2,    40.30*A,    14.8*V),
            (6825  *RPM, (11.76*Arm*OZF)*STD2,    51.33*A,    14.8*V),
            (7086  *RPM, (9.41*Arm*OZF)*STD2,    41.61*A,    14.8*V),
            (6776  *RPM, (7.98*Arm2*OZF)*STD3,    63.11*A,    14.8*V),
            (5592  *RPM, (11.0*Arm2*OZF)*STD3,    72.56*A,    14.8*V),
            (5753  *RPM, (9.90*Arm2*OZF)*STD3,    74.31*A,    14.8*V),
            (5590  *RPM, (11.0*Arm2*OZF)*STD4,    77.50*A,    14.8*V),
            (6680  *RPM, (10.45*Arm2*OZF)*STD5,    72.8*A,     13.9*V),
            (6473  *RPM, (10.75*Arm2*OZF)*STD5,    73.9*A,     14.5*V),
            (6092  *RPM, (12.05*Arm2*OZF)*STD5,    87.4*A,     14.5*V),
            (5497  *RPM, (11.30*Arm2*OZF)*STD5,    76.9*A,     14.2*V),]
            
             #this is actual test data from a test stand

Motor.TestData = TestData

if __name__ == '__main__':
    import pylab as pyl
    
    print "V to Motor : ", AsUnit( Motor.Vmotor(Ib=3.75*A), 'V' )
    print "Efficiency : ", Motor.Efficiency(Ib=3.75*A)
    print "Max efficiency : ", Motor.Effmax()
    print "Max efficiency current : ", AsUnit( Motor.I_Effmax(), 'A' )
    print "Max efficiency RPM : ", AsUnit( Motor.N_Effmax(), 'rpm' )
    
    Motor.PlotTestData()

    pyl.show()
コード例 #2
0
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
TestData = [(6200 * RPM, (7.5 * Arm * OZF) * STD, 34.8 * A, 23.0 * V),
            (5900 * RPM, (8.7 * Arm * OZF) * STD, 39.0 * A, 21.9 * V),
            (5600 * RPM, (9.9 * Arm * OZF) * STD, 44.2 * A, 21.5 * V),
            (6000 * RPM, (8.9 * Arm * OZF) * STD, 35.8 * A, 22.06 * V),
            (5800 * RPM, (11.1 * Arm * OZF) * STD, 45.2 * A, 21.9 * V)]

Motor.TestData = TestData

#==============================================================================#
# VISUALIZATION & RESULTS
#==============================================================================#
if __name__ == '__main__':

    print 'V to Motor       : ', AsUnit(Motor.Vmotor(Ib=45 * A), 'V')
    print 'Efficiency       : ', Motor.Efficiency(Ib=45 * A)
    print 'Max efficiency   : ', Motor.Effmax()
    print 'Max eff. current : ', AsUnit(Motor.I_Effmax(), 'A')
    print 'Max eff. RPM     : ', AsUnit(Motor.N_Effmax(), 'rpm')

    Motor.PlotTestData()

    pyl.show()