📄 pvmodel.mdl
字号:
Name "Constant"
Position [95, 200, 125, 230]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [80, 66, 110, 99]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [2, 1]
Position [485, 26, 515, 59]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Fcn
Name "PN-junction characteristic2"
Position [220, 49, 300, 81]
NamePlacement "alternate"
Expr "exp(u)"
}
Block {
BlockType Outport
Name "Ir_Tr"
Position [540, 38, 570, 52]
IconDisplay "Port number"
}
Line {
SrcBlock "Divide1"
SrcPort 1
Points [45, 0; 0, -20]
DstBlock "PN-junction characteristic2"
DstPort 1
}
Line {
SrcBlock "PN-junction characteristic2"
SrcPort 1
Points [25, 0; 0, 65]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [115, 0; 0, -55]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [35, 0; 0, -95]
DstBlock "Divide2"
DstPort 2
}
Line {
SrcBlock "Isc_Tr"
SrcPort 1
Points [0, 5]
DstBlock "Divide2"
DstPort 1
}
Line {
SrcBlock "Divide2"
SrcPort 1
DstBlock "Ir_Tr"
DstPort 1
}
Line {
SrcBlock "Voc_Tr"
SrcPort 1
Points [0, 25]
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "Vt_tr"
SrcPort 1
DstBlock "Divide1"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [5, 1]
Position [1145, 324, 1265, 546]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Subsystem3"
Location [316, 188, 991, 709]
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 "100"
Block {
BlockType Inport
Name "Tk"
Position [75, 28, 105, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Tr"
Position [35, 93, 65, 107]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "n"
Position [215, 183, 245, 197]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ir_Tr"
Position [510, 248, 540, 262]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "b"
Position [55, 438, 85, 452]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [360, 313, 380, 377]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [155, 140, 185, 170]
Value "3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant1"
Position [30, 275, 60, 305]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 465, 55, 495]
Value "-1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [195, 26, 225, 59]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [270, 166, 300, 199]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [2, 1]
Position [225, 296, 255, 329]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [240, 366, 270, 399]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [330, 37, 360, 68]
Operator "pow"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [525, 404, 555, 436]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [470, 402, 500, 433]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [3, 1]
Position [565, 239, 595, 271]
Inputs "3"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [110, 437, 140, 468]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Ir"
Position [620, 248, 650, 262]
IconDisplay "Port number"
}
Line {
SrcBlock "Tk"
SrcPort 1
Points [15, 0]
Branch {
Points [5, 0; 0, 285]
DstBlock "Divide2"
DstPort 2
}
Branch {
DstBlock "Divide"
DstPort 1
}
}
Line {
SrcBlock "Tr"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 290]
DstBlock "Divide3"
DstPort 2
}
Branch {
Points [80, 0; 0, -50]
DstBlock "Divide"
DstPort 2
}
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, 20]
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "Divide1"
SrcPort 1
Points [0, -125]
DstBlock "Math\nFunction"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [50, 0]
Branch {
Points [50, 0; 0, 15]
DstBlock "Divide2"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Divide3"
DstPort 1
}
}
Line {
SrcBlock "Divide2"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Divide3"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [35, 0; 0, 65]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [155, 0; 0, -30]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [30, 0; 0, 190]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [0, -130; -10, 0]
DstBlock "Product2"
DstPort 3
}
Line {
SrcBlock "n"
SrcPort 1
DstBlock "Divide1"
DstPort 2
}
Line {
SrcBlock "Ir_Tr"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Ir"
DstPort 1
}
Line {
SrcBlock "b"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [4, 1]
Position [455, 660, 580, 795]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Subsystem4"
Location [639, 476, 1377, 835]
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 "100"
Block {
BlockType Inport
Name "Ns"
Position [100, 103, 130, 117]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ir_Tr"
Position [150, 163, 180, 177]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vt_Tr"
Position [45, 213, 75, 227]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Voc_Tr"
Position [140, 283, 170, 297]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -