Running a Simulation ~Overview – Simulation

運(yùn)行仿真
概述 - 模擬
SMOCPro仿真模塊提供了一種方法用于評(píng)估所設(shè)計(jì)的控制器在不同控制器整定參數(shù)情況下的性能。此外莫鸭,通過(guò)使用該模塊闹丐,用戶還可以研究控制器的其它屬性,如對(duì)模型誤差的魯棒性(與工廠模型不匹配)被因,抗干擾性能卿拴,設(shè)定點(diǎn)跟蹤,等等梨与。
離線軟件包中的仿真允許你對(duì)指定過(guò)程模型評(píng)估特定控制器的性能堕花。各種各樣的事件可以被仿真。更精確地說(shuō)粥鞋,該模塊提供了以下能力:
?測(cè)試指定控制器缘挽,仿真指定的過(guò)程模型。
?建立包含啟動(dòng)條件和各類事件(設(shè)定點(diǎn)變化呻粹,干擾等)的仿真方案壕曼。
?在選定的方案里分步運(yùn)行仿真。
?使用各種工具分析仿真結(jié)果等浊∪迹可用的工具包括相關(guān)變量的曲線圖,控制器預(yù)期動(dòng)作筹燕,以及不同約束下的動(dòng)態(tài)和靜態(tài)活性轧飞。
在本節(jié)中,我們通過(guò)下面的例子來(lái)工作庄萎。如下示意圖所示踪少,我們研究的過(guò)程是一個(gè)塔:


該過(guò)程模型含有2個(gè)MVs(Reflux(回流量)和Reboil(再沸量)),1個(gè)DV(Feed(進(jìn)料))和8個(gè)CVs(Top(頂部), Rectifying Section(精餾段), Tray 1(塔盤(pán)1)和Bottom(底部) Temperatures(溫度), ΔP1, ΔP2, ΔP3 和 Separation Index(分離指數(shù)))糠涛。我們現(xiàn)在開(kāi)始勾勒設(shè)定一個(gè)仿真方案所需要的步驟援奢,并分析該仿真的結(jié)果。
建立方案
要啟動(dòng)仿真方案忍捡,請(qǐng)單擊樹(shù)狀結(jié)構(gòu)中的Simulation(仿真)節(jié)點(diǎn)集漾。打開(kāi)方案窗口。在這里你可以選擇現(xiàn)有的方案或創(chuàng)建一個(gè)新方案砸脊。


方案窗口字段和按鈕
Scenario Name(方案名稱) 顯示工作區(qū)內(nèi)的方案具篇。
Controller Name(控制器名稱) 與當(dāng)前方案相關(guān)聯(lián)的控制器名稱。
Select Button(選擇按鈕) 選中高亮的方案凌埂。
New Button(新建按鈕) 新建一個(gè)方案驱显。
Delete Button(刪除按鈕) 刪除高亮的方案。
Copy(復(fù)制按鈕) 將高亮的方案作為某個(gè)新方案的模板使用。
創(chuàng)建新方案
單擊New(新建)按鈕后埃疫,打開(kāi)下面的對(duì)話框:


該方案將顯示一個(gè)默認(rèn)名稱伏恐。然而你也可以輸入一個(gè)不同的名稱。當(dāng)你在名稱字段中擁有所需的名稱后栓霜,單擊OK(確定)按鈕完成新方案的創(chuàng)建〈滂耄現(xiàn)在新創(chuàng)建的方案已經(jīng)被添加到可用方案列表。
選擇方案
要在仿真方案窗口中選擇一個(gè)方案:
1.通過(guò)單擊要選擇的方案高亮之胳蛮;
2.單擊Select(選擇)按鈕销凑。
Controller/Model Selection(控制器/模型選項(xiàng))窗口將被打開(kāi)。在此界面上你可以指定用于測(cè)試的控制器以及仿真的過(guò)程模型仅炊。只有已搭建好的控制器才可以進(jìn)行測(cè)試斗幼。同樣,只有編譯好的過(guò)程模型可以用于仿真茂洒。不符合這一標(biāo)準(zhǔn)的過(guò)程模型和控制器將會(huì)變灰色孟岛。


原文:
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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市督勺,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌斤贰,老刑警劉巖智哀,帶你破解...
    沈念sama閱讀 222,590評(píng)論 6 517
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異荧恍,居然都是意外死亡瓷叫,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 95,157評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門(mén)送巡,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)摹菠,“玉大人,你說(shuō)我怎么就攤上這事骗爆〈伟保” “怎么了?”我有些...
    開(kāi)封第一講書(shū)人閱讀 169,301評(píng)論 0 362
  • 文/不壞的土叔 我叫張陵摘投,是天一觀的道長(zhǎng)煮寡。 經(jīng)常有香客問(wèn)我,道長(zhǎng)犀呼,這世上最難降的妖魔是什么幸撕? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 60,078評(píng)論 1 300
  • 正文 為了忘掉前任,我火速辦了婚禮外臂,結(jié)果婚禮上坐儿,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好貌矿,可當(dāng)我...
    茶點(diǎn)故事閱讀 69,082評(píng)論 6 398
  • 文/花漫 我一把揭開(kāi)白布累铅。 她就那樣靜靜地躺著,像睡著了一般站叼。 火紅的嫁衣襯著肌膚如雪娃兽。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 52,682評(píng)論 1 312
  • 那天尽楔,我揣著相機(jī)與錄音投储,去河邊找鬼。 笑死阔馋,一個(gè)胖子當(dāng)著我的面吹牛玛荞,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播呕寝,決...
    沈念sama閱讀 41,155評(píng)論 3 422
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼勋眯,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了下梢?” 一聲冷哼從身側(cè)響起客蹋,我...
    開(kāi)封第一講書(shū)人閱讀 40,098評(píng)論 0 277
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎孽江,沒(méi)想到半個(gè)月后讶坯,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,638評(píng)論 1 319
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡岗屏,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,701評(píng)論 3 342
  • 正文 我和宋清朗相戀三年辆琅,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片这刷。...
    茶點(diǎn)故事閱讀 40,852評(píng)論 1 353
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡婉烟,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出暇屋,到底是詐尸還是另有隱情似袁,我是刑警寧澤,帶...
    沈念sama閱讀 36,520評(píng)論 5 351
  • 正文 年R本政府宣布率碾,位于F島的核電站叔营,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏所宰。R本人自食惡果不足惜绒尊,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 42,181評(píng)論 3 335
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望仔粥。 院中可真熱鬧婴谱,春花似錦蟹但、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 32,674評(píng)論 0 25
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至瘟裸,卻和暖如春客叉,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背话告。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,788評(píng)論 1 274
  • 我被黑心中介騙來(lái)泰國(guó)打工兼搏, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人沙郭。 一個(gè)月前我還...
    沈念sama閱讀 49,279評(píng)論 3 379
  • 正文 我出身青樓佛呻,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親病线。 傳聞我的和親對(duì)象是個(gè)殘疾皇子吓著,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,851評(píng)論 2 361

推薦閱讀更多精彩內(nèi)容

  • 雨后如幔的彩虹, 慰藉了人們認(rèn)為青春的種種不公送挑。 童話若霖的清風(fēng)绑莺, 喚醒我們心中壓抑的夢(mèng)。 朋友們让虐! 讓我們一起吶...
    恒晰閱讀 297評(píng)論 0 1
  • 故事發(fā)生的背景是民國(guó)三十一年西北地區(qū)的偏遠(yuǎn)山區(qū)紊撕,是抗戰(zhàn)最激烈的1942年,在這個(gè)偏遠(yuǎn)的農(nóng)村學(xué)校赡突,一個(gè)懷揣著偉大的農(nóng)...
    思進(jìn)踐變閱讀 425評(píng)論 1 2
  • 看著你的照片 想象著 哪天還能和你擁抱 憂傷如咆哮的海水 一浪一浪地涌上來(lái) 我是脆弱的 從一開(kāi)始,你就知道 所以区赵,...
    蔚霐_d38f閱讀 446評(píng)論 1 5