Skip to content

Add TransmissionLine block#1

Merged
milanofthe merged 1 commit intomainfrom
feature/transmission-line
Mar 4, 2026
Merged

Add TransmissionLine block#1
milanofthe merged 1 commit intomainfrom
feature/transmission-line

Conversation

@milanofthe
Copy link
Member

@milanofthe milanofthe commented Mar 4, 2026

Summary

  • Adds TransmissionLine block: delay-based scattering two-port model
  • Uses a single vector-valued AdaptiveBuffer from pathsim core to delay both wave directions simultaneously
  • Crossed output: b1 = T * a2(t-tau), b2 = T * a1(t-tau)
  • Parameters: length, er (permittivity), attenuation (dB/m), Z0
  • Makes RFNetwork import graceful (try/except) so skrf incompatibility doesn't block the rest of the package

Design

  • Inherits from Block, implements sample() and update() (same pattern as core Delay block)
  • __len__ returns 0 (no algebraic passthrough — output depends on past only)
  • Derived quantities computed on init: vp = c0/sqrt(er), tau = L/vp, T = 10^(-aL/20)

@milanofthe milanofthe merged commit fb8f92a into main Mar 4, 2026
2 checks passed
@milanofthe milanofthe deleted the feature/transmission-line branch March 4, 2026 08:46
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