# Transmission-line model [← mom25d](mom.md) · [Index](index.md) · [Next: Architecture →](architecture.md) Every run, including previews, breaks the port nets into uniform line sections, each with an impedance from closed-form formulas or a 2D field solve. On the examples this takes about a second and needs no full-wave solver: a quick estimate that shows where a routed line departs from the port impedance. The sections can also be solved as a circuit ([below](#fast)). ## Sections The model starts from the port nets and follows series parts into the next net, but never into a ground net. | Section | What it is | |---|---| | trace | tracks of one width on one layer. A trace is split at junctions, and where its surroundings change: the reference planes, the gap to coplanar ground, or extra copper widening it (a taper or teardrop) | | pad | a component pad. A trace ending in a pad is shortened by the part inside it | | strip | copper drawn as a shape: rectangular shapes (resonators, hairpins, tapped feeds, stubs drawn as rectangles), and other shapes that sit across a track as a stub (a radial stub). A strip is sliced into sections that follow its width, so a fan becomes a stub that widens step by step; with qucsator, a fan that is a circular sector is one radial stub (MRSTUB) instead | | via | a via barrel: a coaxial line through the planes it passes, or an inductance where there's no plane. A ground via inside a trace's copper shorts the trace there (a stub's short, a row of vias across its end in parallel): an inductance to the nearest plane it reaches | | part | a lumped R/L/C part, in series or to ground ([details](model.md#lumped-parts)) | **Coupled sections.** Straight, parallel sections of one cross-section on one layer within 5 substrate heights of each other become a coupled section (embedded microstrip, the outer layers under `--mask`, too: its field solve has the mask over the copper, its formulas are microstrip's): hairpin and interdigital filter fingers, differential pairs. The [field solver](#field-solver) gives each its capacitance matrix, every line coupled to every other, and each neighbouring pair its even- and odd-mode impedances with the copper's thickness (`ze`, `zo`; as sheets, `ze_sheet`, `zo_sheet`). It is solved over ideal planes, or on [the board's cut](#groups-on-the-cut) across it where the copper around it is more than that (a plane that ends beside it, ground beside a stripline pair, a guard trace between two lines). `topology.FIELD_GROUPS = False` uses the formulas instead (Kirschning & Jansen for microstrip, Cohn for stripline: zero thickness, nearest neighbours only). With qucsator, a coupled microstrip pair is still qucsator's own MCOUPLED. Copper thickness matters most here: the CM5 Minima demo board's HDMI pairs (0.13 mm lines 0.25 mm apart, 0.099 mm over In4.Cu, 35 µm copper, in a 100 Ω class) are 117.8 Ω differential by the zero-thickness formula, 104.8 Ω with the copper's thickness, and 101.2 Ω with the board's 10 µm solder mask too. **Discontinuities** are listed where sections meet: open ends, corners, bends, steps, tees, crosses and end gaps. ## Impedances Each section is classified by the copper around it. Only copper of other nets counts as a reference. | Cross-section | When | Formula | |---|---|---| | microstrip | one plane below, nothing above | Hammerstad & Jensen | | embedded microstrip | dielectric over the strip | microstrip with a cover correction | | grounded CPW | ground copper beside the strip on both sides | conformal mapping (Ghione & Naldi) | | stripline | planes on both sides | Wheeler; offset stripline for unequal heights | | coax | a via inside antipads | the coaxial formula | | lumped | a via without a plane, or a part | an inductance or the part's value | A trace is split where its reference planes change: a plane's edge, a split, a slot it crosses. Where a trace ends at a via, the last stretch over that via's own antipad (up to 3 reference heights) keeps the line's cross-section: it is part of the via transition, not a line over the next plane down (which on `rf_diffvia` put the worst Sdd11 at −9.4 dB against openEMS's −15.4; the rule gives −11.9). Each section gets two impedances: **Z0** with the stackup's copper thickness (the design value), and **Z0 sheet** with zero thickness, as the field solvers model copper (the demo transition's 0.35 mm microstrip: 50.7 Ω and 53.3 Ω). The formulas match scikit-rf's reference values within 0.3 %, and the stripline matches Cohn's exact result within 0.2 %. ## Field solver `kicad2ems.core.lines.xsection` solves a cross-section numerically: the per-unit-length capacitance matrix of N conductors over planes, in any stack of dielectrics, and from it L, Z0, εeff, the even and odd modes of a pair and the dielectric loss. It covers what the formulas can't: coplanar ground under solder mask or between two planes, mask that follows the copper, coupled lines with copper thickness, coupling beyond the nearest neighbour, layers of different εr. The line model uses it [by default](#lines-field) for coupled sections, grounded CPW and the sections whose cut holds what their formula leaves out, and with `--lines-field` for every section. ![A coupled pair's mesh and its odd- and even-mode fields](img/xsection_anatomy.png) ```python from kicad2ems.core.lines import xsection as X X.microstrip(0.35, 0.2, 4.3, t=0.035, mask=0.02, er_mask=3.8).solve().single() # (Z0, eeff) X.coupled_microstrip(0.15, 0.15, 0.2, 4.4).solve().pair() # (Ze, Zo, eeff_e, eeff_o) X.stripline(0.15, 0.2, 0.2, 4.3, s=0.15).solve().single() # coplanar ground beside it r = X.coupled_stripline(0.1, 0.1, 0.2, 0.2, 4.3).solve(); r.C, r.Ca # F/m: coupled.mtl_s takes them ``` It solves Laplace's equation with bilinear finite elements on a mesh of rectangles, inside a grounded box 24 structure heights beyond the copper, with mom25d's methods ([coarsening](mom.md#coarsen)): - **Cells grow from the corners**: halved in x or z only where larger than 0.4 × their distance from the nearest corner of copper (`xsection.MESH_GROW`), so a corner's fine cells stay around it. - **Each corner's own scale**: 1/128 of the feature there (`MESH_FINE`), and at least 1 % of its distance from the signal copper (`MESH_FAR`). - **Hanging nodes tied** to the ends of the side they lie on, the matrix reduced to the nodes left (T^T K T, as mom25d reduces to quads). The sides are nested, so a linear potential solves exactly (the patch test, `tests/test_xsection.py`). Each cross-section is solved on this mesh and on one twice as coarse, and the two extrapolated (`MESH_MIX`); `REFINE = False` skips the coarse solve (30 % faster, Z0 up to 0.7 % low). The tensor grid the solver began on was the independent check until 2026-11 (its column below); it is now only what `potential()` and the finish's loss share solve on. | Against | Case | Mesh | Tensor grid | Nodes, mesh / grid | |---|---|---|---|---| | Exact (Cohn, with η0 / 4) | stripline, w 0.15, b 0.4 mm | −0.10 % | +0.37 % | 885 / 6,105 | | Hammerstad & Jensen | microstrip 0.35 / 0.2 mm, 3.0 / 1.6 mm | −0.02 % | +0.23 % | 921 / 14,181 | | Hammerstad & Jensen | microstrip 0.4 / 0.21 mm with 35 µm | +0.12 % | +0.21 % | 2,140 / 28,427 | | Wheeler | stripline with 35 µm copper | +0.02 % | +0.24 % | 2,058 / 15,631 | | Ghione & Naldi | grounded CPW 0.5 / 0.5 / 1.6 mm | −0.18 % | +0.39 % | 1,833 / 19,109 | | Ghione & Naldi | grounded CPW 0.3 / 0.15 / 0.2 mm | −0.58 % | −0.23 % | 1,848 / 19,065 | | Kirschning & Jansen | coupled microstrip 0.15 / 0.15 / 0.2 mm: Ze, Zo | −0.15 %, +0.14 % | +0.11 %, +0.65 % | 1,796 / 18,655 | | Cohn | coupled stripline, w 0.1, s 0.1, b 0.4 mm: Ze, Zo | −0.15 %, −0.31 % | +0.19 %, +0.38 % | 1,341 / 9,405 | Closed forms are not exact either: on the second CPW the mesh is within 0.02 % of a converged solve and the formula 0.56 % above it. On a real board, the 2,200 cross-sections of the CM5 Minima's 94 nets (up to 75 conductors), the mesh's worst error against the same one converged is 0.31 % (median 0.04 %, at most 30,800 nodes); the tensor grid's 0.54 % (603,000 nodes). A cross-section takes about 20 ms (up to 0.2 s); it is quasi-static: no dispersion, no conductor loss. `tools/xsection_study.py` makes these tables (the mesh's columns), `tools/xsection_figures.py` the figures here. **Copper thickness on a pair, by full-wave simulation** (`tools/xsection_fullwave.py`, openEMS): on `rf_diffvia`'s two pairs, thickness takes 7.1 % off the microstrip pair's Zdiff and 14.2 % off the stripline pair's; the field solver gives 8.4 % and 15.7 %, and with the copper FDTD's Zdiff is 91.9 and 83.4 Ω against the solver's 91.6 and 84.2 Ω. ![What the formulas leave out: a plane ending beside or under a microstrip, grounded CPW with and without mask, ground beside a stripline](img/xsection_cases.png) The formulas also miss what lies beside a stripline: on the CM5 Minima, `PCIE_PI.nRST` runs on In2.Cu with ground 0.2 mm beside it, 71.9 Ω by the offset-stripline formula and 58.8 Ω by its cut; cropped and solved by openEMS, its total C is 1.07 pF, against 1.05 pF for the cut and 0.89 pF for the formula (`tools/lines_crop_check.py`). In the GUI, the [Section page](gui.md#section) draws any section's cut. ### Stack-up calculator `kicad2ems-z0` (`python -m kicad2ems.core.lines.calc`) is the field solver without a board: a width, a pair's gap, the copper and the dielectrics in; Z0, a pair's Zdiff and Zcommon, εeff, the delay and the dielectric's loss out, with the closed form beside it where one applies. `--target` finds the width (or `--vary gap`, `ground_gap`) that gives an impedance, to 0.1 %; nothing is snapped to the line model's 1 % steps. A solve takes about 0.1 s, a fit about a second. ``` kicad2ems-z0 --w 0.35 --h 0.2 --er 4.3 # a microstrip, 35 um copper: 50.8 Ω kicad2ems-z0 --h 0.2 --er 4.3 --target 50 # its width for 50 Ω: 0.360 mm kicad2ems-z0 --w 0.15 --gap 0.15 --h 0.1 --er 4.1 --target 100 --vary gap --plot pair.png kicad2ems-z0 --w 0.2 --h 0.2 --er 4.3 --above 0.2 # a stripline: a plane 0.2 mm over the copper kicad2ems-z0 --w 0.3 --ground-gap 0.2 --h 0.2 --er 4.3 # grounded coplanar kicad2ems-z0 --board board.kicad_pcb --layer In2.Cu --target 100 --w 0.14 --gap 0.15 --vary w kicad2ems-z0 --w 0.35 --below 0.1:4.1:0.02,0.1:3.6 --mask 0.02 --f 5 --json ``` | The stack | | |---|---| | `--h`, `--er`, `--tand` | one dielectric between the plane below and the copper | | `--above`, `--er-above`, `--open` | one over the copper, closed by a plane (a stripline) unless `--open` (an embedded microstrip) | | `--below`, `--over` | several, as `thickness:er[:tand], ...`: the plane's first below, the copper's first over it | | `--mask`, `--er-mask` | a solder mask that follows the copper (outer layer) | | `--board`, `--layer` | the board's own stack-up around that copper layer, the copper layers next to it as planes | Thicknesses are between copper faces, as a board's stack-up gives them: an inner layer's copper is pressed into the dielectric over it. The planes are solid and wide; what the board's copper does beside a real trace is what the line model's cuts are for. `--plot` writes the field (a pair's odd mode, or `--mode even`): ![A 100 Ω pair's odd-mode field, from kicad2ems-z0 --plot](img/z0_calculator.png) From Python, `kicad2ems.core.lines.calc`: `Line`, `calculate`, `fit`, `Line.on_board`, and `element` for the [Section page](gui.md#section). The GUI has it under Tools > Impedance calculator. ### The line model on the field solver Coupled sections and grounded CPW come from the field solver by default. A single section's cross-section can be taken from the board: at the point where a section is classified, the reference copper is cut across the strip, out to 5 reference heights either side, on every layer up to the nearest plane that spans the cut; the pieces it crosses become the solver's conductors. A plane that ends beside the trace, ground on one side or beside a stripline are solved as they are (the microstrip above: 53.3 Ω over a whole plane, 54.6 Ω where the plane ends 0.125 mm past its edge, 67.7 Ω where it ends under its centre). `--lines-field` (`lines_field` in a config) says which sections: | `--lines-field` | Sections solved on their cut | |---|---| | `auto` (default) | those whose cut holds what their formula leaves out | | `all` (or the option alone; `lines_field = true`) | every one | | `off` (`lines_field = false`) | none: the formulas | What a formula leaves out (`reference._beyond_formula`; a section solved for one of these says which in its notes): - a reference plane that ends less than twice its distance beyond the trace's edge (a via's antipad, a split, the plane's edge), or is not under the trace at all; - copper on a layer between the trace and that plane, nearer to the side than twice its distance in height; - copper beside the trace on its own layer: nearer than twice the nearest plane's distance for a stripline (its formulas know no ground beside it), nearer than once for a microstrip (both sides near is grounded CPW, solved as classified unless the two gaps are not the gap classified). Measured on the CM5 Minima (six layers, 94 signal nets; 2,309 single sections, 1,230 mm), each section against its own cut (`tools/cm5_line_model.py`): | | within 3 % | 3–10 % off | over 10 % off | build (8 cores) | one core | |---|---|---|---|---|---| | the formulas | 585 mm | 351 mm | 294 mm | 10 s | 10 s | | `off`: coupled sections and grounded CPW solved | 906 mm | 281 mm | 43 mm | 15 s | 17 s | | `auto`: and 361 sections on their cuts | 1,230 mm | 0.7 mm | none | 20 s | 46 s | | `all`: every section | | | | 23 s | 74 s | A build classifies its sections first and then solves their distinct cross-sections together, in worker processes when there are 48 or more (`reference.solve_deferred`, and `solve_groups` for the coupled sections' cuts; one per fast core, each a `python -m kicad2ems.core.lines.cutworker`): the 684 solves of `auto` take 5 s instead of 29 s. Most of what `auto` corrects is striplines with ground beside them (297 of their 325 mm were 3–33 % high); the largest errors were a plane that ends under the trace and pads classified as coplanar with ground that was not there. A microstrip over a whole plane is within 4 % with or without copper beside it and keeps its formula. On the examples below `auto` solves two sections (the demo transition's, at its via's antipads) and costs nothing measurable. **Coupled sections** are cut the same way: one cut across the group's middle, out to 5 reference heights beyond its outer lines, with its lines as the strips (`reference.group_cut`; widths and gaps snapped as over ideal planes, the other copper's distances from the group's outer edges, and a cut and its mirror image are one solve). `auto` solves a group on its cut when the cut holds what ideal planes leave out: the rules above, with the group as one strip between its outer edges, and any copper of its own layer between two of its lines (`reference.group_beyond`; its lines' notes say what was found). `all` solves every group on its cut, `off` none. The run's report says which each was solved on, and the Viewer's section view draws the cut. A pair solved on its cut is the multiconductor block in qucsator too: its own MCOUPLED knows nothing of the copper around the lines. A guard trace is the plainest case. `rf_crosstalk_guard` (two 50 Ω lines 3 mm apart for 39 mm, a grounded 0.8 mm trace between them), the line model against gfdtd from 0.5 to 6 GHz: | | near-end crosstalk at worst | far-end at worst | rms difference from gfdtd, near / far | |---|---|---|---| | gfdtd | −29.4 dB | −20.7 dB | | | line model, the pair over ideal planes (qucsator) | −25.6 dB | −17.3 dB | 4.2 / 3.6 dB | | the pair on its cut (qucsator) | −30.4 dB | −21.7 dB | 1.5 / 1.0 dB | | the pair on its cut (scikit-rf) | −32.0 dB | −21.6 dB | 2.1 / 1.0 dB | On the CM5 Minima (295 coupled sections, 780 mm of neighbouring pairs), each pair's modes against its group's own cut (`tools/cm5_line_model.py`): | | odd mode within 1 % | 1–3 % off | over 3 % off | even mode within 3 % | over 3 % off | |---|---|---|---|---|---| | over ideal planes (`off`) | 486 mm | 139 mm | 154 mm, up to 29 % | 604 mm | 176 mm, up to 62 % | | `auto`: 86 groups on their cuts | 749 mm | 31 mm | none (2.1 % at most) | 777 mm | 3 mm (3.1 % at most) | Of the 86, 67 have copper between their lines: an inner layer's ground pour fills in between the traces of a bus, and over ideal planes their odd mode is 3–10 % high on 146 mm (29 % at most). 14 have a plane that ends under or beside them (short stretches at vias and connectors, the odd mode 24 % low where the plane ends under a microstrip pair), and 5 are stripline pairs with ground beside them. What `auto` leaves is microstrip pairs with ground one to three heights away on both sides: 1–2 % high in the odd mode, 2–3 % in the even. The default build takes the 20 s it took (172 solves of groups' cuts in place of 126 over ideal planes), 23 s with `all`. ![A coupled section of the CM5 Minima over ideal planes and on the board's cut: ground pour beside and between its lines, planes that end near them](img/xsection_group_cut.png) On the examples below no group's cut holds anything but its planes: `auto` leaves them all, and `all` gives their impedances within 0.02 Ω of the ideal planes'. Copper of a net the model does not hold is ground in a cut, as it is for a single section. Between two coupled lines that is right for a guard trace and wrong for a resonator: `rf_combline`'s middle rod is reached only through the field, is not in the line model, and the outer rods' cut takes it as ground (the line model had no pass band there before either). In the circuit solvers, a microstrip or grounded CPW section keeps scikit-rf's and qucsator's own models (with their dispersion) unless the field solver's sheet Z0 is more than 2 % from the formula's (`reference.FIELD_DIFFERS`); then it is a quasi-static line of the solver's Z0 and εeff (`Element.field`). On the examples with openEMS references (scikit-rf; the rms of the complex difference of S11, and the rms difference of |S21|, as in [Examples](examples.md)): | Board | Formulas throughout | Coupled sections by the field solver (`off`) | and every section (`all`) | |---|---|---|---| | `rf_interdig`: five coupled fingers | −23.0 dB / 51.21 dB | −24.7 dB / 8.47 dB | −24.7 dB / 8.47 dB | | `rf_stripline`, `rf_diffvia`, `rf_coupler`, `rf_wilkinson`, `demo_transition`, `rf_shielded`, `hairpin` | | within 0.1 dB / 0.06 dB of the formulas | within 0.3 dB / 0.1 dB | | `rf_branchline`, `rf_steplpf`, `rf_stubnotch`, `rf_gcpw`, `rf_ratrace`, `rf_radialstub`, `sma_launch` | | the same | the same | The interdigital filter's stop bands are set by the coupling between fingers that aren't neighbours, which the formulas leave out (`tools/lines_vs_openems.py` makes this comparison; qucsator's gives the same picture): ![The coupling of rf_interdig's first finger to the others: the formulas' nearest neighbour against the field solver's matrix](img/xsection_coupling.png) On the other boards the sections are the idealised cross-sections the formulas were made for, and what remains comes from what the line model leaves out: discontinuities (scikit-rf), vias, radiation, the can. On the CM5 Minima's control lines (grounded CPW, pour 0.15 mm from the trace) the field solver differs from the formulas in two ways: | Where | Formula | Field solver, as a sheet | with 35 µm copper | |---|---|---|---| | 0.2 mm line, its plane 0.099 mm under it | 48.1 Ω | 47.3 Ω | 43.1 Ω | | 0.13 mm line, plane 0.099 mm under it | 61.5 Ω | 60.3 Ω | 53.6 Ω | | 0.2 mm line, the plane under it full of via clearances: classified over the next plane down, 0.73 mm | 79.4 Ω | 58.0 Ω | 52.1 Ω | | 0.15 mm line, the same, 0.65 mm | 104.9 Ω | 60.5 Ω | 55.1 Ω | - **Copper thickness in grounded CPW**: the formula has none; 35 µm of copper beside a 0.15 mm gap takes 10–12 % off (Gupta's correction finds a third to a half of it). So grounded CPW comes from the field solver by default, as classified (`reference.FIELD_CPW`). - **A plane with holes**: where the plane under a trace doesn't cover the points `classify` tests, the formula takes the next plane down as the reference and comes out 30–75 % too high; the copper between the holes still carries most of the return, and the cut solves it as it is: ![A cut across the CM5 Minima, where the plane under a trace has holes, and the cross-section solved there](img/xsection_board_cut.png) **Similar cross-sections share a solve.** Each is cached, a cross-section and its mirror image are one, widths and gaps are snapped to 1 % steps (`xsection.SIMILAR`), and the copper a cut finds to bins that widen away from the strip (`reference._distance_bins`, at most a height wide: `reference.BIN_MAX`), where it matters less: snapping moves Z0 by 0.1–0.2 %. On the CM5 Minima's HDMI nets that is 158 solves instead of 254, within 0.33 % (0.11 % rms) of solving each (`tools/cm5_line_model.py`, one core; the table above has its build times). ## Paths For each pair of ports the model finds the shortest path through the sections. Branches off the path, such as stubs and shunt parts, are listed with their position, length and what they end in. ## Outputs | Where | Contents | |---|---| | the log | one line per path: sections, length, impedance range, branches | | `_tlines.png` | the sections coloured by impedance, and an impedance profile along each path | | `_lines.json` | every section's geometry, Z0, εeff, length and delay: the GUI's [line-model overlay](gui.md#line-model) | | the report | a table per path: layer, cross-section, width, length, Z0, εeff, delay. Impedances more than 10 % or 25 % off the port impedance are shaded | | `_run.json` | the same tables, under `lines` | ## Solving the line model The sections become a circuit, solved in milliseconds by one of two programs: | | `scikit` | `qucs` | |---|---|---| | needs | scikit-rf (`pip install scikit-rf`) | qucsator from Qucs-S, on PATH or `--qucsator PATH` | | microstrip | `MLine` | `MLIN` | | grounded CPW | `CPW` | `CLIN` | | coupled lines | a multiconductor line block | `MCOUPLED` for a microstrip pair, otherwise the same block | | discontinuities | end gaps only (a pi of Garg and Bahl's capacitances) | open ends, corners, steps, tees, crosses and gaps | `--solvers lines` uses qucsator when it's installed, otherwise scikit-rf; `--fast` adds the line model next to the other solvers as a reference. The copper is zero-thickness, as in the other solvers, and `--sigma` adds copper loss: each trace's and coupled section's from its own cross-section ([line parameters](rlgc.md#line-model): a 2D eddy-current solve, R and the internal inductance with the skin and proximity effect and the return in the planes; each distinct cross-section solved once, up to 48 of them). Beyond that, microstrip's by its formula and every other section's as about 2 Rs / w per metre, the strip's and its return's. qucsator's own microstrip models (MLIN, MCOUPLED, CLIN) keep theirs, and its RLCG sections hold it at the band centre, as their dielectric loss. Dielectric loss is the mode's own tan δ: the field solver's where it solved a section, the formulas' filling factor elsewhere, and a stack's layers weighted as the field crosses them. With `--diel wideband` (the FDTD solvers' setting, which mom25d follows too) each layer's εr and tan δ follow its Djordjevic-Sarkar curve, through the stackup's values at `--diel-fref` (a named laminate's at its own frequency: `kicad2ems.core.materials`). Both backends take one εr per section, so the network is solved with its materials frozen at 3–12 frequencies across the band (`kicad2ems.core.lines.dispersion`: Chebyshev points in log f, as many as the longest path's phase needs), each solve over the whole sweep, and S at each frequency is interpolated between the solves to that frequency's own materials. A frozen section keeps its filling factor (εeff − 1) / (εr − 1) and its air capacitance (Z0 √εeff), and a coupled group its dielectric share of C. On the test boards the interpolation sits within 4e-5 of solving each frequency alone. It costs 3–4 solves: 0.1–3.5 s on the wideband examples, against 0.03–1.2 s. The line model's shift matches mom25d's own (`--diel wideband` against `fixed`). The thru's phase at the top of the band moves +5.5° against mom25d's +5.6° on rf_crosstalk (6 GHz), and +12.6° against +13.1° on rf_meander (10 GHz). Against openEMS it helps the long lines, rf_meander 0.31 → 0.26 and rf_serpentine 0.61 → 0.57 (RMS |ΔS|, qucsator). rf_crosstalk goes from 0.032 to 0.035: its fixed εr had offset the formulas' own error. qucsator's RLCG sections still hold their dielectric loss G at the band centre. The result is `_qucs.sNp` or `_scikit.sNp`, compared in the plot and report with the first solver. Large differences point to something one model leaves out (coupling, radiation, plane resonances, the lumped ports) or to a mesh problem. ## Limits - Impedances are quasi-static. qucsator's microstrip models add the strip's own dispersion; the material's is [`--diel wideband`](#wideband). - Coupled sections must be straight, parallel microstrip or stripline. Coupling across layers isn't modelled. - A net is in the model when a port sits on it or a series part leads to it. Copper coupled to the lines only through the field (a combline filter's inner rods) is left out, and taken as ground where a cut crosses it. - A coupled section's cut is taken once, across its middle: copper beside it for part of its length (a via's pad) counts for all of it or not at all. - Shapes other than rectangles become strips only as stubs across a track; tapers and teardrops widen the track. - **Radial stubs**: with qucsator, a fan that is a circular sector is qucsator's radial stub (MRSTUB), its radial line taken to start half the track's width beyond the track's edge (fitted against mom25d on 60°, 90° and 40° fans: the notches agree within 0 to −2.4 %). scikit-rf has no radial stub: the fan is sliced into widening sections, which ignores its radial field (notches 5–8 % high). - qucsator has no stripline model, so single striplines are RLCG lines whose dielectric loss is set at the band centre. Coupled sections' loss grows with frequency, as it should. - No radiation, no plane resonances, no return-path breaks. - Via transitions: the barrel is a coaxial line and the pads aren't modelled. On `rf_diffvia` the worst Sdd11 is −11.9 dB against openEMS's −15.4 (5.2 dB rms). - Solder mask counts only with `--mask`. --- [← mom25d](mom.md) · [Index](index.md) · [Next: Architecture →](architecture.md)