Originally forked from https://github.com/SebastienJoly/IDDEFIX
Impedance Determination through Differential Evolution FItting and eXtrapolation.
IDDEFIX is a physics-informed evolutionary optimization framework that fits a resonator-based model (parameterized by R, f, Q) to wakefield simulation data. It leverages Differential Evolution to optimize these parameters, enabling efficient classification and extrapolation of electromagnetic wakefield behavior. This allows for reduced simulation time while maintaining long-term accuracy, akin to time-series forecasting in machine learning
🚀 IDDEFIX
features:
-
Resonators formulas
- Longitudinal and transverse impedance (Fully/ partially decayed)
- Longitudinal and transverse wake
- Longitudinal and transverse wake potentials
-
Differential Evolution algorithm for fitting resonsators to impedance
- SciPy's Differential Evolution
- pyfde ClassicDE
- pyfde JADE
- pyMOO's CMA-ES "Covariance Matrix Adaptation Evolution Strategy"
-
Smart Bound Determination for precise and easy boundary setting
IDDEFIX is deployed to the Python Package Index (pyPI). To install it in a conda environment do:
pip install iddefix
It can also be installed directly from the Github source to get the latest changes:
pip install git+https://github.com/ImpedanCEI/IDDEFIX
IDDEFIX is documented using Sphinx
and ReadTheDocs
. Documentation is available at: http://iddefix.readthedocs.io/
Check 📁 examples/
for different DE resonator fitting cases
- Analytical resonator initialization and fitting
- Resonator fitting on accelerator cavity simulation and extrapolation
- Resonator fitting on beam wire scanner simulation
- Resonator fitting on SPS transistion device and extrapolation
- Author : Sébastien Joly ([email protected])
- Collaborator :
- Malthe Raschke ([email protected])
- Refactored code and PYPI deployment
- Smart Bound Determination
- Example notebooks for extrapolation of analytical and simulated devices
- Bernardo Abreu Figueiredo ([email protected]):
- CMA-ES kernel integration from
pymoo
- CMA-ES kernel integration from
- Malthe Raschke ([email protected])
- Maintainer: Elena de la Fuente ([email protected])
- S. Joly, Resonator impedance extrapolation of a partially decayed wake presentation @ CERN ABP-CEI section meeting link
- S. Joly, PhD Thesis Recent advances in the CERN PS impedance model and instability simulations following the LHC Injectors Upgrade project Sapienza Universita di Roma link
- M. Raschke, Evolutionary Algorithms for Wakefields @ CERN ABP-CEI section meeting link
- B. Figueiredo, Using Xsuite and (CMA-ES) genetic methods to optimize FCC GHS momentum acceptance @ CERN ABP-CAP section meeting link