I've made a little tool to visualize the tyre model (Magic Formula) used by GPB. If you don't know what the Magic Formula is, the tool is *not*
for you :)NOTE: the tool is very much beta. The equations involved are messy and I cannot grant an error has not slipped in. If anybody with knowledge of this stuff wants to double check, that would be appreciated. I can send you the relevant source code for that, just PM me. Of course, if Piboso could validate all that, that would be ideal (but he probably has other things to do).
It can load two set of parameters (two .tyre files) to compare and modify them (only the Magic Formula parameters). It has 4 tabs, one for each graph:
- Longitudianl force: as function of longitudinal slip (x axis) and of vertical load, side slip and camber (sliders).
- Lateral force: as function of lateral slip (x axis) and of vertical load, longitudinal slip and camber (sliders).
- Aligning torque: as function of lateral slip (x axis) and of vertical load, longitudinal slip and camber (sliders).
- Lateral force vs Longitudinal force: as function of vertical load, side slip, side slip and camber (sliders). Line is plotted for longitudinal slip between -1.00 and +1.00.
Any time a value is modified, the graphs are updated. Same any time a slider is moved. Double clicking on a slider will bring it back to its default position.
On each graph there are 4 lines: 2 for the 1st model (in blue), 2 for the second model (in red).
On the longitudinal force graph (for example), it draws (for each model) the line with zero side slip and zero camber (dashed line) and the line with the values of side slip and camber specified by the sliders.
Using shift+mousewheel and ctrl+mousewheel you can zoom in/out of the X/Y axes. shit/ctrl+drag will pan the X/Y axes. A double click will zoom out to full graph.
(https://drive.google.com/uc?export=view&id=0BzmU7Qoo77i1dEhUc2FwX3dXRFk) (https://drive.google.com/uc?export=view&id=0BzmU7Qoo77i1dEhUc2FwX3dXRFk)DOWNLOAD v1.6b (2017/05/16) :
(https://mega.nz/#F!dBlW1SIZ!t4J1IooPK-hNpSpm0K_ZQg) <<-- THIS if for GPB beta9/10/11 and MXB beta5/6
(subsequent versions TBC).INSTALLATION:
this is not a plugin, it's a standalone tool. Just copy it in a folder where you have write rights (i.e. avoid "Program Files" and similar). The sample files provided are the ones of the 3 default bikes in GPB beta8.IMPORTANT:
in case of issues like missing dlls or things not showing up, please install Microsoft Visual C++ 2015 Redistributable Package (x86). It's available in the .zip (vcredist_x86.exe) or you can download it at https://www.microsoft.com/en-US/download/details.aspx?id=48145 (https://www.microsoft.com/en-US/download/details.aspx?id=48145) (download the x86 version, "vcredist_x86.exe", not
the x64 version).