first commit

This commit is contained in:
2025-06-04 16:49:58 +02:00
parent 9e777c71da
commit 9d119e3fc9
10 changed files with 2252 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.
@@ -0,0 +1,20 @@
# Create scaling plot
# Data to plot
x_axis <- 2^seq(1:13)
ideal <- 2^seq(1:13)
non_ideal <- c(2,4,8,16,32,64,2^7-0.1*(2^7),2^8-0.2*(2^8),2^9-0.3*(2^9),2^10-0.4*(2^10),2^11-0.5*(2^11),2^12-0.6*(2^12),2^13-0.7*(2^13))
scale_df <- data.frame(x_axis, ideal, non_ideal)
legend_format <- scale_colour_manual("", values=c("black","red"))
line1 <- geom_line(aes(y = ideal, colour = "ideal"))
line2 <- geom_line(aes(y = non_ideal, colour = "speedup"))
x_label <- scale_x_continuous("Number of cores", trans=log2_trans())
y_label <- scale_y_continuous("Speedup", trans=log2_trans())
legend_specifics <- scale_colour_manual("", values=c("black","red"))
scaling_plot <- function() {
ggplot(scale_df, aes(x_axis)) + line1 + line2 + x_label + y_label + legend_specifics + coord_fixed()
}
@@ -0,0 +1,389 @@
\documentclass [a4paper, 11pt]{article}
\usepackage{amssymb, amsmath}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{times}
\usepackage{float}
\usepackage[usenames,dvipsnames]{color}
\usepackage{scrlayer-scrpage}
\usepackage{siunitx}
\pagestyle{scrheadings}
\clearpairofpagestyles
\textwidth 16 cm
\textheight 23 cm
\setlength{\oddsidemargin}{0.1 cm}
\setlength{\topmargin}{1 cm}
\setlength{\headheight}{0cm}
\setlength{\headsep}{0cm}
\setlength{\footskip}{0.75cm}
\setlength{\parindent}{0cm}
\setlength{\oddsidemargin}{0.1 cm}
\setlength{\itemsep}{10pt}
\bibliographystyle{gcs}
\cfoot{\pagemark}
\ofoot{\tiny V1.9-2024JUL01}
\newcommand{\note}[1]{\textcolor{magenta}{(#1)}}
\nocite{*}
\begin{document}
\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.45]{Figures/GCS-hlrs-fzj-lrz.jpg}\\
\end{center}
\end{figure}
\begin{center}
{\LARGE \bf Project Proposal for Tier 0/Tier 1 HPC Access} \\
\bigskip
\bigskip
\bigskip
\end{center}
\textbf{Period}\\
\phantom{MM}\textit{Give the granting period you apply for (month year - month year)}
\bigskip
\textbf{Project title}\\
\phantom{MM}\textit{Title as given in the online proposal}
\bigskip
\textbf{Type of project}\\
\phantom{MM} \textit{Either ``new project'' or ``project extension''}
\bigskip
\textbf{HPC system(s) and corresponding centre(s)}\\
\phantom{MM} \textit{Please name the HPC system(s)/module(s) for which you are applying}
\bigskip
\textbf{Project ID or project acronym}\\
\phantom{MM} \textit{Please provide in case of a project extension}
\bigskip
\textbf{Principal investigator}\\
\phantom{MM} \textit{Name, affiliation, contact data}
\bigskip
\textbf{Project contributor(s)}\\
\phantom{MM} \textit{Name, affiliation, contact data}
\vfill
\begin{center}
\textbf{The length of the project description is restricted to 18 pages (font 11 pt)!}
\end{center}
\newpage
\vfill
\tableofcontents
\vfill
\newpage
\section{Introduction}
\rule{\textwidth}{0.4pt}
·\textit{Give a short outline of the scientific background of your research, including references.}\\
\textit{(about 0.5 to 1 page)}
\section{Preliminary Work}
\rule{\textwidth}{0.4pt}
\textit{Provide a brief summary of your preliminary work in connection with the proposed project, including references.}\\
In context of the KATRIN experiment it first became necessary to determine the particle distributions as well as their spatially resolved energy spectra. Therefore, the Monte Carlo code KARL was first developed in the Masters thesis by \note{TBD} and improved in the PhD thesis of \note{TBD}. Final adjustments were made and the code was published in \textcolor{magenta}{TBD}. Within the aforementioned PhD thesis the density distributions and spectra have been simulated for the KATRIN experiment \note{include image, probably cite paper rather than thesis}. For the Project-8 \note{magnus tube?} experiment a similar analysis is necessary in order to quantify the influence of the collection of charged particles on the measurement. Since the Project-8 experiment can also be approximated by a cylinder, only minor adjustments have to be made to the existing KARL code in order to be able to use it. Apart from the geometry, one difference is the type of tritium used within the experiment. While KATRIN uses molecular tritium, Project-8 is going to use atomic tritium in order to decrease uncertainties in their measurement. This required changes of the background species as well as new cross section data for KARL.\\
One major change made to the KARL code is the introduction of a timeresolution. As can be seen in the figure \note{TBD} the depicted state cannot be in an equilibrium, since the densities of the ions are much larger than the electron density. This would lead to a very large electric potential (of order \SI{10}{\eV}) and therefore a large electric field. In order to account for the electric field and its evolution during the simulation a timeresolution was included. During each timestep particles created from either beta-decay (or other interaction processes) are propagated for a short time. Additionally, particles are sampled from the densities calculated at the preceding timestep in order to account for the evolution of the densities in the presence of the electric field. After all particles have been simulated, the Poisson equation is solved in order to obtain the electrostatic potential. From this potential the electric field is calculated and used in the next timestep within the propagation of the particles.
\textit{(about 1 to 2 pages)}
\section{Description of the Project}
\rule{\textwidth}{0.4pt}
\subsection{Project Details}
\textit{Describe your research project in detail, structured in sub-projects, if applicable. Include discussion of the scientific questions that you are planning to address and the overall scientific goals of the project. It is important that you describe the innovative aspects, impact and topicality of the proposal.}
\begin{itshape}
\begin{itemize}\setlength{\itemsep}{-2pt}
\item Scientific questions you want to address
\item Scientific objectives
\item Computational objectives
\item Approach and expected outcome
\item Expected impact on the research area
\item Scientific and technical innovation potential, impact and topicality
\item Progress beyond the state-of-the-art
\end{itemize}
\end{itshape}
\subsubsection{Sub-project 1}
\subsubsection{Sub-project 2}
\textit{...}\\
\textit{(1 to 2 pages per sub-project)}
%-------------------------------------------------
The Project-8 experiment is still in its design phase. This means that an analysis potential plasma within the experiment can have an influence on the final design choices of the experiment. \\
In order to classify the collection of charged particles within the experiment (or in prototypes of the experiment) it is necessary to be able to calculate the distributions of those charged particles.\\
Since the system will have long times of measurement, an equilibrium state of the particles is expected to form. Calculating this equilibrium state is the goal of this project. \\
Therefore we plan on using a non-standard Monte Carlo code that incorporates interactions between simulated particles as well as the influence of an electrostatic electric field on the evolution (and equilibrium state) of the charged particles.
\begin{itemize}
\item more than one run/subprojects?
\item how to include the actual problem we want to simulate (and have done the computational cost estimate for, i.e. Magnus tube thingy)?
\item What to write in general?
\end{itemize}
%-------------------------------------------------
\subsection{Review Processes}
\textit{Has the underlying research project already successfully undergone a scientific review process? Is the project funded by public money? If yes, please also provide information about the funding source (e.g. State, BMWi, BMBF, DFG, EU, $\dots$) and the funding time frame. If possible, please provide the corresponding review report and upload it as supplemental material.}
\newpage
\section{Numerical Methods and Algorithms}
\rule{\textwidth}{0.4pt}
%\textit{Describe the numerical methods and algorithms that you are planning to use, improve, or develop.}\\
%
%\textit{(1 to 2 pages)}\\
%--------------------------------------------------------
%The simulations are planned to be carried out with the Monte Carlo code KARL. Within the code single beta decay particles (i.e. electrons and ions) are created and tracked throughout the simulation domain. During the movement of the particles, different interactions with the neutral background gas can occur. These interactions are incorporated by using the respective cross sections to calculate the mean free path of the simulated particles. The particle movement itself is tracked from one interaction to another. The distance moved is derived from the mean free path of the particle. After the movement an interaction is drawn at random from the possible interactions (weighed according to their cross section). \\
%Some interactions (e.g. ionization) can themselves create new particles. These particles are added to a list of particles that have yet to be simulated. If the current particle is terminated (either due to leaving the simulation domain or by reaching it's maximum number of interactions or lifetime) a new particle to be tracked is drawn at random form the list. This is done until a specified number of beta decay events has been simulated.\\
%For the particle movement two algorithms can be used, depending on the electric and magnetic fields. The first is a simple drift approximation, which is useful for high magnetic and low electric fields. The second is the well known Boris push algorithm. The Boris push can be used in any case, however in case of high magnetic fields the required resolution is so high that its usage is not feasible. For low magnetic and high electric fields it is however required.\\
%The simulation domain itself is split into a cylindrical grid, with which the density and currents are recorded. These densities and currents are then the output of interest but are also used within the simulation to determine effects from interactions that involve interactions between particle species that are simulated (e.g. recombination).\\
%The electric potential (and the static electric field) created by the charged particles is also considered by a simple Poisson solver within the code. The Poisson solver uses a simple Jacobi iteration to solve for the electric potential. From the potential the electric field is calculated and then used in the movement of the particles.\\
%In order to consider the influence of the particles that create a certain electric field configuration a `time resolution' is introduced. Therefore the simulation is split into certain time intervals. Particles are then allowed to move normally for the duration of a timestep and are terminated once they reach the end of the timestep. After a timestep the electric field is calculated and the next timestep is started. To consider the simulated density, a number of particles is drawn from the density using the rejection method. These particles are then also added to the particle list and simulated.
The code used for the simulations is the Monte Carlo code KARL \cite{sendlinger2025}. This code is a tool specifically developed for the simulation of tritium experiments. \\
In order to simulate the charged particle densities and energy spectra, particles are tracked from interaction to interaction. The length a particle can move depends on its mean free path (MFP), which in turn depends on the densities of the target species, the cross section of the specific interactions as well as the velocity of the particle in the center of mass frame of the interaction.\\
KARL deviates from a standard Monte Carlo code, since we are also interested in interactions between two simulated particle species, of major interest is recombination between the electrons and any kind of present ion. Therefore it is necessary to calculate the density fields during the simulation as well as use them in order to calculate the MFP of the respective interaction.\\
In order to account for gradients in the neutral tritium density profile, KARL uses a spatial, user-defined cylindrical grid. Particles that cross from one grid cell to another without performing an interaction are stopped and their MFP is recalculated before they are moved again. Therefore the moved distance of the particles follows the physical reality better, if the grid is chosen appropriately. \\
All particles that have not terminated due to either an interaction or due to leaving the simulation domain are kept in a list. From this list the particle that is propagated next is chosen at random. During the movement the times it spends in the different grid cells is counted in order to reconstruct the density. Furthermore the crossings between the cells are also counted to obtain the current. After the particle is terminated a new one is drawn. If the particle list is empty new particles from the beta decay of the neutral tritium gas are created and inserted into the list. If an interaction is performed during which new particles are created the new particles are also simply added to that list. This is done until a user-specified number of beta decay particles have been injected.\\\\
This code has been used in order to simulate the particle distributions within the KATRIN experiment \cite{Kellerer_2022}. In this context it was seen that the solution creates a large charge imbalance. This is not a physical result since the resulting electric field would change the density structure as well as the energy distributions.\\
In order to correct for the charge imbalance before the further usage of the results in e.g. Particle-in-Cell simulations it is necessary to consider the electric field during the simulation. While the particle in cell simulations would also account for a charge imbalance it would not be able to capture the atomic processes. Therefore we included a simple solver for the electrostatic Poisson equation in order to obtain the electrostatic potential and thus the electric field.\\
Therefore it becomes necessary to introduce a timestepping into the Monte Carlo algorithm. The length of a timestep is usually chosen to be such that the fastest particles, usually electrons from the beta decay, cannot cross a single grid cell within one timestep. Since that time can easily be below the activity of the source, a weight of the simulated particles has to be defined. In order reduce the statistical noise many particles need to be simulated during a single timestep.\\
During the timestep particles are moved the same way as in the standard version. The only difference being that the movement is ended early should the timestep limit be reached. After the movement of a single particle is done its position is used to calculate the density. After all particles have been moved the densities between all processes are synced and the Poisson equation is solved for the electrostatic electric field. This field is then used in the movement of the charged particles for the subsequent timestep.\\
Particles are not stored between timesteps, since that would require an excessive amount of storage in either large simulation domains or in a high density environment. Instead they are sampled from the calculated densities of the preceding timestep. In order to achieve a good coverage of the density, the number of sampled particles is done per grid point. In each grid point a user-defined number of particles is drawn such that they create a uniform density distribution.\\
This approach depicts the physical reality more closely than the original one since the electric field has a direct influence on all newly created particles as well as the old density that created the electric field. This means that the equilibrium state itself will be physical and can be used directly in any subsequent plasma simulations.
%--------------------------------------------------------
\bigskip
\section{Computer Resources}
\rule{\textwidth}{0.4pt}
\subsection{Code performance and workflow}
\textit{Describe \textbf{all} codes, packages or libraries that you need to undertake the project, and how these will enable the research to be achieved. Include for \textbf{\underline{each} code to be used} information about}
\begin{itshape}
\begin{itemize}\setlength{\itemsep}{-2pt}
\item Which code will be used
\item On which hardware the code will be used (CPUs, GPUs, etc. or combinations, if applicable)
\item How the code is parallelized (pure MPI, mixed MPI/OpenMP, Pthreads, CUDA, etc.)
\item The amount of memory necessary (per core, per node and in total)
\item Scaling plots \textbf{and} tables with speedup results for runs with typical, parameter sets, problem size, and I/O \textbf{of the planned project} (no general benchmark results are accepted). Scaling data should start with the lowest number of cores possible
\item Describe architecture, machine/system name, and problem size used for the scaling plots
\item Current job profile (independent jobs, chained jobs, workflow, etc.)
\item Describe memory requirements, requirements concerning the High Performance network and I/O requirements
\end{itemize}
\end{itshape}
{\it \textbf{Important:} please consider the corresponding technical guidelines and requirements (e.g. required minimal code scalability, memory restrictions, etc.) of the chosen machine(s)!}\\
\textit{If you use third-party codes, include}
\begin{itshape}
\begin{itemize}\setlength{\itemsep}{-2pt}
\item Name, version, licensing model and conditions
\item Web page and other references
\item Contact information of the code developers.
\item Your relationship to the code (developer, collaborator to main developers, end user, etc.)
\end{itemize}
\end{itshape}
\textit{Here we give an example table and plot for presenting scaling and performance information. The presented scaling should range from a single core to the maximal possible number of cores. If this is not doable, the presented scaling should range from the lowest possible number to the maximal possible number of cores for your case. Please \textbf{replace} the text in {\tt Courier} by the appropriate information.}
\begin{table}[H]
\caption{\label{tab_scaling} Scaling behavior of {\tt LINPACK} on {\tt HAWK/Hunter, JUWELS/JUPITER, SuperMUC-NG} at {\tt HLRS, JSC, LRZ}. This test was performed with $5\cdot 10^6$ particles, absolute timings per time step (s) and relative speedup normalized to 1 core are given.}
\begin{center}
\setlength{\tabcolsep}{10pt}
\renewcommand{\arraystretch}{1.2}
\begin{tabular}{lrrrr}
\#cores & absolute timing (s) & speedup & Performance per core [MFLOP/s]\\
\hline
1 & 3781.2 & 1.0 & 800 \\
2 & \phantom{1}1890.6 & 2.0 & 800 \\
4 & \phantom{1} 945.3 & 4.0 & 800 \\
8 & \phantom{1} 472.7 & 8.0 & 800 \\
16 & \phantom{1} 236.3 & 16.0 & 800 \\
32 & \phantom{1} 118.1 & 32.0 & 800 \\
64 & \phantom{1} 59.1 & 64.0 & 800 \\
128 & \phantom{1} 32.8 & 115.2 & 720 \\
256 & \phantom{1} 18.4 & 204.8 & 640 \\
512 & \phantom{1} 10.5 & 358.4 & 559 \\
1024 & \phantom{1} 6.2 & 614.4 & 480 \\
2048 & \phantom{1} 3.7 & 1024.0 & 400 \\
4096 & \phantom{1} 2.3 & 1638.4 & 320 \\
\end{tabular}
\end{center}
\end{table}
\begin{figure}[H]
\begin{center}
\includegraphics[width=1\textwidth]{Figures/parallelization.pdf}
\end{center}
% probably need to explain somewhere what "standard KATRIN parameters" are...
\caption{\label{fig_scaling}Weak scaling graph. Simulated using standard KATRIN parameters with in-
creasing number of events. The load was kept constant on the CPU cores. It was recorded how long the simulation took from start to finish, including output. The result of a single CPU core is used for prognosis of the ideal scaling. The simulations were performed on the bwForCluster NEMO. \textcolor{magenta}{citation?}}
\end{figure}
\textit{(1 to 2 pages)}\\
%------------------------------------------------
The KARL code is a pure CPU based simulation code. It has been parallelized using pure MPI.\\
Monte Carlo codes are usually very easy to parallelize, since individual events do not depend on each other. For the KARL code this is also true to some extent. Since the particles interact through direct collision processes as well as through the electric field they create more care is needed for parallelization than in a standard Monte Carlo code. After each timestep in our code the electric field is calculated. Therefore it is necessary that all processes know the whole density fields of all simulated particle species. So after each timestep an all-to-all communication is necessary between the processes. \\
For the standard version of KARL this becomes negligible since synchronization steps are only done very rarely.\\
From smaller test simulations it is known that the memory requirement per core is less than 2\,GB. The total memory required scales linearly in number of cores since each core has a full copy of all fields, since the parallelization is done in particles and not in any of the spatial or energy coordinates.\\
Since a large number of timesteps is required simulation runs will have to be restarted, meaning that later runs will depend on earlier ones.\\
In terms of output KARL is quite lightweight. While output could hypothetically be created after every timestep it is not needed or beneficial to do so. For KARL output only needs to be created to be able to restart a simulation and after the total number of timesteps is done simulating. This means only two or three output steps are sufficient per simulation run for KARL. \textcolor{magenta}{what to write about the new version where they are not that rare?}
\begin{itemize}
\item scaling: plot from normal paper
\item estimate resources:
\begin{itemize}
\item Problem simulated on smaller system (NEMO2) for a relatively short time
\item Problem size:
\begin{itemize}
\item neutral particle temperature: \SI{300}{\K}
\item 126 procs
\item \num{1e4} beta events per proc and timestep
\item $N_r = 10,\quad N_z = 30,\quad N_E = 100,\quad N_\mu=5$
\item 1 particle from the density per proc, bin and timestep $\rightarrow \num{1.5e5}$ particles per timestep and proc
\item 3600 timesteps
\item $\Delta t = \frac{0.02}{\SI{6.5e9}{\per\s}}$ $\rightarrow v_\text{max}\frac{\Delta t}{\Delta x} \approx 0.63$
\end{itemize}
\item simulated wall clock time: $T_w \approx \SI{2}{\hour}$
\item particles / CPU-s $\approx \num{8e4}$
\item timesteps / CPU-s $\approx \num{4e-3}$
\item timestep goal:
\begin{itemize}
\item thermal ion crossing time $\approx \SI{60}{\mu\s}$
\item expect convergence after a few thermal ion crossing times $\rightarrow T_\text{expect} = \SI{0.6}{\milli\s}$
\item Number of timesteps needed: \num{2e8}
\end{itemize}
\item CPU-s $\approx \num{5e10}$
\item CPU-h $\approx \num{14e6}$
\end{itemize}
\end{itemize}
%------------------------------------------------
\newpage
\subsection{Justification of resources requested}
\textit{Outline the amount of resources you request for the current granting period, structured in sub-projects, if applicable.}\\
\textit{\textbf{If you are requesting different types of resources (e.g. CPUs, GPUs, etc.), please provide the following information and table for \underline{each} type of resource \underline{separately}. If you request resources on several HPC systems or modules, please justify why this is necessary for your project.}}
\begin{itshape}
\begin{itemize}\setlength{\itemsep}{-2pt}
\item Type of run (e.g. pre- /post-processing run, production run, visualization, etc.)
\item Problem size for planned runs (e.g. \# particles or the like)
\item Number of runs planned
\item Number of steps per run
\item Wall-clock time per run
\item Number of cores used per run (for GPUs: number of cores of the host CPUs)
\item Total amount of requested computing time
\item Resources for data analytics, if applicable
\end{itemize}
\end{itshape}
\begin{table}[H]
\caption{\label{tab_CPU_resources}The following CPU resources are requested}
\begin{center}
\setlength{\tabcolsep}{4pt}
\renewcommand{\arraystretch}{1.2}
\begin{tabular}{llcccccc} \hline\hline
Sub-project &
Type &
Problem &
\# runs &
\# steps/ &
Wall time/ &
\# cores/ &
Total \\
&
of run &
size &
&
run &
step [hours] &
run &
[core-h] \\
\hline\hline
Sub-proj. 1 &
Preproc. &
P1 &
R1 &
S1 &
W1 &
C1 &
R1$\cdot$S1$\cdot$W1$\cdot$C1 \\
~ &
Type 1 &
P2 &
R2 &
S2 &
W2 &
C2 &
R2$\cdot$S2$\cdot$W2$\cdot$C2 \\
$\cdots$ &\multicolumn{7}{c}{$\cdots$}\\
\hline\hline
TOTAL & & & & & & & sum of above\\
\end{tabular}
\end{center}
\end{table}
\bigskip
\textit{(0.5 to 1 page)}\\
%-------------------------------------------------
The production runs are planned to consist of $\approx \num{2e8}$ timesteps. The spatial resolution is going to be $N_r = 10$ in radial and $N_z = 30$ in longitudinal direction. The energy will be resolved with $N_E = 100$ logarithmically spaced bins and the pitch angle will only consist of $N_\mu = 5$ bins, since the distributions are expected to be quite isotropic.\\
The number of injected electrons from beta decay is going to be in the order of \num{1e4} particles per timestep and core, however the exact number has a minor effect since the number of particles from the density field is going to dominate the computational time. The goal for the number of particles drawn from the density per timestep, core and bin is 1, which is equivalent to \num{1.5e5} particles per timestep and core.\\
From short test simulations with that setup using 126 cores on NEMO2 we obtain about \num{8e4} particles per CPU-s or about \SI{2}{\s} per simulated timestep. In total we estimate the required computer time to be \num{15e6} CPU-h for a single run.
%-------------------------------------------------
%\begin{itemize}
%\item Problem size: H=3cm, R=4mm, simulation time $\approx \SI{600}{\micro\s}$
%\item number runs: 2 (time resolutions)
%\item number steps run: $1\cdot 10^6$ to $1\cdot 10^8$, depending on time-resolution
%\item $\Delta t \approx 3.94\,\mu\text{s}$: $0.1 \frac{\text{events}}{\text{CPU}\cdot \text{s}}$
%\item $\Delta t \approx 0.197\,\mu\text{s}$: $5.7 \frac{\text{events}}{\text{CPU}\cdot \text{s}}$
%\item number of cores: higher timeres: 288 (6 nodes)\\
% lower timesres: 1440 (30 nodes)
%\item total computing time: $5\times 10^{8}$ CPUs (for one) (obtained by scaling higher timeres from HAWK to $1\,s$)
%\end{itemize}
%-------------------------------------------------
\section{Resource Management and Work Schedule}
\rule{\textwidth}{0.4pt}
\subsection{Resource management}
\textit{Describe how you intend to manage the resources you have requested. This should include a description of the methods you will deploy to monitor progress of the project and how project results are documented.}\\
\textit{(0.5 to 1 page)}
\subsection{Work schedule}
\textit{Provide tables and Gantt charts for a clear presentation of the work schedule, structured in sub-projects, if applicable.}
\subsubsection{Sub-project 1}
\textit{...}
\subsubsection{Sub-project 2}
\textit{...}\\
\bigskip
\textit{Example for a Gantt chart:}
\begin{figure}[H]
\begin{flushleft}
\includegraphics[scale=0.82]{Figures/gantt_chart.jpg}
\end{flushleft}
\caption{\label{fig_workschedule}Work schedule for the project.}
\end{figure}
\section{Key Personnel and Experiences}
\rule{\textwidth}{0.4pt}\\
\textit{Give a short introduction of the key persons involved in the project and their experience (max 3 persons).}\\
\textit{(half a page)}
\section{Bibliographic References}
\bibliography{references.bib}
\rule{\textwidth}{0.4pt}\\
\textit{Provide recent/most important bibliographic references that are relevant to the project.}\\
\bigskip
\end{document}
+972
View File
@@ -0,0 +1,972 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% gcs.bst %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliography Syle file for articles
% P. Gibbon, FZ-Juelich 2007
% Full italic titles; roman proceeding titles; year in parentheses
% originally based on:
% Bibliography Syle file for articles according to IEEE instructions
ENTRY
{ address
author
booktitle
chapter
edition
editor
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
volume
year
}
{}
{ label }
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
FUNCTION {init.state.consts}
{ #0 'before.all :=
#1 'mid.sentence :=
#2 'after.sentence :=
#3 'after.block :=
}
STRINGS { s t }
FUNCTION {output.nonnull}
{ 's :=
output.state mid.sentence =
{ ", " * write$ }
{ output.state after.block =
{ ", " * write$
newline$
" " write$
}
{ output.state before.all =
'write$
{ add.period$ " " * write$ }
if$
}
if$
mid.sentence 'output.state :=
}
if$
s
}
FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
if$
}
FUNCTION {output.check}
{ 't :=
duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
if$
}
FUNCTION {output.bibitem}
{ newline$
"\bibitem{" write$
cite$ write$
"}" write$
newline$
""
before.all 'output.state :=
}
FUNCTION {fin.entry}
{ add.period$
write$
newline$
}
FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
if$
}
FUNCTION {new.sentence}
{ output.state after.block =
'skip$
{ output.state before.all =
'skip$
{ after.sentence 'output.state := }
if$
}
if$
}
FUNCTION {not}
{ { #0 }
{ #1 }
if$
}
FUNCTION {and}
{ 'skip$
{ pop$ #0 }
if$
}
FUNCTION {or}
{ { pop$ #1 }
'skip$
if$
}
FUNCTION {new.block.checka}
{ empty$
'skip$
'new.block
if$
}
FUNCTION {new.block.checkb}
{ empty$
swap$ empty$
and
'skip$
'new.block
if$
}
FUNCTION {new.sentence.checka}
{ empty$
'skip$
'new.sentence
if$
}
FUNCTION {new.sentence.checkb}
{ empty$
swap$ empty$
and
'skip$
'new.sentence
if$
}
FUNCTION {field.or.null}
{ duplicate$ empty$
{ pop$ "" }
'skip$
if$
}
FUNCTION {emphasize}
{ duplicate$ empty$
{ pop$ "" }
{ "{\em " swap$ * "}" * }
if$
}
FUNCTION {boldface}
{ duplicate$ empty$
{ pop$ "" }
{ "{\bf " swap$ * "}" * }
if$
}
FUNCTION {paren}
{ duplicate$ empty$
{ pop$ "" }
{ "" swap$ * "" * }
if$
}
INTEGERS { nameptr namesleft numnames }
FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}
FUNCTION {format.authors}
{ author empty$
{ "" }
{ author format.names }
if$
}
FUNCTION {format.editors}
{ editor empty$
{ "" }
{ editor format.names
editor num.names$ #1 >
{ ", (Eds.)" * }
{ ", (Ed.)" * }
if$
}
if$
}
FUNCTION {format.title}
{ title empty$
{ "" }
{ "``" title "t" change.case$ * }
if$
}
FUNCTION {format.booktitle}
{ booktitle empty$
{ "" }
{ "``" booktitle "t" change.case$ * }
if$
}
FUNCTION {n.dashify}
{ 't :=
""
{ t empty$ not }
{ t #1 #1 substring$ "-" =
{ t #1 #2 substring$ "--" = not
{ "--" *
t #2 global.max$ substring$ 't :=
}
{ { t #1 #1 substring$ "-" = }
{ "-" *
t #2 global.max$ substring$ 't :=
}
while$
}
if$
}
{ t #1 #1 substring$ *
t #2 global.max$ substring$ 't :=
}
if$
}
while$
}
FUNCTION {format.date}
{ year empty$
{ month empty$
{ "" }
{ "there's a month but no year in " cite$ * warning$
month
}
if$
}
{ month empty$
{ year }
{ month " " * year * }
if$
}
if$
}
FUNCTION {format.btitle}
{ title emphasize
}
FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
{ "~" }
{ " " }
if$
swap$ * *
}
FUNCTION {either.or.check}
{ empty$
'pop$
{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
if$
}
FUNCTION {format.bvolume}
{ volume empty$
{ "" }
{ "vol." volume tie.or.space.connect
series empty$
'skip$
{ " of " * series emphasize * }
if$
"volume and number" number either.or.check
}
if$
}
FUNCTION {format.number.series}
{ volume empty$
{ number empty$
{ series field.or.null }
{ output.state mid.sentence =
{ "number" }
{ "Number" }
if$
number tie.or.space.connect
series empty$
{ "there's a number but no series in " cite$ * warning$ }
{ " in " * series * }
if$
}
if$
}
{ "" }
if$
}
FUNCTION {format.edition}
{ edition empty$
{ "" }
{ output.state mid.sentence =
{ edition "l" change.case$ " edition" * }
{ edition "t" change.case$ " edition" * }
if$
}
if$
}
INTEGERS { multiresult }
FUNCTION {multi.page.check}
{ 't :=
#0 'multiresult :=
{ multiresult not
t empty$ not
and
}
{ t #1 #1 substring$
duplicate$ "-" =
swap$ duplicate$ "," =
swap$ "+" =
or or
{ #1 'multiresult := }
{ t #2 global.max$ substring$ 't := }
if$
}
while$
multiresult
}
FUNCTION {format.pages}
{ pages empty$
{ "" }
{ pages multi.page.check
{ "pp." pages n.dashify tie.or.space.connect }
{ "p." pages tie.or.space.connect }
if$
}
if$
}
FUNCTION {format.vol.num.pages}
{
volume empty$
{"" }
{ volume field.or.null boldface }
if$
number empty$
'skip$
{", no. " number * *}
if$
pages empty$
'skip$
{ duplicate$ empty$
{ pop$ format.pages }
{ ", " * pages n.dashify * }
if$
}
if$
}
FUNCTION {format.chapter.pages}
{ chapter empty$
'format.pages
{ type empty$
{ "chapter" }
{ type "l" change.case$ }
if$
chapter tie.or.space.connect
pages empty$
'skip$
{ ", " * format.pages * }
if$
}
if$
}
FUNCTION {format.in.ed.booktitle}
{ booktitle empty$
{ "" }
{ editor empty$
{ " in: " booktitle * }
{ " in: " booktitle * ", " * format.editors *}
if$
}
if$
}
FUNCTION {empty.misc.check}
{ author empty$ title empty$ howpublished empty$
month empty$ year empty$ note empty$
and and and and and
{ "all relevant fields are empty in " cite$ * warning$ }
'skip$
if$
}
FUNCTION {format.thesis.type}
{ type empty$
'skip$
{ pop$
type "t" change.case$
}
if$
}
FUNCTION {format.tr.number}
{ type empty$
{ "Tech. {R}ep." }
'type
if$
number empty$
{ "t" change.case$ }
{ number tie.or.space.connect }
if$
}
FUNCTION {format.article.crossref}
{ key empty$
{ journal empty$
{ "need key or journal for " cite$ * " to crossref " * crossref *
warning$
""
}
{ "In {\em " journal * "\/}" * }
if$
}
{ "In " key * }
if$
" \cite{" * crossref * "}" *
}
FUNCTION {format.crossref.editor}
{ editor #1 "{vv~}{ll}" format.name$
editor num.names$ duplicate$
#2 >
{ pop$ " et~al." * }
{ #2 <
'skip$
{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
{ " et~al." * }
{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
if$
}
if$
}
if$
}
FUNCTION {format.book.crossref}
{ volume empty$
{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
"In "
}
{ "vol." volume tie.or.space.connect
" of " *
}
if$
editor empty$
editor field.or.null author field.or.null =
or
{ key empty$
{ series empty$
{ "need editor, key, or series for " cite$ * " to crossref " *
crossref * warning$
"" *
}
{ "{\em " * series * "\/}" * }
if$
}
{ key * }
if$
}
{ format.crossref.editor * }
if$
" \cite{" * crossref * "}" *
}
FUNCTION {format.incoll.inproc.crossref}
{ editor empty$
editor field.or.null author field.or.null =
or
{ key empty$
{ booktitle empty$
{ "need editor, key, or booktitle for " cite$ * " to crossref " *
crossref * warning$
""
}
{ "In {\em " booktitle * "\/}" * }
if$
}
{ "In " key * }
if$
}
{ "In " format.crossref.editor * }
if$
" \cite{" * crossref * "}" *
}
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
new.block
% italic paper title
format.btitle "title" output.check
new.block
crossref missing$
{ journal "journal" output.check
format.vol.num.pages output
format.date "year" output.check
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
}
FUNCTION {book}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check }
{ format.authors output.nonnull
crossref missing$
{ "author and editor" editor either.or.check }
'skip$
if$
}
if$
new.block
format.btitle "title" output.check
crossref missing$
{ format.bvolume output
new.block
format.number.series output
new.sentence
publisher "publisher" output.check
address output
}
{ new.block
format.book.crossref output.nonnull
}
if$
format.edition output
format.date "year" output.check
new.block
note output
fin.entry
}
FUNCTION {booklet}
{ output.bibitem
format.authors output
new.block
format.title "''" * "title" output.check
howpublished address new.block.checkb
howpublished output
address output
format.date output
new.block
note output
fin.entry
}
FUNCTION {inbook}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check }
{ format.authors output.nonnull
crossref missing$
{ "author and editor" editor either.or.check }
'skip$
if$
}
if$
new.block
format.btitle "title" output.check
crossref missing$
{ format.bvolume output
format.chapter.pages "chapter and pages" output.check
new.block
format.number.series output
new.sentence
publisher "publisher" output.check
address output
}
{ format.chapter.pages "chapter and pages" output.check
new.block
format.book.crossref output.nonnull
}
if$
format.edition output
format.date "year" output.check
new.block
note output
fin.entry
}
FUNCTION {incollection}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "''" * "title" output.check
new.block
crossref missing$
{ format.in.ed.booktitle "booktitle" output.check
format.bvolume output
format.number.series output
format.chapter.pages output
new.sentence
publisher "publisher" output.check
address output
format.edition output
format.date "year" output.check
}
{ format.incoll.inproc.crossref output.nonnull
format.chapter.pages output
}
if$
new.block
note output
fin.entry
}
FUNCTION {inproceedings}
{ output.bibitem
format.authors "author" output.check
new.block
format.btitle "title" output.check
new.block
crossref missing$
{ format.in.ed.booktitle "booktitle" output.check
format.bvolume output
format.number.series output
format.pages output
publisher output
address empty$
{ organization publisher new.sentence.checkb
organization output
format.date "year" output.check
}
{ organization output
address output
format.date "year" output.check
}
if$
}
{ format.incoll.inproc.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
}
FUNCTION {conference} { inproceedings }
FUNCTION {manual}
{ output.bibitem
author empty$
{ organization empty$
'skip$
{ organization output.nonnull
address output
}
if$
}
{ format.authors output.nonnull }
if$
new.block
format.btitle "title" output.check
author empty$
{ organization empty$
{ address new.block.checka
address output
}
'skip$
if$
}
{ organization address new.block.checkb
organization output
address output
}
if$
format.edition output
format.date output
new.block
note output
fin.entry
}
FUNCTION {mastersthesis}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "''" * "title" output.check
new.block
"Master's thesis" format.thesis.type output.nonnull
school "school" output.check
address output
format.date "year" output.check
new.block
note output
fin.entry
}
FUNCTION {misc}
{ output.bibitem
format.authors output
title howpublished new.block.checkb
format.title "''" * output
howpublished new.block.checka
howpublished output
format.date output
new.block
note output
fin.entry
empty.misc.check
}
FUNCTION {phdthesis}
{ output.bibitem
format.authors "author" output.check
new.block
format.btitle "title" output.check
new.block
"PhD thesis" format.thesis.type output.nonnull
school "school" output.check
address output
format.date "year" output.check
new.block
note output
fin.entry
}
FUNCTION {proceedings}
{ output.bibitem
editor empty$
{ organization output }
{ format.editors output.nonnull }
if$
new.block
format.btitle "title" output.check
format.bvolume output
format.number.series output
address empty$
{ editor empty$
{ publisher new.sentence.checka }
{ organization publisher new.sentence.checkb
organization output
}
if$
publisher output
format.date "year" output.check
}
{ address output.nonnull
format.date "year" output.check
new.sentence
editor empty$
'skip$
{ organization output }
if$
publisher output
}
if$
new.block
note output
fin.entry
}
FUNCTION {techreport}
{ output.bibitem
format.authors "author" output.check
new.block
format.btitle "title" output.check
new.block
format.tr.number output.nonnull
institution "institution" output.check
address output
format.date "year" output.check
new.block
note output
fin.entry
}
FUNCTION {unpublished}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "''" * "title" output.check
new.block
note "note" output.check
format.date output
fin.entry
}
FUNCTION {default.type} { misc }
MACRO {jan} {"Jan."}
MACRO {feb} {"Feb."}
MACRO {mar} {"Mar."}
MACRO {apr} {"Apr."}
MACRO {may} {"May"}
MACRO {jun} {"June"}
MACRO {jul} {"July"}
MACRO {aug} {"Aug."}
MACRO {sep} {"Sept."}
MACRO {oct} {"Oct."}
MACRO {nov} {"Nov."}
MACRO {dec} {"Dec."}
MACRO {acmcs} {"ACM Computing Surveys"}
MACRO {acta} {"Acta Informatica"}
MACRO {cacm} {"Communications of the ACM"}
MACRO {ibmjrd} {"IBM Journal of Research and Development"}
MACRO {ibmsj} {"IBM Systems Journal"}
MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
MACRO {ieeetc} {"IEEE Transactions on Computers"}
MACRO {ieeetcad}
{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
MACRO {ipl} {"Information Processing Letters"}
MACRO {jacm} {"Journal of the ACM"}
MACRO {jcss} {"Journal of Computer and System Sciences"}
MACRO {scp} {"Science of Computer Programming"}
MACRO {sicomp} {"SIAM Journal on Computing"}
MACRO {tocs} {"ACM Transactions on Computer Systems"}
MACRO {tods} {"ACM Transactions on Database Systems"}
MACRO {tog} {"ACM Transactions on Graphics"}
MACRO {toms} {"ACM Transactions on Mathematical Software"}
MACRO {toois} {"ACM Transactions on Office Information Systems"}
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
MACRO {tcs} {"Theoretical Computer Science"}
READ
STRINGS { longest.label }
INTEGERS { number.label longest.label.width }
FUNCTION {initialize.longest.label}
{ "" 'longest.label :=
#1 'number.label :=
#0 'longest.label.width :=
}
FUNCTION {longest.label.pass}
{ number.label int.to.str$ 'label :=
number.label #1 + 'number.label :=
label width$ longest.label.width >
{ label 'longest.label :=
label width$ 'longest.label.width :=
}
'skip$
if$
}
EXECUTE {initialize.longest.label}
ITERATE {longest.label.pass}
FUNCTION {begin.bib}
{ preamble$ empty$
'skip$
{ preamble$ write$ newline$ }
if$
"\begin{thebibliography}{" longest.label * "}" * write$ newline$
}
EXECUTE {begin.bib}
EXECUTE {init.state.consts}
ITERATE {call.type$}
FUNCTION {end.bib}
{ newline$
"\end{thebibliography}" write$ newline$
}
EXECUTE {end.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of gcs %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+30
View File
@@ -0,0 +1,30 @@
@article{sendlinger2025,
title = {KARL - a Monte Carlo model for atomic and molecular processes in the tritium atmosphere of the KATRIN experiment},
journal = {Computer Physics Communications},
volume = {312},
pages = {109580},
year = {2025},
issn = {0010-4655},
doi = {https://doi.org/10.1016/j.cpc.2025.109580},
url = {https://www.sciencedirect.com/science/article/pii/S0010465525000839},
author = {Christian Sendlinger and Jonas Kellerer and Felix Spanier},
keywords = {Monte Carlo, Tritium decay, Ionization, Scattering},
abstract = {A new parallelized simulation code is presented, which uses a Monte Carlo method to determine particle spectra in the KATRIN source. Reaction chains are generated from the decay of tritium within the source. The code includes all relevant processes: elastic scattering, ionization, excitation (electric, vibrational, rotational), recombination and various clustering processes. The main emphasis of the code is the calculation of particle spectra and particle densities and currents at specific points within the source. It features a new technique to determine these quantities. It also calculates target fields for the interaction of particles with each other as it is needed for recombination processes. The code has been designed for the KATRIN experiment but is easily adaptable for other tritium based experiments like Project 8. Geometry and background tritium gas flow can be given as user input. The code is parallelized using MPI and writes output using HDF5. Input to the simulation is read from a JSON description.
Program summary
Program Title: KARL - KAtrin WGTS electRon and ion spectrum Monte CarLo CPC Library link to program files: https://doi.org/10.17632/5bj3vwc6rg.1 Licensing provisions: GNU Public License v3 Programming language: C++ External routines/libraries: C++ compiler (tested with g++ 8.2 and 9.4.0), MPI 1.1 (tested with OpenMPI 3.1), HDF5 with support for parallel I/O (tested with version 1.10.0), Blitz++ (tested with version 1.0.2), Jansson (tested with version 2.12 and 2.13) Nature of problem: In the KATRIN experiment (and other experiments alike that feature large vessels filled with tritium) electrons are created from beta decay. These electrons interact with the ambient gas to produce secondary electrons through ionization. Subsequent processes include excitation, secondary ionization and collisions. The resulting electron and ion differential energy spectrum at various positions is relevant for further plasma analysis, and the current of charged particles to the ends of the experiments is an observable. Solution method: Semi-classical Monte Carlo. Additional comments including restrictions and unusual features: The geometry of the experiment is currently limited to the KATRIN experiment, but this may easily be changed. The configuration is stored in JSON files.}
}
@article{Kellerer_2022,
doi = {10.1088/1748-0221/17/06/P06029},
url = {https://dx.doi.org/10.1088/1748-0221/17/06/P06029},
year = {2022},
month = {jun},
publisher = {IOP Publishing},
volume = {17},
number = {06},
pages = {P06029},
author = {Kellerer, J. and Spanier, F.},
title = {Monte Carlo simulations of the electron — gas interactions in the KATRIN experiment},
journal = {Journal of Instrumentation},
abstract = {At the KATRIN experiment, the electron antineutrino mass is inferred from the shape of the β-decay spectrum of tritium. Important systematic effects in the Windowless Gaseous Tritium Source (WGTS) of the experiment include the energy loss by electron scattering, and the extended starting potential. In the WGTS, primary high-energy electrons from β-decay produce an extended secondary spectrum of electrons through various atomic and molecular processes including ionization, recombination, cluster formation and scattering. In addition to providing data essential to the simulation of energy loss processes, the electron spectrum also provides information important in the simulation of plasma processes. These simulations will then provide an insight on the starting potential. Here, a Monte Carlo approach is used to model the electron spectrum in the source for a given magnetic and electric field configuration. The spectrum is evaluated at different positions within the WGTS, which allows for a direct analysis of the spectrum close to the rear wall and detector end of the experiment. Alongside electrons, also ions are tracked by the simulation, resulting in a full description of the currents in the source.}
}