kicad2ems.fem.analyses

kicad2ems.fem's tools as kicad2ems analyses (kicad2ems.core.analyses lists
them): they answer questions other engines answer too (kicad2ems.core.study),
in 3D, so a study can ask the same of two programs and
lay the answers side by side.

    elmer_dc       a rail's DC drop                 (python -m
                   kicad2ems.fem.elmer.dc)
    elmer_thermal  the board's temperature          (python -m
                   kicad2ems.fem.elmer.thermal)
    palace_cap     the capacitance between nets     (python -m
                   kicad2ems.fem.palace.cap)
    elmer_mag      wound coils beside ferrite       (python -m
                   kicad2ems.fem.elmer.mag): its own question, no board
    palace_pdn     a rail's impedance at its loads   (python -m
                   kicad2ems.fem.palace.pdn): the rail pcbqs's PDN run found,
                   each part a port at its pads, closed by its parts after the
                   solve
    palace_loop    a converter's input loop         (python -m
                   kicad2ems.fem.palace.loop): the loop pcbqs's near field
                   found, its inductance again in 3D

Each one's settings are its command line's options, read from the tool's own
parser, so a new option of a tool appears in a front end without a change here.
class kicad2ems.fem.analyses.ElmerDC[source]
figures(folder)[source]
Each load's drop in the net's own copper, and the loss in it.
report(folder)[source]
What the result in `folder` holds, to read (the module docstring has
the form), or None.
tag(values)[source]
A short name for a run of these settings (its folder's).
class kicad2ems.fem.analyses.ElmerMag[source]
Wound coils beside ferrite plates: their inductances and coupling
(elmer/mag.py). The coils are parts, not board copper: a run needs no board,
and its result proposes the coil model of pcbqs's full bridge (the coils'
inductances and their coupling) to the circuit.
command(values, board, out, preview=False, results=None)[source]
[program, argument ...] that runs it into folder `out`; ValueError:
what is missing.
figures(folder)[source]
The figures of the answer in `folder`, by name: [dict(name, value,
unit)], or [].
options()[source]
Its tool's options, from its parser, by their groups' ORDER.
report(folder)[source]
What the result in `folder` holds, to read (the module docstring has
the form), or None.
suggest(folder)[source]
Each coil's inductance for the circuit model's inductor of the same
name (name the coils after them: --coil REF:...), and each pair's
coupling for the model's coupling of those two (couplings.A+B.k): no
model's names are assumed. (It had written the wpthb bridge's PRIMARY,
SECONDARY and couplings.0.)
tag(values)[source]
A short name for a run of these settings (its folder's).
class kicad2ems.fem.analyses.ElmerThermal[source]
command(values, board, out, preview=False, results=None)[source]
[program, argument ...] that runs it into folder `out`; ValueError:
what is missing.
figures(folder)[source]
The copper's hottest point and the board at each part's pads; the
coolest point, which is its own.
report(folder)[source]
What the result in `folder` holds, to read (the module docstring has
the form), or None.
tag(values)[source]
A short name for a run of these settings (its folder's).
class kicad2ems.fem.analyses.PalaceCap[source]
class kicad2ems.fem.analyses.PalaceLoop[source]
A converter's input loop in Palace (R-E22): the loop of the board's
newest pcbqs near-field run (its converter, input net, ground, input
capacitors and crop) solved again in 3D, its inductance at the run's
harmonics beside pcbqs's. Palace stays out of pcbqs: this engine reads
pcbqs's result file, not pcbqs.
figures(folder)[source]
Its inductance at each frequency, nH (the names pcbqs's near field
gives them too).
report(folder)[source]
What the result in `folder` holds, to read (the module docstring has
the form), or None.
class kicad2ems.fem.analyses.PalacePDN[source]
A rail's PDN in Palace (R-E22): the rail of the board's newest pcbqs PDN
run, each part a lumped port at its pads, the bare copper solved in 3D and
closed by the run's parts; each load's |Z| beside pcbqs's. Palace stays out
of pcbqs: this engine reads pcbqs's result file, not pcbqs.
report(folder)[source]
What the result in `folder` holds, to read (the module docstring has
the form), or None.