Research Papers
Home / Quanser Community / Research Papers
The Most Trusted Name in Research
Quanser systems offer a highly efficient platform for bridging the gap between advanced theoretical and algorithm framework and real-world implementation. Browse our growing collection of research papers that demonstrate how Quanser systems help researchers around the globe to validate their concepts.
ContributeBibTex
@article{jirstrand_1998,
title = {Code Generation for Simulation and Control Applications},
author = {Jirstrand, M.; Gunnarsson, J.},
journal = {Mathematica Journal},
year = {1998},
volume = {8},
number = {2},
abstract = {The use of Mathematica in combination with MathCode C++ is illustrated in a context of modeling of dynamical systems and design of controllers. The symbolic tools are used to derive a set of nonlinear differential equations using Euler-Lagrange equations of motion. The model is converted to C++ using MathCode C++, which produces an efficient implementation of the large expressions used in the model. The exported code is used for simulations, which illustrates that Mathematica in combination with MathCode C++ can be used to do accurate and powerful simulations of nonlinear systems. Controller synthesis is performed where the resulting controller is exported to C++ and run externally. The applications presented are a seesaw/pendulum process and aerodynamics of a fighter aircraft.
},
language = {English}
}
Abstract
The use of Mathematica in combination with MathCode C++ is illustrated in a context of modeling of dynamical systems and design of controllers. The symbolic tools are used to derive a set of nonlinear differential equations using Euler-Lagrange equations of motion. The model is converted to C++ using MathCode C++, which produces an efficient implementation of the large expressions used in the model. The exported code is used for simulations, which illustrates that Mathematica in combination with MathCode C++ can be used to do accurate and powerful simulations of nonlinear systems. Controller synthesis is performed where the resulting controller is exported to C++ and run externally. The applications presented are a seesaw/pendulum process and aerodynamics of a fighter aircraft.