Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Plasma Inductance
# Plasma Inductance | `PlasmaInductance`

## Setting the normalised internal inductance

Expand All @@ -22,7 +22,7 @@ ind_plasma_internal_norm = 1.0

----------

### Wesson relation
### Wesson relation | `calculate_internal_inductance_wesson()`

This can be activated by stating `i_ind_plasma_internal_normx = 1` in the input file.

Expand All @@ -42,7 +42,7 @@ This is only recommended for high aspect ratio tokamaks[^2].
---------


### Menard Inductance Relation
### Menard Inductance Relation | `calculate_internal_inductance_menard()`

This can be activated by stating `ind_plasma_internal_norm = 2` in the input file.

Expand Down
5 changes: 4 additions & 1 deletion process/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
)
from process.log import logging_model_handler, show_errors
from process.pfcoil import PFCoil
from process.physics import DetailedPhysics, Physics, PlasmaBeta
from process.physics import DetailedPhysics, Physics, PlasmaBeta, PlasmaInductance
from process.plasma_geometry import PlasmaGeom
from process.plasma_profiles import PlasmaProfile
from process.power import Power
Expand Down Expand Up @@ -683,10 +683,12 @@ def __init__(self):
electron_bernstein=ElectronBernstein(plasma_profile=self.plasma_profile),
)
self.plasma_beta = PlasmaBeta()
self.plasma_inductance = PlasmaInductance()
self.physics = Physics(
plasma_profile=self.plasma_profile,
current_drive=self.current_drive,
plasma_beta=self.plasma_beta,
plasma_inductance=self.plasma_inductance,
)
self.physics_detailed = DetailedPhysics(
plasma_profile=self.plasma_profile,
Expand All @@ -704,6 +706,7 @@ def __init__(self):
physics=self.physics,
neoclassics=self.neoclassics,
plasma_beta=self.plasma_beta,
plasma_inductance=self.plasma_inductance,
)
self.dcll = DCLL(fw=self.fw)

Expand Down
Loading