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

RuntimeWarning: invalid value encountered in power #90

Open shimwell opened 4 months ago

shimwell commented 4 months ago

this line appears to be giving a run time warning

RuntimeWarning: invalid value encountered in power

* (1 - (r / pedestal_radius) ** ion_temperature_beta)

I it gets run in 'H' mode

perhaps related to this stack over flow