Skip to content

Commit 56efc15

Browse files
committed
Remove f-values from input files, input handler, iteration variables, and scan etc
1 parent bfb28a0 commit 56efc15

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+136
-1571
lines changed

documentation/development/standards.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,6 @@ If a variable is intended to represent an engineering efficiency then it should
488488

489489
---------------------
490490

491-
##### F-values
492-
493-
Variables used within constraint equations to scale iteration variables (f-values) should start with the `f` prefix without an underscore before the next word.
494-
495-
---------------------
496491

497492
### Variable Length
498493

documentation/eng-models/central-solenoid.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,23 +268,18 @@ using `f_j_cs_start_pulse_end_flat_top` (iteration variable no. 41). The current
268268
calculated by taking into account the flux swing necessary to initiate and maintain plasma current.
269269

270270
The current density in the central solenoid can be limited at BOP and at EOF. To limit the current
271-
density at BOP, constraint equation no. 27 is used with iteration variable no. 39 (`fjohc0`). To
272-
limit the current density at the EOF, constraint equation no. 26 should be turned on with iteration
273-
variable no. 38 (`fjohc`).
271+
density at BOP, use constraint equation no. 27. To
272+
limit the current density at the EOF, constraint equation no. 26 should be turned on.
274273

275274
The critical current density *J*<sub>crit</sub> is a function of the temperature of the superconductor.
276275
The temperature margin $\Delta$*T* is the difference between the current sharing temperature and the
277276
operating temperature. The current sharing temperature is the temperature at which *J*<sub>crit</sub>
278277
is equal to the operating current density *J*<sub>op</sub>. The minimum allowed $\Delta$*T* can be
279-
set using input parameter `tmargmin` together with constraint equation no. 60 and iteration variable
280-
no. 106 (`ftmargoh`).
278+
set using input parameter `tmargmin` together with constraint equation no. 60.
281279

282280
It is recommended that EITHER the temperature margin constraint (60), OR the current density
283281
constraints (26 and 27) are activated.
284282

285-
!!! tip "Recommended maximum current ratio"
286-
For engineering feasibility, the centrepost currents at end of flat-top and beginning of pulse (`fjohc` and `fjohc0` respectively) shouldn't be set above 0.7.
287-
288283
!!! note "Central solenoid current over time"
289284
A plot of how the central solenoid current varies over time can be found [here](../physics-models/pulsed-plant.md#burn-time)
290285

documentation/eng-models/heating_and_current_drive/NBI/nbi_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
If present, a neutral beam injection system needs sufficient space between the TF coils to be able to intercept the plasma tangentially. The major radius `radius_beam_tangency` at which the centre-line of the beam is tangential to the toroidal direction is user-defined using input parameter `f_radius_beam_tangency_rmajor`, which is the ratio of `radius_beam_tangency` to the plasma major radius `rmajor`.
99

10-
The maximum possible tangency radius `radius_beam_tangency_max` is determined by the geometry of the TF coils - see Figure 1, and this can be enforced using `icc = 20` with `ixc = 33` (`fradius_beam_tangency`). The thickness of the beam duct walls may be set using input parameter `dx_beam_shield`.
10+
The maximum possible tangency radius `radius_beam_tangency_max` is determined by the geometry of the TF coils - see Figure 1, and this can be enforced using `icc = 20`. The thickness of the beam duct walls may be set using input parameter `dx_beam_shield`.
1111

1212

1313
<figure markdown>

documentation/eng-models/power-conversion-and-heat-dissipation-systems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This performs calculations on the first wall of the machine. Evaluations of the
3131
thermal stresses on this component lead to a measure of the maximum number of cycles to which the
3232
first wall can be subjected, and hence to the minimum allowable length of each reactor cycle for a
3333
specified first wall lifetime. The cycle time can be constrained to be at least the minimum value
34-
by turning on constraint equation no. 42 with iteration variable no 67 (`ft_cycle_min`).
34+
by turning on constraint equation no. 42.
3535

3636
# Power conversion cycle
3737

documentation/eng-models/tf-coil-superconducting.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,11 @@ The toroidal field falls off at a rate $1/R$, with the peak value occurring at t
237237

238238
Three constraints are relevant to the operating current density $J_{\mbox{op}}$ in the TF coils.
239239

240-
- Criticial current (`constraint 33`): $J_{\mbox{op}}$ must not exceed the critical value $J_{\mbox{crit}}$. Iteration variable 50 must be active (`fiooic`). The current density margin can be set using the upper bound of `fiooic`:
241-
242-
$$
243-
J_{\mbox{op}} < \texttt{fiooic} \cdot J_{\mbox{crit}}
244-
$$
240+
- Criticial current (`constraint 33`): $J_{\mbox{op}}$ must not exceed the critical value $J_{\mbox{crit}}$.
245241

246242
- Temperature margin (`constraint 36`) -- The critical current density $J_{\mbox{crit}}$ falls with
247243
the temperature of the superconductor. The temperature margin $\Delta T$ is the difference between the current sharing temperature (at which $J_{\mbox{crit}}$ would be equal to $J_{\mbox{op}}$) and the operating temperature. The minimum allowed $\Delta T$
248-
can be set using `tmargmin` together with constraint equation 36 and iteration variable 54 (`ftmargtf`). Note that if the temperature margin is positive, $J_{\mbox{op}}$ is guaranteed to be lower than \jcrit, and so constraints 33 and 36 need not both be turned on. It is recommended that only one of these two constraints is activated.
244+
can be set using `tmargmin` together with constraint equation 36. Note that if the temperature margin is positive, $J_{\mbox{op}}$ is guaranteed to be lower than \jcrit, and so constraints 33 and 36 need not both be turned on. It is recommended that only one of these two constraints is activated.
249245

250246
---------
251247

@@ -281,7 +277,7 @@ $$
281277
$$
282278

283279

284-
- `Constraint 35` -- To ensure that $J_{\mbox{op}}$ does not exceed the quench protection current density limit, $J_{TF,\mathrm{quench}}$, constraint equation no.\ 35 should be turned on with iteration variable 53 ( `fjprot`).
280+
- `Constraint 35` -- To ensure that $J_{\mbox{op}}$ does not exceed the quench protection current density limit, $J_{TF,\mathrm{quench}}$, turn on constraint equation no.\ 35.
285281

286282
-----------------------
287283

documentation/eng-models/tf-coil.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,6 @@ considered/implemented in <em>PROCESS</em>.
970970
| `n_tf_wp_pancakes` | Number of turns in the toroidal direction (`i_tf_turns_integer = 1` only) | - | 10 | - |
971971
| `dx_tf_turn_general` | TF turn squared size | - | No default | m |
972972
| `dx_tf_turn_cable_space_general` | TF cable diameter size | - | No default | m |
973-
| `f_t_turn_tf` | f-value for TF turn squared size constraint (icc = 86) | 175 | 1. | m |
974973
| `t_turn_tf_max` | Maximum turn squared size for constraint (icc = 86) | - | 0.05 | m |
975974
| `c_tf_turn` | Current per turn <br> Overwitten if `dx_tf_turn_general` is set by the user | ixc = 60 | $70.10^3$ | A |
976975
| `dx_tf_turn_insulation` | Turn insulation layer thickness | - | $0.8.10^{-3}$ | m |

documentation/eng-models/vacuum-vessel.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ A model has been implemented, based on
99

1010
This model takes account of the currents induced in both the vacuum vessel and the steel TF coil structures.
1111

12-
Constraint 65 implements this model, by applying a maximum permitted stress in the vacuum vessel.
13-
`fmaxvvstress` f-value for constraint 65. Iteration variable 113.
12+
Constraint 65 implements this model, by applying a maximum permitted stress in the vacuum vessel.
1413
`theta1_coil` An angle, shown as $\theta_1$ in Figure 1, relating to the shape of the TF coil conductor centre-line (degrees).
1514
`theta1_vv` An angle, shown as $\theta_1$ in Figure 1, relating to the shape of the vacuum vessel centre-line (degrees).
1615
`max_vv_stress` The maximum permissible maximum shear stress in the vacuum vessel (Pa) (as used in the Tresca criterion).

documentation/fusion-devices/inertial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Switch `ifetyp` defines the type of device that is assumed; this varies widely b
2828

2929
Switch `ifedrv` defines how the code calculates the drivers efficiency and target gain - these are the primary outputs required from the physics part of the model. For the SOMBRERO and OSIRIS cases (`ifedrv = 1` and `ifedrv = 2`, respectively) the driver efficiency and gain are calculated from curves of these parameters as functions of the driver energy, via the two arrays`etaxe(1:10)` and `gainve(1:10)` respectively; the element number corresponds to the driver energy in MJ, and outside the range 1-10 MJ the curves are extrapolated linearly. Finally, for the `ifedrv = 0` case, the user inputs single values for the driver efficiency (`drveff`) and target gain (`tgain`).
3030

31-
Constraint equation no. 50 can be turned on to enable the ignition repetition rate to remain below a user-specified upper limit (`rrmax`); iteration variable no. 86 (`frrmax`) is the associated f-value. The other iteration variables relevant for the IFE model are nos. 81-85 (`edrive`, `drveff`, `tgain`, `chrad` and `pdrive`).
31+
Constraint equation no. 50 can be turned on to enable the ignition repetition rate to remain below a user-specified upper limit (`rrmax`). The other iteration variables relevant for the IFE model are nos. 81-85 (`edrive`, `drveff`, `tgain`, `chrad` and `pdrive`).
3232

3333
[^1]: P. J. Knight, *"PROCESS 3009: Incorporation of Inertial Fusion Energy Model"*, Work File Note F/MI/PJK/PROCESS/CODE/032
3434
[^2]: Bourque et al., *"Overview of the OSIRIS IFE Reactor Conceptual Design"*, Fusion Technology **21** (1992) 1465

documentation/fusion-devices/spherical-tokamak.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
2. Spherical tokamaks have resistive TF coils that combine into a single centrepost at the centre of the machine. The centrepost is constructed from copper (as are the outboard TF coil sections), and tapered length ways so that it is narrowest at the midplane of the device. Routine `CNTRPST` calculates various parameters relevant to the centrepost, including the pump pressure, maximum temperature and pip radius, and these may be limited using constraint equations 43 to 45 of required:
2020
* Equation 43 is a consistency equation for the average centrepost temperature.
21-
* Equation 44 can be used to limit the peak centrepost temperature to a maximum value (`temp_cp_max`) using iteration variable no. 68 (`fptemp`).
22-
* Equation 45 can be used to force a lower; limit to the edge safety factor *q$_{lim}$* using iteration variable no. 71 (`fq95_min`).
23-
Equation 46 can be used to apply an upper limit to the ratio of plasma current to TF coil ("rod") current , using iteration variable no. 72 (`fipir`)<br></br>
21+
* Equation 44 can be used to limit the peak centrepost temperature to a maximum value (`temp_cp_max`).
22+
* Equation 45 can be used to force a lower; limit to the edge safety factor *q$_{lim}$*.
23+
Equation 46 can be used to apply an upper limit to the ratio of plasma current to TF coil ("rod") current.<br></br>
2424

2525
3. A gaseous divertor model is used, and a simple divertor heat load calculation is employed, rather than the more complex divertor model assumed for conventional aspect ratio tokamaks. <br></br>
2626

documentation/fusion-devices/stellarator.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ icc = 83 * Radial build at critical location
6363
icc = 91 * ECRH ignitability (checks critical density at ignition point)
6464
```
6565

66-
A reasonable start for iteration variables (next to the required f-values) are:
66+
A reasonable start for iteration variables are:
6767

6868
```
6969
ixc = 2 * Toroidal Magnetic field strength
@@ -123,15 +123,15 @@ Stellarators try to achieve zero plasma current in order to allow safe divertor
123123
### Beta limit
124124

125125
The stellarator version calculates the plasma beta based on the input parameter and it is thus not necessary to Differently to the tokamak version,
126-
The beta limit is assumed to be 5%, based on 3-D MHD calculations[^7]. To apply the beta limit, constraint equation no. 24 should be turned on with iteration variable no. 36 (`fbeta_max`).
126+
The beta limit is assumed to be 5%, based on 3-D MHD calculations[^7]. To apply the beta limit, constraint equation no. 24 should be turned on.
127127

128128
### Density limit
129129

130130
The density limit relevant to certain stellarators experiments has been proposed to be[^8]
131131

132132
$n_{max} = 0.25(PB_0/R_0a^2_p)^{1/2}$
133133

134-
where $n$ is the line-averaged electron density in units of $10^{20} m^{-3}$, $p$ is the absorbed heating power (MW), $B_0$ is the on-axis field (t), $R_0$ is the major radius (m), and $a_p$ is the plasma minor radius (m). To enforce the Sudo density limit, turn on constraint equation no. 5 with iteration variable no. 9 (`fdene`).
134+
where $n$ is the line-averaged electron density in units of $10^{20} m^{-3}$, $p$ is the absorbed heating power (MW), $B_0$ is the on-axis field (t), $R_0$ is the major radius (m), and $a_p$ is the plasma minor radius (m). To enforce the Sudo density limit, turn on constraint equation no. 5.
135135

136136
Note that the Sudo limit is a radiation based density limit and it is unclear how well this limit extrapolates to reactor parameters, especially as no impurity dependence e.g. is present in the Sudo model.
137137
PROCESS features an impurity dependent radiation module already which can be used with `icc=17` and by setting the `f_nd_impurity_electrons` vector.
@@ -226,7 +226,6 @@ f_a_tf_turn_cable_copper = 0.7 *Copper fraction of cable conductor (TF coils), S
226226
tftmp = 4.75 *Peak helium coolant temperature in TF coils and PF coils (K)
227227
temp_tf_cryo = 4.75 * Temperature in TF coils, required for plant efficiency (K)
228228
f_a_tf_turn_cable_space_extra_void = 0.3 *Coolant fraction of TF coil leg (itfsup=0) this is the same for conductor and strand!
229-
fiooic = 0.78 *Fraction TF coil critical current to operation current (should be iteration variable!)
230229
v_tf_coil_dump_quench_max_kv = 12.64 * Max voltage across tf coil during quench (kV)
231230
t_tf_superconductor_quench = 20 * Dump time (should be iteration variable)
232231
dr_tf_nose_case = 0.1 * Thickness TF Coil case (for stellarators: Also for toroidal direction)

0 commit comments

Comments
 (0)