Formula Student or FSAE team?Student and team prices, and the FSAE tracks in the library
Illustration: A caliper measuring a machined suspension upright, an orange line where it measures
Illustration

Engineering & validation

How we check that the numbers are right

Every application is checked on the same four rungs, and every check says what it cannot show, including where it is known to be wrong. Pick an application.

  1. 01Exact answersCases whose answer is known in closed form. The solver has to land on the algebra.
  2. 02A second solverThe same equations solved separately, by a second implementation or another group's code.
  3. 03A different modelAnother program or reference method built on different choices. Every difference must trace to one.
  4. 04Measured dataReal vehicles, cells and packs. The only check that can say the model is wrong about reality.

APEX VELOX 0.5.23

Checked on all four rungs, and published where it is known to be wrong. Every result is a model result, not a measured lap.

1,908 tests before every release

01Exact answers Checked

27cases with an exact answer

From a skidpad at v = √(μgR) to constant-power top speed.

02A second solver Checked

10−9speed agreement with an independent implementation

Proves the equations are solved as written, not that they describe a car.

See the evidence
What is comparedAgreement required
Tyre forces: lateral, longitudinal and combined slip1 part in 1012
Combined-slip force envelope1 part in 1010
Axle grip1 part in 1012
Track curvature from the centreline1×10-10 1/m, absolute
Speed along the checked section of track1 part in 109
Gear selected at every stepidentical, every step
Lap time over the checked section1 part in 1010

Compared over the first 3 km of a real circuit's centreline. Separately, the reference lap (the reference car, Nürburgring 24h layout, 1 m step) must come out at exactly 8:37.052 on every build: a regression lock, not a measured lap time.

03A different model Checked

−0.55 %lap time against a TU Munich simulator, Shanghai

It is not validation against a real car: both are models.

See the evidence

Against TUMFTM laptime-simulation (TU Munich): the same Formula 1 car and the identical Shanghai curvature. Three effects we do not model were switched off in theirs; on their own they are worth 2.9 % of the lap.

Shanghai, flying lap, 5 341.4 mLap timevs TUMFTMTop speed RMS speed difference
TUMFTM, matched settings91.609 sreference 301.8 km/hreference
APEX VELOX, Extended model91.101 s−0.55 % 301.8 km/h2.2 km/h
APEX VELOX, Standard model90.679 s−1.02 % 301.8 km/h6.0 km/h
TUMFTM, matched settings91.609 sreferenceAPEX VELOX, Extended91.101 s−0.55 %APEX VELOX, Standard90.679 s−1.02 % faster than TUMFTM ← TUMFTM, matched settings91.609 s, referenceAPEX VELOX, Extended91.101 s, −0.55 %APEX VELOX, Standard90.679 s, −1.02 %
The lap times in the table, as a difference from TUMFTM. A model-to-model comparison, not a measurement.
  • Top speedIdentical to the tenth of a km/h.
  • Corners, ExtendedWithin 1 km/h, the other program's own search step.
  • Corners, Standard4–11 km/h faster: it adds the four wheel peaks. A documented model choice, and why Extended exists.
  • BrakingSlower: fixed brake bias against every wheel at its limit. Ideal distribution is an option.

04Measured data Checked

4 carsinstrumented road tests, and where we are wrong

Braking was over-predicted by 22–41 % until the tyres were calibrated.

See the evidence

Four production cars with instrumented test data (Edmunds and Car and Driver). Grip was set so the skidpad matches; everything else is predicted.

FindingSizeWhy
Braking distance over-predicted22–41 % Library tyres have equal longitudinal and lateral peaks, and the brake bias is fixed. Real cars stop at 13–23 % more than their skidpad g.
Trap speed too high7–11 % Rotating inertia, shift time, rolling resistance and launch slip are not in the standard model: physics gaps, not tuning errors.
Generic library tyre data15–38 % high The generic friction of the public library car set is well above these cars' measured skidpad.

What it changed

The library road cars now carry calibrated tyre friction, and rotating inertia, shift time, rolling resistance and ideal brake distribution are settings. With them on, a Porsche 911 Carrera S predicts:

105 ft60 mph to stop, 102 ft measured
4.49 s0 to 60 mph, 4.4 s measured
12.93 squarter mile, 12.7 s measured

For those cars skidpad and braking are therefore fitted rather than predicted. Magazine results scatter too: twelve tests of one car range 3.4–4.2 s to 60 mph and 100–118 ft from 60 mph.

