⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pvdemo.mdl

📁 PV cell, module and array example
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Position		      [125, 93, 215, 202]
      TreatAsAtomicUnit	      off
      MaskDescription	      "Solar radiation on inclined surface"
      MaskHelp		      "gamma = azimuth angle of the surface,   \n%    "
"         east:gamma = -90,     west:gamma = 90\n%             south:gamma = 0"
",    north:gamma = 180\n% (scalar) beta  = inclination angle of the surface,"
"\n%             horizontal: beta=0, vertical: beta=90\n%\n% default geographi"
"cal position: De Bilt\n% default ground reflectivity (albedo): 0.2\n%\n% EXAM"
"PLE: E=irrad(800,200,201,12,0,45)\n% ANSWER: E=1.0e+003 *\n%    0.8569    0.1"
"907    1.0759    0.9684\n%\n% REF: Perez (zie Solar Energy volume 39 no. 3)\n"
"%\n"
      MaskPromptString	      "Azimuth [0..360, 0 = south]|Inclination [0..90,"
" 0 = horizontal]|PV surface [m2]"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "Az=@1;Inc=@2;WindOpp=@3;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "90|45|1"
      System {
	Name			"Surface&Orientation"
	Location		[230, 190, 964, 655]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 208, 55, 222]
	}
	Block {
	  BlockType		  Gain
	  Name			  "(a/alpha)"
	  Position		  [540, 259, 580, 301]
	  Gain			  "0.036"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 9]
	  Position		  [80, 85, 85, 345]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "9"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [130, 110, 160, 140]
	  Gain			  "0.1"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [7, 1]
	  Position		  [235, 26, 250, 374]
	  ShowName		  off
	  Inputs		  "7"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [475, 261, 505, 294]
	  Inputs		  "*/"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [565, 135, 585, 155]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator3"
	  Position		  [120, 175, 140, 195]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [120, 205, 140, 225]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator5"
	  Position		  [120, 235, 140, 255]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator6"
	  Position		  [115, 265, 135, 285]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator7"
	  Position		  [115, 295, 135, 315]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator8"
	  Position		  [115, 325, 135, 345]
	}
	Block {
	  BlockType		  Clock
	  Name			  "Time [s]"
	  Position		  [135, 33, 175, 67]
	  DisplayTime		  on
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Window Area"
	  Position		  [160, 285, 190, 315]
	  Value			  "WindOpp"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Window ZTA"
	  Position		  [160, 335, 190, 365]
	}
	Block {
	  BlockType		  Constant
	  Name			  "azimuth angel"
	  Position		  [160, 185, 190, 215]
	  Value			  "Az"
	}
	Block {
	  BlockType		  Constant
	  Name			  "inclination"
	  Position		  [160, 235, 190, 265]
	  Value			  "Inc"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "irradwindows"
	  Position		  [295, 165, 370, 235]
	  MATLABFcn		  "irradwindow(u(1),u(2),u(3),u(4),u(5),u(6),u"
"(7))"
	  OutputDimensions	  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Solar radiation [W]"
	  Position		  [445, 193, 475, 207]
	}
	Block {
	  BlockType		  Outport
	  Name			  "T surface"
	  Position		  [625, 138, 655, 152]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "irradwindows"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "azimuth angel"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "inclination"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [130, 0]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  Labels		  [2, 0]
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  Points		  [0, -5]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Time [s]"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  4
	  DstBlock		  "Terminator3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  5
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  6
	  DstBlock		  "Terminator5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  7
	  DstBlock		  "Terminator6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  8
	  DstBlock		  "Terminator7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  9
	  DstBlock		  "Terminator8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Window ZTA"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "irradwindows"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Solar radiation [W]"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Window Area"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    6
	  }
	  Branch {
	    Points		    [0, 25; 175, 0; 0, -40]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "(a/alpha)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [385, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "(a/alpha)"
	  SrcPort		  1
	  Points		  [0, -110]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "T surface"
	  DstPort		  1
	}
	Annotation {
	  Name			  "q_zon_hor_dif"
	  Position		  [143, 100]
	}
	Annotation {
	  Name			  "q_zon_hor_dir"
	  Position		  [161, 159]
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "a"
      Position		      [325, 295, 355, 325]
      Value		      "0.15"
    }
    Block {
      BlockType		      Gain
      Name		      "b"
      Position		      [320, 231, 370, 279]
      Gain		      "-0.001"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "kWh"
      Position		      [530, 32, 590, 68]
      Numerator		      "[1/3.6e6]"
      Denominator	      "[1 0]"
    }
    Line {
      SrcBlock		      "From File"
      SrcPort		      1
      DstBlock		      "Surface&Orientation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Surface&Orientation"
      SrcPort		      2
      Points		      [15, 0]
      Branch {
	DstBlock		"3_PV T surface"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"b"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "b"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "a"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Surface&Orientation"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, -35; 210, 0; 0, 125]
	DstBlock		"Product"
	DstPort			1
      }
      Branch {
	DstBlock		"2_Solar rad."
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, 0; 45, 0]
      Branch {
	Points			[-40, 0]
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	DstBlock		"5_PV efficiency"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "kWh"
      SrcPort		      1
      DstBlock		      "1_El. produced\n[kWh]"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [0, 0; 55, 0]
      Branch {
	DstBlock		"4_Power\nSupply [W]"
	DstPort			1
      }
      Branch {
	Points			[-45, 0; 0, -170]
	DstBlock		"kWh"
	DstPort			1
      }
    }
    Annotation {
      Name		      "PV Efficiency\na+ bT\n"
      Position		      [488, 327]
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -