1 / 25

EASTViewer 进展及 PCS 学习

EASTViewer 进展及 PCS 学习. 汇报人: 张睿瑞 导师:肖炳甲研究员. 一 .EASTViewer 数据显示程序. 操作系统: linux 编程语言: python GUI 库: pygtk python 的第三方库: 数值计算模块: numpy , numeric 绘图模块: matplotlib Python 访问 mdsplus 接口模块 :pmds. EASTViewer 简介. Eastviewer 用来图形化显示 efit 的结果 从文件( afile , gfile )或 mdsplus 相应树上读取有关信息

mikaia
Télécharger la présentation

EASTViewer 进展及 PCS 学习

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EASTViewer进展及PCS学习 汇报人: 张睿瑞 导师:肖炳甲研究员

  2. 一.EASTViewer数据显示程序 操作系统:linux编程语言:python GUI库:pygtk python的第三方库: • 数值计算模块:numpy,numeric • 绘图模块:matplotlib • Python访问mdsplus接口模块:pmds

  3. EASTViewer简介 Eastviewer用来图形化显示efit 的结果 从文件(afile,gfile)或mdsplus相应树上读取有关信息 1. display equilibrium and overlays 2. Get information on many parameters such as discharge volume,area,gaps,etc 3. Some others will add lately

  4. 主窗口 两部分: 1.选择某个炮号的某一个时间片 2.一个简单的run efit(目前run efit速度较慢,原因是我写的取数程序耗时,有待改进)

  5. Path:选择一个路径(双击)(路径显示在上面的文本框中)Path:选择一个路径(双击)(路径显示在上面的文本框中) Shot:显示该目录下所有的炮号 Time:被选择的炮号的在该目录下所有的时间片 Shot,time栏下面的文本框提供一个搜索功能,在shot,time栏中显示符合搜索的结果

  6. 一个选择mdsplus服务器的选择框 Shot:键入炮号 Run:显示在被选择的服务器上有哪些树中存在该炮号 Time:该炮号的时间片信息 一个评论 Multi-slice overlay: on:叠加overlays图 off:每一个时间片更新一次 overlay图

  7. run EFIT 一个简单的run efit,执行速度有待提高 Directory:保存run efit生成的afile,gfile

  8. Plasma equilibrium窗口 三部分: 1. 2. 被选择炮号在被选择的时间片下主要参数列表 如体积、面积,小半径、电流值、betap、betat、q95、li、kappa等等(37个) 3. EAST geometry图和等离子体平衡图

  9. 1. EFIT pointnames • 选择一些参数 • 调用jscope显示数据波形

  10. 2.Equilibrium preference 改变磁通个数

  11. 3.Diagnostics & overlays 目前有pf线圈,fluxloops,磁探针 线圈:pcpf1~pcpf14,pcic1,pcic2 shcps1~shcps12 Fluxloops:pcfl1~pcfl37 磁探针:pcpv1T~pcpv30T, pcbpl1T~pcbpl8T 调用jscope 显示

  12. 4. equilibrium animation

  13. 5.Shot overlays 同一时间片下,不同炮号的比较 only a shot number: 4617 a set of shots : [4617,4619,4621] a range of shots : 4617:4621

  14. 6、print

  15. 可执行的python程序(Linux/Unix) 1. chmod a+x helloworld.py #改变文件模式为可执行 2. 通过指定源文件位置执行程序 (1). /home/rrzhang/pyprograms/helloworld.py (2). ./helloworld.py (./表示当前目录下) 3. 在任何位置上运行python程序 . echo $PATH /usr/local/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/mdsplus/bin:/usr/X11R6/bin:/usr/local/jre/bin:/home/lzp/efitrun:/home/rrzhang/bin .程序保存到PATH路径里或者PATH中加入程序所在路径就可以在任何地方运行 .更改文件名 python程序的第一行通常为: /usr/bin/python 或者/usr/bin/env python #告诉系统用python来运行该程序 所以可以把helloworld.py 改成helloworld运行

  16. EASTViewer 的命令行程序 [rrzhang@efitserver ~]$ eastviewer -u Usage /home/rrzhang/bin/eastviewer -u|-h|-v|-V|--help|[- m model] options include: -u : Show this message -h : show help information --help : show help information _V : Show version information -v : Show version information -m : model select,which is 'file' or 'mdsplus‘ 可以通过运行eastviewer -m mdsplus 打开eastviewer直接跳转到mdsplus页 以后可以根据需要添加其他参数

  17. 存在的问题 • 初步版本有一些功能还没有实现 如select plots • 功能较简单,诊断信息较少 • 测试不足,程序中肯定存在错误和没有考虑到的地方,有待完善

  18. 二 PCS 学习(engineering physics memo) • coil current、diverted 和limited plasma、plasma breakdown的闭环控制算法 • power supply voltages 和gas values的开环控制算法 • 密度算法

  19. EAST Control algorithms • Discharge shape • Gas injection • System • Data acquistion • Equilibrium • isoflux

  20. Coil current control algorithm • Targets • Voltage trajectories • Proportional gains • Derivative gains • Integral gains • Proportional taus • Derivative taus • Integral taus

  21. Limited plasma control algorithm(r,z,Ip,kappa) • Targets rref,zref,ipref,kapparef,s1ref,ipnorm,control method,mutuals file,whichmmatrix, m matrices,whichematrix,e matrices • Feedforward • Proportional gains • Dervative gains • Integral gains • Proportional taus • Derivative taus • Integral taus

  22. Setup EAST PCS • ssh –X eastpcs • mkdir east_pcs • cd east_pcs • ln –s /gateway_disk/pcshome/pcs/infra • ln –s /gateway_disk/pcshome/pcs/src/SCCS • ln –s /gateway_disk/pcshome/pcs/common • make • cd INTEL_DIR • runsa

More Related