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

Develop the ability to use plasmod/jetto profile directly in PROCESS #3347

Open
ym1906 opened this issue Oct 11, 2024 · 3 comments
Open

Develop the ability to use plasmod/jetto profile directly in PROCESS #3347

ym1906 opened this issue Oct 11, 2024 · 3 comments
Assignees
Labels
Physics Relating to the physics models

Comments

@ym1906
Copy link
Collaborator

ym1906 commented Oct 11, 2024

When the plasma profile was refactored, it was done so with a view to using completely custom profiles. However, a custom case was never developed or tested in practice. Now we should test this ability.

  1. Figure out the best way to import profile data into PROCESS.
  2. Modify the code to handle this profile (add new argument, and create the profile object correctly)
  3. Point generic profile object to data
  4. Run, test.
  5. Develop a tool for profile comparison between PROCESS and external profile.

Tools to read JETTO files:
https://git.ccfe.ac.uk/jintrac/jetto-pythontools

@chris-ashe chris-ashe added the Physics Relating to the physics models label Oct 14, 2024
@mkovari
Copy link
Collaborator

mkovari commented Oct 15, 2024

See #766 (also #3254).

Most codes output profiles as a function of the normalised flux (usually poloidal flux), a quantity that PROCESS does not use. We would need:

  • To be able to convert from the normalised minor radius to normalised flux, and
  • To be able to calculate the volume element dV. In all JETTO runs, dV/drho is output in the signal profiles / DVEQ.

@mkovari
Copy link
Collaborator

mkovari commented Oct 15, 2024

Once the profiles are fixed, perhaps normalised by the central temperature and density, what variables remain for PROCESS to optimise? Is it still self-consistent to vary the major radius, aspect ratio, toroidal field, impurity concentration, plasma density and temperature?

Did you test an optimisation run using a custom profile? @ym1906

Opinions @stuartmuldrew @ajpearcey ?

@ym1906 ym1906 self-assigned this Oct 21, 2024
@ym1906
Copy link
Collaborator Author

ym1906 commented Oct 21, 2024

I have implemented this on the branch. I decided it was best to write the jetto data to json, and PROCESS just reads in the json with the profiles. The script to do this isn't very complicated but it uses a tool written by the jetto team and probably should stay outside of the PROCESS repo.

I have attempted an optimised run of something similar to STEP. This input file does eventually solve without a custom profile. When the custom profile is used, it cannot find a converged solution and this happens very quickly. Further investigation is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Physics Relating to the physics models
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants