Skip to content

How-to guides

Short, task-oriented recipes for readers who know what they want to do. Each guide assumes you know the basic workflow (soil → world → electrodes → source → engine → solve) from the quickstart or the first tutorials. The code blocks are complete and are executed by the test suite (tests/test_doc_snippets.py), so what you copy is what CI ran.

Guide Task
Install the optional extras OpenStreetMap ingest, groundinsight bridge, compiled kernels, the 3-D fem model (fem3d)
Run sweeps and Monte Carlo studies parameter grids, stochastic networks, parallel workers
Speed up large studies segment budget, kernel and earth-return choices, many excitations
Plot results geometry, surface potential, profiles, cross-sections, current sharing, sweeps
Model the inductive coupling of cables and leads Neumann inductance, earth-return models, skin effect
Assess touch voltages touch points at accessible metal parts, transferred potential, open-air grids, EN 50522 limits
Export to CSV, VTK and ParaView tables with provenance, geometry and field files
Work with OpenStreetMap offline Overpass cache, building filters, coordinates
Read and act on warnings diagnose(), the common warnings and what to do about them
Contribute to the documentation page types, tutorial notebooks, the snippet markers, local build

Which engine to use for a task, and where each engine must not be used, is on choosing an engine; the theory behind the engines and the validation numbers are in the explanation section; every public name is in the reference.