I couldn't find the MATLAB simulations on my university's computer(I think it purged them since they went unused for so long), so I made a new one in OpenOffice Calc(Similar to Excel. It will probably work with Excel, but just in case it doesn't, go to www.openoffice.org and download the stable version). I've been busy this weekend working on school-related things, but still found time to get this simulation mostly finished. It can calculate the forces acting on the car versus speed, graph these things, simulate the electric motor's dynamics(torque vs. amps, efficiency vs. amps, ect.), and calculate range per charge at various speeds depending upon the gear you select.
I still have to add in the constants to simulate inertial losses versus selected gear and wheel diameter, have to add in the components that allow rolling resistance losses to change depending on the gradient input, and still need to add in top speed with gear and acceleration(depends on your shift points) calculators.
I'm now sending it to those who requested it.
Under this simulation, my car is given the following inputs:
Curb Weight(lbs): 2300
Drag Coefficient: .25
Frontal Area(square feet): 14.7
Coefficient Wind: 1.2
Toe In/ Toe Out(inches): 0
Tire Tread Width(mm): 185
Tire Aspect Ratio: 80
Rim Size(inches): 14
Coefficient of Rolling Resistance: .0085
Total Drivetrain efficiency(%): 87
1st Gear Ratio: 3.14
2nd Gear Ratio: 2.01
3rd Gear Ratio: 1.33
4th Gear Ratio: 1
Differential Ratio: 3.7
Battery 20 hour Capacity(Amp Hours): 65
Battery Reserve Capacity(Minutes): 125
Internal Impedance per battery(Ohms): .004
Nominal Voltage: 12
Number of batteries: 25
Shift Point from Gear 1 to 2(RPM): (not used at the moment)
Shift Point from Gear 2 to 3(RPM): (not used at the moment)
Shift Point from Gear 3 to 4(RPM): (not used at the moment)
Max Motor Volts: 216
Max Motor Amps: 1000
The environmental conditions were as follows:
Wind Speed(MPH): 5
Incline(%): 0
Coefficient Friction of Road: .5
Air Density(slugs/cubic ft.): .0023
Under this simulation, my car would achieve the following:
235 lb-ft of peak torque from 0 RPM to around 3900 RPM, about 170 peak horsepower at around 3900 RPM, and about 80 miles per charge at 60 MPH speeds. Energy consumption from battery pack to wheels, counting peukert's effect of battery at 60 MPH is about 240 wh/mile, or if it were burning gas and getting this efficiency, 141 miles per gallon(33.8 kWh of energy in a gallon of gasoline).
From other simulations, range has consistently been projected between 80 and 100 miles per charge at 80 MPH. In simulations I've made that could time acceleration, with a 1000 motor amp limit, 0-60 acceleration has consistently been about 6 seconds(about as fast a Porsche Boxter) and top speed consistently over 135 MPH, some simulations I've previously done showing up to 160 MPH(With different tire size and lower outside air pressure with no outside wind speed).
Further, in previous simulations, with a 2000 amp controller as opposed to a 1000 amp one(controller limits motor amps), torque increases nearly 60% and 0-60 acceleration drops into the 4 second range(about as fast as a Dodge Viper),
Up the maximum motor volts more, and top speed also increases, provided the batteries can deliver that sort of power.
Whoever wants the simulation I just did to replace the one I lost, say so. I'm sending it to those who have already requested it.
It will have an acceleration calculator and top speed calculator later added to it, along with supporting the condition of an incline and accounting for battery voltage sag versus battery amperes(Battery's will be a limiting factor if they cannot put out enough power to meet motor demands, causing motor power to drop). Unlike other simulations, this one will be able to simulate other cars besides my own(Since on the others you could not have the user input their own values). So anyone that's going to make an EV? You'll probably find it very useful if you're concerned about performance, and you'll find it useful enough as it is if you're not and just need to know range.
Sometime soon, I'll also be posting pictures of my car as it is now, with some body work done and a gas engine placed back in it. Eventually, it will be an engineless car again, like it was, but I just had to toy with it since money for EV parts is low right now. Also, when I get the time, I'll be posting wiring schematics and other stuff.
I still have to add in the constants to simulate inertial losses versus selected gear and wheel diameter, have to add in the components that allow rolling resistance losses to change depending on the gradient input, and still need to add in top speed with gear and acceleration(depends on your shift points) calculators.
I'm now sending it to those who requested it.
Under this simulation, my car is given the following inputs:
Curb Weight(lbs): 2300
Drag Coefficient: .25
Frontal Area(square feet): 14.7
Coefficient Wind: 1.2
Toe In/ Toe Out(inches): 0
Tire Tread Width(mm): 185
Tire Aspect Ratio: 80
Rim Size(inches): 14
Coefficient of Rolling Resistance: .0085
Total Drivetrain efficiency(%): 87
1st Gear Ratio: 3.14
2nd Gear Ratio: 2.01
3rd Gear Ratio: 1.33
4th Gear Ratio: 1
Differential Ratio: 3.7
Battery 20 hour Capacity(Amp Hours): 65
Battery Reserve Capacity(Minutes): 125
Internal Impedance per battery(Ohms): .004
Nominal Voltage: 12
Number of batteries: 25
Shift Point from Gear 1 to 2(RPM): (not used at the moment)
Shift Point from Gear 2 to 3(RPM): (not used at the moment)
Shift Point from Gear 3 to 4(RPM): (not used at the moment)
Max Motor Volts: 216
Max Motor Amps: 1000
The environmental conditions were as follows:
Wind Speed(MPH): 5
Incline(%): 0
Coefficient Friction of Road: .5
Air Density(slugs/cubic ft.): .0023
Under this simulation, my car would achieve the following:
235 lb-ft of peak torque from 0 RPM to around 3900 RPM, about 170 peak horsepower at around 3900 RPM, and about 80 miles per charge at 60 MPH speeds. Energy consumption from battery pack to wheels, counting peukert's effect of battery at 60 MPH is about 240 wh/mile, or if it were burning gas and getting this efficiency, 141 miles per gallon(33.8 kWh of energy in a gallon of gasoline).
From other simulations, range has consistently been projected between 80 and 100 miles per charge at 80 MPH. In simulations I've made that could time acceleration, with a 1000 motor amp limit, 0-60 acceleration has consistently been about 6 seconds(about as fast a Porsche Boxter) and top speed consistently over 135 MPH, some simulations I've previously done showing up to 160 MPH(With different tire size and lower outside air pressure with no outside wind speed).
Further, in previous simulations, with a 2000 amp controller as opposed to a 1000 amp one(controller limits motor amps), torque increases nearly 60% and 0-60 acceleration drops into the 4 second range(about as fast as a Dodge Viper),
Up the maximum motor volts more, and top speed also increases, provided the batteries can deliver that sort of power.
Whoever wants the simulation I just did to replace the one I lost, say so. I'm sending it to those who have already requested it.
It will have an acceleration calculator and top speed calculator later added to it, along with supporting the condition of an incline and accounting for battery voltage sag versus battery amperes(Battery's will be a limiting factor if they cannot put out enough power to meet motor demands, causing motor power to drop). Unlike other simulations, this one will be able to simulate other cars besides my own(Since on the others you could not have the user input their own values). So anyone that's going to make an EV? You'll probably find it very useful if you're concerned about performance, and you'll find it useful enough as it is if you're not and just need to know range.
Sometime soon, I'll also be posting pictures of my car as it is now, with some body work done and a gas engine placed back in it. Eventually, it will be an engineless car again, like it was, but I just had to toy with it since money for EV parts is low right now. Also, when I get the time, I'll be posting wiring schematics and other stuff.





Comment