File size: 4,910 Bytes
5d8d8eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | ---
license: cc-by-4.0
language:
- en
pretty_name: SII Stellarator Configuration Dataset
tags:
- fusion
- stellarator
- quasi-isodynamic
- scientific-machine-learning
- tabular
---
# SII Stellarator Configuration Dataset
**Wenyang Li**
[**Shanghai Innovation Institute**](http://www.sii.edu.cn) | PhD student
[AI-Driven Controlled Fusion Simulation, Control & Design Lab](https://github.com/SII-AI4Fusion)
- **Phone**: [+86-156-2003-5216](tel:+86-156-2003-5216)
- **Email**: [lwydsg@mail.nankai.edu.cn](mailto:lwydsg@mail.nankai.edu.cn)
---
## Overview
This directory hosts a **stellarator configuration dataset grouped by number
of field periods (nfp)**. Each sample keeps only three things:
**Fourier boundary coefficients, nfp, and 9 VMEC evaluation metrics** —
every field is guaranteed to be non-`None` / non-`NaN`.
Design goals:
1. **Simplified content** — keep only the Fourier coefficients and the 9
VMEC metrics that configuration-design optimization actually needs; all
other construction parameters / diagnostics / multi-beta-branch
evaluations are stripped out.
2. **Ready for future growth** — more QI (Quasi-Isodynamic) configurations
will be folded in later, so a unified, clean, schema-stable baseline
makes that painless.
## Source
Derived from a local copy of
[proxima-fusion/constellaration](https://huggingface.co/datasets/proxima-fusion/constellaration),
covering `n_field_periods` (nfp) = 1–5. The upstream library has broad
coverage but not every row has complete VMEC evaluation results; this
dataset keeps **only rows where every field is fully valid**.
## File layout
One file per nfp. The filename embeds the number of retained samples
`n{count}`:
| File | Samples | Note |
| --- | --- | --- |
| `nfp1_n14607.parquet` | 14,607 | nfp = 1 |
| `nfp2_n19945.parquet` | 19,945 | nfp = 2 |
| `nfp3_n68191.parquet` | 68,191 | nfp = 3 |
| `nfp4_n27798.parquet` | 27,798 | nfp = 4 |
| `nfp5_n28144.parquet` | 28,144 | nfp = 5 |
| **Total** | **158,685** | |
Parquet files use snappy compression with a flat column layout — they can
be loaded column-wise directly.
## Fields
Each row (one sample) has three groups of fields:
### 1. Field-period count `nfp`
- Column: `boundary.n_field_periods`
- Type: integer
- Meaning: number of toroidal field periods
- Values present in this dataset: 1, 2, 3, 4, 5
### 2. Fourier boundary coefficients `boundary.r_cos` / `boundary.z_sin`
- Type: 5×9 float matrix (`list<list<double>>`)
- Meaning: Fourier expansion coefficients of the stellarator boundary
surface along the `(θ, φ)` periodic directions. `r_cos` is the cosine
component of R; `z_sin` is the sine component of Z (the configuration is
stellarator-symmetric, so only these two terms are retained).
- Shape convention: row index corresponds to the poloidal mode `m`
(0…4, 5 rows); column index corresponds to the toroidal mode `n`
(−4…+4, 9 columns).
### 3. VMEC evaluation metrics `metrics.*`
| Column | Meaning |
| --- | --- |
| `metrics.aspect_ratio` | Aspect ratio |
| `metrics.edge_rotational_transform_over_n_field_periods` | Edge iota / nfp (**no abs applied** — original sign preserved) |
| `metrics.average_triangularity` | Average triangularity |
| `metrics.max_elongation` | Maximum elongation |
| `metrics.edge_magnetic_mirror_ratio` | Edge magnetic mirror ratio |
| `metrics.vacuum_well` | Vacuum magnetic well |
| `metrics.minimum_normalized_magnetic_gradient_scale_length` | Minimum normalized magnetic gradient scale length |
| `metrics.qi` | Quasi-isodynamic residual (**no log10 applied** — raw value) |
| `metrics.flux_compression_in_regions_of_bad_curvature` | Flux compression in regions of bad curvature |
> For generality, `iota` is not abs-ed and `qi` is not log10-transformed —
> raw values are stored; downstream code applies whatever transform it
> needs.
## Full schema
Flat column names for straightforward column-wise access:
| Column | Type |
| --- | --- |
| `boundary.n_field_periods` | `int64` |
| `boundary.r_cos` | `list<list<double>>` (5×9) |
| `boundary.z_sin` | `list<list<double>>` (5×9) |
| `metrics.aspect_ratio` | `double` |
| `metrics.edge_rotational_transform_over_n_field_periods` | `double` |
| `metrics.average_triangularity` | `double` |
| `metrics.max_elongation` | `double` |
| `metrics.edge_magnetic_mirror_ratio` | `double` |
| `metrics.vacuum_well` | `double` |
| `metrics.minimum_normalized_magnetic_gradient_scale_length` | `double` |
| `metrics.qi` | `double` |
| `metrics.flux_compression_in_regions_of_bad_curvature` | `double` |
## Data-quality guarantee
Every sample satisfies:
1. `nfp` is neither `None` nor `NaN`;
2. The entire 5×9 matrices of `boundary.r_cos` and `boundary.z_sin` contain
no `None` / `NaN`;
3. All **9 VMEC metrics** above are non-`None` and non-`NaN`.
Any sample failing any of these conditions was removed before inclusion.
|