Hi, A few months ago I was curious about how to simulate tire/brake temperature and such things.
At the end I had to figure it out by myself, and the first result seems to be convincing to me:
The https://en.wikipedia.org/wiki/Newton's_law_of_cooling is a good starting point for basic cool-down, and how to change temperature.
For heating up I could only use common sense, since these properties of tires are probably bigger secrets than actual Pacejka parameters
So at the end I used these parameters that are already calculated in the simulation:
Angular velocity, tire deflection, camber, CP velocity, slip vector and a whole bunch of coefficients (about 15 of them)
so for heating up, go for something like this:
ang_vel * deflection * rolling_coeff +
ang_vel * deflection * camber * camber_coeff +
slip_vector_len * deflection * friction_coeff
Also a fancy thing that can be added as brake discs can heat up to 800°C or more it affects the internal temperature, that increases pressure, that makes the tire spring more stiff
for cooling down I used a simple kind of heat transfer:
move velocity, spinning speed and some base cool down factor were used to determine the speed of how quick the tire temperature interpolates towards the air temperature, and towards the road temperature at the CP.
The whole equation is based on the temperature difference so the transition is not linear, and with a couple of parameters the speed can also be adjusted.
At the end I didn't only calculate a single temperature value but an array of them, one for the internal temperature and 32 for the tire thread, as the wheel rolls the current rotation angle can be used as an index to this array.
So relatively for free I have an effect of different wear and temperature over the tire, so a hard braking can ruin a certain area of the tire, and as it wears it changes the radius of the wheel, and changes a lots of things
For the brake disc heat up I used the brake_torque to increase heat and the above method to cool it down to air temperature.
Regarding tire wear, I used the same rolling and friction method scaling by some temperature-wear curve value, so different wear at various temperatures, overheating can melt down the rubber quickly...etc.
And finally how that whole thing affects the final simulation?
Using the wheel angle again to look up the properties at the CP, with a couple of pre-set curves (temperature-grip ratio, dirt-grip ratio, wear-grip ratio) I got a single scalar at the end, that goes into the tire formula (not scaling the final Fx/Fy, I scale some of the pacejka parameters instead)
And yes, since yesterday the tire can get dirty and my life is getting even more complicated
I hope I could give some idea to who is also into this topic, and if you are already an expert, please don't spare me with your ideas!