pub struct Tra {
pub name: String,
pub nodes: [String; 4],
pub z0: f64,
pub td: Option<f64>,
pub f: Option<f64>,
pub nl: Option<f64>,
pub ic: [f64; 4],
}Expand description
TXXXXXXX N1 N2 N3 N4 Z0=VALUE <TD=VALUE | F=FREQ <NL=NRMLEN>> <IC=V1,I1,V2,I2>: an ideal (lossless) transmission line between
port 1 (N1, N2) and port 2 (N3, N4) (dev/tra/). Four
extra unknowns, named like TRAsetup’s CKTmkVolt calls:
<name>#i1, <name>#i2 (port currents into N1/N3) and
<name>#int1, <name>#int2 (the nodes between each port’s Z0
and its delayed source).
Fields§
§name: String§nodes: [String; 4]Port 1 +/−, port 2 +/−.
z0: f64Z0 (or ZO), ohms; required.
td: Option<f64>TD, seconds. When absent the delay is NL/F.
f: Option<f64>F: the frequency NL refers to (default 1 GHz).
nl: Option<f64>NL: normalized electrical length at F (default 0.25).
ic: [f64; 4]IC=V1,I1,V2,I2 (also V1=, I1=, V2=, I2=): port
voltages and currents used under .tran … UIC.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Tra
impl Freeze for Tra
impl Move for Tra
impl RefUnwindSafe for Tra
impl Send for Tra
impl Sync for Tra
impl Unpin for Tra
impl UnsafeUnpin for Tra
impl UnwindSafe for Tra
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more