Engee documentation

Variable Mass

Variable mass.

blockType: Engee1DMechanical.Elements.Translational.VariableMass

Path in the library:

/Physical Modeling/1D Mechanical/Inertias & Loads/Variable Mass

Description

Block Variable Mass simulates a variable mass. This unit can be used to simulate a fuel tank with a decreasing amount of fuel. The instantaneous mass value is sent to the input port at each time step during the entire simulation. To minimize solver errors, avoid discontinuities and sudden changes in the input signal.

When the mass of a component changes, the inertial force acting on this component also changes.:

where

  • — the force of inertia;

  • — variable mass;

  • — the speed of the mass.

If the input mass value is lower than the minimum mass value specified in the Minimum mass parameter, the block performs its calculations for the minimum mass. The inertia force is calculated as:

where — minimum weight.

The amount of block movement remains constant. In the absence of external forces, a decrease in mass leads to an increase in speed. The amount of movement remains constant until an external force causes it to change.

Variables

Use the Initial Targets parameter group to set the priority and initial target values for the block parameter variables before modeling. For more information, see Configuring physical blocks using target values.

Ports

Conserving

# Flange — port connecting the unit to the network
translational mechanics

Details

A non-directional port that defines a time-varying mass transmission component.

Program usage name

flange

Input

# Mass — variable mass, kg
scalar

Details

The input port on which the mass value is received.

Data types

Float64.

Complex numbers support

No

Parameters

Parameters

# Minimum mass — minimum weight
kg | mg | g | t | lbm | oz | slug

Details

The minimum value that a variable mass can take during a simulation.

If the input mass value is lower than the minimum mass value, it is set equal to the minimum mass value.

Units

kg | mg | g | t | lbm | oz | slug

Default value

0.1 kg

Program usage name

mass_min

Evaluatable

Yes