Nahuel Passano
commited on
Commit
·
b7cc0b4
1
Parent(s):
e041b30
new: simulation files
Browse files- configs/config.yaml +14 -0
- configs/default_loudspeaker.yaml +14 -0
- loudspeaker_tmatrix +1 -0
- requirements.txt +5 -0
configs/config.yaml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_loudspeaker_cfg: "configs/default_loudspeaker.yaml"
|
2 |
+
|
3 |
+
frequency:
|
4 |
+
min: 10
|
5 |
+
max: 4000
|
6 |
+
n_bins: 2048
|
7 |
+
|
8 |
+
acoustical_constants:
|
9 |
+
sound_speed: 343 # [m/s]
|
10 |
+
air_density: 1.16 # [kg/m^3]
|
11 |
+
atmospheric_pressure: 101325 # [Pa]
|
12 |
+
reference_pressure: 20e-6 # [Pa]
|
13 |
+
measurement_distance: 1 # [m]
|
14 |
+
directivity_factor: 2
|
configs/default_loudspeaker.yaml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
electrical:
|
2 |
+
input_voltage: 2.83 # [V]
|
3 |
+
coil_resistance: 6.3 # [ohm]
|
4 |
+
coil_inductance: 1.534e-3 # [mH]
|
5 |
+
|
6 |
+
electromechanical_factor: 5.089 # [N/A]
|
7 |
+
|
8 |
+
mechanical:
|
9 |
+
mass: 12.35e-3 # [g]
|
10 |
+
compliance: 0.671e-3 # [mm/N]
|
11 |
+
resistance: 0.745 # [N/(m/s)] = [kg/s]
|
12 |
+
|
13 |
+
acoustical:
|
14 |
+
effective_diameter: 13.4e-2 # [cm]
|
loudspeaker_tmatrix
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 08df3be7dee9a7f9a09279855a458bad996dfd2c
|
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
numpy
|
2 |
+
matplotlib
|
3 |
+
streamlit
|
4 |
+
pydantic
|
5 |
+
pyyaml
|