- Running a Simulation ~Variable S
- Running a Simulation ~Saving a S
- Running a Simulation ~Overview –
- Running a Simulation ~Using the
- Running a Simulation ~Using the
- Running a Simulation ~Editing a
- Running a Simulation ~Using the
- Running a Simulation ~Using the
- Running a Simulation ~Using the
- Running a Simulation ~Import Sce
若要更改单条线的颜色,请到绘图顶部的表格并将光标放在变量的颜色栏中。
1.单击鼠标右键(或在颜色单元格中双击);
2.当出现菜单时,单击Set Line Color(设置线条颜色);
3.显示颜色图表,其中包含有当前的颜色。单击新颜色框选定新的颜色;
4.单击图标底部的OK按钮。
变量的绘制线将以新颜色显示。
变量选择
绘图窗口中显示了默认选择的变量曲线。你可以更改此选择并根据需要创建多个不同的选择,并将它们存储在不同的变量列表中。
SMOCPro自动为主控制器生成一个变量列表,并为每个子控制器生成一个变量列表。可以对这些列表进行修改,并可创建新的列表。这有助于更好地可视化感兴趣的变量。
变量列表下拉菜单允许你在仿真期间从一个变量选择切换到另一个。
若要创建或修改变量列表:
1.在Simulation(仿真)菜单中选择Variables…(变量...),或在工具栏的下拉菜单中选择Add New(添加新列表)。
变量选择窗口字段和按钮
| Variable List Name(变量列表名称)| 从下拉列表中选择变量列表。|
| ------------- |:-------------:| :-----:|
| New Button(新建按钮)| 打开用于输入新变量列表的窗口。
| Delete Button(删除按钮) | 删除显示的变量列表(仅适用于用户定义的列表)。
| Variable List Content(变量列表内容)| 通过单击属性复选框来选择要在列表中使用的变量。
| OK Button(OK按钮)| 保存对列表所做的修改。
| Cancel Button(取消按钮)| 取消修改而不保存。
2.单击New(新建)按钮。将打开以下框:
3.在字段中输入新的变量名称。
4.单击OK按钮。
例如,思考前面例子图中的所有变量。为了便于理解,我们希望仅在窗口中绘制MVs / DV。为此,我们按照上面概述的步骤,最终得到下图:
变量列表内容具有这些属性,你可以从中选择。
Variable type(变量类型) | Attribute(属性) | Description(描述) |
---|---|---|
Process output(过程输出) | Value | 当前值。 |
Est | 当前估计值。 | |
Innov | 估计误差或更新。 | |
Controlled output(被控输出) | SRH | 设定范围高限。 |
SRL | 设定范围低限。 | |
Value | 当前值。 | |
SSVal | 稳态值。 | |
Pred | 未来值预测。 | |
Manipulated input(操作输入) | SRH | 设定范围高限。 |
SRL | 设定范围低限。 | |
Value | 当前值。 | |
SSVal | 稳态值。 | |
Pred | 未来值预测。 | |
Measured disturbance(测量干扰) | Value | 当前值。 |
Unmeasured disturbance(不可测量干扰) | Value | 当前值。 |
Economic function(经济函数) | Value | 当前值。 |
Optim | 优化经济函数值。 |
默认情况下,控制器变量列表具有经济函数和所选不可测量干扰的属性。此外,所有子控制器变量列表包含有相应的过程输出,被控输出,操作输入和所选的测量干扰属性。
原文:
To change the color of individual lines, go to the table at the top of the plot and place the cursor in the color bar for the variable.
1.Click the right mouse button (or double-click in the color cell).
2.When the menu appears, click Set Line Color.
3.A color chart appears, with the current color outlined. Click in the color box for the new color.
4.Click the OK button on the bottom of the chart.
The plot line for the variable is displayed with the new color.
Variable Selection
A default selection of variable curves is displayed in the plot window. You can change this selection and create as many different selections as you need and store them in into different variable lists.
SMOCPro automatically generates one variable list for the main controller and one variable list for each sub-controller. These lists can be modified and new ones created. This helps in better visualization of the variables of interest.
The variable list drop-down menu lets you switch from one variable selection to another during the simulation.
To create or modify a variable list:
1.Select Variables… in the Simulation menu, or select Add New in the drop down menu in the tool bar.
Variable Selection Window Fields and Buttons
| Variable List Name| Select the variable list from the drop-down list.|
| ------------- |:-------------:| :-----:|
| New Button | Open the window used to enter a new variable list.|
| Delete Button| Delete the displayed variable list (only for user-defined lists).|
| Variable List Content| Select the variables to use in the list by clicking in the attribute check boxes.|
| OK Button| Save the modifications made to the lists.|
| Cancel Button| Cancel the modifications without saving.|
2.Click on the New button. The following box opens:
3.Enter a new variable name in the field.
4.Click the OK button.
For example, consider the previous example with all the variables in the plot. For ease of understanding, we desire to only plot the MVs/DV in the window. To this end, we follow the procedure outlined above and end up with the following plot:
The Variable List Contents has these attributes from which you can select.
Variable type | Attribute | Description |
---|---|---|
Process output | Value | Current value. |
Est | Estimate of the current value. | |
Innov | Estimation error or innovation. | |
Controlled output | SRH | Set-range high limit. |
SRL | Set-range low limit. | |
Value | Current value. | |
SSVal | Steady state value. | |
Pred | Prediction of future values. | |
Manipulated input | SRH | Set-range high limit. |
SRL | Set-range low limit. | |
Value | Current value. | |
SSVal | Steady state value. | |
Pred | Prediction of future values. | |
Measured disturbance | Value | Current value. |
Unmeasured disturbance | Value | Current value. |
Economic function | Value | Current value. |
Optim | Optimum economic value |
By default, the controller variable list has attributes of the economic functions and of the unmeasured disturbances selected. Also, any sub-controller variable list has attributes of its process outputs, controlled outputs, manipulated inputs and measured disturbances selected.
2016.10.24
网友评论