📄 mada_bo_samir.mdl
字号:
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "park1"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "park1"
SrcPort 2
DstBlock "Mux"
DstPort 10
}
Line {
SrcBlock "park2"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "park2"
SrcPort 2
Points [5, 0; 0, 15]
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Subsystem4"
SrcPort 1
DstBlock "Ias"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 2
DstBlock "Ibs"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 3
DstBlock "Ics"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Iar"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
DstBlock "Ibr"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 3
DstBlock "Icr"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 10]
DstBlock "Mux"
DstPort 12
}
Line {
SrcBlock "Vas"
SrcPort 1
DstBlock "park2"
DstPort 1
}
Line {
SrcBlock "Vbs"
SrcPort 1
DstBlock "park2"
DstPort 2
}
Line {
SrcBlock "Vcs"
SrcPort 1
DstBlock "park2"
DstPort 3
}
Line {
SrcBlock "Var"
SrcPort 1
DstBlock "park1"
DstPort 1
}
Line {
SrcBlock "Vbr"
SrcPort 1
DstBlock "park1"
DstPort 2
}
Line {
SrcBlock "Vcr"
SrcPort 1
DstBlock "park1"
DstPort 3
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [220, 402, 225, 488]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [875, 449, 880, 536]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "R閒閞ence4"
Ports [0, 3]
Position [185, 295, 250, 375]
DropShadow on
NamePlacement "alternate"
ShowName off
FontAngle "italic"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "vds|f"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "vds=@1;f=@2;"
MaskDisplay "disp('source stator')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "220|50"
MaskTabNameString ","
System {
Name "R閒閞ence4"
Location [-2, 82, 634, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Sin
Name "Sine Wave6"
Ports [0, 1]
Position [165, 110, 195, 140]
ShowName off
SineType "Time based"
Amplitude "vds"
Frequency "2*pi*f"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave7"
Ports [0, 1]
Position [165, 175, 195, 205]
ShowName off
SineType "Time based"
Amplitude "vds"
Frequency "2*f*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave8"
Ports [0, 1]
Position [160, 245, 190, 275]
ShowName off
SineType "Time based"
Amplitude "vds"
Frequency "2*f*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [295, 118, 325, 132]
BackgroundColor "red"
ShowName off
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [295, 183, 325, 197]
BackgroundColor "red"
ShowName off
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [295, 253, 325, 267]
BackgroundColor "red"
ShowName off
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sine Wave8"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "Sine Wave7"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Sine Wave6"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Step
Name "Step"
Position [330, 230, 360, 260]
DropShadow on
After "0"
SampleTime "0"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [900, 378, 930, 402]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "wr"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [613, 60, 637, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ias1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [508, 60, 532, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ias"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [710, 543, 740, 567]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "cem"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace5"
Position [295, 603, 325, 627]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace6"
Position [543, 60, 567, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ibs"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace7"
Position [578, 60, 602, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ics"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace8"
Position [648, 60, 672, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ibs1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace9"
Position [683, 60, 707, 90]
Orientation "up"
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "ics1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [740, 490, 785, 530]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
Denominator "[0.06 1]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [275, 440, 305, 470]
DelayTime "0.5"
}
Block {
BlockType Scope
Name "Wr"
Ports [1]
Position [955, 419, 985, 451]
DropShadow on
Location [5, 54, 1029, 737]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "145.5"
YMax "155.5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "ir"
Ports [3]
Position [600, 338, 670, 422]
DropShadow on
Location [5, 54, 1029, 737]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-20~-17.5~-17.5"
YMax "15~17.5~20"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "is"
Ports [3]
Position [600, 203, 670, 287]
DropShadow on
Location [5, 54, 1029, 737]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-20~-22.5~-20"
YMax "22.5~20~22.5"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [395, 595, 491, 636]
DropShadow on
ShowName off
Priority "2"
FontSize 11
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
ShowPortLabels on
Frange "[0:2:500]"
Ylog off
Xlog on
save off
variable "ZData"
structure "wm1"
ZoomFFT off
StartTime "0.0"
cycles "3"
DisplayStyle "3"
fundamental "50"
FreqAxis on
MaxFrequency "1050"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
methode off
frequency "60"
echomessages off
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace5"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "MADA"
DstPort 1
}
Line {
SrcBlock "MADA"
SrcPort 8
Points [25, 0]
Branch {
DstBlock "Cem"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "To Workspace4"
DstPort 1
}
}
Line {
SrcBlock "MADA"
SrcPor
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -