Running a Simulation ~Saving a Simulation

保存仿真
每个仿真可以用包含数据的文本文件(.txt)格式或表格图像形式保存在工作区目录中。
若要保存仿真数据:
1.在绘图中,从Simulation(仿真)菜单中选中Store Simulation(存储仿真)项;
2.出现File(文件)窗口后,为仿真文件(.CSV文件)输入或选择文件名;
3.在文件窗口上单击OK。
若要将图形保存为图像(.sps)文件:
1.在绘图中,从Simulation(仿真)菜单中选中Save Graph Image (保存表格图像);
2.出现File(文件)窗口后,为图形文件(.sps文件)输入或选择文件名;
3.在文件窗口上单击OK。
打开保存的图表
若要打开保存的图表:
1.在绘图中,从Simulation(仿真)菜单中选中Show Graph Image(显示表格图像);
2.出现File(文件)窗口后,选中图形文件(.sps文件)。


图形将在绘图窗口中的另一个窗格中打开(上图示例中的顶部)。
查看活动的变量
如仿真图顶部所示,将提供当前步骤和稳定状态下关于MV和CV的活动信息。事实上,三个标签页屏幕(显示与在线HMI类似的电子表格)专用于显示该特定信息。


例如,Control Overview(控制概述)显示如下:


Reachable列显示了变量的静态值。Status列则给出了控制器考虑变量的信息,即BAD(不使用变量),INACTIVE(未使用)和ACTIVE(使用)。
后两个选项卡界面显示了以下内容:
Subcontrol Overview (子控制概述) – 其显示信息与控制概述相同,但按照子控制器进行排序。同时还显示了子控制器的实际或请求状态。
Priority Sorting
(优先级排序) - 根据已激活的优先级/经济(优化)级别顺序显示操作和被控变量(MV/CVs)信息。
注意:(优先级排序)所有优先级中出现的黄色被控变量约束都对应于它们自己的优先级值。此外,所有出现的绿色变量约束显示其优先级低于自己的优先级值。


注意:(计算结果)计算结果不显示在图中或任何表中。你需要打开内核调试功能并在计算日志文件中查看结果。
仿真报告
树状结构上的仿真报告模块使用宏命令来生成HTML文档。文档包含了仿真场景中指定的所有起始条件和事件。


原文:
Saving a Simulation
Each simulation can be saved in the workspace directory as a text (.txt) file containing the data or as a graphic image.
To save the simulation data:
1.When in the plot, select Store Simulation from the Simulation menu.
2.When the** File** window appears, enter or select the file name for the simulation file (.CSV file).
3.Click OK on the File window.

To save the graph as an image (.sps) file:
1.When in the plot, select Save Graph Image from the** Simulation** menu.
2.When the** File** window appears, enter or select the file name for the graph file (.sps file).
3.Click** OK** on the File window.

Opening a Saved Graph
To open a saved graph:
1.When in the plot, select **Show Graph Image from the Simulation **menu.
2.When the File window appears, select the graph file (.sps file).
The graph opens in an additional pane in the plot window (top one in the above example).
Viewing Variable Activities
As seen in the top part of the simulation plot, information is provided about the activity of the MVs and CVs at the present step and at steady state. In fact, three tab screens (showing spreadsheets similar to the online HMI) are devoted to that specific information.
For instance, the Control Overview appears as follows
The Reachable column displays the static values of the variables. The Status column gives information on how the controller considered the variables, i.e. BAD (the variable is not used), INACTIVE (not used) and ACTIVE (used).
The last two tab screens display:
Subcontrol Overview – The same information as the Control overview but sorted by sub-controller. Also displays the actual or requested status of the sub-controller.
Priority Sorting
– Displays only the information about the manipulated and controlled variables (MV/CVs) sorted according to the priority/economic (optimization) level at which they have been activated.
NOTE: (Priority Sorting) All the yellow constrained controlled variables appear in the priority levels corresponding to their own priority values. Also, all the green constrained variables appear in priority level lower than their own priority values.
Simulation Report
The Simulation Report module on the tree structure uses a macro command to generate an HTML document. The document contains all the starting conditions and events specified in the scenario for the simulation.


2016.10.30

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 158,847评论 4 362
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,208评论 1 292
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 108,587评论 0 243
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,942评论 0 205
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,332评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,587评论 1 218
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,853评论 2 312
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,568评论 0 198
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,273评论 1 242
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,542评论 2 246
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,033评论 1 260
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,373评论 2 253
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,031评论 3 236
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,073评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,830评论 0 195
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,628评论 2 274
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,537评论 2 269

推荐阅读更多精彩内容

  • 从在线EXASMOC控制器导入方案在线准备可以将在线的EXASMOC控制器中的方案事件导入离线仿真,以重现和解决在...
    橡果阅读 272评论 0 0
  • “公子喝茶吗?” 那台下的人“唰”一下收好了折扇,青衫长袍,薄底棉麻鞋,黑发高束,露出颀长的脖颈,束发的灰色麻带垂...
    如巳阅读 1,171评论 5 21
  • 昨晚看了名姝以及其实并不在乎你到了两点多 结果十一点半才起来 也是够了 以后就保证一点 十二点前睡觉
    brekker阅读 139评论 0 0
  • 今天体育课考试天气不好,所以在教室里因为教室里暖和,我的跳绳成绩不是很好,我发现有的同学都跳了好多呀,我得回家好好...
    赵正源的日记阅读 159评论 0 0
  • 京东方A: 国内显示器面板龙头 华大基因:国内基因测序龙头 海康威视:国内最大安防视频监控产品供应商 三安光电:全...
    simeon2015阅读 91评论 0 0