How much the answer depends on step sizeThe lap drifts 0.95 s from 4 m to 0.25 m steps with the Standard model; 0.07 s with spatial relaxation.
StepStandard modelWith the spatial-relaxation option
4 m142.948 s141.882–141.947 s
2 m142.409 sacross all five steps
1 m (default)142.191 s
0.5 m142.077 s
0.25 m142.000 s
142.0142.5143.0spatial relaxation: 141.882–141.947 s at every step142.948142.409142.191142.077142.0004 m2 m1 m0.5 m0.25 m Lap time, s Step size (log scale)
The table above, drawn: the Standard model's lap time against step size, and the band the spatial-relaxation option stays inside at every step. Reference GT car, Spa.

The reference GT car at Spa. The Standard model's relaxation lags one step, so its lap drifts 0.95 s between 4 m and 0.25 m. That is deliberate: it reproduces the reference implementation exactly. But most of that spread is numerical, not physical (the real effect is about 0.01 s), which is why the spatial-relaxation option exists: it converges to within 0.07 s at every step.

What runs before a release1,908 tests, coverage 93.48 %, handbook examples and audits, in one command that must pass.
  • Tests1,908 automated tests over the physics, licences, file formats and the package, warnings as failures.
  • CoverageLine coverage of the engine code at 93.48 % of lines.
  • HandbookThe physics handbook's worked examples recomputed against its hand calculations.
  • Static analysis and auditsLinter and type checker against a baseline; dependency audits on both sides.
Check in the 0.5.23 release report (15 of 15 passed)Result
Python syntax (compileall app)Passed
Ruff (lint and import order)Passed
Pyright (type check against the baseline)Passed
Backend test suite (pytest, warnings as errors, with coverage)Passed
Python dependency audit (pip-audit)Passed
Handbook worked examples (hand calculation = code)Passed
Supabase Edge Functions (TypeScript typecheck)Passed
Supabase Edge Functions (node --test)Passed
TypeScript (npm run typecheck)Passed
ESLint (npm run lint)Passed
Interface dependency audit (npm audit, runtime only)Passed
Frontend unit tests (node --test)Passed
Frontend component and workflow tests (vitest)Passed
Production build (npm run build)Passed
Interface actually paints (render check)Passed

In that run: 1,911 tests executed, 1,908 passed, 0 failed and 3 skipped. The report names commit aec5c60.

Separately, by hand, the installer has been run on a fresh Windows installation that has never seen APEX VELOX. Tolerances are never widened to make a test pass, and golden data is never edited.

What the models do not coverPublished, not discovered. If a result depends on one of these, switch the setting on or use another tool.
Track bankingCambered corners are treated as flat.
Road roughnessNo road input, so damping cannot change grip.
Torque vectoringDrive torque is split by layout, not controlled.
Battery sag and temperatureElectric power is the stated power, not what a hot or low pack gives.
Camber with Pacejka LiteCamber changes no grip with the short tyre model.
Inertia, shifts, rolling resistanceOff unless entered: acceleration is optimistic by default.
Wheel lift, Standard modelA lifted wheel keeps a small load, over-predicting grip. Reported in every result; a setting fixes it.
Top-gear rev limit, StandardLap time can respond non-monotonically. Flagged; a setting fixes it.

APEX CELL 1.12.0

Checked against exact answers, a second solver and published measurements of cells and two packs. Temperatures and fans have no measured pack behind them yet.

Every release tested automatically before it is built

01Exact answers Checked

15cases with an exact or hand-checked answer

Discharge, polarisation, heat, busbars, convection, fitting: each must land on the known answer.

See the evidence
WhatChecked against
Constant current and constant power dischargeThe closed-form solution, including the maximum power point
Polarisation (1RC)The exponential step response, for any time step; heat and stored energy separately
Lumped temperatureThe exact solution for a constant heat input
Busbar resistanceHand calculations for a single strip, chains and parallel paths
Conduction between neighbouring cylindersThe exact formula for two parallel cylinders
Natural convectionA worked textbook example (Incropera, example 9.2)
Air flow across rows of cellsThe published tube-bank correlation and its validity limits
Cell-by-cell modelThe lumped model, for a pack of identical cells
Voltage and resistance curvesExact interpolation; a cold pack sags by exactly the extra resistance
Energy, heat and chargeBalanced to round-off in every run
Build-up layersShell volumes, masses and the layers' resistance by hand
Balance leadsLengths, resistance from the wire gauge and the misreading while balancing, by hand
Cell-to-cell variationTwo parallel cells share current in inverse proportion to their resistance
Fitting from test dataA test made with known values is fitted back: R0 within 3 %, R1 and its time constant within 2 %, OCV within 3 mV
Charging figuresTime to 80 % against charge counting

A test only counts once it has been seen to fail on a deliberately broken version of the program, so a test that cannot fail is found and replaced.

02A second solver Checked

0.05 mVvoltage agreement with NREL's open-source solver

Proves the equations are solved correctly, not that they describe a real cell.

See the evidence

The one-RC electrical and thermal model was run against NREL's open-source thevenin package, which solves the same equations with a different numerical method, on the same cell and the same test (pulses and a 30-minute discharge). They agree within 0.05 mV in voltage and 0.02 K in temperature. This shows the equations are solved correctly; it does not show they describe a real cell.

03A different model Partly

1reference spreadsheet for pack figures and heating

No other pack design program has been compared yet.

See the evidence

A 23S2P electric motorcycle pack was first sized in a spreadsheet. APEX CELL reproduces its pack figures and its heating calculation; errors found in the spreadsheet were recorded and corrected, not copied. No other pack design program has been compared yet.

04Measured data Checked

9comparisons with published measurements of cells and packs

Energy within 0.9 % on a 36-cell pack. No pack has been measured by APEX LABS.

See the evidence
MeasuredWhat was comparedResult
Samsung INR21700-50E, pulses at 20–90 % charge, 23 °C (Stroebl et al., Scientific Data, 2024)Every 30 s pulse, including those not used for the fitwithin 9 mV RMS
Samsung INR21700-30T, −20 to 40 °C (Kollmeyer and Skells, Mendeley Data)Drive cycles not used for the fit (1.10.0)32–65 mV median RMS from 40 to 10 °C, 86–138 mV below
The same cell, sustained 1C discharge below 0 °CCharge delivered to the cut-off8–11 % high: range below 10 °C is optimistic
36 cells, 12S3P (Panasonic NCR18650B), drive cycles and capacity checks (UPC)The cell fitted from the pack's own log, three tests held outwithin 0.9 % in energy
Four 21700 cells in parallel (Samsung 50E), 1 or 3 mΩ between neighboursSpread of the four cell currents, nine tests at 10, 25 and 40 °Cwithin 0.05 A of 0.3–1.2 A; energy within 0.9 %
LFP, A123 26650 (UCCS), CC-CV charges at 1C to 4CCharge put in; time to full voltage at 3C and 4C, not used for the fit (1.11.0)within 2 %; within 3 %
LFP, A123 26650 (UCCS), the same charges with the surface temperature loggedTemperature rise with the reversible heat (1.9.0)6 % RMS at every rate
LFP, three cells from three laboratories (UCCS, CALCE, RWTH Aachen)Voltage hysteresis between charge and discharge (1.7.1)10–20 mV either side
LFP, 280 Ah prismatic (University of Bath, TEMPEST), fitted at 25 °C10 s pulses at 140 A from 15 to 35 °Cwithin 4 %

What it changed

1.7.0 takes the resistance of the bar between parallel cells, and its fitting tool reads a BMS log. 1.7.1 gives LFP cells their hysteresis, 1.9.0 their reversible heat, 1.10.0 the 30T's measured cold behaviour, and 1.11.0 the A123's resistance rise near full while charging.

Read with the limits: the pack's current sensor is known to about ±0.2 A, so energy differences under about 1 % cannot be told from the sensor. The two packs check voltage, energy and current sharing, not temperature. No pack has been measured by APEX LABS. Data: de la Vega, Ortega and Riba, UPC Terrassa (doi:10.34810/data2395); Piombo et al. (doi:10.17632/zh58byr53c.2); Kawakita de Souza, UCCS (doi:10.17632/p8kf893yv3.1); Jöst et al., RWTH Aachen (doi:10.18154/RWTH-2024-03667); University of Bath, TEMPEST (doi:10.5281/zenodo.19632939); Stroebl et al.; Kollmeyer and Skells; all CC BY 4.0; and the CALCE battery data, University of Maryland.

The check that matters most is your own pack: Duty cycle › Measured log replays a BMS or ride log through the design and shows the model beside the measurement, with the error.

What the models do not coverPublished, not discovered. If a result depends on one of these, switch the setting on or use another tool.
Temperature of a packNo measured pack checks temperature; treat it as an engineering estimate.
FansNo pack with fans has been compared with a test.
Cold, sustained loadsBelow 10 °C a long steady discharge delivers less than the program shows.
AgeingNot modelled: every result is for a new cell unless a used cell's values are entered.
Typical curvesVoltage and resistance shapes per chemistry, not measurements of a particular cell.
Build-up materialsTypical values, not measurements of a product.
Reversible heatMeasured for one LFP cell; other LFP cells use its value; NMC and NCA have none.

In development: APEX KINEMATICS, APEX TYRE, APEX AERO, APEX FLOW, APEX HARNESS. Each one joins this page, on the same four rungs, when it is released. See them

Judge it on the numbers

Install an application and run it against something you already know the answer to. That is the check that matters most, and the one we cannot do for you.