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

tau_e_h98, tau_e_ds03 are calculated incorrectly (?) #72

Open
daveweisberg opened this issue May 15, 2023 · 3 comments
Open

tau_e_h98, tau_e_ds03 are calculated incorrectly (?) #72

daveweisberg opened this issue May 15, 2023 · 3 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@daveweisberg
Copy link
Contributor

In the calculation for tau_e_h98 (and also tau_e_ds03):

function tau_e_h98(eqt::IMAS.equilibrium__time_slice, cp1d::IMAS.core_profiles__profiles_1d, cs::IMAS.core_sources)
    total_source = total_sources(cs, cp1d)
    total_power_inside = total_source.electrons.power_inside[end] + total_source.total_ion_power_inside[end] - radiation_losses(cs)
    isotope_factor =
        integrate(cp1d.grid.volume, sum(ion.density .* ion.element[1].a for ion in cp1d.ion if ion.element[1].z_n == 1.0)) / integrate(cp1d.grid.volume, sum(ion.density for ion in cp1d.ion if ion.element[1].z_n == 1.0))

    R0, B0 = vacuum_r0_b0(eqt)

    tau98 = (
        0.0562 *
        abs(eqt.global_quantities.ip / 1e6)^0.93 *
        abs(B0)^0.15 *
        (total_power_inside / 1e6)^-0.69 *
        (ne_vol_avg(cp1d) / 1e19)^0.41 *
        isotope_factor^0.19 *
        R0^1.97 *
        (R0 / eqt.boundary.minor_radius)^-0.58 *
        eqt.boundary.elongation^0.78
    )
    return tau98
end

the power equation for "total_power_inside" ignores all losses due to radiation. However, according to Stambaugh 2011 eqn. 98 it is appropriate to include losses due to Bremsstrahlung radiation since this is new feature of burning plasmas. This is indeed what GASC does, and so for an apples-to-apples comparison it would make sense to do the same in FUSE.

Screen Shot 2023-05-15 at 8 31 25 AM
@daveweisberg daveweisberg added the invalid This doesn't seem right label May 15, 2023
@TimSlendebroek
Copy link
Contributor

To expand on the discussion we had earlier it depends on what impurity species you have and what the electron temperature looks like if I take Nan's ITB case for FPP as example line radiation in the core is greater than the brehmstralung so the argument that the line radiation is always only present at the edge compared to brhem doens't seem to hold

dd,ini,act = FUSE.init(:FPP,version=:v1_demount,init_from=:ods);
image

@TimSlendebroek
Copy link
Contributor

If we want to follow the rationale for accounting for radiation losses inside the core region for the confinement scalings I would suggest only subtracting off the sum of the radiation at the edge which wouldnt' be hard to do in FUSE.

What \rho_tor_norm would you consider the edge for this confinement scalings @daveweisberg ?

@TimSlendebroek
Copy link
Contributor

What should we do with this issue @daveweisberg ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants