freegsnke.circuit_eq_plasma module
Defines the plasma_current Object, which handles the lumped parameter model used as an effective circuit equation for the plasma.
Copyright 2025 UKAEA, UKRI-STFC, and The Authors, as per the COPYRIGHT and README files.
This file is part of FreeGSNKE.
FreeGSNKE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
FreeGSNKE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU Lesser General Public License along with FreeGSNKE. If not, see <http://www.gnu.org/licenses/>.
- freegsnke.circuit_eq_plasma.Myy(plasma_pts)[source]
Calculates the matrix of mutual inductances between all plasma grid points
- Parameters:
plasma_pts (np.ndarray) – Array with R and Z coordinates of all the points inside the limiter
- Returns:
Myy – Array of mutual inductances between plasma grid points
- Return type:
np.ndarray