diff --git a/docs/paper/the-karl-code/paper.tex b/docs/paper/the-karl-code/paper.tex index 29ed167..4b6dc48 100755 --- a/docs/paper/the-karl-code/paper.tex +++ b/docs/paper/the-karl-code/paper.tex @@ -26,6 +26,9 @@ \DeclareSIUnit\statvolt{statV} \DeclareSIUnit\erg{erg} + +\newcommand\changed[1]{\textcolor{red}{\textbf{#1}}} + % setup for JSON \colorlet{punct}{red!60!black} \definecolor{background}{HTML}{EEEEEE} @@ -149,11 +152,15 @@ A new parallelized simulation code is presented, which uses a semi classical Mon The KATRIN experiment is designed to measure the electron anti-neutrino mass to unprecedented sensitivity down to \SI{0.2}{eV} \citep{KATRIN2005}. At the experiment, the mass is inferred from the shape of the $\upbeta$-decay spectrum of tritium. The contribution of the mass on the shape is most dominant in the endpoint region. The experiment can be divided into two parts: the source section and the detector section. In the source section, tritium gas is circulated which provides a high luminosity stream of beta electrons. These electrons are magnetically guided to the detector section. There they are separated by their kinetic energy: one small stream being recorded by the detector, the other larger one reflected back to the source. -Both the initial and reflected stream of electrons interact with the gas in the source. For high energy electrons these interactions include mostly elastic scattering, but also ionization. Hence, many more electrons, and therefore also ions, are created in the source than from beta decay alone. The charged particle density is high enough, that a plasma forms in the source \citep{Kuckert.2016}. This plasma influences the high energy spectrum through its self generated, ab initio inhomogeneous electric potential. A precise knowledge of the electron and ion energy spectrum and density is necessary for any plasma analysis. +Both the initial and reflected stream of electrons interact with the gas in the source. For high energy electrons these interactions include mostly elastic scattering, but also ionization. Hence, many more electrons, and therefore also ions, are created in the source than from beta decay alone. The charged particle density is high enough, that a plasma forms in the source \citep{Kuckert.2016}. \changed{This plasma influences the high energy spectrum through its self generated inhomogeneous electric potential.} A precise knowledge of the electron and ion energy spectrum and density is necessary for any plasma analysis. -The electron spectrum for high energy electrons is comparably simple to describe, as it follows the Fermi statistics of beta decay \citep{Fermi:1934aa}. However, it is much more complicated to describe for secondary electrons, leading to a Markov chain of events, with further branching event chains. First, new particles are created through ionization on the whole energy range. This creates a multitude of new possible branches with their own characteristics. Also other interactions become more dominant at lower energies, namely elastic scattering and excitation processes of the tritium molecules through electronic, rotational and vibrational excitation. All of these interactions create new branches with feedback to the initial branches. Additionally, electrons can also recombine with the existing ions in the source. This process is not only dependent on the electron spectrum, but the ion spectrum as well. There are many different types of ions, which are created by clustering processes with the neutral gas. The neutral gas density, which is the dominant interaction partner for both electrons and ions, is not constant in the source, but ranges over more than three orders of magnitude over \SI{16}{m} \citep{Kuckert.2018}. Additionally, it has a position dependent mean drift velocity, also covering two orders of magnitude \citep{Kuckert.2018}. +The incident electron spectrum originating from tritium beta decay before any scattering for high energy electrons is comparably simple to describe, as it follows the Fermi statistics of beta decay \citep{Fermi:1934aa}. However, it is much more complicated to describe for secondary electrons, leading to a chain of events, with further branching event chains. First, new particles are created through ionization. \changed{Ionization produces two indistinguishable electrons with energies between 0 eV and the impact energy.} This creates a multitude of new possible branches with their own characteristics. Also other interactions become more dominant at lower energies, namely elastic scattering and excitation processes of the tritium molecules through electronic, rotational and vibrational excitation. -Two different methods of descriptions seem obvious: a description through the temporal evolution of phasespace elements and a description through the Monte Carlo method by tracking of single particles \citep{MOBUS2001519}. The first method impresses with a high resolution but is very computational intensive, especially with many different interaction types and species. Thus, it was rejected for the simulation of the problem at hand. The Monte Carlo method seems preferable, but in a classical Monte Carlo scheme each of the simulated events is independent on the others. This is not the case for events for electron and ions tracks because of recombination. This problem is addressed in the KARL code, which is presented in the this paper. +\changed{In the first place incident particles from tritium beta decay are tracked. Through their interactions they form a reaction tree with subsequently generated secondary particles (or with pre-existing particles that change properties via the interaction). In order to follow all interactions of this tree each secondary particles forms a new ``branch''. Within the code newly generated particles are put into a list that is processed after the incident particles reaches the end of its lifetime.} + +\changed{The incident and secondary particles may produce a feedback to other particles - primarily through recombination and clustering processes:} Electrons can recombine with the existing ions in the source. This process is not only dependent on the electron spectrum, but the ion spectrum as well. There are many different types of ions, which are created by clustering processes with the neutral gas. The neutral gas density, which is the dominant interaction partner for both electrons and ions, is not constant in the source, but ranges over more than three orders of magnitude over \SI{16}{m} \citep{Kuckert.2018}. Additionally, it has a position dependent mean drift velocity, also covering two orders of magnitude \citep{Kuckert.2018}. + +Two different methods of descriptions seem obvious: a description through the temporal evolution of phasespace elements and a description through the Monte Carlo method by tracking of single particles \citep{MOBUS2001519}. \changed{The first method impresses with a high resolution in space and velocity but is very computational intensive, especially with many different interaction types and species. A comparison with Monte Carlo type simulations is complicated: Since this would not be a statistical method the noise is negligble, but the requirements to save the phase-space distribution (specifically for high velocities) are extremely high. Thus, it was rejected for the simulation of the problem at hand.} The Monte Carlo method seems preferable, but in a classical Monte Carlo scheme each of the simulated events is independent on the others. This is not the case for events for electron and ions tracks because of recombination. This problem is addressed in the KARL code, which is presented in the this paper. In the KARL code, single particles are tracked through the source from one interaction to another. The moved distance between interactions is determined from the mean free path. The performed interactions are drawn from a list of available interactions. During movement it is recorded how long a particle stays within a predefined segment of the source. The density of the particle specie in this segment is then proportional to the cumulated time in that segment. Thus, the density can be determined during simulation. It can therefore also be used to evaluate the likeliness of recombination. diff --git a/docs/paper/the-karl-code/referee_report_2.md b/docs/paper/the-karl-code/referee_report_2.md index 1a68f1b..b3760a1 100644 --- a/docs/paper/the-karl-code/referee_report_2.md +++ b/docs/paper/the-karl-code/referee_report_2.md @@ -42,22 +42,22 @@ Page 3: Line 27: C: Please define what is meant by "high" energy electrons. How dominant is elastic scattering over inelastic in this energy range? -Line 32: F: I don't know what is meant by "ab initio" in this sentence. - +Line 32: I don't know what is meant by "ab initio" in this sentence. +
We have omitted "ab initio" preserving the original meaning -Line 38: F: The definition of a Markov chain is that the process depends only on current state but not on past history of the system. But as described later, there appear to nonlinear feedback terms where the path of the electron depends on other interactions in its history like the possible creation of ions that lead to further recombination. So it seems a Markov chain may not be an ideal description here? - +Line 38: The definition of a Markov chain is that the process depends only on current state but not on past history of the system. But as described later, there appear to nonlinear feedback terms where the path of the electron depends on other interactions in its history like the possible creation of ions that lead to further recombination. So it seems a Markov chain may not be an ideal description here? +
We agree that the final implementation of the code - due to the use of the recombination technique - is no longer a Markov chain. The use of the term "Markov" in this paragraph is on the other hand superfluous. -Line 35: C: clarify somehow that the spectrum referred to here is the one before any scattering interactions. - +Line 35: C: clarify somehow that the spectrum referred to here is the one before any scattering interactions. +
This should be much more concise now. -Line 40: F:not clear what is meant by the "whole energy range" +Line 40: It is not clear what is meant by the "whole energy range"
We have tried to clarify this part. -Line 41: C, F: I find this description very confusing. It is not clear what the authors mean by a "branch", what constitutes a "new branch" or an "initial branch", and what is meant by the idea of the branches "feeding back". I have a feeling that the authors have a mental model of the process in mind but have not explained this model to the reader by this point. +Line 41: C, F: I find this description very confusing. It is not clear what the authors mean by a "branch", what constitutes a "new branch" or an "initial branch", and what is meant by the idea of the branches "feeding back". I have a feeling that the authors have a mental model of the process in mind but have not explained this model to the reader by this point.
We have rephrased the whole branch thing and have tested the text with an independent researcher... We hope that the current version is now understandable.v Page 4: -Line 13: F: "High resolution" -> resolution in what quantity? What does high mean in this context? I also don't understand what phase space evolution would necessarily be expected to have better or worse resolution than particle tracking MC. +Line 13: F: "High resolution" -> resolution in what quantity? What does high mean in this context? I also don't understand what phase space evolution would necessarily be expected to have better or worse resolution than particle tracking MC.
We have tried to explain this in more detail. In fact we are developing a very boiled down version of the phasespace solver, but a reasonable comparison of the two approaches is rather complex. We can however acknowledge that the phasespace code is only feasible for 1D simulations... Line 24: C: mention the mean free path used to sample a poisson process (as written it suggests a fixed distance step)