📄 inductionm.mdl
字号:
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [265, 220, 295, 250]
Operator "square"
}
Block {
BlockType Sum
Name "add"
Ports [2, 1]
Position [335, 205, 375, 245]
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "calc r2'/s"
Ports [2, 1]
Position [110, 70, 150, 110]
Inputs "*/"
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "r2'/s1"
Ports [4, 1]
Position [520, 184, 575, 251]
Inputs "**//"
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "rth+rw2'/s"
Ports [2, 1]
Position [200, 135, 240, 175]
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "xth+x2'"
Ports [2, 1]
Position [200, 215, 240, 255]
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Torque"
Position [645, 213, 675, 227]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "r2'/s2"
Position [640, 83, 670, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Slip"
Position [640, 118, 670, 132]
Port "3"
IconDisplay "Port number"
}
Line {
SrcBlock "calc r2'/s"
SrcPort 1
Points [175, 0; 5, 0]
Branch {
Points [0, 0]
Branch {
Points [-155, 0; 0, 75]
DstBlock "rth+rw2'/s"
DstPort 2
}
Branch {
Points [110, 0; 0, 120]
DstBlock "r2'/s1"
DstPort 2
}
}
Branch {
DstBlock "r2'/s2"
DstPort 1
}
}
Line {
SrcBlock "rth+rw2'/s"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "xth+x2'"
SrcPort 1
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [15, 0]
DstBlock "add"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
DstBlock "add"
DstPort 2
}
Line {
SrcBlock "add"
SrcPort 1
DstBlock "r2'/s1"
DstPort 3
}
Line {
SrcBlock "r2'"
SrcPort 1
DstBlock "calc r2'/s"
DstPort 1
}
Line {
SrcBlock "x2'"
SrcPort 1
Points [105, 0; 0, -15]
DstBlock "xth+x2'"
DstPort 2
}
Line {
SrcBlock "s"
SrcPort 1
Points [0, 25; 80, 0]
Branch {
Points [-35, 0]
DstBlock "calc r2'/s"
DstPort 2
}
Branch {
Points [40, 0]
DstBlock "Slip"
DstPort 1
}
}
Line {
SrcBlock "Rth"
SrcPort 1
DstBlock "rth+rw2'/s"
DstPort 1
}
Line {
SrcBlock "Xth"
SrcPort 1
DstBlock "xth+x2'"
DstPort 1
}
Line {
SrcBlock "|V|2"
SrcPort 1
Points [420, 0; 0, -95]
DstBlock "r2'/s1"
DstPort 1
}
Line {
SrcBlock "r2'/s1"
SrcPort 1
DstBlock "Torque"
DstPort 1
}
Line {
SrcBlock "ws"
SrcPort 1
Points [430, 0; 0, -85]
DstBlock "r2'/s1"
DstPort 4
}
}
}
Block {
BlockType SubSystem
Name "CALCULATION OF Vth & Zth"
Ports [6, 5]
Position [505, 226, 560, 329]
FontName "Arial"
FontSize 11
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "CALCULATION OF Vth & Zth"
Location [2, 82, 1014, 688]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "112"
Block {
BlockType Inport
Name "XM"
Position [25, 38, 55, 52]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "r1"
Position [25, 83, 55, 97]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "x1"
Position [25, 118, 55, 132]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "V"
Position [25, 158, 55, 172]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "r2'/s"
Position [30, 218, 60, 232]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "x2'"
Position [30, 258, 60, 272]
Port "6"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [200, 315, 240, 355]
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [565, 270, 605, 310]
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
SaturateOnIntegerOverflow off
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle"
Ports [1, 2]
Position [450, 188, 480, 217]
Output "Magnitude and angle"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle1"
Ports [1, 2]
Position [670, 278, 700, 307]
Output "Magnitude and angle"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [460, 420, 500, 460]
Inputs "*/"
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Multiply"
Ports [2, 1]
Position [200, 245, 240, 285]
Inputs "**"
InputSameDT off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "double"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "R1+jX1"
Ports [2, 1]
Position [170, 112, 200, 143]
}
Block {
BlockType ComplexToRealImag
Name "Rth+jXth"
Ports [1, 2]
Position [545, 83, 575, 112]
Output "Real and imag"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [395, 147, 420, 183]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
}
Block {
BlockType Product
Name "cal Vth"
Ports [3, 1]
Position [335, 185, 375, 225]
Inputs "**/"
InputSameDT off
OutDataTypeMode "double"
OutDataType "float('single')"
OutScaling "2^-10"
OutDataTypeStr "double"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "cal Zth"
Ports [3, 1]
Position [450, 80, 490, 120]
Inputs "**/"
InputSameDT off
OutDataType "float('single')"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "jXM"
Ports [1, 1]
Position [170, 59, 200, 91]
Input "Imag"
}
Block {
BlockType RealImagToComplex
Name "r2'/s+x2'"
Ports [2, 1]
Position [130, 242, 160, 273]
}
Block {
BlockType Outport
Name "rth"
Position [745, 68, 775, 82]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "xth"
Position [750, 98, 780, 112]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "|VTH|"
Position [755, 188, 785, 202]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "|Zin|"
Position [760, 283, 790, 297]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Z_angle"
Position [770, 343, 800, 357]
Port "5"
IconDisplay "Port number"
}
Line {
SrcBlock "jXM"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [205, 0]
DstBlock "cal Zth"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -