Skip to content

Commit 6302f99

Browse files
committed
Update reference/test input files to use inequality constraints
1 parent 9eed754 commit 6302f99

11 files changed

Lines changed: 167 additions & 291 deletions

File tree

examples/data/large_tokamak_IN.DAT

Lines changed: 49 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ minmax = 1
1717
* Error tolerance for VMCON
1818
epsvmc = 1e-7
1919

20+
neqns = 3
21+
2022
* Constraint Equations - Consistency Equations *
2123
************************************************
2224

2325
* Beta consistency *
2426
*------------------*
2527
icc = 1
26-
ixc = 5 * beta_total_vol_avg_total_vol_avg
27-
beta_total_vol_avg =0.03
28+
ixc = 5 * beta_total_vol_avg
29+
beta_total_vol_avg = 0.03
2830

2931
* Global power balance *
3032
*----------------------*
@@ -37,163 +39,131 @@ icc = 11
3739
* Constraint Equations - Limit Equations *
3840
******************************************
3941

40-
* Density upper limit *
41-
*---------------------*
42-
icc = 5
43-
ixc = 6 * nd_plasma_electrons_vol_avg [m-3]
44-
fdene = 1.2
45-
nd_plasma_electrons_vol_avg = 7.5E19
4642

47-
* Neutron wall load upper limit *
48-
*-------------------------------*
49-
icc = 8
50-
ixc = 14 * fpflux_fw_neutron_max_mw
51-
fpflux_fw_neutron_max_mw = 1.0
52-
* wall load limit [MW/m2]
53-
pflux_fw_neutron_max_mw = 2.0
5443

55-
* Fusion power upper limit *
56-
*--------------------------*
44+
* Injection power upper limit *
45+
*-----------------------------*
46+
icc = 30
47+
* Maximum allowable value for injected power [MW]
48+
p_hcd_injected_max = 200.0
49+
50+
5751

58-
icc = 9
59-
ixc = 26 * fp_fusion_total_max_mw
60-
* Maximum allowable value fusion power [MW]
61-
p_fusion_total_max_mw = 3000
6252

63-
* Burn time lower limit *
64-
*-----------------------*
65-
icc = 13
66-
ixc = 21 * fr_burn_min
67-
* minimum burn time [s]
68-
t_burn_min = 7200.0
6953

7054
* L-H threshold scaling *
7155
*-----------------------*
7256
icc = 15
73-
ixc = 103 * fl_h_threshold
74-
boundu(103) = 10.0
75-
76-
* Injection power upper limit *
77-
*-----------------------------*
78-
icc = 30
79-
ixc = 46 * fp_hcd_injected_total_mw
80-
* Maximum allowable value for injected power [MW]
81-
p_hcd_injected_max = 200.0
8257

8358
* Net electric power lower limit *
8459
*--------------------------------*
8560
icc = 16
86-
ixc = 25 * fp_plant_electric_net_required_mw
8761
* Minimum allowable value for net eletric power [MW]
8862
p_plant_electric_net_required_mw = 400.0
8963

9064
* Beta upper limit *
9165
*------------------*
9266
icc = 24
93-
ixc = 36 * fbeta_max
94-
fbeta_max = 0.5
9567

9668
* Max TF field *
9769
*--------------*
9870
icc = 25
99-
ixc = 35 * fb_tf_inboard_max
10071
* Maximum allowable value for toroidal magnetic field [T]
10172
b_tf_inboard_max = 14.0
10273

10374
* Central solenoid EOF current density upper limit *
10475
*--------------------------------------------------*
10576
icc = 26
106-
ixc = 37 * j_cs_flat_top_end [A/m2]
107-
ixc = 38 * fjohc
108-
boundu(38) = 1.0
109-
j_cs_flat_top_end = 1.5E7
110-
fjohc = 0.6
11177

11278
* Central solenoid BOP current density upper limit *
11379
*--------------------------------------------------*
11480
icc = 27
115-
ixc = 39 * fjohc0
116-
ixc = 41 * f_j_cs_start_pulse_end_flat_top
117-
boundu(39) = 1.0
118-
fjohc0 = 0.6
119-
f_j_cs_start_pulse_end_flat_top = 0.9
81+
f_j_cs_start_pulse_end_flat_top = 1.0
12082

12183
* I_op/I_Crit TF coil limit *
12284
*---------------------------*
12385
icc = 33
124-
ixc = 50 * fiooic
125-
boundu(50) = 1.0
126-
fiooic = 0.65
12786

12887
* Dump voltage upper limit *
12988
*--------------------------*
13089
icc = 34
131-
ixc = 51 * fvdump
132-
fvdump = 1.0
13390
v_tf_coil_dump_quench_max_kv = 10.0
13491

13592
* J_winding pack protection *
13693
*---------------------------*
13794
icc = 35
138-
ixc = 53 * fjprot
139-
fjprot = 1.0
14095

14196
* TF temp marg lower limit *
14297
*--------------------------*
14398
icc = 36
144-
ixc = 54 * ftmargtf
14599
* Minimum allowable temperature margin [K]
146100
tmargmin = 1.5
147101

148102
* CS coil temp margin lower limit *
149103
*---------------------------------*
150104
icc = 60
151-
ixc = 106 * ftmargoh
152105
temp_cs_superconductor_margin_min = 1.5
153106

154107
* Lower limit on f_alpha_energy_confinement (ratio alpha particle/energy confinement times) *
155108
*-------------------------------------------------------------------------------*
156109
icc = 62
157-
ixc = 110 * falpha_energy_confinement
158110
f_alpha_energy_confinement_min = 5.0
159111

160112
* dump time constraint for VV stresses *
161113
*--------------------------------------*
162114
icc = 65
163-
ixc = 113 * fmaxvvstress
164-
fmaxvvstress = 1.0
165115

166116
* CS stress limit *
167117
*-----------------*
168118
icc = 72
169-
ixc = 123 * foh_stress
170-
foh_stress = 1.0
171119
* allowable hoop stress in Central Solenoid structural material [Pa]
172120
alstroh = 7.5D8
173121

174-
* nd_plasma_pedestal_electron<nd_plasma_electron_on_axis *
122+
* nd_plasma_pedestal_electron<ne0 *
175123
*------------------*
176124

177125
icc = 81
178-
ixc = 154 *fne0
179126

180127
* PsepBt/qAR limit *
181128
*------------------*
182129

183130
icc = 68
184-
ixc = 117 *fpsepbqar
185131
psepbqarmax = 10.0
186132

187133
* TF coil stress limits *
188134
*-----------------------*
189135

190136
icc = 31 * TF coil case stress upper limit
191-
ixc = 48 * fstrcase
192137
icc = 32 * TF coil conduit stress upper limit
193-
ixc = 49 * fstrcond
194138
sig_tf_case_max = 7.5E8 * Allowable maximum shear stress in TF coil case (Tresca criterion) (Pa)
195139
sig_tf_wp_max = 7.5E8 * Allowable maximum shear stress in TF coil conduit (Tresca criterion) (Pa)
196140

141+
* Density upper limit *
142+
*---------------------*
143+
icc = 5
144+
ixc = 6 * nd_plasma_electrons_vol_avg [m-3]
145+
nd_plasma_electrons_vol_avg = 7.5E19
146+
147+
* Neutron wall load upper limit *
148+
*-------------------------------*
149+
icc = 8
150+
* wall load limit [MW/m2]
151+
pflux_fw_neutron_max_mw = 2.0
152+
153+
* Fusion power upper limit *
154+
*--------------------------*
155+
icc = 9
156+
* Maximum allowable value fusion power [MW]
157+
p_fusion_total_max_mw = 3000
158+
159+
* Burn time lower limit *
160+
*-----------------------*
161+
icc = 13
162+
* minimum burn time [s]
163+
t_burn_min = 7200.0
164+
165+
166+
197167
* Iteration Variables *
198168
***********************
199169

@@ -207,10 +177,10 @@ boundl(3) = 8.0
207177
boundu(3) = 9.0
208178
rmajor = 8.0
209179

210-
* temp_plasma_electron_vol_avg_keV [keV]
180+
* temp_plasma_electron_vol_avg_kev [keV]
211181
ixc = 4
212182
boundu(4) = 100.0
213-
temp_plasma_electron_vol_avg_keV = 12.0
183+
temp_plasma_electron_vol_avg_kev = 12.0
214184

215185
* h factor
216186
ixc = 10
@@ -303,7 +273,7 @@ dz_vv_upper = 0.3
303273
* Underside vacuum vessel radial thickness [m]
304274
dz_vv_lower = 0.3
305275

306-
* Inboard radiation shield radial thickness [m]
276+
* Inboard vacuum vessel thickness [m]
307277
dr_shld_inboard = 0.3
308278

309279
* Gap between vacuum vessel and blanket [m]
@@ -330,6 +300,9 @@ dr_shld_outboard = 0.800
330300
* Divertor structure vertical thickness [m]
331301
dz_divertor = 0.62
332302

303+
* Use Wade divertor heat load model
304+
i_div_heat_load = 2
305+
333306
* Coolant void fraction in shield
334307
vfshld = 0.60
335308

@@ -373,15 +346,14 @@ i_bootstrap_current = 4
373346
i_beta_component = 1
374347

375348
* Switch for plasma current scaling
376-
i_plasma_current = 4
349+
i_plasma_current = 4
377350

378351
* Switch for density limit to enforce
379352
i_density_limit = 7
380353

381354
* Switch for fast alpha pressure calculation
382355
i_beta_fast_alpha = 1
383356

384-
385357
* Switch for pedestal profiles
386358
i_plasma_pedestal = 1
387359

@@ -598,3 +570,6 @@ f_a_tf_turn_cable_space_extra_void = 0.3
598570

599571
* Conductor type switch (ITER Nb3Sn)
600572
i_tf_sc_mat = 1
573+
574+
* max fluence in the TF coil
575+
nflutfmax = 1e22

0 commit comments

Comments
 (0)