Is there a way to create a formula to calculate horsepower curve along an RPM bandwidth? If so, could someone please point me to a place where I could find and learn about said formula? We need this for a script so our vehicles move but, we have no idea where to find this information.
To calculate horse power, you need two variables: RPM & Torque;
Read this article, then you can program it using the same logic it provides:
Alright thanks though this is not what we are looking for as we know how to do that part. It is creating the formula which is the hard part to make the cars drive but the coder im working with said he is just gonna try some other things. Once again though thank you for your time and response. I think the issue is how we are explaining it.
Either A:
Google a formula someone has already done.
Or B:
Find some real-world data and ask WolframAlpha to fit an equation for you.
We have googled it with zero results for what we are looking for.Plus this is for multiple vehicles so we would need the formula to work with all cars with specific data plugged in.
You’ll have to google some Dyno test data and get something like Wolfram Alpha to fit the data to an equation
Or just mess around with some polynomials in Desmos until you get something that seems right
Alright I’ll try that. Thanks for the responses.
It’s hardly a great curve, but you get the idea:
I was never able to find any pre-done polynomials either.
Sent that over to the coder to get his response but that sorta looks exactly like what he is going for.
What values did you plugin for that. Like what do they represent?
It’s just arbitrary - I messed with the coefficients of a cubic equation until I got something that looks somewhat like the BHP vs RPM curve for a low-end sports car. It should probably be pointier.
Alright thanks, that helped him out a bit.