There are a few issues to fix in the NBI power accounting:
- Shine-through power incorrectly calculated
- Shine-through fraction applied to only part of the power term due to operator precedence
- Shine-through fraction applied incorrectly to work out beam shine-through
- Ion/electron power split uses wrong base power
- Split performed on injected beam power instead of plasma-coupled beam power
- Wall-plug power (pwpnb) incorrectly computed
- Only part of the power term divided by injector efficiency due to missing parentheses
all in current_drive.py
There are a few issues to fix in the NBI power accounting:
all in current_drive.py