1 Introduction

Ideal fusion plasma contains only the intended reactants, namely hydrogen isotopes and product of the fusion reaction—helium. In the real magnetic confinement fusion devices, plasma is always contaminated by some other elements so-called impurities. The origin of the contamination is usually associated with the interior of the plasma vessel—mainly the first wall materials and elements adsorbed at its surface. In some experiments, the impurities are also introduced intentionally, e.g. in order to mitigate plasma instabilities, change erosion of the wall, etc. The most unwanted impurity species are mid- and high-Z elements, which can cause essential plasma energy losses, by emission of radiation in the form of spectral lines by not fully stripped ions. Especially dangerous can be accumulation of those impurities in the central plasma region, which can lead to dilution of the fusion fuel and, in some cases, even to radiative collapse of plasma. In order to reduce these effects, the surface of plasma-facing components consists of light elements (carbon), or is covered by thin layers of low-Z elements like e.g. boron or beryllium. In modern experiments, where the material of the first wall is metallic—tungsten or tungsten-covered CFC (carbon fibre composite), the level of carbon is significantly lower but still one can observe its spectral lines. Another light element constantly observed in MCF is oxygen—this element is adsorbed in the form of water on the in-vessel surfaces during venting of the machine and then gradually released during operation of the device. The presence of nitrogen in the plasma vessel can be an indicator of leakage in the vacuum system, but in some experiments nitrogen is also introduced intentionally and afterwards it can be observed in subsequent pulses for some time.

The most useful, simple, not plasma-disturbing method of impurity study is the classical emission spectroscopy. In high plasma temperature, almost all of the atoms are stripped of electrons, and the line radiation of only highly charged ions is observed. This radiation falls in the extreme ultraviolet or X-ray range of electromagnetic spectrum. Its measurement is associated with several technical issues, e.g. low reflectivity of dispersive elements, low and not stable sensitivity of the detectors as well as problems with absolute sensitivity calibration of the system (lack of calibration sources). In the Wendelstein 7-X experiment [1], an additional difficulty is connected with planned long time of the pulse (up to 30 min) so the system needs to be protected against overheating by, for example, stray radiation.

Due to those technical difficulties (restricted number and sizes of ports), most of the spectrometers are operating along a single line-of-sight. Consequently, the measured signal is the result of integration along different plasma shells, with different temperatures, densities, and concentration of the impurity species under study. Therefore, a complex analysis has to be applied in order to derive physical quantities from measured line radiation taking into account radial temperature and density distributions and possibly even considerations on impurity transport in the plasma. Consequently, such analysis is necessary not only to get a quantitative data (as, for example, impurity concentration) but even to obtain only qualitative results (as, for example, degree of increase or decrease of impurity).

There are many diagnostic systems dedicated to the observation of contamination in the Wendelstein 7-X plasmas [2,3,4]. One of them will be “C/O Monitor”—the dedicated spectrometer, designed for monitoring of four main light impurities, namely oxygen, nitrogen, carbon and boron. It will be performed by registering the intensity of emission of Lyman-α spectral line of hydrogen-like ions of those elements. The exclusive purpose of this spectrometer, which is registering only the line intensities (without the study of the line shape), determines its design.

2 Spectrometer

The spectrometer is constructed based on Johann geometry with cylindrically curved dispersive elements [5, 6] for oxygen channel, it will be TlAP crystal and the remaining three channels will be equipped with multilayer mirrors. This type of geometry is associated with large acceptance angle, which increases the number of radiation quanta reaching the diagnostic system. Figure 1 presents the general geometry of the “C/O Monitor” system.

Fig. 1
figure 1

Geometry of the “C/O Monitor” system

