Running a Simulation ~Overview – Simulation

运行仿真
概述 - 模拟
SMOCPro仿真模块提供了一种方法用于评估所设计的控制器在不同控制器整定参数情况下的性能。此外,通过使用该模块,用户还可以研究控制器的其它属性,如对模型误差的鲁棒性(与工厂模型不匹配),抗干扰性能,设定点跟踪,等等。
离线软件包中的仿真允许你对指定过程模型评估特定控制器的性能。各种各样的事件可以被仿真。更精确地说,该模块提供了以下能力:
•测试指定控制器,仿真指定的过程模型。
•建立包含启动条件和各类事件(设定点变化,干扰等)的仿真方案。
•在选定的方案里分步运行仿真。
•使用各种工具分析仿真结果。可用的工具包括相关变量的曲线图,控制器预期动作,以及不同约束下的动态和静态活性。
在本节中,我们通过下面的例子来工作。如下示意图所示,我们研究的过程是一个塔:

Running a Simulation ~Overview – Simulation_第1张图片

该过程模型含有2个MVs(Reflux(回流量)和Reboil(再沸量)),1个DV(Feed(进料))和8个CVs(Top(顶部), Rectifying Section(精馏段), Tray 1(塔盘1)和Bottom(底部) Temperatures(温度), ΔP1, ΔP2, ΔP3 和 Separation Index(分离指数))。我们现在开始勾勒设定一个仿真方案所需要的步骤,并分析该仿真的结果。
建立方案
要启动仿真方案,请单击树状结构中的Simulation(仿真)节点。打开方案窗口。在这里你可以选择现有的方案或创建一个新方案。

Running a Simulation ~Overview – Simulation_第2张图片

方案窗口字段和按钮
Scenario Name(方案名称) 显示工作区内的方案。
Controller Name(控制器名称) 与当前方案相关联的控制器名称。
Select Button(选择按钮) 选中高亮的方案。
New Button(新建按钮) 新建一个方案。
Delete Button(删除按钮) 删除高亮的方案。
Copy(复制按钮) 将高亮的方案作为某个新方案的模板使用。
创建新方案
单击New(新建)按钮后,打开下面的对话框:

Running a Simulation ~Overview – Simulation_第3张图片

该方案将显示一个默认名称。然而你也可以输入一个不同的名称。当你在名称字段中拥有所需的名称后,单击OK(确定)按钮完成新方案的创建。现在新创建的方案已经被添加到可用方案列表。
选择方案
要在仿真方案窗口中选择一个方案:
1.通过单击要选择的方案高亮之;
2.单击Select(选择)按钮。
Controller/Model Selection(控制器/模型选项)窗口将被打开。在此界面上你可以指定用于测试的控制器以及仿真的过程模型。只有已搭建好的控制器才可以进行测试。同样,只有编译好的过程模型可以用于仿真。不符合这一标准的过程模型和控制器将会变灰色。

Running a Simulation ~Overview – Simulation_第4张图片

原文:
Running a Simulation
Overview – Simulation
The SMOCPro Simulation module provides a way to evaluate the performance of the designed controller under different controller tuning parameters. Furthermore with the use of this module, the user can also investigate other controller properties such as robustness to modeling errors (plant-model mismatch), disturbance rejection performance, setpoint tracking, et cetera.
The simulator in the offline package allows you to evaluate the performance of a particular controller for a chosen process model. A variety of events may be simulated. More precisely, the module provides the ability to:
• Specify the controller to test and the process model to simulate.
• Set up simulation scenarios including starting conditions and various types of events (setpoint changes, disturbances, etc).
• Run a step-by-step simulation on a chosen scenario.
• Use various tools for analyzing the simulation results. The available tools include plots of relevant variables, anticipated moves of the controller, and dynamic and static activity of the different constraints.
In this section, we will be working with the following example. The process under consideration is a column with the following schematic:
The process model has 2 MVs (Reflux and Reboil), 1 DV (Feed) and 8 CVs (Top, Rectifying Section, Tray 1 and Bottom Temperatures, ΔP1, ΔP2, ΔP3 and Separation Index). We now outline the necessary steps required to setup a simulation scenario and analyze the outcome of such a simulation.
Setting Up a Scenario
To initiate the simulation process, click on the Simulation node in the tree structure. The Scenarios window opens. Here you may select an existing scenario or you may create a new one.
Scenarios Window Fields and Buttons
Scenario Name Displays the scenarios already in the workspace.
Controller Name The name of the controller currently associated with the scenario.
Select Button Select the highlighted scenario.
New Button Create a new scenario.
Delete Button Delete the highlighted scenario.
Copy Use the highlighted scenario as a template for a new scenario.
Creating a New Scenario
After clicking the New button, the following dialog opens
A default name is displayed for the scenario. However, you may enter a different name. When you have the desired name in the name field, click the OK button to finalize the creation of the new scenario. The newly created scenario is now added to the list of available scenarios.
Selecting a Scenario
To select a scenario, in the Simulation-Scenarios window

  1. Highlight the scenario you want selected by clicking on it.
  2. Click the Select button.
    The Controller/Model Selection window opens. On this screen you specify the controller to test and the process model to simulate. Only controllers already built can be tested. Similarly, only compiled process models can be simulated. Process models and controllers that do not meet this criterion are grayed-out.

2016.10.10

你可能感兴趣的:(Running a Simulation ~Overview – Simulation)