WOLFRAM SYSTEM MODELER

Submarine

Simplified model of a submarine with buoyancy dynamics and translational damping

Diagram

Wolfram Language

In[1]:=
SystemModel["DocumentationExamples.Control.Submarine"]
Out[1]:=

Information

Wolfram Language Documentation Examples

This library contains models used in the documentation of system modeling functionality in Wolfram Language. These examples and this library can be explored in the Wolfram Language documentation.

Parameters (9)

R

Value: 12 * uniformSizeScale

Type: Radius (m)

Description: Effective radius for a plane section of the submarine at its midsection

L

Value: 170 * uniformSizeScale

Type: Length (m)

Description: Total length of submarine

semiMajorAxisFront

Value: 35 * uniformSizeScale

Type: Length (m)

Description: Effective semi-major axis of ellipsoid to approximately model frontside of submarine

semiMajorAxisBack

Value: 60 * uniformSizeScale

Type: Length (m)

Description: Effective semi-major axis of ellipsoid to approximately model backside of submarine

rho0

Value: 510

Type: Density (kg/m³)

Description: Average density of submarine

rho

Value: 2 * rho0

Type: Density (kg/m³)

Description: Density of fluid

VSub

Value: 64710.819 * uniformSizeScale ^ 3

Type: Volume (m³)

Description: Volume of submarine, computed from the shape used in subShape

b

Value: 5000000

Type: TranslationalDampingConstant (N·s/m)

Description: Linear translational damping constant

uniformSizeScale

Value: 1

Type: Real

Description: Factor by which dimensions of submarine are rescaled

Connectors (3)

f

Type: RealInput

Description: Vertical external force applied at the center of mass of the submarine

deltarho

Type: RealInput

Description: Deviation from submarines's average density

y

Type: RealOutput

Description: Position of center of mass with respect to a frame placed at the surface of the fluid

Components (7)

world

Type: World

fluidSurface

Type: Ground

buoyancyDynamics

Type: BuoyancyDynamics

position

Type: Position

prismatic

Type: Prismatic

subBody

Type: Body

subShape

Type: FixedShape