Bases: builtins.object
The System class contains methods for solving the model.
Methods
| __init__() | Constructor. |
| addComponent(name, model, **properties) | Add component to SEA model. |
| addCoupling(name, model, **properties) | Add material to SEA model. |
| addJunction(name, model, **properties) | Add junction to SEA model. |
| addMaterial(name, model, **properties) | Add material to SEA model. |
| clearResults() | Clear the results. |
| components_info([tablefmt]) | Print information about components. |
| System.createMatrix | |
| excitations_info([tablefmt]) | Print information about excitations. |
| getObject(name) | Get object by name. |
| junctions_info([tablefmt]) | Print information about junctions. |
| System.materials_info | |
| System.objects_info | |
| removeObject(name) | Delete object from SEA model. |
| solveSystem() | Solve modal powers. |
| subsystems_info([tablefmt]) | Print information about subsystems. |
Attributes
| SORT | str(object=’‘) -> str |
| components | All components in the system. |
| couplings | All couplings in the system. |
| excitations | All excitations in the system. |
| junctions | All junctions in the system. |
| materials | All materials in the system. |
| objects | All objects in the system. |
| reference_power | float(x) -> floating point number |
| reference_pressure | float(x) -> floating point number |
| reference_velocity | float(x) -> floating point number |
| solved | bool(x) -> bool |
| subsystems | All subsystems in the system. |
Constructor.
Add component to SEA model.
| Parameters: |
|
|---|
Clear the results. Reset modal energies. Set solved to False.
| Return type: | None |
|---|
All components in the system.
| Returns: | Generator of components. |
|---|---|
| Return type: | python.types.GeneratorType |
All couplings in the system.
| Returns: | Generator of couplings. |
|---|---|
| Return type: | python.types.GeneratorType |
All excitations in the system.
| Returns: | Generator of excitations. |
|---|---|
| Return type: | python.types.GeneratorType |
Frequency object
Get object by name.
| Parameters: | name – Name of object. |
|---|---|
| Returns: | Proxy to object. |
All junctions in the system.
| Returns: | Generator of junctions. |
|---|---|
| Return type: | python.types.GeneratorType |
All materials in the system.
| Returns: | Generator of materials. |
|---|---|
| Return type: | python.types.GeneratorType |
All objects in the system.
| Returns: | Generator of objects. |
|---|---|
| Return type: | types.GeneratorType |
Power balance matrix as function of frequency.
| Parameters: | |
|---|---|
| Return type: |
See Craik, equation 6.21, page 155.
Yields power balance matrices.
Vector of input power normalized with angular frequency.
See Craik, equation 6.21, page 155
Yields power input vectors.
Reference power
.
Reference pressure
.
Reference velocity
.
Delete object from SEA model.
| Parameters: | name – Name of object. |
|---|---|
| Returns: | Proxy to object. |
Solve modal powers.
| Return type: | bool() |
|---|
This method solves the modal energies for every subsystem. The method createMatrix() is called for every frequency band to construct a matrix of loss factors and modal densities.
Switch indicating whether the system (modal energies) were solved or not.