📄 trsf1.mdl
字号:
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name " ckt"
Location [112, 524, 437, 655]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "This demo simulates the running of an induc"
"tion motor in\nsteady-state when a sudden input change is effected:\na)torque"
" step changes at constant voltage excitation \nb) voltage input sag at consta"
"nt frequency and load torque\nc)simultaneous step changes in voltage magnitu"
"de and frequency"
Position [161, 39]
FontName "Arial"
FontSize 11
}
Annotation {
Name " Double click the <DATAr> block to enter th"
"e machine\nparameters and initial conditions and then run the simulation"
Position [155, 104]
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType Gain
Name "1/Rc"
Position [325, 95, 365, 125]
Gain "1/40"
Port {
PortNumber 1
Name "ic"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Derivative
Name "Derivative"
Position [200, 175, 230, 205]
Orientation "left"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [250, 50, 280, 80]
Port {
PortNumber 1
Name "lambda"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Le/wo"
Position [290, 173, 350, 207]
Orientation "left"
Gain "0.02/377"
}
Block {
BlockType Gain
Name "Re"
Position [215, 124, 265, 156]
Orientation "left"
Gain "0.05"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [475, 41, 505, 74]
Location [580, 135, 1129, 788]
Open on
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.1"
YMin "-1.25~-0.07"
YMax "1.25~0.11"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [40, 40, 70, 70]
SineType "Time based"
Amplitude "1.0"
Frequency "2*pi*50"
SampleTime "0"
Port {
PortNumber 1
Name "vin"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [115, 55, 135, 75]
ShowName off
IconShape "round"
Inputs "|+--"
Port {
PortNumber 1
Name "em"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [415, 55, 435, 75]
ShowName off
IconShape "round"
Inputs "|++"
Port {
PortNumber 1
Name "ie"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "mag curve"
Ports [2]
Position [480, 131, 510, 164]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
xmin "-2"
xmax "2"
ymin "-2"
ymax "2"
st "-1"
}
Block {
BlockType Fcn
Name "magcurve"
Position [325, 50, 395, 80]
NamePlacement "alternate"
Expr "0.0125*(u+u^9)"
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 Gain
Name "wo"
Position [180, 50, 220, 80]
Gain "377"
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Re"
SrcPort 1
Points [-85, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "vin"
Labels [0, 0]
SrcBlock "Sine Wave"
SrcPort 1
Points [29, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
Name "lambda"
Labels [0, 0]
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "magcurve"
DstPort 1
}
Branch {
Points [0, -40; 145, 0]
Branch {
Points [0, 25]
DstBlock "Scope"
DstPort 1
}
Branch {
Points [90, 0; 0, 165; -75, 0; 0, -35]
DstBlock "mag curve"
DstPort 2
}
}
}
Line {
Name "em"
Labels [1, 0]
SrcBlock "Sum2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "wo"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "1/Rc"
DstPort 1
}
}
Line {
Name "ic"
Labels [1, 0]
SrcBlock "1/Rc"
SrcPort 1
Points [55, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
Name "im"
Labels [0, 0]
SrcBlock "magcurve"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
Name "ie"
SrcBlock "Sum3"
SrcPort 1
Points [0, 0]
Branch {
Labels [1, 0]
DstBlock "Scope"
DstPort 2
}
Branch {
Points [0, 75]
Branch {
DstBlock "mag curve"
DstPort 1
}
Branch {
Points [0, 0]
Branch {
Points [0, 50]
DstBlock "Le/wo"
DstPort 1
}
Branch {
DstBlock "Re"
DstPort 1
}
}
}
}
Line {
SrcBlock "Derivative"
SrcPort 1
Points [-91, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Le/wo"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Annotation {
Name "TRANSFORMER INRUSH CURRENT"
Position [274, 247]
ForegroundColor "white"
BackgroundColor "blue"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -