Download Product Information Contact us

Home > Libraries > GRAVITATIONAL library

GRAVITATIONAL library

General description

The purpose of this library is to demonstrate how gravitational interactions can be modelled to simulate planet systems.

For this library, we have developed a gravitational interaction port and two components, one to represent the bodies and the other to represent space where all the bodies are contained, managing all the interactions between them.

Ports description

Components description

Gravitational example

SunEarthMoon

This model represents the interaction between the Sun, the Earth and the Moon during one year, assuming the Sun to be the centre of reference for the position of the other bodies.

For this example an "exp1" experiment has been created which consists in integrating the system for one year, in which the evolution of the radii of the orbits (Earth-Sun, Moon-Sun and Moon-Earth) in astronomical units (AU) can be seen with respect to time.

Plot 1 for the SunEarthMoon example

Plot 2 for the SunEarthMoon example

back...