Hello guys,
As I have some free time and decided to make this some project I can work on whenever I have free time along the next few months, I've decided to create a laptime simulator in Matlab. Yes, another one, some might say (both for me, and on internet). For sure there are better software on the web, as well as ADAMS, and other suspension software, but I wanted to make one.
I gave it several dozen hours already, and the basis is there now I think. Let me first show you a screenshot of one section:
(ignore the values in the boxes)
This is WORK IN PROGRESS and all sections on the left have been worked on. There are also some under sections not directly listed on the left. In total, about 20 panels at the moment. There will be CoG location calculation, roll centre, anti-dive graphs, motion ratio, traction hyperbola, track creation, and so on.
I have done 2-3 simulators in the past (steady-state type) more or less complicated, and this time I wanted to start from scratch rather than taking over some work that might have flaws already.
It is all about deciding what to take in account, and what to estimate. My simulator will be between OptimumLap (which is very simple and doesn't require lot of input) and ChassisSim (which is a nightmare to fill with details). My aim is to start with a steady-state simulator and upgrade it to transient which shouldn't be too difficult once all variables have been set.
However, I have been through routes which have not been the optimal to create a laptime simulator, and this is why I am opening this thread, so I can benefit from ideas that I wouldn't have myself! Because I feel like opinion from other people is the best way to move forward!
The car will not only either steer, brake, or accelerate, but the driver will be able to brake while steering for example, as if the corner tightens. However, I am still wondering a bit about what input parameters I will need for what outputs. Keeping in mind that transient state will be added hence why I don't want to have to redo the whole code.
What do you think?