The detectors are set not tangentially to the Rowland circle but perpendicularly to the beam reflected from the crystal. This evidently distorts the line shape but provides freedom in the selection of the detector. The construction of the output arm of the spectrometer enables changes of its length in order to adjust it to different mechanical construction of the detectors, i.e. enabling to test and attach different types of detectors. Since the dynamic range of some detectors is quite low (e.g. proportional counters), a variable aperture is mounted in front of the system, which can reduce the flux of the radiation. The input aperture is of rectangular shape and its area can be reduced by moving a vertical diaphragm. The detailed design description of the system is presented in another paper [7]. In general, the construction is divided into two sub-spectrometers: one for measurement of carbon and oxygen line and the second one for boron and nitrogen. Each spectral line is associated with a separate measurement channel including variable aperture, dispersive element and detector. The entrance solid angle is in horizontal (dispersion) direction defined by properties of the dispersive element and its curvature, in vertical plane is set by grid collimator (individual for each channel). The line-of-sight of each channel is slightly different, but they cross each other in the vicinity of the main magnetic axis.

The peculiarities of the “C/O Monitor” construction lead to the fact that the interpretation of the registered data may be difficult. The radiation registered by the system will be emitted from quite large plasma volume stretched for approximately 10 cm vertically and several dozens of centimetres horizontally.

The motivation of the work is the qualitative determination of the trends in the behaviour of total emissivity of the selected spectral lines with respect to different possible electron temperature and density profiles of the plasmas. By means of total emissivity, here, the integral over the whole plasma volume observed by the system (radiant flux) is assumed. The outcome will help for interpretation of the experimental results registered by the “C/O Monitor”.

3 Description of the modelling method

Since the local emissivity for low-Z elements strongly depends on the ne and Te profiles especially at the plasma boundary, where temperatures are in the range of their maximum emission, it is important to understand the sensitivity of the radiation intensity on changes in the profiles under different plasma conditions. Such rough prediction of the emissivity changes for each element will ease an qualitative interpretation of their time behaviour during the plasma pulses in the forthcoming experimental campaign. The obtained results are strictly qualitative but ensure better understanding of the phenomena that play crucial role in the investigated low-Z elements in the W7-X plasmas.

The “C/O Monitor” system is a high-throughput device with large acceptance angle of the selected dispersive elements—even above 11° in poloidal (horizontal) plane for the O VIII Lyman-α line and approx. 1° in radial (vertical plane) for all channels. The observation of different poloidal (in horizontal direction) regions is associated with different wavelengths—according to the Johann optical set-up. We can use it, assuming that the plasma parameters are slowly changing along the main magnetic axis (in the horizontal direction).

In order to calculate the total emissivity of the investigated plasma volume, it needs to be defined in the Cartesian coordinate system using the CAD (computer-aided design) model of the diagnostics. Since for the “C/O Monitor” the observed plasma volume (defined by the acceptance angle and the lines-of-sight) is slightly different for each spectral channel, here a unified volume for all channels was used to simplify the estimation and make easier analysis of obtained results. For this purpose, the selected plasma was meshed to obtain a list of x, y, z coordinates where each represents the central point of the cubic with side length x = 1 cm and hence volume V = 1 cm3 (Fig. 2).

Fig. 2
figure 2

Top view on the last closed flux surface of the W7-X with the “C/O Monitor” included. The zoomed part presents isometrical projection of top sub-spectrometer chamber of the “C/O Monitor” with the visualization of its acceptance angle and observed plasma volume

With the obtained matrix of plasma coordinates, the next step was to choose the specific magnetic field configuration (labelled KJM [8]) and calculate the corresponding Reff values [9] (minor effective radius) of each cube. This operation was carried out using VMEC (Variational Moments Equilibrium Code) code, dedicated to solve the magnetohydrodynamics force balance equations in a three dimensional space. The W7-X plasma shape is constructed as complex fivefold symmetric geometry (see Fig. 2) with poloidal cross sections changing from bean shape to triangle (see Fig. 3). In order to compare the plasma parameters in its different regions, it is necessary to standardize the position of selected points in reference to the stellarator’s magnetic axis. For this reason, the poloidally varying shapes of the stellarator’s poloidal cross sections are normalized to the circular poloidal cross section (see Fig. 3), thus providing the opportunity to compare the results from different diagnostic systems at different poloidal cross sections.

Fig. 3
figure 3

Normalization of the stellarator’s poloidal cross sections to the circular cross section

Finally, with the obtained sequence of Reff values, it was possible to determine the ne and Te values within solid angle of the “C/O Monitor”.

3.1 Temperature and density distributions used in modelling

In order to perform the modelling, two sets of experimental data were taken as examples of radial distributions of temperature and density obtained in W7-X plasmas. The first set (named scenario 1, presented in Fig. 4a) was defined based on plasma experiment 20181011_012@5_5000 characterized by a steep drop of the temperature profile in near-axis regions and semi-flat curve in the outer part. The second set of profiles (named scenario 2, Fig. 4b) based on pulse 20181016_037@3_3000 is associated with broader profiles of the plasma parameters. The effective minor radius is defined by last closed flux surface (LCFS), which is associated with magnetic field configuration. In both studied cases, the value of minor radius was equal to 0.51 m.

Fig. 4
figure 4

Electron density and temperature profiles as a function of Reff for two plasma scenarios

The profiles can be approximated by a simple analytical function—a sum of two Gaussian (Eq. 1):

$$ T,N_{e} \left( {R_{{eff}} } \right) = A_{1} \cdot exp\left( { - \frac{{(R_{{eff}} - x_{1} )^{2} }}{{2 \cdot w_{1}^{2} }}} \right) + A_{2} \cdot exp\left( { - \frac{{(R_{{eff}} - x_{2} )^{2} }}{{2 \cdot w_{2}^{2} }}} \right) $$
(1)

The emission of the lines under study was determined for a set of assumed Te and ne distributions, calculated using formula (1). For one set of data associated with a given scenario the ratio A1/A2 was fixed, so the shape of the distribution remains unchanged and only its values were modified. Using this method, a set of Te and ne distributions were calculated. The range of axis temperature as well as electron density used for this sensitivity study correspond to typical values expected in W7-X plasmas and hence represent realistic plasma scenarios/parameters. The reason for investigation of different plasma profiles is to check an impact of the temperature/density changes on the obtained signals, while the shape of their distributions remains “unchanged”.

The parameters of the approximations are listed in Table 1.

Table 1 Parameters used for fitting the approximated temperature and density profiles

A model calculation of the set of Te and ne profiles representing scenario 1 is presented in Fig. 5.

Fig. 5
figure 5

Te (left) and ne (right) distributions approximated by a sum of two Gaussian function used for the sensitivity study

Figure 5 presents the sample of the Te distributions as a function of Reff (left)—the whole set contain 20 profiles with values of A1 (on-axis temperature) in the range of 1—9 keV (step 0.4 keV). Similarly, the distributions of ne profiles in a function of Reff (right) was determined with 0.4E19 m−3 step in the range of A1 equal 1—9E19 m−3. The same calculation procedure was performed for the second plasma scenario 2.

Such calculated set of all Te profiles was subsequently mapped with the set of ne distributions. This resulted in a combination of plasma parameters, what served as an input to calculate the radiation of considered Lyman-α lines. The detailed description of this calculation is presented in the next section.

3.2 Photon emissivity coefficients and fractional abundances

Using an information about the electron temperature distribution of the considered plasma volume, the respective fractional abundance (FA) values for the specific H-like ions based on the coronal balance model were calculated. Figure 6 presents fractional abundances of the representative Lyman-α transitions for investigated elements.

Fig. 6
figure 6

Fractional abundance for hydrogen-like ions of selected impurity species as a function of electron temperature

While the maximum of the B V line intensity and therefore the B V emission is expected at temperatures below 100 eV, the O VIII line is expected above 100 eV.

The last part required for the calculation is determination of photon emissivity coefficients (PECs) provided by the ADAS database [10]. Based on information about the local temperature, it is possible to calculate the PEC values both for excitation and for recombination radiation.

An array of designated Reff points corresponding to the ne, Te, PEC and FA values serves as an input to numerical code developed for numerical calculations of total emissivity estimations.

3.3 Emissivity equation

The corresponding spectral emission can be obtained by formula 2 [11]:

$${I}^{X}=\frac{{n}_{X}}{{n}_{e}}\int {PEC}^{X}\left({R}_{eff}\right)\cdot {{n}_{e}}^{2}\left({R}_{eff}\right)\cdot {FA}^{X} \left({R}_{eff}\right)d{R}_{eff}$$
(2)

where X—selected ion, \({n}_{X}\) and \({n}_{e} \left[{m}^{-3}\right]\)–impurity and electron density, \({PEC}^{X}\) [\(ph\cdot {m}^{3}\cdot {s}^{-1}]\)–photon emissivity coefficient and \({FA}^{X}\)—fractional abundance under coronal ionization equilibrium, Reff—minor radius [m].

Since the observed plasma volume is heterogeneous, it is represented by a set of cubes assuming 1-cm3 volume each (as described at the beginning of this section). In order to obtain information about the requested plasma parameters (electron temperature and density) related to each mesh cube, the Reff is used. Once all Te and ne values referring to each cube are determined, the calculation of the total intensity is performed by numerical integration of the considered plasma volume.

In the next section, the detailed description of total isotropic emission from the considered plasma volume is presented.

4 Results

To provide comparable qualitative results, the calculations were performed with an assumption of a normalized total impurity concentrations for each element equal to 2%. Since the recombination radiation has relatively insignificant contribution on the obtained results, only excitation radiation was used in the considerations. The isotropic radiation into the full solid angle was assumed here. On this basis, calculations and the qualitative analysis were performed. In order to determine the region of the plasma with the highest emissivity of selected ion, the calculation of radial distribution of investigated ions was performed. Nevertheless, one needs to keep in mind that uniform distribution of impurity is assumed. As an example, the calculations were performed for the profiles obtained during the discharges 20181011_012@5_5000 (scenario 1) and 20181016_037@3_3000 (scenario 2). The radial distribution of the emitted intensity is presented in Fig. 7.

Fig. 7
figure 7

Radial distribution of Lyman-α emission for scenario 1 (left) and scenario 2 (right)

The distribution of investigated hydrogen-like ions depends strongly on the electron temperature, especially for the element with the lowest atomic number. They exist mostly close to the plasma boundary, because they become fully stripped at the higher temperatures towards the interior of the plasma.

Since we might expect that the local maxima of the emitted radiations are shifted towards the plasma edge as the atomic number decreases (caused by the highest probability of ionization and excitation in the selected electron temperature), the emission value depends strictly on the electron temperature profile shapes at the plasma edge. For example, the impurities’ distribution calculated for scenario 1 shows that the maximum intensity of the B V line reaches more than double intensity of other elements in the region where the temperature profile is semi-flat and reaches lower values at the edge of the plasma. On the other hand, the radial distribution of boron line for the scenario 2 shows that the total radiation emitted by line B V is significantly weaker than for other elements. The strongest part of the radiation comes directly from the last closed flux surface. This presents that the origin of the significant part of radiation fraction for boron Lyman-α might, in some scenarios, originate from the plasma layers outside of the LCFS.

The subsequent part of analysis presents the results of a mapping over the various combinations of ne and Te profiles, described in Sect. 2.1. In this analysis, the total radiant flux values and the dependencies on various plasma densities and temperatures are described.

There are two major analyses where the dependencies of plasma emissivity for each investigated element with respect to the plasma scenarios were examined. The first one was performed in order to check the dependencies of total emissivity of the investigated plasma volume for each ion as a function of electron temperature. In Fig. 8, the dependency of emissivity of the electron temperature for the scenario 1 is presented. Each point on the graph represents the total emissivity for selected ions radiated from the investigated plasma volume. In order to properly compare shapes of the emissivity distributions between investigated elements, the obtained data were normalized to 1. The colours represent total emissivity of selected line, registered by the „C/O monitor for W7-X “ system–black represents B V, red–C VI, blue–N VII and magenta–O VIII line emission.

Fig. 8
figure 8

Emissivity dependency on the electron temperature–plasma scenario 1

For this specific plasma profiles, the decrease of B V, C VI and N VII emission is nearly identical until Te reaches the level of approx. 3 keV. Above that temperature, the total emissivity of the boron line significantly drops in contrast to other investigated elements. Moreover, the emissivity of the O VIII line increases slightly with rise of Te from 1 to 1,4 keV.

