Skip to content

Commit 578d721

Browse files
committed
feat: Add interactive validation notebook for enhanced user experience and result verification
1 parent 5fac5c7 commit 578d721

File tree

3 files changed

+83
-4
lines changed

3 files changed

+83
-4
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ python -m src.warp.fenics_plasma
130130
pytest tests/ --tb=short
131131
```
132132

133+
### Interactive Notebook for Validation
134+
135+
For a focused, interactive experience with our validation framework, you can launch a dedicated notebook. This provides access to the validation functions from `notebooks/validation_framework.py` without loading the full project.
136+
137+
**Launch Interactive Validation**: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/DawsonInstitute/hts-coils/main?urlpath=lab/tree/notebooks/interactive_validation.ipynb)
138+
133139
## Quick Start
134140

135141
### Interactive Notebooks (MyBinder)
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "3b353b34",
6+
"metadata": {},
7+
"source": [
8+
"# Interactive Validation Framework\n",
9+
"\n",
10+
"This notebook provides an interactive interface to the validation framework used in our paper. You can use this to verify our results or test your own calculations against our benchmarks.\n",
11+
"\n",
12+
"## How to Use\n",
13+
"\n",
14+
"1. **Run the setup cell:** This will import the necessary validation framework.\n",
15+
"2. **Use the validation functions:** Call the validation functions with your own data to see if they meet the paper's benchmarks.\n",
16+
"3. **Explore the framework:** The `validation_framework.py` script contains all the benchmark data and validation logic. You can inspect it to understand the basis for our validation."
17+
]
18+
},
19+
{
20+
"cell_type": "code",
21+
"execution_count": null,
22+
"id": "f689570e",
23+
"metadata": {},
24+
"outputs": [],
25+
"source": [
26+
"import sys\n",
27+
"sys.path.append('..')\n",
28+
"from notebooks.validation_framework import ValidationFramework, create_rebco_validation_example"
29+
]
30+
},
31+
{
32+
"cell_type": "markdown",
33+
"id": "ffabbf16",
34+
"metadata": {},
35+
"source": [
36+
"## Example: Comprehensive Validation\n",
37+
"\n",
38+
"The following cell runs a comprehensive validation of all key parameters from the REBCO paper. This is the same set of tests we use to ensure our main results are reproducible."
39+
]
40+
},
41+
{
42+
"cell_type": "code",
43+
"execution_count": null,
44+
"id": "9cf1daf0",
45+
"metadata": {},
46+
"outputs": [],
47+
"source": [
48+
"validator = ValidationFramework()\n",
49+
"example_data = create_rebco_validation_example()\n",
50+
"validator.comprehensive_rebco_validation(\n",
51+
" example_data['baseline_config'],\n",
52+
" example_data['high_field_config'],\n",
53+
" example_data['thermal_results'],\n",
54+
" example_data['stress_results']\n",
55+
")"
56+
]
57+
}
58+
],
59+
"metadata": {
60+
"language_info": {
61+
"name": "python"
62+
}
63+
},
64+
"nbformat": 4,
65+
"nbformat_minor": 5
66+
}

papers/warp/soliton_validation.tex

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
\newcommand{\divg}{\boldsymbol{\nabla} \cdot}
4949
\newcommand{\dd}[1]{\,\mathrm{d}#1}
5050

51+
\def\path#1{\texttt{\detokenize{#1}}}
52+
\def\path#1{\texttt{\detokenize{#1}}}
5153
\begin{document}
5254

5355
\title{Computational Analysis of High-Temperature Superconducting Coils for High-Beta Plasma Confinement}
@@ -168,7 +170,7 @@ \subsection{Integrated Framework Architecture}
168170
\textbf{5. Data Acquisition} $\leftarrow$ \textbf{3. Plasma Control}\\[0.2cm]
169171
$\uparrow$ \hspace{3cm} $\downarrow$\\[0.2cm]
170172
\textbf{4. Enhanced Interferometric Detection}\\[0.3cm]
171-
extit{Coordinated operation may potentially enable soliton formation and detection.}
173+
\t\textit{Coordinated operation may potentially enable soliton formation and detection.}
172174
\vspace{2cm}
173175
\end{minipage}}
174176
\caption{\textbf{Integrated Lentz-HTS Validation Framework Architecture}: Comprehensive schematic showing the five interconnected subsystems required for laboratory-scale soliton validation. \textbf{Data Flow}: (1) Energy Optimization System computes optimal energy configurations and provides targeting parameters using multi-objective optimization algorithms; (2) HTS Magnetic Confinement System generates precisely controlled $7.07\pm0.15$~T toroidal fields with $<0.2\pm0.05\%$ ripple using REBCO superconducting tape; (3) Plasma Control System maintains optimal density ($n_e = 10^{20}\,\mathrm{m}^{-3}$) and temperature (100--1000~eV) profiles through real-time feedback; (4) Enhanced Interferometric Detection system achieves $1.0\times10^{-18}\pm2\times10^{-19}$~m spacetime distortion sensitivity using a stabilized Michelson configuration; (5) Data Acquisition and Analysis processes real-time measurements at 10~kHz with automated soliton detection algorithms. \textbf{Integration}: Subsystems communicate through a centralized control system with $<100\,\mu\mathrm{s}$ latency. \textbf{Performance}: Complete system validation demonstrates computational feasibility within $\pm15\%$ error bounds across all subsystems. \textbf{Abbreviations}: HTS = High-Temperature Superconductor; REBCO = Rare Earth Barium Copper Oxide. \textbf{Status}: All parameters represent computational projections requiring experimental validation.}
@@ -185,7 +187,7 @@ \subsubsection{Energy Optimization Core (Multi-Objective Algorithm Integration)}
185187
\item \textbf{Envelope Profile Fitting}: Precision target soliton envelope generation using $\sech^2$ basis functions with $L_1/L_2$ error minimization
186188
\end{itemize}
187189

188-
The integration leverages advanced multi-objective optimization algorithms for soliton envelope shaping, power budget management, and temporal energy distribution \cite{alcubierre2000superluminal,carleo2019machine}, with canonical energy requirement studies by McMonigal et al.\ (DOI: PhysRevD.85.064024), validated through: (1) Cross-code benchmarking against established optimization libraries with variance analysis implemented in \texttt{notebooks/validation\_framework.py} showing $<3\%$ variance \cite{HTS-Coils-GitHub}; (2) Analytical verification against known optimization solutions with machine precision agreement as demonstrated in \texttt{src/warp/comsol\_plasma.py::perform\_analytical\_validation} \cite{HTS-Coils-GitHub}; (3) Monte Carlo validation across 10,000 parameter sets with 99.7\% convergence success rate through uncertainty quantification harness in \texttt{src/warp/optimizer/uq\_impulse\_energy\_variance.py} \cite{HTS-Coils-GitHub}; (4) Comprehensive error analysis showing numerical stability under extreme parameter conditions. Algorithms adapted specifically for Lentz soliton applications with enhanced convergence stability through computational modeling.
190+
The integration leverages advanced multi-objective optimization algorithms for soliton envelope shaping, power budget management, and temporal energy distribution, with canonical energy requirement studies by McMonigal et al.\ \cite{McMonigal2012}, validated through: (1) Cross-code benchmarking against established optimization libraries with variance analysis implemented in \path{notebooks/validation_framework.py} showing $<3\%$ variance \cite{HTS-Coils-GitHub}; (2) Analytical verification against known optimization solutions with machine precision agreement as demonstrated in \path{src/warp/comsol_plasma.py::perform_analytical_validation} \cite{HTS-Coils-GitHub}; (3) Monte Carlo validation across 10,000 parameter sets with 99.7\% convergence success rate through uncertainty quantification harness in \path{src/warp/optimizer/uq_impulse_energy_variance.py} \cite{HTS-Coils-GitHub}; (4) Comprehensive error analysis showing numerical stability under extreme parameter conditions. Algorithms adapted specifically for Lentz soliton applications with enhanced convergence stability through computational modeling.
189191

190192
\subsubsection{HTS Magnetic Confinement System}
191193

@@ -1014,11 +1016,16 @@ \section*{Data Availability}
10141016
\newblock Ideal MHD.
10151017
\newblock Cambridge University Press, Cambridge, 2014.
10161018

1019+
\bibitem{McMonigal2012}
1020+
McMonigal, Brendan, Lewis, Geraint F., and O'Byrne, Philip.
1021+
\newblock Energy requirements for warp drive.
1022+
\newblock {\em Physical Review D}, 85(6):064024, 2012.
1023+
10171024
\bibitem{HTS-Coils-GitHub}
10181025
Dawson Institute Research Team.
10191026
\newblock HTS Coils Research Repository: Computational framework for laboratory-scale soliton validation.
1020-
\newblock \url{https://github.com/DawsonInstitute/hts-coils}, 2025.
1021-
\newblock Accessed: September 2025.
1027+
\newblock Zenodo, 2025. \url{https://doi.org/10.5281/zenodo.17114417}
1028+
10221029

10231030
\end{thebibliography}
10241031

0 commit comments

Comments
 (0)