📄 lecture.mdl
字号:
FontSize 10
Decimation "1"
}
Block {
BlockType Gain
Name "Gain1"
Position [510, 102, 555, 138]
Gain "1/600"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [670, 16, 675, 74]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Power"
Ports [0, 3]
Position [135, 17, 165, 83]
TreatAsAtomicUnit off
System {
Name "Power"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "351"
Block {
BlockType Reference
Name "LA"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [25, 65, 55, 105]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
SourceType "AC Voltage Source"
A "326.6"
P "0"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "LB"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [80, 65, 110, 105]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
SourceType "AC Voltage Source"
A "326.6"
P "-120"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "LC"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [135, 65, 165, 105]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
SourceType "AC Voltage Source"
A "326.6"
P "120"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "N(output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [70, 140, 120, 180]
Orientation "up"
SourceBlock "powerlib2/Connectors/Neutral (output)"
SourceType "Neutral"
no "99"
PSBOutputType "1"
}
Block {
BlockType Outport
Name "A"
Position [25, 25, 55, 40]
Orientation "up"
}
Block {
BlockType Outport
Name "B"
Position [80, 25, 110, 40]
Orientation "up"
Port "2"
}
Block {
BlockType Outport
Name "C"
Position [135, 25, 165, 40]
Orientation "up"
Port "3"
}
Line {
SrcBlock "N(output)"
SrcPort 1
Points [0, 0; 0, -5]
Branch {
Points [55, 0]
DstBlock "LC"
DstPort 1
}
Branch {
Points [-55, 0]
DstBlock "LA"
DstPort 1
}
Branch {
DstBlock "LB"
DstPort 1
}
}
Line {
SrcBlock "LB"
SrcPort 1
DstBlock "B"
DstPort 1
}
Line {
SrcBlock "LC"
SrcPort 1
DstBlock "C"
DstPort 1
}
Line {
SrcBlock "LA"
SrcPort 1
DstBlock "A"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Regulator"
Ports [2, 1]
Position [45, 110, 110, 170]
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Regulator"
Location [2, 70, 1022, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "180"
Block {
BlockType Inport
Name "Ug"
Position [20, 193, 50, 207]
}
Block {
BlockType Inport
Name "If"
Position [20, 248, 50, 262]
Port "2"
}
Block {
BlockType SubSystem
Name "AVR"
Ports [2, 1]
Position [180, 117, 245, 173]
TreatAsAtomicUnit off
System {
Name "AVR"
Location [401, 114, 912, 390]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "174"
Block {
BlockType Inport
Name "Ur"
Position [70, 97, 100, 113]
}
Block {
BlockType Inport
Name "Ug"
Position [70, 147, 100, 163]
Port "2"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [400, 204, 480, 236]
Decimation "1"
}
Block {
BlockType Gain
Name "Gain"
Position [190, 90, 220, 120]
Gain "1.2"
}
Block {
BlockType Gain
Name "Gain1"
Position [275, 40, 320, 70]
Gain "20"
}
Block {
BlockType SubSystem
Name "Limit"
Ports [1, 1]
Position [420, 81, 480, 119]
TreatAsAtomicUnit off
System {
Name "Limit"
Location [2, 70, 1022, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "382"
Block {
BlockType Inport
Name "I"
Position [35, 78, 65, 92]
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 25, 55, 55]
Value "6"
}
Block {
BlockType Constant
Name "Constant3"
Position [100, 120, 130, 150]
Value "-0.1"
}
Block {
BlockType MinMax
Name "MinMax2"
Ports [2, 1]
Position [100, 62, 130, 93]
Function "min"
Inputs "2"
}
Block {
BlockType MinMax
Name "MinMax3"
Ports [2, 1]
Position [170, 72, 200, 103]
Function "max"
Inputs "2"
}
Block {
BlockType Outport
Name "O"
Position [225, 83, 255, 97]
}
Line {
SrcBlock "MinMax2"
SrcPort 1
DstBlock "MinMax3"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [10, 0; 0, 30]
DstBlock "MinMax2"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [15, 0; 0, -40]
DstBlock "MinMax3"
DstPort 2
}
Line {
SrcBlock "I"
SrcPort 1
DstBlock "MinMax2"
DstPort 2
}
Line {
SrcBlock "MinMax3"
SrcPort 1
DstBlock "O"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Non Linear\nIntegrator"
Ports [1, 1]
Position [270, 125, 310, 165]
TreatAsAtomicUnit off
System {
Name "Non Linear\nIntegrator"
Location [122, 420, 605, 629]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I"
Position [25, 25, 55, 40]
Orientation "down"
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 138, 140, 172]
Expr "800*u*u*u+u"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [75, 44, 140, 76]
Expr "10*u+u"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [75, 89, 140, 121]
Expr "u*u*800"
}
Block {
BlockType Gain
Name "Gain1"
Position [250, 91, 285, 119]
Gain "0"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [325, 90, 355, 120]
LimitOutput on
UpperSaturationLimit "6"
LowerSaturationLimit "-0.1"
}
Block {
BlockType Switch
Name "Switch"
Position [190, 90, 220, 120]
Threshold "10"
}
Block {
BlockType Outport
Name "O"
Position [395, 98, 425, 112]
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0; 0, 35]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [15, 0; 0, -40]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "I"
SrcPort 1
Points [0, 0; 0, 15]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Fcn"
DstPort 1
}
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "O"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [545, 34, 575, 66]
Location [146, 236, 841, 551]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-2.5"
YMax "25"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [130, 90, 160, 120]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [335, 85, 365, 115]
ShowName off
IconShape "round"
Inputs "+|+"
}
Block {
BlockType Outport
Name "Out1"
Position [545, 93, 575, 107]
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -50]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Non Linear\nIntegrator"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [25, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Limit"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -50]
DstBlock "Scope4"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -