Other
Use examples from a wide range of application areas to learn about modeling and simulation with System Modeler and the Modelica language.
Depth Control of a Submarine
Navigating quickly from one depth to another is an operational requirement for a submarine. For stealth operations, it is important that there be no oscillations during this motion. The following example shows how to design a controller for such applications.
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
Model of a Submarine
The submarine adjusts its depth by varying its weight. The weight varies by adjusting the volume of water stored in the submarine’s ballast tanks.
Easily Linearize around the Equilibrium Point
The nonlinear submarine model is linearized around its equilibrium point using the system modeling functionality.
Quickly Design and Connect a Controller
A controller is designed using pole placement gains such that the closed-loop poles stabilize the system. The controller is then automatically connected to the nonlinear submarine model.
Response of the Controlled Submarine
The ballast tanks of the submarine take in water and the average density of the submarine increases, thus sinking the submarine. The controller tracks the reference signal, and the submarine reaches the specified depth without any oscillations.
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »