📄 dtc0319.mdl
字号:
LatchInput off
}
Block {
BlockType Relay
Name "Relay1"
Position [130, 40, 160, 70]
OnSwitchValue "0.01"
OffSwitchValue "-0.01"
ZeroCross off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [80, 27, 100, 83]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Tq"
Position [185, 48, 215, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Te*"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "Tq"
DstPort 1
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [2, 1]
Position [90, 25, 130, 85]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem2"
Location [121, 181, 1133, 821]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "|Fi|"
Position [25, 48, 55, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Fi*"
Position [25, 123, 55, 137]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Relay
Name "Relay"
Position [130, 40, 160, 70]
OnSwitchValue "0.005"
OffSwitchValue "-0.005"
ZeroCross off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [80, 27, 100, 83]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Fiq"
Position [185, 48, 215, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
DstBlock "Fiq"
DstPort 1
}
Line {
SrcBlock "|Fi|"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Fi*"
SrcPort 1
Points [0, -55]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "p"
Position [250, 93, 280, 107]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [30, 0; 0, -155]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, -105]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Te*"
SrcPort 1
Points [30, 0]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "FI"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "|Fi|"
SrcPort 1
DstBlock "Subsystem2"
DstPort 1
}
Line {
SrcBlock "Fi*"
SrcPort 1
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "p"
DstPort 1
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 3]
Position [745, 61, 750, 99]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "Fcn"
Position [640, 275, 700, 305]
Expr "sqrt(u(1)*u(1)+u(2)*u(2))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [675, 420, 735, 450]
Expr "abs(u)"
}
Block {
BlockType Scope
Name "Fi"
Ports [1]
Position [770, 244, 800, 266]
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "1.455"
YMax "1.535"
SaveToWorkspace on
SaveName "Fi"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "Fi*"
Position [750, 305, 780, 325]
}
Block {
BlockType Scope
Name "Fia"
Ports [1]
Position [660, 218, 690, 242]
Location [5, 56, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "Fia"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Fib"
Ports [1]
Position [705, 199, 735, 221]
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "4.5"
YMax "16"
SaveToWorkspace on
SaveName "Fib"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [54, 250, 76, 275]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Scope
Name "Iabc"
Ports [1]
Position [319, 50, 351, 80]
Orientation "up"
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "4.5"
YMax "16"
SaveToWorkspace on
SaveName "Iabc"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Motor"
Ports [1, 4, 0, 0, 0, 3]
Position [600, 65, 685, 185]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Motor"
Location [2, 78, 1022, 718]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Tm"
Position [30, 13, 60, 27]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Asynchronous Machine\nSI Units"
Ports [1, 1, 0, 0, 0, 3]
Position [140, 34, 205, 106]
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI "
"Units"
SourceType "Asynchronous Machine"
ShowPortLabels on
PresetModel "No"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Stationary"
NominalParameters "[3730 460 50]"
Stator "[1.115 0.005974]"
Rotor "[1.083 0.005974]"
Lm "0.2037"
Mechanical "[0.02 0.005752 2]"
InitialConditions "[ 1,0 0,0,0 0,0,0 ] "
Units "1"
LoadFlowParameters "0"
}
Block {
BlockType Reference
Name "Machines1"
Ports [1, 4]
Position [265, 28, 310, 112]
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nD"
"emux"
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 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 on
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType PMIOPort
Name "Ua"
Position [15, 53, 45, 67]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Ub"
Position [25, 78, 55, 92]
Port "2"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Uc"
Position [25, 118, 55, 132]
Port "3"
Side "Left"
}
Block {
BlockType Outport
Name "Iabc"
Position [430, 18, 460, 32]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Fi_qd"
Position [465, 53, 495, 67]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "w"
Position [415, 83, 445, 97]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Te"
Position [410, 138, 440, 152]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Asynchronous Machine\nSI Units"
SrcPort 1
DstBlock "Machines1"
DstPort 1
}
Line {
SrcBlock "Tm"
SrcPort 1
Points [0, 20]
DstBlock "Asynchronous Machine\nSI Units"
DstPort 1
}
Line {
SrcBlock "Machines1"
SrcPort 1
Points [100, 0]
DstBlock "Iabc"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ua"
SrcPort RConn1
DstBlock "Asynchronous Machine\nSI Units"
DstPort LConn1
}
Line {
SrcBlock "Machines1"
SrcPort 2
DstBlock "Fi_qd"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ub"
SrcPort RConn1
Points [0, -5]
DstBlock "Asynchronous Machine\nSI Units"
DstPort LConn2
}
Line {
SrcBlock "Machines1"
SrcPort 3
Points [85, 0]
DstBlock "w"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Uc"
SrcPort RConn1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -