Todo

Improve autoapi module

circadapt.components.cavity

Cavity objects.

Module Contents

Classes

Cavity

Basic Cavity object.

Bag

Basic Bag object.

Tube0D

Tube0D is a 0D cavity.

Chamber2022

Chamber2022 object.

TriSeg2022

TriSeg2022 object.

Objects

class circadapt.components.cavity.Cavity(model, objects=None)

Bases: circadapt.components.Component

Basic Cavity object.

parameters = []
signals = ['A', 'p', 'p_trans', 'q', 'V', 'VDot']
parameter_on_set
build()
add_object(o)
class circadapt.components.cavity.Bag(model, objects=None)

Bases: circadapt.components.Component

Basic Bag object.

parameters = ['k', 'VRef', 'Sfperi']
signals = ['V', 'p']
parameter_on_set
build()
add_object(o)
class circadapt.components.cavity.Tube0D(model, objects=None)

Bases: circadapt.components.Component

Tube0D is a 0D cavity.

The volume of the Tube0D is given by the cross-sectional area multiplied by its length.

Parameters

Len: double

Length of the tube

AWall: double

Cross-sectional area of the wall

k: double

Stiffness coefficient of the wall

p0: double

Pressure at A=A0

A0: double

Cross-sectional cavity area for p=p0

Signals

V: array

Volume

p: array

Pressure

parameters = ['Len', 'AWall', 'k', 'p0', 'A0']
signals = ['V', 'p']
parameter_on_set
build()
add_object(o)
class circadapt.components.cavity.Chamber2022(model, objects=None)

Bases: circadapt.components.Component

Chamber2022 object.

parameters = ['bucklingFunction']
signals = ['V', 'p', 'V', 'VDot', 'A', 'Y', 'q']
parameter_on_set
build()
add_object(o)
class circadapt.components.cavity.TriSeg2022(model, objects=None)

Bases: circadapt.components.Component

TriSeg2022 object.

parameters = ['tau']
signals = ['V', 'Y', 'V0', 'Y0', 'VDot', 'YDot', 'nLoop', 'Fp', 'Fv']
parameter_on_set
build()
add_object(o)