pyva.systems.acoustic1Dsystems.MassStiffness

class pyva.systems.acoustic1Dsystems.MassStiffness(mass, stiffness, area=1.0, damping=0, vdamping=0)

Bases: LumpedAcoustic

The MassStiffness class provides a generic mass, spring and damping element in an acoustic 1D network

mass
Type:

of the layer in the 1D element

stiffness
Type:

of the layer in the 1D element

area
Type:

the mass/stiffness is extended over

vdamping
Type:

vicous damping

damping
Type:

damping loss

__init__(mass, stiffness, area=1.0, damping=0, vdamping=0)

Class contructor for MassStiffness objects

Parameters:
  • mass (float) – of the layer in the 1D element

  • stiffness (float) – of the layer in the 1D element

  • area (float) – area of the mass/stiffness is extended over

  • vdamping (float) – vicous damping

  • damping (float) – damping loss of the tube

Examples

import acoustic1Dsystems as ac1Dsys myTube = ac1Dsys.1Dlumped(1,0)

Methods

Signal(omega)

generates a Signal from the requested frequency range

__init__(mass, stiffness[, area, damping, ...])

Class contructor for MassStiffness objects

acoustic_FE(omega[, ID])

Acoustic Finite Element of MassLayers

plot(omega[, fig])

Plots the transfer impedance for the related part

radiation_impedance(omega)

transfer_impedance(omega[, ID])

Transferimpedance of LumpedAcoustic

Attributes

mass_per_area

Mass per area

stiffness_per_area

Stiffness per area

Signal(omega)

generates a Signal from the requested frequency range

Parameters:

omega (float) – angular frequency.

Returns:

slope of transfer impedance.

Return type:

Signal

acoustic_FE(omega, ID=[1, 2], **kwargs)

Acoustic Finite Element of MassLayers

Takes simple 1D transmission line model based on AcousticTube properties to model the so mobility matrix, given by

\frac{S}{Z(\omega)}
\begin{bmatrix}
1 & 1 \\
1 & 1
\end{bmatrix}
\begin{Bmatrix} p_1 \\ p_2  \end{Bmatrix} =
\begin{Bmatrix} Q_1 \\ Q_2 \end{Bmatrix}

Parameters:
  • omega (float) – angular frequency.

  • ID (list of int, optional) – IDs of element ports. The default is [1,2].

Returns:

Mobility matrix of limped acoustic

Return type:

DynamicMatrix

property mass_per_area

Mass per area

Returns:

specific mass per area.

Return type:

float

plot(omega, fig=1, **kwargs)

Plots the transfer impedance for the related part

Parameters:
  • omega (float) – angular frequency.

  • fig (int, optional) – figure ID. The default is 1.

  • **kwargs (dict) – Arbitrary keyword parameter list passed to Signal.plot.

Return type:

None.

property stiffness_per_area

Stiffness per area

Returns:

ftiffness per area.

Return type:

float

transfer_impedance(omega, ID=[1, 2], **kwargs)

Transferimpedance of LumpedAcoustic

Takes simple 1D transmission line model based on AcousticTube properties to model the so called transfer impedance, given by Z = (p_2-p_1)/v

This class is an abstrat class that has no implementation of the specific transfer impedance. This must be done by the daughter classes

\begin{Bmatrix} p_1 \\ v_1  \end{Bmatrix} =
\begin{bmatrix}
1 & Z \\
0 & 1
\end{bmatrix}
\begin{Bmatrix} p_2 \\ v_2 \end{Bmatrix}

Parameters:
  • omega (float) – angular frequency

  • ID (list of int) – IDs of the two ports

Returns:

[2 x 2] array of transferimpedance

Return type:

DynamicMatrix