Import standalone models from other FMI-compliant tools and run in synchronous mode with your models. This example models a satellite with a combination of 3D mechanics and block-based control logic. The satellite is launched from the Earth’s surface with a launch sequence. Then a control logic FMU adjusts altitude and velocity via thrusters.
To run this example, you'll need
The latest versions of SystemModeler and Mathematica.
The satellite path control model consists of Earth and satellite subsystems. The Earth is modeled as a mass with constant rotation, while the satellite is modeled as a mass with propulsion forces acting
Model of Earth and satellite subsystems.
Import FMU for Co-simulation
The control logic FMU, designed in any FMI-compliant tool, is imported. It is tuned to minimize the instantaneous energy expenditure during motion of the satellite. The FMU is modeled using two proportional-derivative (PD) controllers.
Import models designed in any FMI-compliant tool, using FMI co-simulation import.
Model with imported FMU.
Study Satellite Path
Visualize the satellite path around the Earth with 3D graphics, textures and parametric plots. Compare the paths with and without an altitude controller. The satellite without a controller cannot maintain a constant altitude and hence follows a nonuniform trajectory.
Analyze satellite path
Use custom visualization using the Wolfram Languageto visualize the satellite path.
Satellite path with and without an altitude controller.
FMI co-simulation import: New in SystemModeler 12.0