注:也可以從目錄中拖/放空的子系統(tǒng)识颊。打開子系統(tǒng)模塊后诚镰,與在“主”視圖中類似奕坟,可以得到一個(gè)完整的子系統(tǒng)。在這個(gè)子系統(tǒng)中清笨,拖/放輸入/輸出端口模塊以提供與“外部”模型連接的方式月杉。
讓我們通過再次思考之前GMB介紹部分的例子來說明子系統(tǒng)的建立。首先通過選擇所有引入POVs的模塊創(chuàng)建子系統(tǒng)抠艾,右鍵單擊某一選中模塊并選擇“Create SubSystem”(創(chuàng)建子系統(tǒng))苛萎。接下來在主窗口視圖中選擇新的子系統(tǒng)塊,右鍵單擊并選擇“Block Properties…(模塊屬性...)”检号,為每個(gè)新模塊提供必要的描述名腌歉。
在本例中,我們創(chuàng)建的四個(gè)子系統(tǒng)具有下列名稱:
?Top_Temp_Dynamics(頂部溫度動(dòng)態(tài))
?Bot_Temp_Dynamics(底部溫度動(dòng)態(tài))
? Top_Load_Dynamics(頂部負(fù)荷動(dòng)態(tài))
? Bot_Load_Dynamics(底部負(fù)荷動(dòng)態(tài))
若要查看特定子系統(tǒng)的“內(nèi)部”齐苛,請(qǐng)?jiān)谙鄳?yīng)模塊上雙擊翘盖。視圖窗口變化和結(jié)果如下所示:
注:此階段INPORT/ OUTPORT模塊可以重新命名。
MIMO模塊
如前面所介紹凹蜂,MIMO模塊表示具有多輸入多輸出特征的傳遞函數(shù)矩陣馍驯。與子系統(tǒng)情況一樣,MIMO模塊作為整體過程模型的子單元炊甲。其通過輸入/輸出錨連接到模型的其它部分泥彤。因?yàn)榇嬖谶@些連接,MIMO模塊作為不使用連接線表達(dá)復(fù)合傳遞函數(shù)的可管理替代品卿啡,有效地執(zhí)行給定子單元的動(dòng)態(tài)(包括操作和/或測(cè)量)吟吝。
MIMO模塊只允許具有以下動(dòng)態(tài)的傳遞函數(shù):零增益,一階颈娜,二階以及二階零增益剑逃。傳遞函數(shù)之間的互連被表示為一個(gè)整體傳遞函數(shù)矩陣的元素。MIMO模塊的每一行表示一個(gè)輸入官辽,每一列表示一個(gè)輸出蛹磺。對(duì)應(yīng)的輸入輸出關(guān)系由矩陣元素給出。所述MIMO輸出由相應(yīng)列中所有傳遞函數(shù)的求和給出同仆。
與子系統(tǒng)的情況一樣萤捆,GMB視圖窗口可從“主”視圖切換到任一MIMO窗口。不同視圖間的來回切換通過出現(xiàn)在視圖窗口左下角的選項(xiàng)卡標(biāo)簽進(jìn)行俗批。
NOTE: An empty SubSystem can also be dragged/dropped from the catalogue. After opening the sub-system block, a complete sub-model can be drawn as if it were in the “main” view. In this sub-system, dragging/dropping In/OutPort blocks provide connections to the “outside” model.
Let us illustrate the creation of sub-systems by revisiting our previous example from the introduction to the GMB section. First create sub-systems by selecting all the blocks leading into the POVs, right clicking on one of the selected blocks and selecting “Create SubSystem.” Next, on the main window view, selected the new sub-system block, right click on it and selected “Block Properties…” Give each new block adequate descriptive names.
In this example, we have created four subsystems with the following names:
? Top_Temp_Dynamics
? Bot_Temp_Dynamics
? Top_Load_Dynamics
? Bot_Load_Dynamics
To look “inside” a specific sub-system, double click on the corresponding block. The view window changes and results in the following:
NOTE: The InPort/OutPort blocks can renamed at this stage.
MIMO Blocks
As previously introduced, a MIMO block represents a transfer function matrix with Mutiple-Input-Mutiple-Output characteristics. Just as in the sub-system case, a MIMO block serves as a sub-unit to the overall process model. It is connected to the other parts of the model via input/output anchors. Because of these connections, a MIMO block is a manageable alternative to express complex transfer functions without using connection lines, effectively implementing the dynamics of that given sub-unit (including its manipulations and/or measurements).
MIMO blocks only allow transfer functions with the following dynamics: zero gain, first order, second order, and second order with zero gain. The interconnections among these transfer functions are expressed as the elements of an overall transfer function matrix. Each row represents an input and each column represents an output of the MIMO block. The corresponding input-output relationship is given by the matrix element. The MIMO outputs are given by the summations of all the transfer functions in the corresponding column.
As in the sub-systems case, the GMB view window can be switched from the “main” view to any of the MIMO views. The toggling between the different views is performed via the tab labels appearing on the bottom left corner of the view window.
2016.8.7