gray/schemas/equilibrium.schema.json

66 lines
2.6 KiB
JSON
Raw Normal View History

{
"$id": "https://www.istp-cnr.it/gray/schemas/equilibrium",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Numerical magnetic equilibrium",
"type": "object",
"properties": {
"cocos": {"$ref": "cocos"},
"psiNorm1d": {
"description": "Normalized poloidal magnetic flux on the grid of the 1D profiles. 0 = magnetic axis, 1 = boundary. Units [-]",
"$ref": "grid1d",
"minimum": 0
},
"fPol": {
"description": "Poloidal current function f(psi) = B_phi * R. Units [T.m]",
"$ref": "number1d"
},
"q": {
"description": "Safety factor. Units [-]",
"$ref": "number1d"
},
"rGrid": {
"description": "Major radius on the rows of the rectangular grid of the poloidal flux 2D map. Units [m]",
"$ref": "grid1d"
},
"zGrid": {
"description": "Vertical coordinate on the columns of the rectangular grid of the poloidal flux 2D map. Units [m]",
"$ref": "grid1d"
},
"psi2d": {
"description": "Poloidal magnetic flux on a rectangular (R,z) grid in row-major order:\\n`psi2d`[i][:] is a slice at z = `zGrid`[i];\\n`psi2d`[:][j] is a slice at R = `rGrid`[j].\\nUnits [Wb] or [Wb/rad], depending on COCOS.",
"$ref": "number2d"
},
"psiAx": {
"description": "Poloidal flux at the magnetic axis. Units [Wb] or [Wb/rad] depending on COCOS.",
"type": "number"
},
"psiBnd": {
"description": "Poloidal flux at the boundary. Units [Wb] or [Wb/rad] depending on COCOS.",
"type": "number"
},
"rAx": {
"description": "Magnetic axis major radius. Units [m]",
"type": "number",
"exclusiveMinimum": 0
},
"zAx": {
"description": "Magnetic axis vertical coordinate. Units [m]",
"type": "number"
},
"boundary": {
"description": "Plasma boundary contour in the Rz-plane",
"$ref": "rzpolygon"
},
"currPhi": {
"description": "Toroidal plasma current enclosed by the boundary. Units [A].",
"type": "number"
},
"bVac0": {
"description": "Vacuum magnetic field at the reference major radius R = `r0`. Units [T]",
"type": "number"},
"r0": {
"description": "Reference major radius for the vacuum magnetic field `bVac0`. Units [m]",
"type": "number"}
}
}