PCTP

Running a Simulation ~Editing a

2016-10-12  本文已影响13人  橡果

选择控制器选择模型窗口字段和按钮
Select Controller(选择控制器)
Select(选择) 切换选择或取消选择待使用的控制器。
Controller Name(控制器名称) 控制器名称。
**Status(状态) **显示最新建成的控制器。过时项不能被选择。
Select Model(选择模型)
**Select(选择) **切换选择或取消选择待使用的过程模型。
Model Name(模型名称) 过程模型名称。
Status(状态) 显示最新编译的控制器。过时项不能被选择。
选择一个与控制器模型不同的过程模型可以仿真模型存在错误的情况,从而评估控制器鲁棒性。
编辑方案
指定用于测试的控制器和用于仿真的过程模型后,你可以通过单击树形结构中的Scenario(方案)来编辑方案。
方案标签
方案根据控制器结构分到电子表格选项中。其中General(常规)选项卡显示了控制器设置,经济函数,过程模型注入干扰以及可修改的增益。PCTP 2009 Build 1的一项新功能可以向常规选项卡中导入外部输入位号值。示例的其余部分将说明这一功能。
子控制器选项卡将显示子控制器变量的设置:操作,前馈干扰,测量输出和被控变量。在这里,我们在SubTest(子测试)选项卡中显示仿真场景第一步的相关信息。
注意:请注意对默认参数默认值的更改。


方案窗口顶部的单选按钮让你在给定的视图中指定你要显示的细节。可用的选项有:
•** Display All(显示所有)- 此选项将显示所有变量的所有可用设置。
Display Relevant Step 1(显示相关的第1步)**- 该选项将隐藏与仿真场景不相关的所有信息,而只显示所有变量所有未来事件的相关起始条件。
Hide Step 1(隐藏第1步)- 在搭建大型复杂仿真模型时,此选项提供了一个批量隐藏信息,有效隐藏所有开始条件信息的机会。界面将仅显示所有变量的未来事件。
方案显示窗口字段和按钮
Step(步骤) 事件发生的时间(工作区周期数)。
Section(部分) 事件类型。
Variable(变量) 变量名称。
Attribute(属性) 影响事件的变量。
New Value(新值) 属性的当前值。
Old Value(旧值) 属性的旧值。
**Duration(持续时间) **与属性相关的时间(工作区周期数):例如,斜坡持续时间和/或sinus周期。

原文:
Select Controller Select Model Window Fields and Buttons
Select Controller
SelectToggle to select or deselect the controller to use.
Controller Name The name of the controller.
Status Show built controllers as up to date. Out of date items cannot be selected.
Select Model
Select Toggle to select or deselect the process model to use.
Model Name The name of the process model.
Status Show compiled process models as up to date. Out of date items cannot be selected.
Selecting a process model that is different from the controller model allows you to simulate a situation in which modeling errors are present, and thereby evaluate controller robustness.
Editing a Scenario
After specifying the controller to test and the process model to simulate, you can edit the scenario by clicking on Scenario in the tree node.
Scenario Tabs
The scenario is split into spreadsheet tabs according to the controller structure. The General tab displays the settings for the controller, the economic functions, the process model disturbance injections and the modifiable gains. New in PCTP 2009 Build 1 is the ability to inject External Input Tag values in the General tab. The rest of the example will address this capability.
The Sub-controller tabs display the settings for the sub-controller variables: manipulated, feed forward disturbance, measured output and controlled variables. Here we show the relevant information for the first step of our simulation scenario in the SubTest tab.
NOTE: The default parameters Please note a change in default values.
The radio buttons at the top of the Scenario window let you specify how much detail you want to display in the given view. The available options are:
Display All
– This option displays all available settings for all the variables.
Display Relevant Step 1
– This option will hide all the information that is not relevant to the simulation scenario and display only the relevant starting conditions along with all future events for all variables.
• **Hide Step 1 **– This option provides the opportunity to hide a bulk of the information when building large, complex simulations, effectively hiding all the starting conditions. Only all the future events for all variables are displayed
Scenario Display Window Fields and Buttons
Step The time (in numbers of workspace period) at which an event occurs.
Section The type of event.
Variable The name of the variable.
Attribute The variable setting affected by the event.
New Value Current value of the attribute.
Old Value Former value of the attribute.
Duration The time (in numbers of workspace periods) related to the attribute: e.g. the duration of ramps and/or the period of sinus.


2016.10.12

上一篇下一篇

猜你喜欢

热点阅读