Skip to content

Conversation

SBlokhuizen
Copy link
Collaborator

PlasmaProperties now supports manual input. The p' and ff' profiles can be parameterized using alpha, beta, and gamma parameters.

Screencast.from.2025-08-14.15-25-38.webm

@maarten-ic maarten-ic marked this pull request as draft August 15, 2025 08:18
@SimonPinches
Copy link

Would be nice to add an explanation (e.g. equation) showing how p' and ff' are parameterised using alpha, beta, gamma.

@maarten-ic
Copy link
Collaborator

Would be nice to add an explanation (e.g. equation) showing how p' and ff' are parameterised using alpha, beta, gamma.

Indeed! As I understand it, p' and ff' are parametrized by NICE in the same way as equation 2.11 in https://inria.hal.science/hal-01088772/file/CedresRefPaper.pdf, but we need to double-check. We also need some changes in NICE (right now the inverse mode IMAS run modes do not seem to accept parametrized p' and ff'), so we've put this PR on hold for now.

@SBlokhuizen SBlokhuizen requested a review from maarten-ic August 26, 2025 13:44
Copy link
Collaborator

@maarten-ic maarten-ic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the simplifications :) Couple of comments, some already discussed

self.properties_params.f_df_dpsi_beta,
self.properties_params.f_df_dpsi_gamma,
alpha = self.properties_params.alpha
beta = self.properties_params.beta
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this many? A couple 10s of points should be enough, shouldn't it?

@maarten-ic maarten-ic marked this pull request as ready for review August 26, 2025 15:14
@SBlokhuizen SBlokhuizen requested a review from maarten-ic August 27, 2025 13:26
SBlokhuizen and others added 3 commits August 28, 2025 14:21
Co-authored-by: Maarten Sebregts <110895564+maarten-ic@users.noreply.github.com>
@SBlokhuizen SBlokhuizen requested a review from maarten-ic August 28, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants