📄 simim_dtc.mdl
字号:
Name "Machines\nMeasurement\nDemux"
Ports [1, 3]
Position [765, 123, 825, 227]
SourceBlock "powerlib/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
ShowPortLabels on
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 off
sm3 off
sm4 off
sm5 off
sm6 off
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 on
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType Memory
Name "Memory"
Position [700, 160, 730, 190]
NamePlacement "alternate"
}
Block {
BlockType Memory
Name "Memory1"
Position [700, 745, 730, 775]
NamePlacement "alternate"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [655, 396, 660, 474]
Orientation "left"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [110, 418, 115, 577]
Orientation "left"
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [1030, 543, 1035, 607]
Orientation "left"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "PID"
Ports [1, 1]
Position [473, 340, 527, 380]
Orientation "down"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "PID"
Location [6, 82, 607, 556]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [115, 273, 145, 287]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [275, 340, 305, 370]
InitialCondition "0.000001"
IgnoreLimit off
}
Block {
BlockType Gain
Name "K/Ti"
Position [215, 340, 245, 370]
Gain "0.06"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Kp"
Position [215, 235, 245, 265]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [425, 245, 455, 275]
UpperLimit "1.5"
LowerLimit "-1.5"
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [360, 242, 390, 273]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "out"
Position [500, 253, 530, 267]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "out"
DstPort 1
}
Line {
SrcBlock "K/Ti"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0; 0, -90]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Kp"
SrcPort 1
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "in"
SrcPort 1
Points [25, 0; 0, -5]
Branch {
Points [0, -25]
DstBlock "Kp"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "K/Ti"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Psy_estimator"
Ports [4, 1]
Position [720, 403, 805, 512]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Psy_estimator"
Location [2, 82, 1270, 977]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I_al"
Position [195, 308, 225, 322]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "I_be"
Position [195, 353, 225, 367]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "U_al"
Position [195, 98, 225, 112]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "U_be"
Position [195, 148, 225, 162]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [555, 90, 585, 120]
InitialCondition "0.00001"
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [635, 140, 665, 170]
InitialCondition "0.000001"
IgnoreLimit off
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [715, 78, 720, 182]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Rs"
Position [410, 300, 440, 330]
Gain "0.435"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Rs1"
Position [410, 345, 440, 375]
Gain "0.435"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [460, 95, 480, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [565, 145, 585, 165]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "psy_albe"
Position [770, 123, 800, 137]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "U_al"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "U_be"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Rs"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Rs1"
SrcPort 1
Points [130, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "psy_albe"
DstPort 1
}
Line {
SrcBlock "I_al"
SrcPort 1
DstBlock "Rs"
DstPort 1
}
Line {
SrcBlock "I_be"
SrcPort 1
DstBlock "Rs1"
DstPort 1
}
}
}
Block {
BlockType Relay
Name "Relay"
Position [395, 560, 425, 590]
Orientation "left"
OnSwitchValue "0.02"
OffSwitchValue "-0.02"
}
Block {
BlockType Relay
Name "Relay1"
Position [420, 420, 450, 450]
Orientation "left"
OnSwitchValue "0.02"
OffSwitchValue "-0.02"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [885, 194, 915, 226]
Location [188, 390, 513, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.3"
YMax "0.5"
DataFormat "StructureWithTime"
MaxDataPoints "50000"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [1000, 159, 1030, 191]
Location [203, 701, 527, 940]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.475"
YMax "-0.125"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "50000"
}
Block {
BlockType Step
Name "Step"
Position [545, 95, 575, 125]
Time "0"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [465, 565, 485, 585]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [490, 290, 510, 310]
Orientation "down"
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [490, 425, 510, 445]
Orientation "left"
ShowName off
IconShape "round"
Inputs "+-|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Terminator
Name "Terminator"
Position [430, 85, 450, 105]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [430, 35, 450, 55]
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [310, 132, 360, 208]
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -