📄 foc.mdl
字号:
BlockType Inport
Name "In2"
Position [15, 103, 45, 117]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [15, 153, 45, 167]
Port "3"
Port {
PortNumber 1
Name "Fra1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "In4"
Position [15, 208, 45, 222]
Port "4"
Port {
PortNumber 1
Name "isb1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "In5"
Position [20, 258, 50, 272]
Port "5"
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Gain"
Position [250, 110, 280, 140]
Gain "p*Lm/Lr"
}
Block {
BlockType Gain
Name "Gain1"
Position [485, 115, 515, 145]
Gain "p/J"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [405, 115, 435, 145]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [580, 185, 610, 215]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [100, 51, 145, 84]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [95, 161, 140, 194]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [185, 110, 210, 150]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [335, 110, 360, 150]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Te"
Position [720, 43, 750, 57]
}
Block {
BlockType Outport
Name "w"
Position [715, 123, 745, 137]
Port "2"
}
Block {
BlockType Outport
Name "pos"
Position [715, 193, 745, 207]
Port "3"
}
Line {
Name "Frb"
Labels [0, 0]
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Product"
DstPort 2
}
Line {
Name "Fra1"
Labels [0, 0]
SrcBlock "In3"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Product1"
DstPort 1
}
Line {
Name "isb1"
Labels [0, 0]
SrcBlock "In4"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, 60]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 5]
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Te"
DstPort 1
}
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "In5"
SrcPort 1
Points [265, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "w"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Integrator1"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "pos"
DstPort 1
}
Annotation {
Name "isa1"
Position [63, 111]
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [2, 3]
Position [440, 34, 540, 76]
TreatAsAtomicUnit off
System {
Name "Subsystem2"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Id"
Position [15, 73, 45, 87]
}
Block {
BlockType Inport
Name "Iq"
Position [15, 178, 45, 192]
Port "2"
}
Block {
BlockType Gain
Name "Gain"
Position [125, 20, 155, 50]
Gain "sqrt(2/3)"
}
Block {
BlockType Gain
Name "Gain1"
Position [125, 70, 155, 100]
Gain "-sqrt(2/3)/2"
}
Block {
BlockType Gain
Name "Gain2"
Position [125, 115, 155, 145]
Gain "sqrt(2)/2"
}
Block {
BlockType Gain
Name "Gain3"
Position [130, 180, 160, 210]
Gain "-sqrt(2/3)/2"
}
Block {
BlockType Gain
Name "Gain4"
Position [135, 230, 165, 260]
Gain "-sqrt(2)/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [195, 74, 215, 136]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [205, 169, 225, 231]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Ia"
Position [410, 43, 440, 57]
}
Block {
BlockType Outport
Name "Ib"
Position [420, 108, 450, 122]
Port "2"
}
Block {
BlockType Outport
Name "Ic"
Position [430, 178, 460, 192]
Port "3"
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [90, 0; 0, -15]
DstBlock "Ic"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [90, 0; 0, 10]
DstBlock "Ib"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [10, 0; 0, -5]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Iq"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 60]
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [115, 0; 0, 15]
DstBlock "Ia"
DstPort 1
}
Line {
SrcBlock "Id"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 115]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [15, 0]
Branch {
Points [0, 5]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [20, 0; 0, -45]
DstBlock "Gain"
DstPort 1
}
}
}
}
}
Block {
BlockType SubSystem
Name "abctoab"
Ports [3, 2]
Position [80, 34, 180, 76]
TreatAsAtomicUnit off
System {
Name "abctoab"
Location [436, 262, 934, 562]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ua"
Position [15, 53, 45, 67]
}
Block {
BlockType Inport
Name "Ub"
Position [15, 133, 45, 147]
Port "2"
}
Block {
BlockType Inport
Name "Uc"
Position [25, 213, 55, 227]
Port "3"
}
Block {
BlockType Gain
Name "Gain"
Position [175, 15, 205, 45]
Gain "sqrt(2/3)"
}
Block {
BlockType Gain
Name "Gain1"
Position [175, 65, 205, 95]
Gain "sqrt(2/3)/2"
}
Block {
BlockType Gain
Name "Gain2"
Position [175, 115, 205, 145]
Gain "sqrt(2/3)/2"
}
Block {
BlockType Gain
Name "Gain3"
Position [195, 195, 225, 225]
Gain "sqrt(2)/2"
}
Block {
BlockType Gain
Name "Gain4"
Position [190, 245, 220, 275]
Gain "sqrt(2)/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [295, 13, 310, 127]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [295, 161, 310, 279]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Ud"
Position [380, 63, 410, 77]
}
Block {
BlockType Outport
Name "Uq"
Position [385, 178, 415, 192]
Port "2"
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [25, 0; 0, -35]
DstBlock "Uq"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [25, 0; 0, 10]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Ud"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [35, 0; 0, -15]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -