From a410e7794d36246ce75110502d67953b9b110c8c Mon Sep 17 00:00:00 2001 From: Josephine Peters Date: Tue, 25 Aug 2026 09:10:04 +0100 Subject: [PATCH] Remove refs to device.dat --- documentation/source/fusion-devices/inertial.md | 2 +- documentation/source/fusion-devices/stellarator.md | 4 ++-- process/data_structure/stellarator_variables.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/source/fusion-devices/inertial.md b/documentation/source/fusion-devices/inertial.md index b75f3ff8df..a9ca63aa63 100644 --- a/documentation/source/fusion-devices/inertial.md +++ b/documentation/source/fusion-devices/inertial.md @@ -2,7 +2,7 @@ As well as magnetic confinement devices, `PROCESS` has the ability to model inertial fusion plants, in which a laser or ion beam is used to ignite a target pellet containing the fusion fuel. -To activate the inertial fusion energy (IFE) coding, it is necessary to create a file `device.dat`, containing the single character 3 in the first row, in the working directory. This has the effect of setting the internally-used switch `ife = 1`. If the file is absent, or its first character is set to something other than 3, the IFE model is not used, and `ife` is set to 0. +To activate the inertial fusion energy (IFE) coding, set switch `ife = 1`. The IFE model[^1] is controlled using two additional switches. diff --git a/documentation/source/fusion-devices/stellarator.md b/documentation/source/fusion-devices/stellarator.md index bc4118106a..30a4e4a6bf 100644 --- a/documentation/source/fusion-devices/stellarator.md +++ b/documentation/source/fusion-devices/stellarator.md @@ -8,7 +8,7 @@ The model is largely based on W7-X and the HELIAS 5-B stellarator power plant de *Figure 1: Fusion power core of the HELIAS 5-B conceptual power plant design*[^1] -To activate the stellarator coding, it is necessary to create a file `device.dat`, containing the single character 1 in the first row, in the working directory. This has the effect of setting the internally-used switch `istell = 1/StellaratorModel.HELIAS_5`. If the file is absent, or its first character is set to something other than 1, the stellarator model is not used, and `istell` is set to `0/StellaratorModel.DISABLED`. +To activate the stellarator coding, set switch `istell` to correspond to a particular stellarator model, which are detailed below. ## Stellarators in PROCESS @@ -32,7 +32,7 @@ The user can switch between these models by using the switch variable `istell`: - `istell=3`: Helias-3 - `istell=4`: W7-X - `istell=5`: A W7-X variation with 30 coils - - `istell-6`: Use the `stella_conf.json` file. + - `istell=6`: Use the `stella_conf.json` file. The stellarator version of PROCESS assumes the coil-set itself to be **fixed in shape** and can only scale the *overall* size of the machine in major radius `rmajor`. There is no capability in PROCESS to separately scale the minor coil radius -- in other words: the coil aspect ratio is fixed. Also the number of coils is considered fixed and is given by the configuration. diff --git a/process/data_structure/stellarator_variables.py b/process/data_structure/stellarator_variables.py index a752e954c9..05fe8c7a12 100644 --- a/process/data_structure/stellarator_variables.py +++ b/process/data_structure/stellarator_variables.py @@ -71,7 +71,7 @@ class StellaratorData: """Coil major radius (m)""" istell: int = 0 - """Switch for stellarator option `StellaratorModel` (set via `device.dat`): + """Switch for stellarator option `StellaratorModel`: - `StellaratorModel.DISABLED` use tokamak model - `StellaratorModel.HELIAS_5` use stellarator model: Helias5 - `StellaratorModel.HELIAS_4` use stellarator model: Helias4