Skip to content

Package Map ​

This page maps the BobLib repository and its top-level Modelica packages.

Repository layout ​

PathRole
BobLib/Production Modelica package root
Tests/BobLibTest/Sibling Modelica package for regression and component fixtures
Tests/Python test harness, baselines, and pinned tool versions
makefileCheck and dependency targets. See Tests and Checks.
msl_setup.mosInstalls Modelica 4.1.0 and VehicleInterfaces 2.0.2
AGENTS.mdPackage architecture rules
CHANGELOG.mdRelease notes
README.mdRepository readme
LICENSEGPLv3 license text
THIRD_PARTY_NOTICES.mdDependency license notices

Public domains ​

The first level of each domain package holds the VehicleInterfaces-facing models. Deeper packages hold BobLib physics and helpers. See the architecture rules.

PackageContents
UsersGuideIn-package documentation. BobLib's README treats it as the source of truth for the package version.
ExperimentsStandard entry points and templates
RecordsVehicle data and standard output schemas
AeroAero interface, CFD aero map, and rigid aero mount
AtmospheresConstant atmosphere and the BobLib AtmosphereBus
ChassisVehicleInterfaces chassis backed by BobLib body, suspension, tire, brake, and contact-patch physics
ControllersVCU models: VCU, StandardVCU, and the internal VCUCore
DriverEnvironmentsDriver environments that publish driver intent
DrivelinesFinal drive, differential, and halfshaft models
ElectricDrivesElectric machine models
EnergyStorageBattery pack models
EnginesA simple IC engine model
PowerElectronicsDC inverter models
TransmissionsFixed-ratio transmission
UtilitiesMath, FMI, and mechanics helpers, including MultiBody helpers
IconsReusable BobLib icon primitives

BobLib.Experiments ​

The standard entry points live in BobLib.Experiments.Standards:

ModelRole
Standards.VehicleSimFull-vehicle maneuver simulation
Standards.FourPostSimFour-post suspension simulation
Standards.VehicleFMIDriver-input vehicle for FMI export and driver-in-the-loop work
Standards.Templates.Vehicle.BaseVehicleSimShared template for VehicleSim
Standards.Templates.FourPost.BaseFourPostSimShared template for FourPostSim
Standards.Templates.FMI.BaseVehicleFMIShared template for VehicleFMI

Each template package also holds one model per suspension architecture, such as Templates.FourPost.FourPostSim_DWBCStabar_DWBCStabar. See Static Vehicle Templates and Entry Points.

BobLib.Records ​

Records are the Modelica parameter schemas and vehicle data.

PackageContents
Records.VehicleDefnComplete vehicle records, one per architecture
Records.VehicleRecordSubsystem records, grouped by domain
Records.StandardRecordOutput records such as FourPostEvalRecord

The default vehicle record is BobLib.Records.VehicleDefn.EVBatInvMotDiff_DWBCStabar_DWBCStabarRecord.

MF52 tire data lives under BobLib/Records/VehicleRecord/Chassis/Suspension/Templates/Tire/MF52/. That package includes RelaxationRecord.mo, which stores the PAC2002-style relaxation coefficients that transient slip uses.

BobLibTest ​

Test models live in a sibling package, so the production package holds no test code. Examples:

  • BobLibTest.Regression.MF52PureSlipSmoke
  • BobLibTest.Regression.VehicleSimAnimationOn
  • BobLibTest.TestVehicle.TestAero.TestCFDAeroMap
  • BobLibTest.TestVehicle.TestChassis.TestSuspension.TestFrAxleDW
  • BobLibTest.TestVehicle.TestPowertrain.TestPowertrain
  • BobLibTest.TestUtilities.TestMechanics.TestMultiBody.TestContactMechanics.TestGroundPhysics

For the root Tests/ Python files, see Tests and Checks.

Released as open-source vehicle simulation tooling.