添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
眉毛粗的回锅肉  ·  How to install a ...·  昨天    · 
完美的草稿本  ·  How to use Cloudflare ...·  昨天    · 
帅气的面包  ·  为什么我的 JavaScript ...·  4 天前    · 
喝醉的骆驼  ·  E-PIA : Blocked A ...·  6 天前    · 
腼腆的凳子  ·  mysql ...·  1 月前    · 
奔跑的苦咖啡  ·  2024澳洲學生簽證 - ...·  2 月前    · 

Hello Everyone,

I’m trying to simulate a point source at the origin and I was trying to run this code in the examples and this is the error I get, also to specify that it’s at the origin I should include this line: openmc.stats.Point(xyz=(0.0, 0.0, 0.0) )

image 1466×465 42.8 KB Also I want to specify the material of the source as lithium to breed tritium, should I specify it like that, this is what I tried and I get this error:
image 1446×534 48.1 KB Thank you so much for your help!

Hi @Dalia ;

Just to try to answer about the first error “keyError : 1” it seems to be related to the tally id, you can verifiy by openning your tallies.xml file and look about ids used to identify your tally/tallies!!! or you can try [tallies.id] argument to avoir such like that error.

regards

fusion-energy/neutronics-workshop/blob/main/tasks/task_05_CSG_cell_tally_TBR/1_example_tritium_production.ipynb

"cells": [ "cell_type": "markdown", "metadata": {}, "source": [ "# Part 1 - Performing Tritium Breeding Ratio (TBR) simulations\n", "\n", "This python notebook allows users to perform neutronics simulations to tally tritium production." "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from IPython.display import HTML\n", "HTML('<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Vc7Qy7QW4o8\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>')"