📄 pvmodel.mdl
字号:
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('Calculation of Isc and Iph')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [2, 80, 1422, 857]
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 [50, 38, 80, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Tr"
Position [50, 68, 80, 82]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "a"
Position [155, 118, 185, 132]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Isc_Tr"
Position [370, 243, 400, 257]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "G"
Position [85, 318, 115, 332]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [105, 28, 125, 92]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [305, 163, 325, 227]
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 [25, 195, 55, 225]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [425, 227, 455, 258]
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 [2, 1]
Position [520, 307, 550, 338]
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 [210, 102, 240, 133]
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 "Isc"
Position [480, 238, 510, 252]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Iph"
Position [630, 303, 660, 317]
Port "2"
IconDisplay "Port number"
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [30, 0; 0, 50]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [20, 0; 0, 60]
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Add2"
SrcPort 1
Points [40, 0; 0, 40]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Tk"
SrcPort 1
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Tr"
SrcPort 1
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "a"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Isc"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Isc_Tr"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "G"
SrcPort 1
Points [0, 5]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [30, 0; 0, -15]
DstBlock "Iph"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [5, 2]
Position [430, 381, 555, 569]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Subsystem1"
Location [2, 80, 1422, 857]
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 "Tr"
Position [25, 18, 55, 32]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "n"
Position [25, 48, 55, 62]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "K"
Position [15, 108, 45, 122]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "q"
Position [155, 103, 185, 117]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Eg"
Position [95, 188, 125, 202]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [435, 206, 465, 239]
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 "Divide4"
Ports [2, 1]
Position [245, 86, 275, 119]
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 "Product1"
Ports [2, 1]
Position [230, 165, 265, 225]
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 [2, 1]
Position [275, 265, 310, 325]
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 [3, 1]
Position [90, 25, 125, 85]
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 Outport
Name "Vt_Tr"
Position [300, 98, 330, 112]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "b"
Position [595, 203, 625, 217]
Port "2"
IconDisplay "Port number"
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [50, 0; 0, 40]
DstBlock "Divide4"
DstPort 1
}
Line {
SrcBlock "Tr"
SrcPort 1
Points [0, 10]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "n"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, 225]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "K"
SrcPort 1
Points [0, -40; 5, 0]
Branch {
DstBlock "Product3"
DstPort 3
}
Branch {
Points [0, 235]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "Divide4"
SrcPort 1
DstBlock "Vt_Tr"
DstPort 1
}
Line {
SrcBlock "q"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Divide4"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Eg"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [75, 0; 0, 20]
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [50, 0; 0, -65]
DstBlock "Divide1"
DstPort 2
}
Line {
SrcBlock "Divide1"
SrcPort 1
Points [55, 0; 0, 5; 55, 0]
DstBlock "b"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 1]
Position [1070, 116, 1195, 284]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Subsystem2"
Location [744, 513, 1339, 769]
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 "Isc_Tr"
Position [390, 23, 420, 37]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Voc_Tr"
Position [20, 43, 50, 57]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vt_tr"
Position [25, 83, 55, 97]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [375, 113, 395, 177]
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -