Skip to content

Commit 6df8a1f

Browse files
authored
Fix typo in model description and update kappa calculation
1 parent a9dc367 commit 6df8a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Kloeser2020.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
model Kloeser2020 "Bicycle model of a model racwe car, from Kloeser2020 paper"
1+
model Kloeser2020 "Bicycle model of a model race car, from Kloeser2020 paper"
22
import Modelica.Math.*;
33

44
// --- Parameters (Table 1 from Kloeser2020) ---
@@ -78,7 +78,7 @@ equation
7878
// Longitudinal force
7979
Fx_d = (cm1 - cm2*v)*D - cr2*v*v - cr0*tanh(cr3*v);
8080

81-
kappa = (-clip1(-clip1(-10*sin(s), alpha_clip), alpha_clip) + 1.0)/2.0;
81+
kappa = (-clip1(-clip1(-10*sin(s), 0.1), 0.1) + 1.0)/2.0;
8282

8383
// Dynamics
8484
ds = v*cos(alpha + beta)/(1 - n*kappa);

0 commit comments

Comments
 (0)