📄 wind_turbine_pm_tm.mdl
字号:
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [360, 289, 390, 321]
Floating off
Location [1, 45, 1017, 729]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [495, 279, 525, 311]
Floating off
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [235, 128, 315, 212]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [386, 161, 791, 296]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Lampta"
Position [35, 43, 65, 57]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Beta"
Position [25, 78, 55, 92]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn"
Position [140, 60, 200, 90]
Expr "1/(u(1)+0.08*u(2))-0.035/(u(2)^3+1)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [250, 60, 310, 90]
Expr "C1*(C2/u(2)-C3*u(3)-C4)*exp(C5/u(2))+C6"
"*u(1)"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [105, 56, 110, 94]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [225, 39, 230, 111]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Cp"
Position [350, 28, 380, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "Cp"
DstPort 1
}
Line {
SrcBlock "Beta"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [15, 0]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "Lampta"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 15]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [125, 0]
DstBlock "Mux1"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "Pm"
Position [540, 78, 570, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Te"
Position [535, 188, 565, 202]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Air_density"
SrcPort 1
Points [0, 0]
DstBlock "0.5*pi"
DstPort 1
}
Line {
SrcBlock "R"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [5, 0]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 35]
Branch {
Points [5, 0]
DstBlock "Fcn3"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Product2"
DstPort 1
}
}
}
Line {
SrcBlock "W"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "V"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [10, 0]
DstBlock "Fcn4"
DstPort 1
}
Branch {
Points [0, 55]
Branch {
Points [15, 0]
DstBlock "Fcn5"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Fcn6"
DstPort 1
}
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
Points [0, -25]
DstBlock "Product2"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Pm"
DstPort 1
}
Line {
SrcBlock "0.5*pi"
SrcPort 1
Points [0, 0; 235, 0]
Branch {
Points [0, 130]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [20, 0; 0, 10]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Beta"
SrcPort 1
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Scope"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, -5; 10, 0]
Branch {
Points [55, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -10; 50, 0; 0, -60]
DstBlock "Product"
DstPort 3
}
}
Branch {
Points [0, 140]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Product3"
DstPort 3
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [235, 0; 0, 20; 115, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Fcn5"
SrcPort 1
Points [350, 0]
DstBlock "Product3"
DstPort 4
}
Line {
SrcBlock "Fcn6"
SrcPort 1
Points [320, 0; 0, -165]
DstBlock "Product"
DstPort 4
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [0, -5]
DstBlock "Te"
DstPort 1
}
}
}
Line {
SrcBlock "Wind Turbine generator"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Wind Turbine generator"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Wind Turbine generator"
DstPort 2
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 0; 0, -70]
DstBlock "0.5*pi"
DstPort 1
}
Branch {
Points [45, 0]
Branch {
Points [0, -35]
DstBlock "Wind Turbine generator"
DstPort 4
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
}
Line {
SrcBlock "Constant4"
SrcPort 1
DstBlock "Wind Turbine generator"
DstPort 5
}
Line {
SrcBlock "Wind Turbine generator"
SrcPort 2
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Ramp"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "0.5*pi"
SrcPort 1
DstBlock "Wind Turbine generator"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -