User guide
The best starting point for understanding how FreeGSNKE works is this user guide and the example notebooks. The original FreeGS documentation provides useful background, but does not define the FreeGSNKE APIs.
To get started with using FreeGSNKE, first read the home page information from end to end. Then, read through and experiment with the example notebooks in the examples directory.
The notebooks are displayed statically on the following pages, but running them interactively and experimenting with the features is highly recommended.
- Logging
- Example: Machine configuration
- Example: Static inverse free-boundary equilibrium calculations
- Example: Advanced constraints in static inverse free-boundary equilibrium calculations
- Example: Designing different divertor configurations
- Example: Static forward free-boundary equilibrium calculations
- Example: Alternative initial plasma flux guesses
- Example: High resolution static solves
- Example: Obtaining results from the eq and profiles objects
- Example: Saving an equilibrium to geqdsk (via FreeQDSK)
- Example: Reading and writing an equilibrium to IMAS (via IMAS-Python)
- Example: Saving an equilibrium to geqdsk (via eqdsk)
- Example: Extracting a state-space model from an equilibrium
- Example: Using the magnetic probes
- Example: Evolutive equilibrium calculations
- Example: linear evolution without solving the Grad-Shafranov equation
- Example: linear evolution with re-linearisation during evolutive equilibrium calculations
- Example: Simulating a MAST-U shot using input data from EFIT++ (via pyUDA)
- Example: Simulating a MAST-U shot using input data from EFIT++ (via pyUDA)
- Example: “Anamak” tokamak
- Example: Static inverse free-boundary equilibrium calculations (in SPARC)
- Example: Static inverse free-boundary equilibrium calculations (in ITER)
- Example: Static forward free-boundary equilibrium calculations (in EAST)
- Example: Static inverse free-boundary equilibrium calculations (in KSTAR)
- Example: Static inverse free-boundary equilibrium calculations (in DIII-D)
- Example: Static forward free-boundary equilibrium calculations (in MAST)
- Example: Static forward free-boundary equilibrium calculations (in OpenSTEP)
- Example: Virtual circuit calculations
- Example: Vertical instability (growth rate) calculations
- Example: Pulse Design Tool
- Example: Machine symmetrisation
- Example: Symmetry-reduced Pulse Design Tool (Anamak)
- Example: Symmetry-reduced Pulse Design Tool (MAST-U-like)