Skip to content

stellarator_variables

f_st_n_coils = None module-attribute

Actual number of coils to reference value from stella_config file

f_st_rmajor = None module-attribute

Actual major radius to reference value from stella_config file

f_st_aspect = None module-attribute

Actual aspect ratio to reference value from stella_config file

f_st_coil_aspect = None module-attribute

Scaling factor for (stellarator major radius / coil radius ratio)

f_st_b = None module-attribute

Actual b_plasma_toroidal_on_axis to reference value from stella_config file

f_st_i_total = None module-attribute

Actual total coil current to reference value from stella_config file

f_st_rminor = None module-attribute

Actual minor radius to reference value from stella_config file

f_coil_shape = None module-attribute

Paramtere required for coil scaling (min_plasma_coil_distance + stella_config_rminor_ref) / stella_config_coil_rminor

first_call = None module-attribute

first_call_stfwbs = None module-attribute

r_coil_minor = None module-attribute

Coil minor radius (m)

r_coil_major = None module-attribute

Coil major radius (m)

istell = None module-attribute

Switch for stellarator option (set via device.dat): - =0 use tokamak model - =1 use stellarator model: Helias5 - =2 use stellarator model: Helias4 - =3 use stellarator model: Helias3 - =4 use stellarator model: Wendelstein 7-X with 50 Coils - =5 use stellarator model: Wendelstein 7-X with 30 Coils - =6 use stellarator model: Use stella_conf.json file (any modulear stellarator, see documentation)

bmn = None module-attribute

relative radial field perturbation

f_asym = None module-attribute

divertor heat load peaking factor

f_rad = None module-attribute

radiated power fraction in SOL

f_w = None module-attribute

island size fraction factor

fdivwet = None module-attribute

wetted fraction of the divertor area

flpitch = None module-attribute

field line pitch (rad)

hportamax = None module-attribute

maximum available area for horizontal ports (m2)

hportpmax = None module-attribute

maximum available poloidal extent for horizontal ports (m)

hporttmax = None module-attribute

maximum available toroidal extent for horizontal ports (m)

iotabar = None module-attribute

rotational transform (reciprocal of tokamak q) for stellarator confinement time scaling laws

isthtr = None module-attribute

Switch for stellarator auxiliary heating method: - = 1electron cyclotron resonance heating - = 2lower hybrid heating - = 3neutral beam injection

m_res = None module-attribute

poloidal resonance number (1)

max_gyrotron_frequency = None module-attribute

Maximal available gyrotron frequency (input parameter) (Hz)

n_res = None module-attribute

toroidal resonance number (1)

shear = None module-attribute

magnetic shear, derivative of iotabar (1)

te0_ecrh_achievable = None module-attribute

maximal central electron temperature as achievable by the ECRH, input. (keV)

vportamax = None module-attribute

maximum available area for vertical ports (m2)

vportpmax = None module-attribute

maximum available poloidal extent for vertical ports (m)

vporttmax = None module-attribute

maximum available toroidal extent for vertical ports (m)

powerht_constraint = None module-attribute

powerscaling_constraint = None module-attribute

init_stellarator_variables()

Source code in process/data_structure/stellarator_variables.py
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
def init_stellarator_variables():
    global \
        first_call, \
        first_call_stfwbs, \
        f_st_n_coils, \
        f_st_rmajor, \
        f_st_rminor, \
        f_coil_shape, \
        f_st_b, \
        f_st_i_total, \
        r_coil_minor, \
        r_coil_major, \
        istell, \
        bmn, \
        f_asym, \
        f_rad, \
        f_w, \
        f_st_coil_aspect, \
        fdivwet, \
        flpitch, \
        hportamax, \
        hportpmax, \
        hporttmax, \
        iotabar, \
        isthtr, \
        m_res, \
        n_res, \
        shear, \
        vportamax, \
        vportpmax, \
        vporttmax, \
        max_gyrotron_frequency, \
        te0_ecrh_achievable, \
        powerht_constraint, \
        powerscaling_constraint

    first_call = True
    first_call_stfwbs = True
    f_st_n_coils = 0.0
    f_st_rmajor = 0.0
    f_st_rminor = 0.0
    f_coil_shape = 0.0
    f_st_b = 0.0
    f_st_i_total = 0.0
    f_st_coil_aspect = 1.0
    r_coil_major = 0.0
    r_coil_minor = 0.0
    istell = 0
    bmn = 1e-3
    f_asym = 1.0
    f_rad = 0.85
    f_w = 0.5
    fdivwet = 0.333333333333333
    flpitch = 1e-3
    hportamax = 0.0
    hportpmax = 0.0
    hporttmax = 0.0
    iotabar = 1.0
    isthtr = 1
    m_res = 5
    n_res = 5
    shear = 0.5
    vportamax = 0.0
    vportpmax = 0.0
    vporttmax = 0.0
    max_gyrotron_frequency = 1.0e9
    te0_ecrh_achievable = 1.0e2
    powerht_constraint = 0.0
    powerscaling_constraint = 0.0