📄 three_phase_motor_speed.mdl
字号:
Ports [1, 1]
Position [105, 185, 150, 215]
ShowName off
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "0"
F "60"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "AC Voltage Source1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [105, 220, 150, 250]
ShowName off
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "-120"
F "60"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "AC Voltage Source2"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [105, 255, 150, 285]
ShowName off
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "120"
F "60"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Asynchronous Machine\nSI Units"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [270, 207, 340, 283]
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Rotor"
x1 "[ 3*746, 220, 60 ]"
x2 "[ 0.435 2.0e-3 ]"
x3 "[ 0.816 2.0e-3 ]"
x4 "69.31e-3"
x5 "[ 0.089 0 2 ]"
x6 "[ 1,0 0,0,0 0,0,0 ]"
PSBOutputType "1110"
iounits "1"
LoadFlowParameters "0"
}
Block {
BlockType Reference
Name "Bus Bar (vert)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 3]
Position [70, 179, 75, 291]
BackgroundColor "black"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (vert)"
SourceType "Bus Bar"
entrees "0"
sorties "3"
PSBOutputType "11111111111111111111111111111111111111111111111"
"111111111111111111111111111111111111111111"
}
Block {
BlockType Constant
Name "Constant"
Position [180, 290, 210, 320]
ShowName off
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux1"
Ports [1, 5]
Position [365, 182, 410, 308]
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 on
sm3 on
sm4 on
sm5 on
sm6 on
sm7 on
sm8 on
sm9 on
sm10 on
sm11 on
sm115 off
sm12 off
sm13 off
sm14 off
asm1 on
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 on
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "3"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [455, 114, 485, 146]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [455, 188, 485, 212]
ShowName off
InputPortWidth "3"
Port {
PortNumber 1
Name "ir_a (A)"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [455, 218, 485, 242]
ShowName off
InputPortWidth "3"
Port {
PortNumber 1
Name "is_a (A)"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "U1"
Ports [1]
Position [320, 140, 350, 170]
BackgroundColor "green"
Location [574, 417, 950, 736]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "-200"
YMax "1800"
DataFormat "Structure"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [250, 138, 280, 167]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Scope
Name "ir,is (A)"
Ports [4]
Position [540, 216, 570, 279]
BackgroundColor "green"
NamePlacement "alternate"
Location [78, 274, 457, 727]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "ir (A)"
axes2 "is (A)"
axes3 "N(rpm)"
axes4 "Te(N.m)"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-90~-90~-5~-5"
YMax "90~90~5~5"
SaveName "ScopeData3"
DataFormat "Structure"
LimitDataPoints off
}
Block {
BlockType Gain
Name "rpm"
Position [455, 248, 485, 272]
Gain "30/pi"
}
Line {
SrcBlock "AC Voltage Source"
SrcPort 1
Points [15, 0; 20, 0]
Branch {
Points [0, -55]
DstBlock "Voltage Measurement"
DstPort 1
}
Branch {
Points [20, 0; 0, 15]
DstBlock "Asynchronous Machine\nSI Units"
DstPort 1
}
}
Line {
SrcBlock "AC Voltage Source1"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -75]
DstBlock "Voltage Measurement"
DstPort 2
}
Branch {
DstBlock "Asynchronous Machine\nSI Units"
DstPort 2
}
}
Line {
SrcBlock "Bus Bar (vert)"
SrcPort 1
DstBlock "AC Voltage Source"
DstPort 1
}
Line {
SrcBlock "Bus Bar (vert)"
SrcPort 2
DstBlock "AC Voltage Source1"
DstPort 1
}
Line {
SrcBlock "Bus Bar (vert)"
SrcPort 3
DstBlock "AC Voltage Source2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Asynchronous Machine\nSI Units"
DstPort 4
}
Line {
SrcBlock "Asynchronous Machine\nSI Units"
SrcPort 1
DstBlock "Machines\nMeasurement\nDemux1"
DstPort 1
}
Line {
SrcBlock "Machines\nMeasurement\nDemux1"
SrcPort 1
Points [0, 5]
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Machines\nMeasurement\nDemux1"
SrcPort 4
Points [0, -10]
DstBlock "rpm"
DstPort 1
}
Line {
SrcBlock "Machines\nMeasurement\nDemux1"
SrcPort 5
Points [0, -25]
DstBlock "ir,is (A)"
DstPort 4
}
Line {
SrcBlock "Machines\nMeasurement\nDemux1"
SrcPort 2
Points [0, 10]
DstBlock "Selector1"
DstPort 1
}
Line {
Name "ir_a (A)"
Labels [0, 0]
SrcBlock "Selector"
SrcPort 1
Points [35, 0]
DstBlock "ir,is (A)"
DstPort 1
}
Line {
Name "is_a (A)"
Labels [0, 0]
SrcBlock "Selector1"
SrcPort 1
Points [35, 0]
DstBlock "ir,is (A)"
DstPort 2
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "U1"
DstPort 1
}
Line {
SrcBlock "AC Voltage Source2"
SrcPort 1
Points [55, 0; 0, -15]
DstBlock "Asynchronous Machine\nSI Units"
DstPort 3
}
Line {
SrcBlock "rpm"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "ir,is (A)"
DstPort 3
}
Line {
SrcBlock "Machines\nMeasurement\nDemux1"
SrcPort 3
Points [20, 0; 0, -115]
DstBlock "Scope"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -