开发了一种简单的直线加速器构建和仿真算法

St open Pub Date : 2023-08-31 DOI:10.48188/so.4.13
Rocco Barač, T. Šćulac
{"title":"开发了一种简单的直线加速器构建和仿真算法","authors":"Rocco Barač, T. Šćulac","doi":"10.48188/so.4.13","DOIUrl":null,"url":null,"abstract":"Aim: To develop a simple algorithm that accurately constructs and simulates an Alvarez-type linear accelerator given the initial conditions and number of accelerator parts.Methods: We wrote the algorithm in Python, a programming language with numerous useful math and science libraries, and the ability to use classes and objects. The particles were accelerated in electric fields (which we assumed to be constant within each cavity at any given moment) to allow for a comparison of numerical results with an analytic expression. No magnetic fields were present in the simulations used in this article, and the particle beams were instead focused by using collimators. The algorithm first constructed the accelerator by guessing the appropriate length of each segment until it found optimal lengths for accelerating most particles in the beam. Once constructed, the accelerator could accelerate beams of particles and the results could be analyzed.Results: The algorithm successfully constructed multiple different accelerators from the initially given conditions. The first two simulations had arbitrary accelerators in which hydrogen and lead ions were accelerated, and the results were in line with expectations from the analytic solution. The largest simulation was that of CERN’s Linac4 accelerator, which produced results similar to those found in the real world.Conclusion: Significant results could be obtained even with an algorithm as simple as the one described here. The algorithm could be further improved by using a more realistic potential inside the accelerator cavities, and more particles could pass through if magnetic fields which focus the beam were turned on","PeriodicalId":422483,"journal":{"name":"St open","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Development of a simple algorithm for linear accelerator construction and simulation\",\"authors\":\"Rocco Barač, T. Šćulac\",\"doi\":\"10.48188/so.4.13\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Aim: To develop a simple algorithm that accurately constructs and simulates an Alvarez-type linear accelerator given the initial conditions and number of accelerator parts.Methods: We wrote the algorithm in Python, a programming language with numerous useful math and science libraries, and the ability to use classes and objects. The particles were accelerated in electric fields (which we assumed to be constant within each cavity at any given moment) to allow for a comparison of numerical results with an analytic expression. No magnetic fields were present in the simulations used in this article, and the particle beams were instead focused by using collimators. The algorithm first constructed the accelerator by guessing the appropriate length of each segment until it found optimal lengths for accelerating most particles in the beam. Once constructed, the accelerator could accelerate beams of particles and the results could be analyzed.Results: The algorithm successfully constructed multiple different accelerators from the initially given conditions. The first two simulations had arbitrary accelerators in which hydrogen and lead ions were accelerated, and the results were in line with expectations from the analytic solution. The largest simulation was that of CERN’s Linac4 accelerator, which produced results similar to those found in the real world.Conclusion: Significant results could be obtained even with an algorithm as simple as the one described here. The algorithm could be further improved by using a more realistic potential inside the accelerator cavities, and more particles could pass through if magnetic fields which focus the beam were turned on\",\"PeriodicalId\":422483,\"journal\":{\"name\":\"St open\",\"volume\":\"3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-08-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"St open\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.48188/so.4.13\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"St open","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48188/so.4.13","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

目的:在给定初始条件和加速器零件数量的情况下,开发一种能够精确构造和模拟阿尔瓦雷斯型直线加速器的简单算法。方法:我们用Python编写算法,Python是一种编程语言,具有许多有用的数学和科学库,并且能够使用类和对象。粒子在电场中加速(我们假设电场在任何给定时刻在每个腔内都是恒定的),以便将数值结果与解析表达式进行比较。在本文中使用的模拟中没有磁场存在,而是使用准直器聚焦粒子束。该算法首先通过猜测每个片段的适当长度来构建加速器,直到找到加速光束中大多数粒子的最佳长度。一旦建成,加速器就可以加速粒子束,并对结果进行分析。结果:该算法在给定初始条件下成功构建了多个不同的加速器。前两次模拟使用了任意的加速器,其中氢离子和铅离子被加速,结果与解析解的预期一致。最大的模拟是欧洲核子研究中心的Linac4加速器,它产生的结果与现实世界中发现的结果相似。结论:即使使用本文描述的简单算法也可以获得显著的结果。通过使用加速器腔内更真实的电位,该算法可以进一步改进,如果打开聚焦光束的磁场,更多的粒子可以通过
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Development of a simple algorithm for linear accelerator construction and simulation
Aim: To develop a simple algorithm that accurately constructs and simulates an Alvarez-type linear accelerator given the initial conditions and number of accelerator parts.Methods: We wrote the algorithm in Python, a programming language with numerous useful math and science libraries, and the ability to use classes and objects. The particles were accelerated in electric fields (which we assumed to be constant within each cavity at any given moment) to allow for a comparison of numerical results with an analytic expression. No magnetic fields were present in the simulations used in this article, and the particle beams were instead focused by using collimators. The algorithm first constructed the accelerator by guessing the appropriate length of each segment until it found optimal lengths for accelerating most particles in the beam. Once constructed, the accelerator could accelerate beams of particles and the results could be analyzed.Results: The algorithm successfully constructed multiple different accelerators from the initially given conditions. The first two simulations had arbitrary accelerators in which hydrogen and lead ions were accelerated, and the results were in line with expectations from the analytic solution. The largest simulation was that of CERN’s Linac4 accelerator, which produced results similar to those found in the real world.Conclusion: Significant results could be obtained even with an algorithm as simple as the one described here. The algorithm could be further improved by using a more realistic potential inside the accelerator cavities, and more particles could pass through if magnetic fields which focus the beam were turned on
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信