从在线EXASMOC控制器导入方案
在线准备
可以将在线的EXASMOC控制器中的方案事件导入离线仿真,以重现和解决在线事件。所需的步骤是:
1.为所选的控制器创建一个调试文件。(关于创建调试文件的指令,请参阅EXASMOC手册);
2.通过导出所选控制器创建EXA文件。(关于输出控制器的说明,请参阅EXASMOC手册);
3.将调试文件和EXA文件复制到离线计算机;
离线导入
4.在SMOCPro中打开EXA文件;
5.创建并选择一个新方案;
6.选择与在线EXASMOC控制器匹配的控制器;
7.在树状结构中单击Scenario(方案);
8.单击工具栏上的Import Scenario Step From Plant data(从工厂导入方案步骤);
9.单击选择按钮选择要导入的EXA和调试文件。接下来,单击Read Files and Validate Contents (读取文件和验证内容)以验证EXA文件和调试文件的一致性。
10.调试文件中调试步骤的时间戳列在要导入的调试步骤中。用户需要选择一个要导入的调试步骤。单击View(查看)按钮查看格式化的调试文件。
11.最后,单击Import(导入)按钮,使用选中调试步骤的值来填充方案中的步骤1事件。
查看图线
SMOCPro使用图线来显示仿真。如果仿真图未打开,请单击树状结构上的Plot(绘图)将其打开;图表将在第一个标签界面显示。另外三个标签界面将集中显示操作和被控变量在当前时间和稳定状态下的活动。
思考讨论前面提出的示例仿真。仿真中存在3个离散事件以及其他信息。然而如下所示,当控制器有各种(许多个)变量时,默认界面可能是相当大的。
除了上清楚标记的离散事件之外,还有四个值得一提的方面(没有特定的顺序):
- 垂直的红线代表当前时间。在其左侧,显示了过去历史发生的仿真步骤。如果在变量列表中选择,则其右侧显示仿真步骤的未来预测值。
- Variable List(变量列表)选项卡可用于创建不同的视图和“截取”绘图(见下文)。
- 新版本(PCTP 2009 Build 1)“显示内核消息”功能将显示从SMOCPro内核接收的消息。
- 屏幕中的其余选项卡:Plot(图表), Control Overview(控制概述), SubControl Overview(子控制器概述)和Priority Sorting(优先级顺序)包含了控制器性能,约束状态和CV优先级的更详细信息。
原文:
Import Scenario From Online EXASMOC Controller
Online Preparation
Scenario events can be imported from an online EXASMOC controller to reproduce and troubleshoot the online events. The required steps are:
- Create a debug file of the selected controller. (Refer to the EXASMOC manual for the instruction of creating debug file)
- Create an EXA file by exporting the selected controller. (Refer to the EXASMOC manual for the instruction of exporting controller)
- Copy the debug file and the EXA file to the offline computer.
Offline Import - Open the EXA file in SMOCPro.
- Create and select a new scenario.
- Select the controller that matches the online EXASMOC controller.
- Click on the Scenario in the tree structure.
- Click on the Import Scenario Step From Plant data on toolbar.
- Click on the select button to select the EXA and debug files to be imported. Next, click on Read Files and Validate Contents to validate the consistency of the EXA file and the debug file.
- The time stamps of the debug steps within the debug file are listed in Debug Step To Import. Users need to select one debug step to be imported. Click View button to view the formatted debug file.
- Lastly, click Import button to fill the step 1 events in the scenario with the values in the selected debug step.
Viewing a Plot
SMOCPro uses plots to display the simulations. If the simulation plot is not open, click Plot on the tree structure to open it; the plot appears as the first tab-screen. Three more tab-screens focus on reporting the activity of the manipulated and controlled variables at present time and at steady state.
Consider a simulation of the example presented earlier (column). There are three discrete events present in the simulation along with other information. However, the default screen can be quite overwhelming when the controller has various (many) variables as can be seen below.
In addition to the discrete events clearly labeled on the figure, there are four other aspects worth mentioning (in no particular order):
1.The vertical red line indicates the current time. On its left side, simulation steps that occurred in the past are displayed. If selected in the variable list, the predicted values over future simulation steps are displayed on its right side.
2.The Variable List tab can be used to create different views and “declutter” the plot (see below).
3.The new (PCTP 2009 Build 1) “Show Kernel Messages” capabilities displays the messages received from the SMOCPro kernel.
4.The rest of the tabs in the screen: “Plot, Control Overview, SubControl Overview and Priority Sorting” contain more detailed information regarding controller performance, constraint status, and CV priorities.
2016.10.16