Turbo Building Tutorial - WIP

Chris Lesperance

Registered
I recently started to try and figure out how to do accurate turbos with the Physics Spreadsheet. This is the table that starts on Cell M39 on the Engine2 tab. I’m hoping to add this here for documentation and hive mind the parts that might be missing.

I haven’t figured out how to do the Turbine Flow rate (Cell A48 to D98). If some one has suggestions, please post it and let me know.

First thing is research. Finding any graphs related to the make and model of your turbo. Usually there is a compressor map that is a standard layout for all turbos. As an example, it is the Figure 2 picture below.

Once you have this, it is trying to extract the numbers from your map graph. I've been using https://plotdigitizer.com/app lately. Maybe there are others out there, but any app that will convert a line graph to data. Load in the graph, and then set your X and Y limits. A reminder that the scale for the flow can be different. You’ll need to convert the X axis to kg/s if that is not available.

On the spreadsheet side, I believe you only need to fill in what you know. You don't have to utilize the full chart. Adding more will make it more detailed, but I do not believe it is necessary. In this example, with the map having the turbo RPM going to 150000 rpm, I filled in the Spool RPM (Cell O42) to 20000. You need to try and make that Spool RPM number come close to the RPMs that are listed on your compressor map to make guessing easier. The Corrected flow on the compressor map goes to ~0.5 kg/s. Putting "0.05" in Cell P42 gives a good break down for that.

Using 100k RPM as an example of what to do.
Surge flow - Red line - Column AG is the Compressor surge flow values. For this, you match the RPM on the spread sheet with where it intersects with the surge flow line. You take the X value, and put that in the AG column.

Pressure Ratio - Yellow - You'll take the corrected flow value on the sheet (Blue numbers/lines), and use that on your X axis on the map. Where that intersects with the RPM, gives you the pressure ratio. You will fill that in the chart for the RPM you are working with (Yellow cells).

Now where the pressure ratio is plotted, that will be within an area circle. That is the Efficiency (green values). This is a little guess work as the circles increase by a couple percent per line. How ever it falls, you put that in the chart for the RPM you are working with (green cells)

That should take care of 1 rpm line. That just need to be done for the rest of the rpms on your chart.

I hope I explained the way that I see things well enough. It just has to be done for all RPM values on the spreadsheet. Now the values before and after the plotted points, I do not have a good solution for. In my engine, I just took some inspiration from the provided turbo on the sheet. If you come up with a better or easier solution, I would love to hear it. Also note that if the RPM value on the sheet is not on the map (for example 40000rpm), that might take a little guess work. I don't have a good and easy solution for that either. I think I might have to ask ChatGPT for some suggestions.

Anyway, let me know if that works or if there are any questions. I'll do my best to answer!

spread10.jpg

map10.jpg
 
I am now working on R90CK :D I have a problem where the power wouldn't increase anymore after 1000bhp. I think I had once 1200bhp on my BMW 3.2 CSL Turbo physics (accidently and had to correct). I am writing this comment before I will start learning about these compressor parameters, I haven't been doing anything with those yet. And I hope to find answer in these lines, thanks to this thread hopefully a lot quicker.

So far I have been only messing with TurbineFlowEffects, which usually did the trick. But I never had full control over turbo physics.
 
Looking for some clarification that my thinking is correct regarding the surge line. Going by this quote "This line represents the maximum amount of pressure the turbocharger can produce while flowing the least amount of mass.", I interpret that you take the fuel mass flow that intercepts with the surge line. Using the attached picture as an example, looking at data point 4 at 118908 RPM, which is somewhat placed on the surge line, the value I should put in for the surge lookup table is roughly .0435 (6 lbs/min). Please correct me if I'm wrong in this regard. Thanks!
1767560302475.png
 
Looking for some clarification that my thinking is correct regarding the surge line. Going by this quote "This line represents the maximum amount of pressure the turbocharger can produce while flowing the least amount of mass.", I interpret that you take the fuel mass flow that intercepts with the surge line. Using the attached picture as an example, looking at data point 4 at 118908 RPM, which is somewhat placed on the surge line, the value I should put in for the surge lookup table is roughly .0435 (6 lbs/min). Please correct me if I'm wrong in this regard. Thanks!
View attachment 56948

Yes, your ~0.435 would be my interpretation of the surge line value. I'm by no means an expert myself

 
How is compressor RPM calculated ? Probably some complex formula with engine rpm, amount of fuel burned, exhaust gases flow pressure ? It seems like problem I had of power plateau despite adding boost was due to lacking more lines (ratio, efficiency) for compressor table, interestingly changing table RPM step value didn't help. And changing corrected flow step also almost didn't help.

Continuing exploring, turbo is one another thing that brings that realization (once again) of how far rF2 go. There is so much going on there. Underappreciated.
 
How is compressor RPM calculated ?
Are you referring to the RPM used in the IRL data or the RPM on the physics sheet? I'm not sure how the IRL RPM is selected. For the Physics sheet, it is controlled by cell O42 on the Engine2 tab. I'm sure you could use math, but I have been using ChatGPT to ask what number divides into all to the listed IRL rpm the closest. Some kind of prompt like that.

