fusion-energy / openmc-plasma-source

Creates a plasma source as an openmc.source object from input parameters that describe the plasma
MIT License
25 stars 11 forks source link

added grid for sampling a, alpha #91

Closed shimwell closed 3 months ago

shimwell commented 3 months ago

This method of sampling ensures the model produces the same coordinates each time.

Previously we had a random sampling and this made the subsequent neutronics simulations differ with each creation of the plasma source being different.

sampling bug reported by user on the openmc forum https://openmc.discourse.group/t/different-distribution-of-neutron-density-in-openmc-plasma-source/4111/3

shimwell commented 3 months ago

looks like tests are failing but some can be fixed with

@settings(suppress_health_check=(HealthCheck.too_slow,))

shimwell commented 3 months ago

closing in favour of #92