Skip to content

Add preliminary powertrain model - #25

Draft
Tacocat0254 wants to merge 1 commit into
BobDyn:mainfrom
Tacocat0254:feat/preliminary-powertrain-model
Draft

Tacocat0254 wants to merge 1 commit into
BobDyn:mainfrom
Tacocat0254:feat/preliminary-powertrain-model

Conversation

@Tacocat0254

@Tacocat0254 Tacocat0254 commented Sep 24, 2026 •

Copy link
Copy Markdown

What

Add a preliminary powertrain model with an optional torque-versus-rpm cap, a speed-scheduled multi-ratio transmission with shift hysteresis, and live transmission-ratio feedback for VCU torque conversion. Wire the motor and transmission parameters into the vehicle/FMI templates and include the generated vehicle-record changes.

How to check

Whitespace checks pass in both repositories; all four changed Python modules parse successfully. Full validation is blocked locally: Docker and OpenModelica are unavailable, Ruff is missing, and the installed pandas extension has an incompatible CPU architecture. Attempts at make ci, make regression-baseline, and make opt-doe-smoke could not complete. No regression baselines were updated.

Notes

Draft pending Modelica compilation, shift-event validation, and full vehicle regression. The transmission assumes complete reduction in gearRatios and unity downstream final drive. Review single-gear and end-gear scheduler indexing, instantaneous ratio transitions, and generated-record consistency before merging. Rebased onto current main while retaining upstream reverse-launch support.

Companion BobSim integration: BobDyn/BobSim#69

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.

1 participant