Introduction to the Twin Builder C Interface

Use the Twin Builder C interface to program arbitrary nonlinear algebraic and ordinary differential equations to be solved by the Twin Builder simulator. This modeling approach is suitable for following applications:

The Twin Builder C Interface also allows the modeling of characteristics used to establish nonlinear relationships of one input and one output quantity. Various Twin Builder basic models can be connected to such blocks.

C-Models show high simulation speed, accuracy, and numerical stability in Twin Builder simulations. They can be used in DC, AC, and transient simulations. It is possible to program variable step-size models as well as fixed step-size models. These latter allow for example to run micro-controller code at exactly the same sample times like on the real hardware. This is essential for realistic simulation of this kind of systems.