-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use metric instead of growthrate for vertical stability #548
base: master
Are you sure you want to change the base?
Conversation
@bclyons12 can you push changes in the data_struct_extra.json as well? |
@TimSlendebroek fixed with 702dfd4 @orso82 ready to merge I think |
{ | ||
"mhd_linear.time_slice[:].toroidal_mode[:].metric": { | ||
"data_type": "FLT_0D", | ||
"documentation": "MHD stability metric, to be defined by user", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am ok with having a generalized stability metric, but should we at least have a convention that >1
is unstable or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can call it something other than metric, if you prefer, but I don't think we can have a standard convention like that. For vertical stability, one of the metrics is supposed to be greater than 0.15 (probably strictly greater than 0, but they add a margin). The other is supposed less than 10. In ActorVerticalStability, I just put the definition and desired limits in the description.
I feel like we should add such operational limits to the
|
@orso82 I'm just not sure a fraction of a threshold is all that useful. What does that mean for growth rate, for example, which can be negative? And then a fraction doesn't necessarily capture the importance of the metric. Something might be fine at 90% of a threshold. Others you might want orders of magnitude below. To me it seems better to just report raw numbers in IMAS and let the user decide in the application how to evaluate those. |
Point taken @bclyons12 I agree with you that with the current approach information is lost. It would be best if we stored:
This will allow to reconstruct |
No description provided.