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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容

  • 從在線EXASMOC控制器導入方案在線準備可以將在線的EXASMOC控制器中的方案事件導入離線仿真,以重現和解決在...
    橡果閱讀 313評論 0 0
  • “公子喝茶嗎?” 那臺下的人“唰”一下收好了折扇,青衫長袍,薄底棉麻鞋,黑發高束,露出頎長的脖頸,束發的灰色麻帶垂...
    如巳閱讀 1,213評論 5 21
  • 昨晚看了名姝以及其實并不在乎你到了兩點多 結果十一點半才起來 也是夠了 以后就保證一點 十二點前睡覺
    brekker閱讀 150評論 0 0
  • 今天體育課考試天氣不好,所以在教室里因為教室里暖和,我的跳繩成績不是很好,我發現有的同學都跳了好多呀,我得回家好好...
    趙正源的日記閱讀 176評論 0 0
  • 京東方A: 國內顯示器面板龍頭 華大基因:國內基因測序龍頭 海康威視:國內最大安防視頻監控產品供應商 三安光電:全...
    simeon2015閱讀 104評論 0 0