All insights

Twelve built-in math channels worth knowing

Muretto ships around forty math channels ready to plot. Here are the twelve we reach for most, what each one tells you, and how to read it without fooling yourself.

Scorsa Team5 min read

Scorsa-liveried open-wheel cars racing side by side in iRacing

Before you write your own math channels, it is worth knowing the ones Muretto already ships. They cover driving technique, tyres, brakes, balance and the platform, and every one of them is a readable expression you can open, copy and adapt.

Each channel below lists what it is for, how it is worked out, and what to watch for when you read it.

Driving

Pedal State

What it is for: seeing the whole lap's pedal work at once.

It labels each sample 0 coast, 1 part throttle, 2 flat out, 3 braking and 4 hard braking. It has colour bands built in, so colour a Track Map by it and you get a pedal map of the lap with a legend.

Read it for: grey (coasting) between the brake and the throttle. Every metre of coasting is a metre where the car is neither slowing for the corner nor driving out of it.

Corner State

What it is for: splitting the lap into phases.

where([Brake Pres] > 2,
  where(abs([G Lat]) > 0.3, 5, 4),
  where(abs([G Lat]) > 0.3,
    where([Throttle] > 20, 1, 2),
    where([Throttle] > 20, 0, 3)))

0 straight on power, 1 cornering on power, 2 cornering off power, 3 coasting, 4 straight-line braking, 5 trail braking.

Read it for: how much of each corner is trail braking (5) against cornering off power (2). Two drivers with the same lap time can spend it very differently.

Throttle Rate, Brake Rate and Steering Rate

What they are for: how fast the driver moves the controls, not just where they put them.

deriv(filtfilt([Throttle], 8))

The input is smoothed before it is differentiated, because differentiating raw data turns small noise into big spikes. More on that in the filters post.

Read them for: a hesitant throttle pick-up, or a steering rate that spikes mid-corner: the driver correcting, not committing.

Grip and corners

Combined G

sqrt([G Lat]^2 + [G Long]^2)

What it is for: how much of the tyres' grip the driver is using, whatever direction it points.

Read it for: dips through the transition from braking to turning. A driver who keeps combined g up through that phase is using the tyre; one who drops it is doing one thing, then the other.

Corner Speed Limit and Corner Gap

What they are for: how much speed is left in a corner.

Corner Speed Limit takes the lap's own peak lateral g and works out the speed each corner would be taken at if the car held that grip all the way round. Corner Gap shows the difference as a share of speed, because 2 km/h costs more time in a hairpin than in a fast sweeper.

Read it for: the corners with the biggest gap. Because the grip comes from the lap itself, it follows the car, tyres and conditions without any setting.

Corner Radius

What it is for: sorting corners by their shape.

Plot G Lat against Corner Radius on an X-Y panel and you can see which radii the car grips best in. A car that pulls more g in fast corners than slow ones is telling you something about its aero balance.

Slip and traction

Wheel Slip, Rear Wheelspin and Front Lock-up

What they are for: wheels turning faster or slower than the car is moving.

Wheel Slip is worked out for each corner from wheel speed against car speed: positive is wheelspin, negative is locking. Rear Wheelspin flags rear slip over 6 % with the throttle in, and Front Lock-up flags front slip under -8 % on the brakes.

Watch for:

  • They need wheel speeds. iRacing only has them in .ibt imports, not in live data.
  • They are blank below 20 km/h, where a small difference makes a huge percentage.
  • Kerbs bounce the wheel off the ground and read as slip. Read slip alongside the brake and throttle.
  • The 6 % and -8 % thresholds suit some cars and not others. Open the channel and tune them to yours.

Brakes

Brake Bias Live

where([Brake Pres] > 5,
  ([Brake Line FL] + [Brake Line FR]) /
  ([Brake Line FL] + [Brake Line FR] + [Brake Line RL] + [Brake Line RR]) * 100,
  0 / 0)

What it is for: the real front share of brake pressure while braking.

Read it for: where it moves away from the bias setting. ABS and pressure limiting change the split under braking, so the number in the setup is not always the number on the road.

Balance and platform

Steer Balance

What it is for: an estimate of understeer and oversteer.

It compares the road-wheel angle the driver is using with the angle the car's measured turning needs, given its wheelbase and speed. Positive is understeer, negative is oversteer, and the signs mean the same in left and right turns.

Watch for: it is a steady-cornering estimate. It is blank below 30 km/h and at low yaw rates, and fast turn-in, direction changes and slides can make it misleading. It relies on the right wheelbase and steering ratio. Compare the steady part of the same corner, lap against lap, rather than chasing a "right" number.

Rake, Roll Front, Roll Rear and Roll Ratio

What they are for: how the platform moves.

Rake is rear ride height minus front: positive is nose down. Roll Front and Roll Rear are left minus right damper travel. Roll Ratio divides one by the other in corners.

Read Roll Ratio on an X-Y plot against G Lat and look at the trend, not single points. It uses damper travel, so it carries each axle's motion ratio.

Kerb Strike and Bottoming

What they are for: finding the moments the car hit something.

Kerb Strike flags a front damper moving faster than 200 mm/s. Bottoming flags any corner's ride height at 1 mm or less. Both are good candidates for Raise as event, which lists every occurrence in the Event Feed. There is a post on that later in this series.

Tyres

Tyre Workload

integ([Combined G] * [Speed] / 3.6) / 1000

What it is for: how hard a lap worked the tyres.

It is a running total of combined g times distance. Compare the values at the end of each lap: a higher number worked the tyres harder. It is a simple way to compare a push lap with a save lap, or one driver's style with another's.

Make them yours

Every one of these is a starting point. Open it with Edit math channel, change a threshold to suit your car, and save it under a new name. The next post covers the tools that most of these channels are built from: filters, derivatives and values for the whole lap.

Our products

See the technology for yourself.

Explore Muretto, myRaceStats and SimKiosk.