desc.objectives.RadialForceBalance.compute
- RadialForceBalance.compute(*args, **kwargs)[source]
Compute radial MHD force balance errors.
- Parameters:
R_lmn (ndarray) – Spectral coefficients of R(rho,theta,zeta) – flux surface R coordinate (m).
Z_lmn (ndarray) – Spectral coefficients of Z(rho,theta,zeta) – flux surface Z coordinate (m).
L_lmn (ndarray) – Spectral coefficients of lambda(rho,theta,zeta) – poloidal stream function.
p_l (ndarray) – Spectral coefficients of p(rho) – pressure profile (Pa).
i_l (ndarray) – Spectral coefficients of iota(rho) – rotational transform profile.
c_l (ndarray) – Spectral coefficients of I(rho) – toroidal current profile (A).
Psi (float) – Total toroidal magnetic flux within the last closed flux surface (Wb).
Te_l (ndarray) – Spectral coefficients of Te(rho) – electron temperature profile (eV).
ne_l (ndarray) – Spectral coefficients of ne(rho) – electron density profile (1/m^3).
Ti_l (ndarray) – Spectral coefficients of Ti(rho) – ion temperature profile (eV).
Zeff_l (ndarray) – Spectral coefficients of Zeff(rho) – effective atomic number profile.
- Returns:
f_rho (ndarray) – Radial MHD force balance error at each node (N).