📄 simulation.mdl
字号:
Points [10, 0]
Branch {
Points [0, 100]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [10, 0; 0, -50]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "vds"
SrcPort 1
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
Points [20, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, -15; 25, 0]
Branch {
Points [35, 0]
Branch {
Points [75, 0; 0, -15]
DstBlock "fsd"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Mux"
DstPort 1
}
}
Branch {
Points [0, 220]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "iqs"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 125]
DstBlock "Product"
DstPort 2
}
Branch {
Points [5, 0; 0, -25]
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "vqs"
SrcPort 1
Points [45, 0; 0, 35]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, -5; 80, 0]
Branch {
Points [0, -35]
DstBlock "fsq"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "Product1"
DstPort 1
}
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [30, 0; 0, -35]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [30, 0; 0, 15]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
Points [0, 5]
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "cem1"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "fdr"
Ports [1]
Position [895, 109, 925, 141]
Location [217, 355, 541, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1"
YMax "1"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "fds_fqs"
Ports [1]
Position [445, 499, 475, 531]
Orientation "left"
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1.25"
YMax "2"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "fqr"
Ports [1]
Position [905, 159, 935, 191]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-43.855"
YMax "-39.6784"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "ias"
Ports [1]
Position [890, 259, 920, 291]
Location [157, 293, 481, 532]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-15.2"
YMax "-13.7"
SaveName "ScopeData20"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "ids"
Ports [1]
Position [875, 14, 905, 46]
Location [285, 252, 609, 491]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData21"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "interepteur"
Ports [3, 3]
Position [530, 85, 580, 285]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "interepteur"
Location [2, 89, 950, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [25, 43, 55, 57]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [25, 53, 55, 67]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [225, 26, 230, 64]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [80, 31, 85, 69]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [140, 35, 200, 65]
FunctionName "INT"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [310, 114, 340, 146]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1"
YMax "1"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [370, 174, 400, 206]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1"
YMax "1"
SaveName "ScopeData18"
DataFormat "StructureWithTime"
}
Block {
BlockType Outport
Name "Out1"
Position [265, 18, 295, 32]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [320, 38, 350, 52]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [255, 68, 285, 82]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [-5, 0; 0, -5]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
Branch {
DstBlock "Out2"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [5, 0]
Branch {
DstBlock "Out3"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType Scope
Name "iqs"
Ports [1]
Position [890, 59, 920, 91]
Location [217, 355, 541, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1"
YMax "1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "mas"
Ports [3, 10]
Position [745, 33, 805, 372]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "mas"
Location [2, 82, 1014, 718]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "va"
Position [15, 28, 45, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vb"
Position [15, 58, 45, 72]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vc"
Position [15, 98, 45, 112]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant3"
Position [135, 201, 180, 219]
ShowName off
FontName "Times New Roman"
FontSize 12
Value "100*pi"
}
Block {
BlockType Step
Name "Cr"
Position [160, 149, 180, 171]
FontName "Times New Roman"
FontSize 12
After "10"
SampleTime "1"
}
Block {
BlockType SubSystem
Name "MAS"
Ports [4, 8]
Position [225, 34, 275, 231]
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "MAS"
Location [6, 82, 794, 564]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vds"
Position [120, 133, 150, 147]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vqs"
Position [120, 173, 150, 187]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Cr"
Position [120, 213, 150, 227]
Port "3"
IconDisplay "Port number"
LatchInput off
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -