Skip to content

pdnkit: CavityModel can use Djordjevic-Sarkar dielectric#38

Open
UnsignedChad wants to merge 1 commit into
mainfrom
pdnkit/cavity-ds
Open

pdnkit: CavityModel can use Djordjevic-Sarkar dielectric#38
UnsignedChad wants to merge 1 commit into
mainfrom
pdnkit/cavity-ds

Conversation

@UnsignedChad

Copy link
Copy Markdown
Owner

Adds a wideband_dielectric flag + DS params (eps_inf, delta_eps, f1, f2) to CavityConfig. When enabled, cavity_impedance() pulls eps_r'(f) and eps_r"(f) from dj_sarkar_at at each frequency instead of using the constant eps_r + tan_delta. Default off so existing tests and behavior are unchanged.

Adds 4 validation tests in [cavity-ds][validation]:

  • default (off) is bit-for-bit identical to the constant-eps path
  • f << f1 matches the constant-eps model with eps_r = eps_inf + delta_eps
  • f >> f2 matches the constant-eps model with eps_r = eps_inf
  • wideband peak shifts off the constant-eps peak frequency

585 total tests, all green.

Adds a wideband_dielectric flag + DS params (eps_inf, delta_eps, f1,
f2) to CavityConfig. When set, cavity_impedance() pulls eps_r(f) and
eps_r"(f) from dj_sarkar_at at each frequency instead of using the
constant eps_r + tan_delta. Default off so existing tests + behavior
are unchanged.

4 new validation tests in [cavity-ds][validation]:
  * default (off) matches the constant-eps path bit-for-bit
  * f << f1 matches constant model with eps_r = eps_inf + delta_eps
  * f >> f2 matches constant model with eps_r = eps_inf
  * wideband peak shifts off the constant-eps peak frequency
@UnsignedChad UnsignedChad enabled auto-merge (squash) May 24, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant