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

Should the sources have a method get_neutron_rate ? #62

Open
RemDelaporteMathurin opened this issue Jun 21, 2022 · 4 comments
Open

Should the sources have a method get_neutron_rate ? #62

RemDelaporteMathurin opened this issue Jun 21, 2022 · 4 comments

Comments

@RemDelaporteMathurin
Copy link
Member

The sources should maybe have a method to compute the neutron rate in neutron/s .

usage could be

from openmc_plasma_source import FusionPointSource

my_source = FusionPointSource(.....)

neutron_rate = my_source.get_neutron_rate(fusion_power=1e9)  # for 1 GW
@shimwell
Copy link
Member

Sounds useful for steady state machines, not sure how this would work for pulsed machines

@RemDelaporteMathurin
Copy link
Member Author

Ah yes I guess the neutron rate would be in n/s or n/shot.

Anyway the calculation is the same isn't it? for SS machines, the input is the fusion power in J/s (W) for pulsed machines it's in J/pulse

@shimwell
Copy link
Member

I'm just not sure if we need to separate keywords or not, happy to go along with your vision here

@RemDelaporteMathurin
Copy link
Member Author

I think it will just have to be described in the docstrings. It's still a fusion power in both cases, the unit of time changes that's all.

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

No branches or pull requests

2 participants