WOLFRAM SYSTEM MODELER
BuoyancyDynamicsApproximately models buoyancy dynamics, representing the shape of the submarine as a cylinder attached to two halves of ellipsoids |
SystemModel["DocumentationExamples.Control.Submarine.BuoyancyDynamics"]
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.
g |
Value: Modelica.Constants.g_n Type: Acceleration (m/s²) Description: Gravitational acceleration |
---|---|
R |
Value: 12 Type: Radius (m) Description: Effective radius for a plane section of the submarine at its midsection |
L |
Value: 170 Type: Length (m) Description: Total length of submarine |
semiMajorAxisFront |
Value: 35 Type: Length (m) Description: Effective semi-major axis of ellipsoid to approximately model frontside of submarine |
semiMajorAxisBack |
Value: 60 Type: Length (m) Description: Effective semi-major axis of ellipsoid to approximately model backside of submarine |
rho |
Value: 2 * rho0 Type: Density (kg/m³) Description: Density of fluid |
rho0 |
Value: 510 Type: Density (kg/m³) Description: Average density of submarine |
V0 |
Value: 1 / 3 * Modelica.Constants.pi * R ^ 2 * (3 * L + (-1) * semiMajorAxisBack + (-1) * semiMajorAxisFront) Type: Volume (m³) Description: Effective submarine volume |
b |
Value: 5000000 Type: TranslationalDampingConstant (N⋅s/m) Description: Linear translational damping constant |
deltarho |
Type: RealInput Description: Deviation from submarine's average density |
|
---|---|---|
f |
Type: RealInput Description: Vertical external force applied at the center of mass |
|
y |
Type: RealOutput Description: Position of center of mass with respect to a frame placed at the surface of the fluid |
DocumentationExamples.Control Simplified model of a submarine with buoyancy dynamics and translational damping |