Skip to content

Releases: PrincetonUniversity/GPEC

GPEC v0.3.3

07 Apr 00:22
Compare
Choose a tag to compare

This release features a critical bug fix for control surface netcdf output and pmodb/xbnormal outputs

  • All area normalized or energy normalized quantities were incorrectly converted to the users specified jac_out coordinates. All quantities are now in the DCON jac_type coordinate system unless specifically noted otherwise.
  • The jacobian and surface area have been added to the control netcdf as global attributes
  • The filtering of singular coupling modes is now done entirely within the DCON coordinate system, for which a new singular coupling matrix is formed and SVD'd.
  • Bugs in the use of bcoordsout for pmodb and xbnormal profile quantities that wrote the first variable to multiple variables (i.e. eulb to lagb) were fixed.
  • A Bug in the weighting of the bwp profile was fixed

GPEC v0.3.2

24 Mar 21:51
Compare
Choose a tag to compare
  • This release features a critical bug fix for control surface ascii output Phi^x.
    • If the jac_out was not the working jac_type Phi^x outputs in the jac_out table were mistakenly in the jac_in coordinate system.
  • The external and total flux have been added to the control netcdf alongside their previously stored energy normalized values.

GPEC v0.3.1

10 Mar 17:00
Compare
Choose a tag to compare

Bugfixes

  • IPEC fixed mistaken use of Hermitian lapack subroutines for permeability matrix
  • PYPEC synthetics properly closes synthetic surfaces that cover the full poloidal angle (vessel wall, etc.)
  • PYPEC coil plotting bug fixes for axes and color key words
  • PYPEC updated to reflect move from xray to xarray

Features

  • IPEC netcdf additions, including control surface matrices, profile quantities, shot/time/machine, and more
  • IPEC netcdf names conform to netcdf conventions
  • IPEC all netcdf outputs converted to jac_out
  • IPEC filter decomposition modes are now all in ascending order (SVD convention)
  • IPEC added amplification to filter modes
  • COIL added MAST coils
  • PENTRC added new grid options, which now include equil_grid or input_grid (i.e. the DCON grid)
  • PYPEC improved ascii/netcdf interface using data.open_dataset
  • PYPEC synthetics now includes magnetic sensors
  • PYPEC add_control_geometry function expands control surface geometry for 2D and 3D plots
  • PYPEC improved colormaps and automatic colormap choices
  • PYPEC now uses seaborn for context/palettes, has custom set_context function
  • PYPEC custom subplots automatically re-size figure to keep axes size
  • PYPEC now has png_to_gif function for making movies

Performance

  • Improved speed of ipeq_bcoordsout/ipeq_fcoordsout by checking for unnecessary calls to ipeq_fcoords/ipeq_bcoords

GPEC v0.3.0

24 Sep 20:31
Compare
Choose a tag to compare

Bugfixes

  • DCON qhigh is enforced independent of sas_flag
  • IPEC longstanding bug that caused crashes when brzphi was requested without eqbrzphi is fixed
  • IPEC mthsurf bug fixed
    • Benchmarks show perfect recovery of excessively high DCON mthsurf results using mthsurf=1

Features

  • COIL now includes 4x48 RFX-mod coils
  • IPEC netCDF output is now available for major output flags (more will be transitioned soon)
    • Currently netCDF files include: filter_flag, x/brzphi_flag, xbnormal_flag, pmodb_flag, and control surface fun_flag outputs
  • IPEC output subroutines can now be individually timed using the timeit flag
  • IPEC mode filtering has a new filter_type, filter_modes interface in IPEC_INPUT
  • IPEC reduced terminal printing - no longer is every eigenmode printed to the terminal

Performance

  • IPEC speed was increased by saving coordinate transformation information on a surface when performing multiple transformations on one surface
  • IPEC brzphi speed was increase by 1-2 orders of magnitude by calculating (r,z,phi) quantities on the requested grid points instead of across surfaces
  • IPEC speed can now be confidently increased by a large factor using the mthsurf flag (see bug fix)
  • IPEC compiler optimizability increased with the switch from pointers to allocatable arrays

GPEC v0.2.0

11 Aug 00:13
Compare
Choose a tag to compare

Bugfixes

  • PYPEC data interpolation changed to use LinearNDinterpolator, handling irregular multidimensional grids.
  • Consistent versioning across all programs.

Features

  • IPEC reluctance eigenvectors calculated in energy normalized sudo-flux space.
  • IPEC mode filters available for energy, reluctance and permeability eigenmodes as well as singular coupling SVD modes.
  • PENTRC now explicitly outputs the nonambipolar particle flux and diffusivity.
  • PENTRC now capable of calculating neoclassical heat flux and diffusivity.

Initial release of GPEC

17 Jun 20:38
Compare
Choose a tag to compare

Bugfixes

  • None.

Features

  • Set the maximum line number of IPEC ascii outputs.
  • Set the theta grid for IPEC calculations.
  • Multiple options for mode isolation in IPEC such as smode, pmode, and rmode.

Modules

  • PENTRC replaces the deprecated PENT program and all associated modules.

Documentation

  • New documentation on github pages
    • Includes new developers corner for git version control instructions.
    • Includes new tutorial examples.
  • Improved documentation of IPEC includes commented input file.
  • Updated some of the old "getting started" documentation.