📄 simulation.mdl
字号:
Points [15, 0]
DstBlock "park"
DstPort 2
}
Line {
SrcBlock "vc"
SrcPort 1
Points [0, -10]
DstBlock "park"
DstPort 3
}
Line {
SrcBlock "MAS"
SrcPort 1
Points [55, 0; 0, -15]
DstBlock "ids1"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 2
Points [55, 0; 0, -5]
DstBlock "iqs2"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 3
Points [65, 0; 0, -5]
DstBlock "fdr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 4
DstBlock "fqr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 5
Points [60, 0; 0, 15]
DstBlock "wr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 6
Points [60, 0; 0, 20]
DstBlock "ce"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 7
Points [50, 0; 0, 25]
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 8
Points [0, 10]
Branch {
Points [0, 25; -215, 0]
DstBlock "park"
DstPort 4
}
Branch {
Points [0, 25]
DstBlock "theta_s"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "modul_fs"
Ports [1]
Position [440, 334, 470, 366]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1.11172"
YMax "-1.00584"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "onduleur"
Ports [3, 3]
Position [650, 84, 710, 316]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "onduleur"
Location [2, 82, 950, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "sa"
Position [85, 143, 115, 157]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sb"
Position [85, 178, 115, 192]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sc"
Position [85, 208, 115, 222]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant"
Position [90, 235, 120, 265]
Value "330"
SampleTime "-1"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [535, 150, 540, 250]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [470, 185, 500, 215]
Gain "[2/3 -1/3 -1/3;-1/3 2/3 -1/3;-1/3 -1/3 2/3]"
" "
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [435, 120, 440, 280]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [765, 210, 770, 370]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [280, 127, 310, 158]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [280, 172, 310, 203]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [280, 217, 310, 248]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Relay
Name "Relay"
Position [180, 125, 210, 155]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay1"
Position [180, 170, 210, 200]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay2"
Position [175, 215, 205, 245]
OffOutputValue "-1"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [845, 259, 875, 291]
Location [183, 355, 507, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-600"
YMax "150"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [3]
Position [840, 179, 870, 211]
Location [226, 424, 550, 663]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-1~-1~-1"
YMax "1~1~1"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
}
Block {
BlockType Outport
Name "va"
Position [660, 263, 690, 277]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vb"
Position [650, 128, 680, 142]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vc\n"
Position [665, 193, 695, 207]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 10; 135, 0]
Branch {
Points [0, -60]
Branch {
Points [0, -50]
DstBlock "Product"
DstPort 2
}
Branch {
Points [5, 0]
DstBlock "Product1"
DstPort 2
}
}
Branch {
Points [0, 10; 5, 0]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [55, 0; 0, 10]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [50, 0; 0, 20]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [45, 0; 0, -30; 45, 0]
Branch {
DstBlock "vb"
DstPort 1
}
Branch {
Points [0, 50; 105, 0]
Branch {
DstBlock "Scope6"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Mux2"
DstPort 1
}
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [90, 0]
Branch {
DstBlock "vc\n"
DstPort 1
}
Branch {
Points [0, -5; 85, 0]
Branch {
DstBlock "Scope6"
DstPort 2
}
Branch {
Points [0, 95]
DstBlock "Mux2"
DstPort 2
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [25, 0; 0, -15]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [50, 0; 0, 35; 20, 0]
Branch {
Points [10, 0]
Branch {
DstBlock "va"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Mux2"
DstPort 3
}
}
Branch {
Points [0, -65]
DstBlock "Scope6"
DstPort 3
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [30, 0; 0, -5]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [55, 0]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "sa"
SrcPort 1
Points [45, 0]
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "sb"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "sc"
SrcPort 1
Points [0, 15]
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [0, -5]
DstBlock "Product"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "vds"
Ports [1]
Position [905, 469, 935, 501]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "8.41538"
YMax "9.3012"
SaveName "ScopeData31"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "vqs"
Ports [1]
Position [900, 414, 930, 446]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-800"
YMax "800"
SaveName "ScopeData32"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "wr"
Ports [1]
Position [885, 209, 915, 241]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-175"
YMax "100"
SaveName "ScopeData28"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace3"
DstPort 1
}
Line {
SrcBlock "CEM"
SrcPort 1
Points [40, 0; 0, -20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [75, 0; 0, -25]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "interepteur"
SrcPort 1
Points [0, -10; 30, 0]
Branch {
Points [20, 0]
DstBlock "onduleur"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "interepteur"
SrcP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -