desc.objectives.AvailableEnergy.compute
- AvailableEnergy.compute(params, constants=None)Source
Compute the available energy.
- Parameters:
params (dict) – Dictionary of equilibrium degrees of freedom, e.g.
Equilibrium.params_dict.constants (dict) – Dictionary of constant data, e.g. transforms, profiles etc. Defaults to
self.constants.
- Returns:
available_energy (ndarray) – Available energy as a function of the flux surface label.