In contradiction to the scenario 1, the scenario 2 (see Fig. 9) represents slightly higher electron temperature on the plasma edge. In this case, the clear dependency between the slope of the emissivity graphs corresponding to the selected elements is observed. With increase of the atomic number of impurities, the slope of the lines representing their intensity as a function of electron temperature is strongly reduced. Even small changes of Te affect the B V signal significantly and with increase of the atomic number, the gradient of line intensities decreases gradually. The reason for the difference between the behaviour of the line emissivity for the two investigated plasma scenarios is the combination of the Te and ne profile shapes and absolute value of Te at the plasma edge where the temperatures are lowest.

Fig. 9
figure 9

Emissivity dependency on the electron temperature–plasma scenario 2

In order to investigate the emissivity dependence as a function of electron density for both plasma scenarios, the second analysis was performed. The study was carried out for two cases: first with assumption of high-temperature case (on-axis maximum T= 8.6 keV) and second for low-temperature case (on-axis maximum T= 1 keV).

Figure 10 presents the emissivity dependency on the electron density assuming on-axis maximum Te = 8.6 keV for both plasma scenarios. Similarly, the colours represent the intensities of selected ions: black–B V, red–C VI, blue–N VII and magenta–O VIII. The solid line represents the emissivity as a function of ne related to the scenario 1, while dotted lines illustrate the emissivity for the scenario 2. When electron temperature is 8.6 keV, the shapes of obtained electron density dependances are similar for all the elements. The values obtained for scenario 2 are always beneath the values obtained for scenario 1. The growth of all spectral line emissions is almost exponential and increases with atomic number.

Fig. 10
figure 10

Emissivity dependency on the electron density and Te = 8.6 keV

However, for the same analysis but assuming low-temperature case (Te = 1 keV), the distribution of total line intensities between two plasma scenarios does not follow the same rule (Fig. 11). In contrast to trends for the B V, C VI and N VII line intensities which are similar to the 8.6 keV case, for O VIII line there are very small differences in intensities obtained in scenario 1 and scenario 2 (magenta dotted and solid lines). In such case (for less energetic plasmas), the registered changes in O VIII intensities will be exclusively associated with changes of impurity concentration (not changes of temperature distribution). It can be explained by the fact that the maximum O VIII line emissivity lies in the low-temperature region, which is similar in both scenarios, where its fractional abundance reaches its maximum.

Fig. 11
figure 11

Emissivity dependency on the electron density and Te = 1 keV

Performed analysis confirm that the various combinations of Te and ne profiles play a crucial role in the final result of radiated emissivity and affect the considered elements differently. The dedicated code intended for such qualitative analysis will be an important tool during an experimental campaign at W7-X, assisting in the analysis of collected data.

5 Conclusions

In order to ensure appropriate interpretation of the data registered during the forthcoming operation of the “C/O Monitor” at the Wendelstein 7-X, the series of line emissivity calculations (assuming corona equilibrium) were performed. The procedure used for the calculation of presented results will enable the quick judgement of the time behaviour of the spectral lines of the 4 elements in terms of changes in impurity concentration or just only changes in the plasma profiles. This is especially important since the “C/O Monitor” system is designed to observe large acceptance angle, and the direction of the dispersion of the system is not exactly parallel to the magnetic axis. The presented results were calculated based on the unified plasma volume in order to simplify the analysis. However, one needs to keep in mind that each energy channel will monitor slightly different plasma regions hindering the data analysis. Nevertheless, this step is planned as an extension for the future simulations. Since the performed analysis provides qualitative results, this simplified procedure is only the first step for better understanding of the future signals, which will be obtained during the “C/O Monitor” operation.

The results present the dependency of the emitted intensities for the specific impurity spectral line on the plasma parameters such as electron temperature and density. The emissivity is a complex function which strongly depends on the electron temperature and density—the higher the density, the higher the emissivity from a given plasma volume; however, an impact of the electron temperature on the signals is not so straightforward. For the B V line, the emissivity drops most drastically with increasing Te creating the most peaked profile among the rest, higher-Z elements. The analysed data present that the trend representing total radiation emitted by the O VIII line is very weakly depended on the electron temperature and density profile/scenario. However, one needs to be aware of the fact that depending on the plasma scenario and hence the shape of the electron temperature profile (especially close to the last closed flux surface), some radiation fraction might be omitted in this modelling (but as one can see in Fig. 7 this can be important only for some cases).