📄 test_1.mdl
字号:
Name "Scope9"
Ports [1]
Position [355, 109, 385, 141]
Floating off
Location [225, 351, 549, 590]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData11"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine 100Hz"
Position [125, 70, 155, 100]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*100"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 100Hz1"
Position [115, 265, 145, 295]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*100"
Phase "-2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 100Hz2"
Position [105, 465, 135, 495]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*100"
Phase "02/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 150Hz"
Position [125, 115, 155, 145]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*150"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 150Hz1"
Position [115, 315, 145, 345]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*150"
Phase "-2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 150Hz2"
Position [105, 510, 135, 540]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*150"
Phase "2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 200Hz"
Position [120, 165, 150, 195]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*200"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 200Hz1"
Position [110, 370, 140, 400]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*200"
Phase "2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 200Hz2"
Position [110, 560, 140, 590]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*200"
Phase "-2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hza"
Position [125, 20, 155, 50]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hza1"
Position [740, 415, 770, 445]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hzb"
Position [120, 215, 150, 245]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "-2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hzb1"
Position [745, 465, 775, 495]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "-2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hzc"
Position [110, 420, 140, 450]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine 50hzc1"
Position [750, 540, 780, 570]
SineType "Time-based"
Amplitude "2"
Bias "0"
Frequency "2*pi*50"
Phase "2/3*pi"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [270, 16, 295, 119]
ShowName off
IconShape "rectangular"
Inputs "++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [4, 1]
Position [285, 211, 310, 314]
ShowName off
IconShape "rectangular"
Inputs "++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [4, 1]
Position [280, 401, 305, 504]
ShowName off
IconShape "rectangular"
Inputs "++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [500, 60, 540, 100]
ShowName off
IconShape "round"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum4"
Ports [4, 1]
Position [1005, 361, 1030, 464]
ShowName off
IconShape "rectangular"
Inputs "++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "compensate_current\ndq_method\n\n"
Ports [3, 3]
Position [515, 195, 555, 255]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "compensate_current\ndq_method\n\n"
Location [2, 74, 1014, 723]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "150"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "In2"
Position [25, 58, 55, 72]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "In3"
Position [25, 78, 55, 92]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [360, 124, 390, 156]
Floating off
Location [653, 378, 977, 617]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [175, 119, 205, 151]
Floating off
Location [272, 362, 596, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [275, 249, 305, 281]
Floating off
Location [30, 501, 354, 740]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData13"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [190, 28, 290, 72]
Numerator "[1 0 0]"
Denominator "[1 44.4 987.65]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType SubSystem
Name "converter23"
Ports [2, 3]
Position [460, 35, 500, 95]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "converter23"
Location [87, 74, 847, 740]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "xd"
Position [25, 28, 55, 42]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "xq"
Position [25, 113, 55, 127]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [360, 26, 405, 59]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [360, 111, 405, 144]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [385, 211, 430, 244]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [395, 331, 440, 364]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -