mathworks / mathworks/Simscape_Acoustic_Library

Radiation Impedance - Circular Piston in Spherical Cap type

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Radiation Impedance - Circular Piston errors out when Radiation Type is set to Spherical Cap.

I am running audioLibEnclosureEx_closedBox, and getting this error:
Error:Error compiling Simscape network for model audioLibEnclosureEx_closedBox.
Caused by:
['audioLibEnclosureEx_closedBox/Radiation Impedance - Circular Piston']: Failed to compute value for parameter, Ca.
Failed to evaluate MATLAB function, acoustic.SphericalCapRadVal.
Undefined function 'zrad_piston' for input arguments of type 'double'.
rho = 1.2100
c = 343
a = 0.0300
r = 0.0479
theta = 0.5070

Block parameters are:
Cap Opening - 0.047879
Sphere Radius - 0.1016
Cap Angle - 0.507

Thanks for this library, super fun to mess around with so far

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with audioLibEnclosureEx_closedBox and the Radiation Impedance - Circular Piston block set to Spherical Cap. Start by inspecting acoustic.SphericalCapRadVal and the missing zrad_piston function; done means the model compiles successfully with these parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.