Calculation of CPUh and minor changes of ü's and in the intro

This commit is contained in:
Jonas Kellerer
2020-02-07 17:30:40 +01:00
parent 7fabbe98f8
commit d892c970c6
2 changed files with 80 additions and 11 deletions
@@ -11,6 +11,7 @@
\usepackage{pgf}
\usepackage{siunitx}
\usepackage{floatflt}
\usepackage{changepage}
\textwidth 16 cm
\textheight 23 cm
@@ -62,13 +63,13 @@ Gaseous Tritium Source of the KATRIN experiment}
\bigskip
\textbf{Principal investigator}\\
\phantom{MM} \textit{Dr. Felix Spanier\\
Address: Universität Heidelberg, Institut für Theoretische Astrophysik, Albert-Ueberle-Str. 2
Address: Universit\"at Heidelberg, Institut f\"ur Theoretische Astrophysik, Albert-Ueberle-Str. 2
69120 Heidelberg\\ felix.spanier@uni-heidelberg.de}
\bigskip
\textbf{Project contributor(s)}\\
\phantom{MM} \textit{Jonas Kellerer\\ Address: Karlsruher Institut für Technologie,
Institut für Experimentelle Teilchenphysik, Campus Nord, Postfach 36 40, 76021 Karlsruhe\\jonas.kellerer@kit.edu}
\phantom{MM} \textit{Jonas Kellerer\\ Address: Karlsruher Institut f\"ur Technologie,
Institut f\"ur Experimentelle Teilchenphysik, Campus Nord, Postfach 36 40, 76021 Karlsruhe\\jonas.kellerer@kit.edu}
%% die ü funktionieren hier nicht
@@ -92,16 +93,13 @@ Institut für Experimentelle Teilchenphysik, Campus Nord, Postfach 36 40, 76021
\textit{(about 0.5 to 1 page)}
%%TODO Referenz KATRIN Experiment, KATRIN First Light
%% Standart katrin anfang:
%% The Karlsruhe TRitium Neutrino (KATRIN) experiment \cite{collaboration2001katrin}\cite{Kleesiek2019} aims to determine the effective neutrino mass with a sensitivity of $m_\nu = \SI{0.2}{eV/c^2} (90\% C.L.) in a direct approach using the $\beta$-decay of molecular tritium and a MAC-E filter spectrometer. The neutrino mass is extracted from a fit of moddelled $\beta$-decay spectra to the measured electron spectrum.
The KATRIN experiment aims at determining the neutrino mass to an accuracy better than 1 eV. In the experiment neutrinos are generated through the decay of tritium into ${}^3\mathrm{He}$. The neutrino mass can be deduced by measuring the spectrum of electrons from the tritium decay. A finite mass of the neutrino will result in a deviation at the end point of the electron spectrum.
The heart of the KATRIN experiment is a large volume filled with Tritium gas -- the Windowless Gaseous Tritium Source (WGTS) \cite{Robertson1991} -- that will produce large amounts of electrons from the decay process of Tritium into Helium. With a very sensitive spectrometer the electron spectrum can be measured in very great detail, which allows for a much stricter limit on the neutrino mass.
The Karlsruhe TRitium Neutrino (KATRIN) experiment \cite{collaboration2001katrin}\cite{Kleesiek2019} aims to determine the effective neutrino mass with a sensitivity of $m_\nu = \SI{0.2}{eV/c^2}$ (90\% C.L.) in a direct approach using the $\beta$-decay of molecular tritium and a MAC-E filter spectrometer. The neutrino mass is extracted from a fit of modeled $\beta$-decay spectra to the measured electron spectrum. Hence, a complete investigation of the processes influencing the electron energy is necessary. The starting potential energy of the electrons is set by the electrostatic potential at the position of $\beta$-decay in the windowless gaseous tritium source (WGTS). The source can be described as a large volume filled with Tritium gas that will produce large amounts of electrons from the decay process of Tritium into Helium.
In order to get precise measurements on the neutrino mass it is not only mandatory to acquire enough statistics, which is given by the large amount of Tritium gas. It is also necessary to consider all processes inside the source that may alter the electron spectrum. It has been noted already by \cite{ferenc2005} that the interaction of primary electrons from the Tritium decay and the Tritium gas produces a large number of secondary electrons. A detailed analysis showed that the density of charged particles is large enough to achieve a collective behavior - inside the WGTS a plasma is formed.
The electric potential generated by the plasma leads to a change in the electron energy with respect to the detector. It is therefore necessary to determine the electric potential. As the plasma consists of a thermal and a nonthermal component a kinetic description of the plasma is required. Within this project a Particle-in-Cell code will be utilized to model the plasma inside the WGTS. The goal is to determine the plasma potential throughout the WGTS and especially at the rear wall of the experiment. This plasma model will then serve as an important input for the analysis of neutrino data.
The high activity of the source ensures high statistics for the neutrio mass measurement but it also introduces a new systematic effect for the starting potential of the electrons. It has been noted already by \cite{ferenc2005} that the interaction of primary electrons from the Tritium decay and the Tritium gas produces a large number of secondary electrons. A detailed analysis showed that the density of charged particles is large enough to achieve a collective behavior - inside the WGTS a plasma is formed.
The electric potential generated by the plasma leads to a change in the electron energy with respect to the detector. It is therefore necessary to determine this electric potential. As the plasma consists of a thermal and a nonthermal component a kinetic description of the plasma is required. Within this project a Particle-in-Cell code will be utilized to model the plasma inside the WGTS. The goal is to determine the plasma potential throughout the WGTS and especially at the rear wall of the experiment. This plasma model will then serve as an important input for the analysis of neutrino data.
%% hier wurde vorher die Rearwall noch nicht erwähnt und was sie ist. Ich überlege mir mal was.
@@ -138,7 +136,7 @@ Tritium gas is injected in the center of the WGTS and flows to both sides (rear
\centering
\includegraphics[width=\textwidth]{Figures/dichte}
\caption{Tritium density along the axis of the WGTS according to \cite{KUCKERT2018195}}
\label{fig:wgts_aufbau}
\label{fig:wgts_aufbau2}
\end{minipage}
\end{figure}
@@ -0,0 +1,71 @@
#!/usr/bin/env python3
import numpy as np
import sys
import getopt
import math
import h5py
import matplotlib.pyplot as plt
import os
#input from KATRIN
cylinder_radius = 4.5 #cm
cylinder_height = 1000 #cm
n_electron_total = 1E6 #1/cm^3 von Laura
temperature = 30 #K
#input from ACRONYM
particle_updates_per_second_1CPU = 5E5 #grob abgeschätzt
# Parameter
me = 9.1094e-28 # Electron mass (g)
e = 4.8032068e-10 # Elementary charge (statcoulomb)
k = 1.380658e-16 # Boltzmann constant (erg / K)
c = 29979245800. # Speed of light (cm/s)
# Derived quanteties
debye_lentgh = np.sqrt(k * temperature / (4.0 * np.pi * n_electron_total * e * e))
dx = np.sqrt(0.5) * debye_lentgh
print("dx = {:.2e} [cm]".format(dx))
particles_per_cell = n_electron_total * np.power(dx, 3)
print("particles per cell = {}".format(np.ceil(particles_per_cell)))
EB_dt_rescale = np.sqrt(3.)
dt_cfl = dx / (EB_dt_rescale * c) #minimum auch von anderen dt, aber cfl ist am kleinsten
print("dt = {:.2e} [s]".format(dt_cfl))
plasma_frequency = np.sqrt(n_electron_total * 4 * np.pi * e*e /me)
print("Plasma Frequency = {:.2e} [Hz]".format(plasma_frequency))
nx_x = int(cylinder_radius*2/dx)
nx_y = int(cylinder_radius*2/dx)
nx_z = int(cylinder_height/dx)
print("nx, ny, nz: {} {} {}".format(nx_x, nx_y, nx_z))
number_of_cells = nx_x * nx_y * nx_z
print("number of cells = {:.2e}".format(number_of_cells))
number_of_particles = number_of_cells * particles_per_cell
print("Number of particles = {:.2e}".format(number_of_particles))
timesteps_total = int(1/(plasma_frequency*dt_cfl))
print("Number of timesteps = {:.2e}".format(timesteps_total))
particle_updates = timesteps_total * number_of_particles
print("Particle updates = {:.2e}".format(particle_updates))
CPUh = int(particle_updates / particle_updates_per_second_1CPU/3600)
print("CPUh = {:.2e}".format(CPUh))
# CPU Aufteilung
nx_min = 32 #minimale anzahl an zellen pro CPU
CPU_x = 10
CPU_y = 10
CPU_z = nx_z/nx_min
CPU_total = CPU_x * CPU_y * CPU_z
print("Number of used CPUs = {:.2e}".format(CPU_total))
time_for_simulation = np.ceil(CPUh/CPU_total)
print("The simulation would take: {}h".format(time_for_simulation))