
Outlier detection is vital in accelerator physics for ensuring accurate measurements and system performance, yet remains challenging due to the nonstationary and multiscale characteristics of BPM signals. This paper proposes WAVE, a novel hybrid framework integrating Continuous Wavelet Transform (CWT), Convolutional Neural Network (CNN), and Bidirectional Long Short-Term Memory (BiLSTM) for outlier detection in BPM systems. By combining multiscale time-frequency representation, local feature extraction, and bidirectional temporal modeling, WAVE effectively captures outlier characteristics across multiple temporal scales in nonstationary BPM signals, including four observable anomaly categories: baseline-offset, step-type, transient-amplitude, and noise-enhancement faults. Experimental evaluations on BPM data from the Shanghai Synchrotron Radiation Facility (SSRF) demonstrate that the proposed model achieves a diagnostic accuracy of 95.71%, surpassing the standalone CNN (21.43%) by 74.28 percentage points and the best-performing baseline CNN-GRU (37.86%) by 57.85 percentage points. Furthermore, validation on the Case Western Reserve University (CWRU) bearing dataset yields 98.67% accuracy, which further demonstrates its strong generalization capability and applicability to other outlier detection domains.
This paper presents a library of sphere-based test cases for verifying the correctness of open boundary simulations in electrostatics and magnetostatics for computational physics and engineering applications. While the energy in the fields of a single sphere is computed for various source configurations, the energy, force and torque (when applicable) are also computed for a pair of spheres. An extension to electromagnetic momentum is also given for the single sphere, demonstrating its use as a benchmarking metric. Analytical expressions are provided for each test case, from which the validity of a simulation environment can be assessed. The finite element method is used as the example context, and four different open boundary methods are evaluated. Once verified, the simulation is used to visualize the Poynting vector field associated with an electric charge placed near a permanent magnet, a configuration for which no analytical expression is available. Simulation files are made available and all numerical experiments are reproducible with the ONELAB open source software.
We develop an equilibrium current loading scheme for full-f 3D-3V electromagnetic particle-in-cell simulations of tokamak plasmas, where 3D-3V denotes six-dimensional phase space. In 6-D simulations, both drift and gyro motion are retained explicitly, so an inaccurate initial current can induce a strong spurious electric field. To suppress this numerical artifact, particles are sampled from a canonical Maxwellian distribution using rejection sampling combined with ring-particle loading. For electrons, we use a modified canonical distribution to adjust the weights of passing particles. Since the drift current is not established instantaneously after initialization, a pre-conditioning relaxation step is applied prior to the main electromagnetic simulation. The method is implemented in a 6-D electromagnetic PIC code PLEXSIM, which benefits from GPU parallelism for massively parallel particle operations. It is verified using single-particle invariants and the shear Alfvén wave dispersion in this study. In the present shear Alfvén wave benchmark, the filtered simulations maintain the correct particle response approximately up to 15 Debye lengths. The proposed equilibrium-preserving current loading method is applied to the VEST spherical tokamak equilibrium, where the initial equilibrium current is sustained without exciting a large spurious electric field. These results provide an equilibrium-current-consistent framework for incorporating 6-D kinetic effects into tokamak simulations.
We develop a time-domain finite element method for Kerr-type nonlinear graphene, modeling the sheet as a zero-thickness interface with a nonlinear surface current. We establish the continuous stability of the nonlinear model and the numerical stability of the numerical scheme. Extensive numerical results confirm the optimal convergence rate of our numerical scheme and demonstrate the method’s capability to simulate SPP propagation and THG on complex graphene geometries. Our results reveal that the geometric shape of graphene significantly affects the THG conversion efficiency, suggesting that geometric deformation provides a new direction for enhancing the nonlinear response of graphene. To the best of our knowledge, this is the first FETD method for Kerr-type nonlinear graphene.