WOLFRAM

Other

Use examples from a wide range of application areas to learn about modeling and simulation with System Modeler and the Modelica language.

Satellite Path Control: Co-simulation Using FMU

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 System Modeler and Mathematica.

Please make a selection:

Get a
free trial
Continue
with download

The Model

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 on it.

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 FMU

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 Language to visualize the satellite path.

Satellite path with and without an altitude controller.

FMI co-simulation import: New in SystemModeler 12.0