pyva.systems.acoustic1Dsystems.LumpedAcoustic

class pyva.systems.acoustic1Dsystems.LumpedAcoustic(impedance, area=1)

Bases: object

The LumpedAcoustic class represents the lumped elements with no wave motion along the duct

The aim of this class is mainly to be a mother class to all following limp elements. Thus, there are only two attributes with the key attribute imnpedance that defines the dynamics and is a function.

impedance
Type:

constant or frequency depenent impedance of the layer in the 1D element

__init__(impedance, area=1)

Class contructor for LumpedAcoustic objects

Parameters:
  • impedance (function (of omega)) – transfer impedance function with omega as argument.

  • area (float, optional) – cross section area. The default is 1.

Return type:

None.

Methods

Signal(omega)

generates a Signal from the requested frequency range

__init__(impedance[, area])

Class contructor for LumpedAcoustic 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

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

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.

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