Skip to content

BobDyn/BobLib ​

BobLib is the Modelica vehicle model library for BobDyn. It holds the chassis, suspension, tire, aero, powertrain, and control physics, built inside the VehicleInterfaces contracts.

UseWhen you want to
BobLibInspect, change, translate, simulate, or debug the Modelica models directly. Browse diagrams in OMEdit. Run regression tests.
BobSimRun complete vehicle studies: case execution, signal extraction, metrics, plots, reports, envelope maps, and sensitivity studies.

In-package documentation

BobLib ships its own guide at BobLib.UsersGuide. BobLib's README treats it as the source of truth for the package version. If this site and the UsersGuide disagree, the UsersGuide wins.

Key facts ​

ItemValue
PackageBobLib (version 0.2.0 in BobLib/package.mo)
Test packageTests/BobLibTest, a sibling package of regression and component fixtures
DependenciesModelica Standard Library 4.1.0, VehicleInterfaces 2.0.2
Entry pointsExperiments.Standards.VehicleSim, FourPostSim, and VehicleFMI
Vehicle dataChecked-in Modelica records. There is no Python or YAML generation step.
Shared signalsThe VehicleInterfaces controlBus, plus a BobLib AtmosphereBus
AnimationOn by default (headless = false)

How the parts fit ​

The standard entry points extend checked-in templates under BobLib.Experiments.Standards.Templates. To change a vehicle, you edit records and templates, translate the entry points, run the checks, and then simulate directly or through BobSim.

Text version
  1. VehicleInterfaces (shared contracts) and Records (vehicle data and schemas) feed the BobLib domains: chassis, aero, powertrain, controls.
  2. The domains feed Experiments.Standards: VehicleSim and FourPostSim.
  3. The experiments go through translation, initialization, regression, and smoke checks.
  4. Checked models run through direct omc/OMEdit or BobSim workflows.

Pages ​

PageUse it for
SetupClone path, OpenModelica, libraries, Python environment
CLI WorkflowLoad, build, and simulate with omc
OMEdit WorkflowOpen BobLib in OMEdit, browse diagrams, run a simulation
Package MapRepository layout and Modelica packages
Control BusBus wiring, signal ownership, and what stays on explicit connectors
Static TemplatesRecords, redeclares, and architecture templates
Entry PointsVehicleSim, FourPostSim, VehicleFMI, maneuver modes, outputs
Tests and Checksmake targets, test files, baselines
DevelopmentArchitecture rules and checks before you commit
TroubleshootingOpenModelica, OMEdit, dependency, and check failures

Maturity ​

BobLib's README describes it as active engineering infrastructure, not a finished general-purpose vehicle library. Validate model outputs against measured data before you trust them. Release confidence comes from the BobLib check suite plus BobSim's workflow-level checks.

Released as open-source vehicle simulation tooling.