Plume
plume.py
Module for Hall thruster plume models.
Includes
plume_feedforward()
- Semi-empirical feedforward plume model.jion_reconstruct()
- Convenience function for reconstructing ion current density profiles from compressed data.
jion_reconstruct(xr, alpha=None, svd_data=CONFIG_DIR / 'plume_svd.pkl')
Reconstruct an ion current density profile, interpolate to alpha
if provided.
Warning
The svd_file
must be the same as was used when originally compressing the data in plume_feedforward()
.
PARAMETER | DESCRIPTION |
---|---|
xr |
TYPE:
|
alpha |
TYPE:
|
svd_data |
Path to
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
tuple[ndarray, ndarray]
|
|
Source code in src/hallmd/models/plume.py
plume_feedforward(x, compress=False, svd_data=CONFIG_DIR / 'plume_svd.pkl')
Compute the semi-empirical ion current density (\(j_{ion}\)) plume model.
PARAMETER | DESCRIPTION |
---|---|
x |
TYPE:
|
compress |
Whether to return the dimension-reduced \(j_{ion}\) profile
TYPE:
|
svd_data |
Path to
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
|
RAISES | DESCRIPTION |
---|---|
ModelRunException
|
if anything fails |