I believe the Turbine Chart (A49:98 - D49:98 on the Engine2 tab) works as follows:

Turbine-Flow-Maps-G25-2-scaled.jpg


Using this chart, The Y axis aligns to column A. At each of those entries, you match the value to the X axis on this chart, and enter it in Column C.

Garrett_Performanmce_G25-700_Compressor_Map-scaled.jpg


Using the Column C value, that will match to the Y axis on this chart. I believe where the Y-Value crosses the center dotted line, will give you your efficiency for Column D in the spread sheet. If your chart doesn't have the dotted line, I am thinking you make a line that hits the apex point of the efficiency curves.

Now, my issue, seems to be similar to what @ThomasJohansen is having in this post (https://forum.studio-397.com/index....d-ai-extreme-boost-levels.87337/#post-1163431), where it seems at times that boost is way too much. I am very lost on that. I haven't been able to figure that part out. I am leaning on it being wastegate and dump valve values. I cannot get my head wrapped around how those actually work.

These are just my theories on how this all works. I am by no means, an expert. It seems to make sense with the charts that were provided in the sample Physics sheet. If someone has any additional ideas or thoughts, please share them.
 
This is why I quit modding after GTR2. all I had to do was make a flat camel hump rpm map for the turbine cars and they performed somewhat close to expectations. Air Flow? Turbine rpm? Crimeny! Do we need a metallurgy degree to discuss the turbine blades?
 
new question about turbo.

Just realized, my turbo stays at 1.0 boost when idle (max 1.7). what controls this? it should probably lower to 0.2 when idle.
 
new question about turbo.

Just realized, my turbo stays at 1.0 boost when idle (max 1.7). what controls this? it should probably lower to 0.2 when idle.

Is the displayed value boost or total/ambient pressure? I'll have to check the next time I'm on my PC to see what information it displays. When the turbo is at max pressure, what does that display? Is it 1.7 bar or 2.7 bar?

I was going back and forth on my values. I'm not sure if the real documentation lists "boost" as boost pressure over ambient or as total pressure. I eventually settled on the combination of what provided the closest HP. In my case when they said "25 PSI at max boost" this was 25 PSI (172369 pascal) over ambient.

1776697099245.png


I hope that helps :)
 
Boostpressure starts at 1.0 when idle, and my car at setting 7 it goes to 1.7 when full throttle etc. but when off throttle it goes back to 1.0.
Then my question is , shouldnt it drop to almost zero?

When you look at this magnificent video, you can see the boost gause goes to zero when off throttle, and that just made me wonder, because this must have an effect on how the turbo behaves.

here is my boost setting (also tried engineBoostRange 0, but didnt change this)
2026-04-20180642.jpg
 
Last edited:
I kinda figured out where baseline boost (off throttle) is.
It's the first value of pressure ratio in compressor table.
I couldnt set it lower than 0.35 else the car would stall or make funny behaviors. also had to raise idleRPM to 1700 to maintain idle rpm at 1200.

I also rescaled my turbo from 0.5 step to 0.25 to better fit engine rpm, and adjusted the efficiency values (graph to the right)


Also after asking AI about turbo problems in my engine file, I adjusted IntakeLeak. ended up on 8.00E-7
I dont feel the Dumpvalve have much to say unless they are too low. AI suggested 105000 / 100000 but was too low so went with 115000 / 110000.


So now it looks something like this:

turbo-v3.jpg
 
Last edited:
Looking for some clarification that my thinking is correct regarding the surge line. Going by this quote "This line represents the maximum amount of pressure the turbocharger can produce while flowing the least amount of mass.", I interpret that you take the fuel mass flow that intercepts with the surge line. Using the attached picture as an example, looking at data point 4 at 118908 RPM, which is somewhat placed on the surge line, the value I should put in for the surge lookup table is roughly .0435 (6 lbs/min). Please correct me if I'm wrong in this regard. Thanks!
View attachment 56948
About the turbo map, should they start from "zero" or like @Robin Pansar example from almost horisontal level at a certain boostlevel?
Does it matter much?
 
I kinda figured out where baseline boost (off throttle) is.
It's the first value of pressure ratio in compressor table.
I couldnt set it lower than 0.35 else the car would stall or make funny behaviors. also had to raise idleRPM to 1700 to maintain idle rpm at 1200.

I also rescaled my turbo from 0.5 step to 0.25 to better fit engine rpm, and adjusted the efficiency values (graph to the right)


Also after asking AI about turbo problems in my engine file, I adjusted IntakeLeak. ended up on 8.00E-7
I dont feel the Dumpvalve have much to say unless they are too low. AI suggested 105000 / 100000 but was too low so went with 115000 / 110000.


So now it looks something like this:

View attachment 57275
That is pretty much how I drew my GTR2 turbo motors Follow the Red line. lol!
 
Back
Top