Skip to content
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

Fixing transport equilibrium workflow #47

Merged
merged 27 commits into from
Apr 8, 2022
Merged

Fixing transport equilibrium workflow #47

merged 27 commits into from
Apr 8, 2022

Conversation

TimSlendebroek
Copy link
Contributor

Found a massive bug I introduced myself in handling ohmic heating, fixed it in this PR.

related to issue #46

src/ddinit/init.jl Outdated Show resolved Hide resolved
src/parameters_list.jl Outdated Show resolved Hide resolved
src/workflows/DB5_validation_workflow.jl Outdated Show resolved Hide resolved
src/workflows/DB5_validation_workflow.jl Outdated Show resolved Hide resolved
src/workflows/DB5_validation_workflow.jl Outdated Show resolved Hide resolved
@@ -85,21 +93,27 @@ function transport_validation_workflow(;
par = Parameters(run_df[idx, :])
simple_equilibrium_transport_workflow(dd, par; save_directory, do_plot=show_dd_plots, warn_nn_train_bounds=false)
tau_FUSE[idx] = @ddtime(dd.summary.global_quantities.tau_energy.value)
catch
if verbose
display(println("τ_fuse = $(@ddtime(dd.summary.global_quantities.tau_energy.value)) τ_hdb5 = $(run_df[idx, :TAUTH])"))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
display(println("τ_fuse = $(@ddtime(dd.summary.global_quantities.tau_energy.value)) τ_hdb5 = $(run_df[idx, :TAUTH])"))
display(println("τ_fuse = $(tau_FUSE[idx]) τ_hdb5 = $(run_df[idx, :TAUTH])"))

cases/HDB5.jl Outdated Show resolved Hide resolved
@orso82 orso82 merged commit f4d5593 into master Apr 8, 2022
@orso82 orso82 deleted the fixing_tr_eq_wf branch April 8, 2022 05:32
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.

2 participants