Software Paradise
Tutorials,Manual

Carsim 2023

CarSim delivers the most accurate, detailed, and efficient methods for simulating the performance of passenger vehicles and light-duty trucks. With twenty years of real-world validation by automotive engineers, CarSim is universally the preferred tool for analyzing vehicle dynamics, developing active controllers, calculating a car’s performance characteristics, and engineering next-generation active safety systems.

VS Solver Architecture
Import Arrays for Connecting to External Software
VS Solvers may be run under the control of wrapper programs in simulation environments that
combine external model components with the VS Math Model, exchanging information using
arrays of import and export variables. The variables used to create the Import and Export arrays are
defined before the simulation starts, using the IMPORT and EXPORT VS Commands. The IMPORT
command identifies the import variable that will be added to the Import array and specifies a mode
for usage within the VS Math Model.
In prior versions, three modes were available for variables associated with the Import array: ADD,
MULTIPLY, and REPLACE. The mode could only be specified prior to the start of the simulation
using the IMPORT command. After the run started, it could not be changed.
The mode of an Import variable may now be changed during the simulation using a new VS
Command SET_IMPORT_MODE. In addition, a new mode AVAILABLE has been added. This
mode indicates that the variable is in the Import array but is not currently being used by the VS

Math Model. The intent is that the action of setting up the Import array has been separated from
the actions of using the import variables, to allow complicated scenarios to be simulated in which
external controller or model components are enabled and disabled for different time sections within
the simulation.
Timeline for Starting a Simulation
A Simulation is started by reading input files that define the layout of the model and values for
parameters in the model, and then initializing the model. At a certain point, the model is “locked”
in the sense that the number of ordinary differential equations (ODEs) is set. In recent versions,
that point occurred at the end of the process of reading input files. When running under external
control via the VS API, this step is performed by the API function vs_setdef_and_read.
The locking of the model now takes place slightly later, in the step performed by the API function
vs_initialize. This allows custom wrapper programs to extend the model via API functions
after input Parsfiles have been read, but before the model is initialized. For example, this change
allows a wrapper to install the speed controller in support of other options used by the wrapper.
Timeline for Each Timestep
Starting with version 2023.0, the calculations done each timestep have been reorganized to perform
model calculations in four specific stages each timestep:
1. State: the model state (position and speed state variables) is known, and information about
the environment is updated.
2. Control: built-in driver controls are applied.
3. Kinematics: variables are calculated that depend on position and velocity information.
4. Dynamics: variables are calculated using the remaining equations in the model, including
forces, moments, accelerations, and outputs that depend on these variables.
The re-ordering of internal calculations continued for the current release, such that all driver
controls are now done in the Control stage, and more environmental information is available in the
State stage. There are slight differences in the newer versions because lags in the controllers were
eliminated.
Product: Carsim 2023
Version: 2023
Supported Architectures: x64
Language: english
Supported Operating Systems: Windows 7even or newer
Size: 1DVD