選擇控制器選擇模型窗口字段和按鈕
Select Controller(選擇控制器)
Select(選擇) 切換選擇或取消選擇待使用的控制器。
Controller Name(控制器名稱) 控制器名稱适室。
**Status(狀態(tài)) **顯示最新建成的控制器。過時項(xiàng)不能被選擇。
Select Model(選擇模型)
**Select(選擇) **切換選擇或取消選擇待使用的過程模型上渴。
Model Name(模型名稱) 過程模型名稱。
Status(狀態(tài)) 顯示最新編譯的控制器。過時項(xiàng)不能被選擇涮总。
選擇一個與控制器模型不同的過程模型可以仿真模型存在錯誤的情況,從而評估控制器魯棒性祷舀。
編輯方案
指定用于測試的控制器和用于仿真的過程模型后瀑梗,你可以通過單擊樹形結(jié)構(gòu)中的Scenario(方案)來編輯方案。
方案標(biāo)簽
方案根據(jù)控制器結(jié)構(gòu)分到電子表格選項(xiàng)中裳扯。其中General(常規(guī))選項(xiàng)卡顯示了控制器設(shè)置抛丽,經(jīng)濟(jì)函數(shù),過程模型注入干擾以及可修改的增益饰豺。PCTP 2009 Build 1的一項(xiàng)新功能可以向常規(guī)選項(xiàng)卡中導(dǎo)入外部輸入位號值亿鲜。示例的其余部分將說明這一功能。
子控制器選項(xiàng)卡將顯示子控制器變量的設(shè)置:操作冤吨,前饋干擾狡门,測量輸出和被控變量。在這里锅很,我們在SubTest(子測試)選項(xiàng)卡中顯示仿真場景第一步的相關(guān)信息。
注意:請注意對默認(rèn)參數(shù)默認(rèn)值的更改凤跑。
方案窗口頂部的單選按鈕讓你在給定的視圖中指定你要顯示的細(xì)節(jié)爆安。可用的選項(xiàng)有:
?** Display All(顯示所有)- 此選項(xiàng)將顯示所有變量的所有可用設(shè)置仔引。
? Display Relevant Step 1(顯示相關(guān)的第1步)**- 該選項(xiàng)將隱藏與仿真場景不相關(guān)的所有信息扔仓,而只顯示所有變量所有未來事件的相關(guān)起始條件。
? Hide Step 1(隱藏第1步)- 在搭建大型復(fù)雜仿真模型時咖耘,此選項(xiàng)提供了一個批量隱藏信息翘簇,有效隱藏所有開始條件信息的機(jī)會。界面將僅顯示所有變量的未來事件儿倒。
方案顯示窗口字段和按鈕
Step(步驟) 事件發(fā)生的時間(工作區(qū)周期數(shù))版保。
Section(部分) 事件類型呜笑。
Variable(變量) 變量名稱。
Attribute(屬性) 影響事件的變量彻犁。
New Value(新值) 屬性的當(dāng)前值叫胁。
Old Value(舊值) 屬性的舊值。
**Duration(持續(xù)時間) **與屬性相關(guān)的時間(工作區(qū)周期數(shù)):例如汞幢,斜坡持續(xù)時間和/或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