CModUser Object Methods

The CModUser object is a C++ class provided by the Twin Builder C Interface to enable communication between the C-Models and the simulator. There is an instance of the CModUser object associated with every instance of a C-Model. This object carries all necessary information about the component instance. Number and kind of component nodes are stored, as well as parameters, states, and internal equations.

All model functions use CModUser objects as argument. A well-defined set of object methods let the programmer manipulate and change the model’s properties. These methods are described in the following sections. See Technical Notes for information on time trigger method extensions.