📄 dtc.mdl
字号:
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "fluxb"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -5; 30, 0]
Branch {
Points [15, 0; 0, -20]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 140]
DstBlock "Product1"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 1]
Position [800, 377, 840, 438]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [367, 404, 807, 591]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "ia"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "fluxa"
Position [25, 103, 55, 117]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib"
Position [25, 73, 55, 87]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "fluxb"
Position [25, 148, 55, 162]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain2"
Position [310, 50, 340, 80]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [170, 72, 200, 103]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [170, 27, 200, 58]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 43, 270, 87]
ShowName off
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Te"
Position [385, 58, 415, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "fluxa"
SrcPort 1
Points [70, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "fluxb"
SrcPort 1
Points [45, 0; 0, -105]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [1, 1]
Position [815, 218, 870, 302]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem2"
Location [0, 82, 1012, 745]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "fluxab"
Position [420, 263, 450, 277]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [670, 257, 700, 288]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [500, 251, 505, 289]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [580, 200, 610, 230]
Operator "square"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [580, 305, 610, 335]
Operator "square"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [730, 260, 760, 290]
Operator "sqrt"
}
Block {
BlockType Outport
Name "flux"
Position [790, 268, 820, 282]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [30, 0; 0, -45]
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [30, 0; 0, 40]
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [20, 0; 0, 50]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
DstBlock "flux"
DstPort 1
}
Line {
SrcBlock "fluxab"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [2, 1]
Position [680, 480, 720, 540]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem3"
Location [2, 82, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "n*"
Position [305, 233, 335, 247]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "n"
Position [305, 283, 335, 297]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [455, 205, 485, 235]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [440, 260, 470, 290]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [505, 260, 525, 290]
IgnoreLimit off
}
Block {
BlockType Saturate
Name "Saturation"
Position [580, 225, 610, 255]
UpperLimit "75"
LowerLimit "-75"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [355, 230, 375, 250]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [535, 230, 555, 250]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Te*"
Position [675, 233, 705, 247]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -20]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Te*"
DstPort 1
}
Line {
SrcBlock "n*"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "n"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [925, 222, 950, 298]
ShowName off
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [945, 372, 970, 448]
ShowName off
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -