bluemira.codes.plasmod.mapping
PLASMOD mappings
Attributes
Classes
Impurity Model selector |
|
Transport Model Selector |
|
Equilibrium Model Selector |
|
Safety Factor Profile Model Selector |
|
Pedestal Model Selector |
|
SOL Model Selector: |
|
L-H transition power scaling model |
|
Profile Selector: |
Module Contents
- class bluemira.codes.plasmod.mapping.ImpurityModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelImpurity Model selector
0 - fixed concentration, 1 - concentration fixed at pedestal top, then fixed density.
Plasmod variable name: “i_impmodel”
- FIXED = 0
- PED_FIXED = 1
- class bluemira.codes.plasmod.mapping.TransportModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelTransport Model Selector
1 - simple gyrobohm scaling with imposed H factor, 555 - H factor scaling from F. Palermo 111 - another model based on gyro-Bohm transport 2 - no reference in the source code
Plasmod variable name: “i_modeltype”
- GYROBOHM_1 = 1
- GYROBOHM_2 = 111
- UNKNOWN = 2
- H_FACTOR = 555
- class bluemira.codes.plasmod.mapping.EquilibriumModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelEquilibrium Model Selector
1 - EMEQ solves equilibrium with given q95, with sawteeth. 2 - EMEQ solves with given Ip, with sawteeth
Plasmod variable name: “i_equiltype”
- q95_sawtooth = 1
- Ip_sawtooth = 2
- class bluemira.codes.plasmod.mapping.SafetyProfileModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelSafety Factor Profile Model Selector
0 - PLASMOD allows q < 1 in the core (fully relaxed q profile) 1 - PLASMOD clamps q >= 1 in the core (sawteeth forced)
Plasmod variable name: isawt
NOTE: Running with 1 means that p’ and FF’ will not correspond well with jpar.
- FULLY_RELAXED = 0
- SAWTEETH = 1
- class bluemira.codes.plasmod.mapping.PedestalModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelPedestal Model Selector
1 - fixed pedestal temperature (Teped_in), 2 - Saarelma scaling
Plasmod variable name: “i_pedestal”
- FIX_TEMP = 1
- SAARELMA = 2
- class bluemira.codes.plasmod.mapping.SOLModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelSOL Model Selector:
0 - fit based on Eich scaling 1 - Mattia Siccinio’s model
Plasmod variable name: “isiccir”
- EICH_FIT = 0
- SICCINIO = 1
- class bluemira.codes.plasmod.mapping.PLHModel(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelL-H transition power scaling model
6 - Martin
Plasmod variable name: “plh”
- MARTIN = 6
- class bluemira.codes.plasmod.mapping.Profiles(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelProfile Selector:
x [-] normalised toroidal flux coordinate (Phi/Phi_b) ne [10¹⁹/m3] electron density profile Te [keV] Electron temperature profile Ti [keV] Ion temperature profile psi [Wb] Poloidal flux profile phi [Wb] Toroidal flux profile press [Pa] Plasma pressure profile pprime [Pa/Wb] p’ profile ffprime [(m*T) * (m*T) / Wb == T] FF’ profile kprof [-] Elongation profile dprof [-] Triangularity profile shif [m] Grad-Shafranov shift profile g2 [m²] < mod(grad V)²/r²> g2 metric coefficient’s profile g3 [m⁻²] < 1/r²> g3 metric coefficient’s profile volprof [m³] Volume profile vprime [m³] Volume profile ipol [m*T] Poloidal current profile qprof [-] Safety factor profile jpar [A/m²] Parallel current density profile jbs [A/m²] Bootstrap parallel current density profile jcd [A/m²] CD parallel current density profile nions [10¹⁹/m³] ion density profile nfuel [10¹⁹/m³] fuel density profile ndeut [10¹⁹/m³] deuterium density profile ntrit [10¹⁹/m³] tritium density profile nalf [10¹⁹/m³] helium density profile
- Not yet enabled in plasmod:
qrad radiation density profile
qneut neutron fusion power density profile
- x = 'x'
- ne = 'n_e'
- Te = 'Te'
- Ti = 'Ti'
- psi = 'psi'
- phi = 'phi'
- press = 'pressure'
- pprime = 'pprime'
- ffprime = 'ffprime'
- kprof = 'kappa'
- dprof = 'delta'
- shif = 'GS'
- g2 = 'g2'
- g3 = 'g3'
- volprof = 'V'
- vprime = 'Vprime'
- ipol = 'i_pol'
- qprof = 'q'
- jpar = 'jpar'
- jbs = 'jbs'
- jcd = 'jcd'
- nions = 'n_ion'
- nfuel = 'n_fuel'
- ndeut = 'n_D'
- ntrit = 'n_T'
- nalf = 'n_He'
- bluemira.codes.plasmod.mapping.PLASMOD_INPUTS
- bluemira.codes.plasmod.mapping.PLASMOD_OUTPUTS
- bluemira.codes.plasmod.mapping.PLASMOD_INOUTS
- bluemira.codes.plasmod.mapping.mappings