📄 simulation.mdl
字号:
}
Branch {
Points [0, 40]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "wr1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 9
Points [150, 0; 0, 40]
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 10
Points [150, 0; 0, 55]
DstBlock "theta_s"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 11
Points [135, 0; 0, 65]
DstBlock "mod_fs"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "park"
Ports [4, 2]
Position [75, 91, 120, 194]
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "park"
Location [316, 252, 546, 415]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "va"
Position [25, 38, 55, 52]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vb"
Position [25, 63, 55, 77]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vc"
Position [25, 88, 55, 102]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theta"
Position [25, 113, 55, 127]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn5"
Position [115, 47, 155, 73]
Expr "sqrt(3/2)*(u(1)*cos(u(4))+u(2)*cos(u(4)"
"-2*pi/3)+u(3)*cos(u(4)+2*pi/3))"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [115, 97, 155, 123]
Expr "sqrt(3/2)*(u(1)*sin(u(4))+u(2)*sin(u(4)"
"-2*pi/3)+u(3)*sin(u(4)+2*pi/3)) "
}
Block {
BlockType Mux
Name "Mux6"
Ports [4, 1]
Position [80, 27, 85, 138]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "vd"
Position [175, 53, 205, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vq"
Position [175, 103, 205, 117]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux6"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Fcn5"
DstPort 1
}
Branch {
DstBlock "Fcn6"
DstPort 1
}
}
Line {
SrcBlock "Fcn6"
SrcPort 1
DstBlock "vq"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "vd"
DstPort 1
}
Line {
SrcBlock "va"
SrcPort 1
DstBlock "Mux6"
DstPort 1
}
Line {
SrcBlock "vb"
SrcPort 1
DstBlock "Mux6"
DstPort 2
}
Line {
SrcBlock "vc"
SrcPort 1
DstBlock "Mux6"
DstPort 3
}
Line {
SrcBlock "theta"
SrcPort 1
DstBlock "Mux6"
DstPort 4
}
}
}
Block {
BlockType Outport
Name "ids1"
Position [315, 58, 345, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iqs2"
Position [320, 108, 350, 122]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "fdr"
Position [320, 148, 350, 162]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "fqr"
Position [320, 193, 350, 207]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "wr"
Position [315, 233, 345, 247]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ce"
Position [320, 273, 350, 287]
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "fsd"
Position [325, 298, 355, 312]
Port "7"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "fsq"
Position [325, 338, 355, 352]
Port "8"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ias"
Position [325, 373, 355, 387]
Port "9"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "theta_s"
Position [315, 413, 345, 427]
Port "10"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "mod_fs"
Position [295, 448, 325, 462]
Port "11"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vds"
Position [210, 48, 240, 62]
Port "12"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vqs"
Position [200, 13, 230, 27]
Port "13"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [10, 0]
DstBlock "MAS"
DstPort 4
}
Line {
SrcBlock "Cr"
SrcPort 1
Points [20, 0]
DstBlock "MAS"
DstPort 3
}
Line {
SrcBlock "va"
SrcPort 1
Points [0, 10]
DstBlock "park"
DstPort 1
}
Line {
SrcBlock "vb"
SrcPort 1
Points [10, 0]
DstBlock "park"
DstPort 2
}
Line {
SrcBlock "vc"
SrcPort 1
Points [0, -10]
DstBlock "park"
DstPort 3
}
Line {
SrcBlock "park"
SrcPort 1
Points [15, 0; 0, 5; 15, 0]
Branch {
DstBlock "MAS"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "vds"
DstPort 1
}
}
Line {
SrcBlock "park"
SrcPort 2
Points [5, 0]
Branch {
Points [10, 0; 0, 45]
DstBlock "MAS"
DstPort 2
}
Branch {
Points [0, -150]
DstBlock "vqs"
DstPort 1
}
}
Line {
SrcBlock "MAS"
SrcPort 10
Points [5, 0; 0, 10]
Branch {
Points [0, 90; -175, 0]
DstBlock "park"
DstPort 4
}
Branch {
Points [0, 30]
DstBlock "theta_s"
DstPort 1
}
}
Line {
SrcBlock "MAS"
SrcPort 1
Points [30, 0; 0, -45]
DstBlock "ids1"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 2
Points [35, 0; 0, -25]
DstBlock "iqs2"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 3
Points [35, 0; 0, -15]
DstBlock "fdr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 4
Points [0, 5; 75, 0]
DstBlock "fqr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 5
Points [0, 5; 35, 0; 0, 5]
DstBlock "wr"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 6
Points [35, 0; 0, 20]
DstBlock "ce"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 7
Points [40, 0; 0, 15]
DstBlock "fsd"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 8
Points [40, 0; 0, 25]
DstBlock "fsq"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 9
Points [30, 0; 0, 30]
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "MAS"
SrcPort 11
Points [50, 0]
DstBlock "mod_fs"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "mod_fs"
Ports [1]
Position [805, 534, 835, 566]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "17"
YMax "28"
SaveName "ScopeData19"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "onduleur"
Ports [3, 3]
Position [530, 94, 590, 326]
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 [90, 123, 120, 137]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sb"
Position [90, 188, 120, 202]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sc"
Position [90, 273, 120, 287]
Port "3"
IconDisplay "Port number"
LatchInput off
}
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"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -