Palace (AWS's finite-element solver, awslabs/palace) as a kicad2ems solver: the
board meshed in tetrahedra by gmsh (model.py), a driven Palace run over the band
with its adaptive frequency sweep (config.py), every port excited in turn
(run.py).
Experimental. What it models: the dielectric slabs inside the board outline,
lossy by their tand; copper as PEC sheets of zero thickness (or lossy ones,
--palace-loss); vias as PEC holes; lumped ports; lumped R / L / C parts as
lumped boundaries across their gaps; edge walls as PEC sheets; drawn solids as
volumes (metal ones holes, PEC or with --palace-loss the metal's surface
impedance, model.py); an air box with
an absorbing boundary around the board, or a closed metal can (--palace-box pec,
--palace-margin its distance from the board). Antenna mode: a second run at a
few frequencies for the far field of the driven port (antenna.py). Eigenmodes
(--palace-modes N, R-E19): after the driven run, the model's N resonances above
fmin, each one's frequency and Q loaded by the ports' resistors, in the summary
and the report. Not yet: roughness, surface finish, phased drives.