Skip to content

1 laptime sim#49

Draft
DanielRhee wants to merge 9 commits intomainfrom
1-laptime-sim
Draft

1 laptime sim#49
DanielRhee wants to merge 9 commits intomainfrom
1-laptime-sim

Conversation

@DanielRhee
Copy link
Copy Markdown
Contributor

No description provided.

@DanielRhee DanielRhee linked an issue Apr 8, 2026 that may be closed by this pull request
Added detailed explanations and formulas for static corner weight, longitudinal and lateral load transfer, static axle and corner loads, dynamic vertical tire loads, suspension travel, full dynamic suspension equation, and test methods for validation.
Copy link
Copy Markdown
Contributor Author

@DanielRhee DanielRhee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very unclear what this documentation is for, I would like to see some sources where you got the formulas and more about what you aim to achieve with this. Large parts of these steady state formulas already exist (but i think commented out) in the sims. Looping in @calebshin1 too.


class Tire:
def __init__(self, normalForce, slipRatio, slipAngle, velocityX, pressure, temperature):
def __init__(self, normalForce, slipRatio, slipAngle, velocityX, pressure, temperature, massTire, accelX, accelY, carHeight, frontBack, leftRight, frontAxleFraction, remainingFraction, springConstant, dampingCoeff):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this belongs in a suspension model not the tire model

- L — wheelbase (m)

**Key Concept:**
- h / L = pitch transfer coefficient
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

source? what variable is this equal to?

# Assumption: Quasi-Static Conditions
- The car has already settled after acceleration
- Best for steady-state cornering and gradual inputs
- Less accurate for bumps or sudden steering
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is quasi static? do you mean quasi steady state? because these are just steady state formulas afaik

Comment on lines +104 to +114
- k — spring constant (N/m)

- x is in meters
- Positive = compression

Note:
Damping is NOT included in static models

---

# Full Dynamic Suspension Equation
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wdym full dynmaic suspension? full steady state? and this also isn't even full? Is the spring constant just for the damper spring? what about the suspension a arms and things like that.


F_z = k * x + c_v

- c_v — damping coefficient
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dimensionless?


## Lateral Acceleration

### Method 1: Constant Radius Test
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this implies steady state, not quasi whatever


### Method 2: Steering Variation
- Maintain constant speed
- Vary steering angle
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like step steer or what?


---

# Test Methods
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are iso documents in the #software channel. I'd look into those

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is what I directed them to

@goob10000 goob10000 linked an issue Apr 12, 2026 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suspension Modeling in Laptime Sim Parallelize brute forcing in laptime sims to make them faster

4 participants