📄 satreactor.mdl
字号:
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "112"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "1/Lm"
Position [225, 55, 255, 85]
Gain "1/2"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [140, 100, 170, 130]
ShowName off
Port {
PortNumber 1
Name "f"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType DeadZone
Name "Inverse sat"
Position [195, 100, 225, 130]
LowerValue "-.25"
UpperValue ".25"
}
Block {
BlockType Gain
Name "K"
Position [255, 100, 285, 130]
Gain "1e4"
}
Block {
BlockType Gain
Name "R"
Position [175, 160, 205, 190]
Orientation "left"
Gain "30"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [30, 100, 60, 130]
SineType "Time based"
Amplitude "120*sqrt(2)"
Frequency "2*pi*60"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [90, 105, 110, 125]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [245, 165, 265, 185]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [300, 60, 320, 80]
ShowName off
IconShape "round"
Inputs "|++"
Port {
PortNumber 1
Name "im"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "f-i curve"
Ports [2]
Position [360, 16, 390, 49]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
xmin "-0.5"
xmax "0.5"
ymin "-0.3"
ymax "0.3"
st "-1"
}
Block {
BlockType Constant
Name "ic"
Position [243, 205, 267, 230]
Orientation "up"
Value "0"
}
Block {
BlockType Scope
Name "lambda"
Ports [1]
Position [125, 24, 155, 56]
Orientation "left"
Location [557, 132, 1124, 406]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.05"
YMin "-0.4"
YMax "0.3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "vR"
Ports [1]
Position [30, 158, 60, 192]
Orientation "left"
Location [556, 471, 1126, 782]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.05"
YMin "-200"
YMax "200"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "vin"
Ports [1]
Position [30, 24, 60, 56]
Orientation "left"
Location [89, 129, 551, 404]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.05"
YMin "-200"
YMax "200"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Inverse sat"
SrcPort 1
DstBlock "K"
DstPort 1
}
Line {
Name "f"
SrcBlock "Integrator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Inverse sat"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, -45]
Branch {
DstBlock "1/Lm"
DstPort 1
}
Branch {
Points [0, -30]
Branch {
DstBlock "f-i curve"
DstPort 2
}
Branch {
DstBlock "lambda"
DstPort 1
}
}
}
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "R"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "R"
SrcPort 1
Points [-70, 0]
Branch {
Points [0, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "vR"
DstPort 1
}
}
Line {
SrcBlock "1/Lm"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "K"
SrcPort 1
Points [20, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "vin"
DstPort 1
}
}
Line {
Name "im"
Labels [1, 0]
SrcBlock "Sum2"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -45]
DstBlock "f-i curve"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Sum1"
DstPort 1
}
}
Annotation {
Name "SATURABLE REACTOR"
Position [105, 229]
ForegroundColor "white"
BackgroundColor "blue"
FontSize 12
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -