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

📄 dcac_averaged.mdl

📁 ECEN2060光伏发电系统simulink仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  Position		  [820, 288, 850, 302]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "pout"
	  Position		  [820, 98, 850, 112]
	  Port			  "6"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Sine Wave"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "Vrms"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 210]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "vac"
	  Labels		  [0, 0; 1, 0]
	  SrcBlock		  "Vrms"
	  SrcPort		  1
	  Points		  [110, 0]
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [365, 0]
	    Branch {
	      DstBlock		      "vac"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65]
	      DstBlock		      "Product3"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Name			  "iref"
	  Labels		  [0, 0]
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, -165]
	    DstBlock		    "RL"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [320, 0]
	    Branch {
	      Points		      [0, -75]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [190, 0]
	      Branch {
		DstBlock		"iac"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Product3"
		DstPort			2
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "Iref"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "RL"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  Name			  "vac+RLiac"
	  Labels		  [0, 0]
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Divide"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vdc"
	  SrcPort		  1
	  Points		  [395, 0]
	  Branch {
	    Points		    [0, -25]
	    DstBlock		    "Divide"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 175]
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "2D-1"
	  SrcBlock		  "Divide"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, 65]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [40, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 115]
	    DstBlock		    "Product2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "iin"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "D"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "pin"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  DstBlock		  "pout"
	  DstPort		  1
	}
	Annotation {
	  Name			  "output AC current"
	  Position		  [815, 224]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "Input DC voltage"
	  Position		  [58, 162]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "RMS current reference"
	  Position		  [75, 291]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "input current"
	  Position		  [818, 145]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "ECEN2060\nsingle-phase DC-AC inverter examp"
"le\nfor grid-connected systems"
	  Position		  [340, 168]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      Product
      Name		      "Divide"
      Ports		      [2, 1]
      Position		      [475, 282, 505, 313]
      Inputs		      "/*"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Display
      Name		      "Efficiency"
      Ports		      [1]
      Position		      [540, 285, 630, 315]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Constant
      Name		      "IRMS"
      Position		      [15, 145, 45, 175]
      Value		      "4.5"
      VectorParams1D	      on
      SamplingMode	      "Sample based"
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
      SampleTime	      "inf"
      FramePeriod	      "inf"
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [305, 235, 335, 265]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator1"
      Ports		      [1, 1]
      Position		      [305, 340, 335, 370]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Display
      Name		      "Pin"
      Ports		      [1]
      Position		      [540, 235, 630, 265]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Display
      Name		      "Pout"
      Ports		      [1]
      Position		      [540, 340, 630, 370]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [6]
      Position		      [350, 43, 390, 202]
      Floating		      off
      Location		      [98, 215, 1155, 995]
      Open		      off
      NumInputPorts	      "6"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      TimeRange		      "0.018"
      YMin		      "-200~-10~0~0~0~0"
      YMax		      "200~10~8~1~1500~1500"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Vdc"
      Position		      [15, 70, 45, 100]
      Value		      "200"
      VectorParams1D	      on
      SamplingMode	      "Sample based"
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
      SampleTime	      "inf"
      FramePeriod	      "inf"
    }
    Block {
      BlockType		      Gain
      Name		      "fac"
      Position		      [385, 234, 430, 266]
      Gain		      "60"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "fac1"
      Position		      [390, 339, 435, 371]
      Gain		      "60"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Line {
      SrcBlock		      "Vdc"
      SrcPort		      1
      DstBlock		      "DC-AC"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IRMS"
      SrcPort		      1
      DstBlock		      "DC-AC"
      DstPort		      2
    }
    Line {
      Name		      "vac"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      Name		      "iac"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      2
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      Name		      "iin"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      3
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      Name		      "Duty"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      4
      DstBlock		      "Scope"
      DstPort		      4
    }
    Line {
      Name		      "pin"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      5
      Points		      [65, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			5
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Integrator"
	DstPort			1
      }
    }
    Line {
      Name		      "pout"
      Labels		      [0, 0]
      SrcBlock		      "DC-AC"
      SrcPort		      6
      Points		      [40, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			6
      }
      Branch {
	Points			[0, 170]
	DstBlock		"Integrator1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      DstBlock		      "fac"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integrator1"
      SrcPort		      1
      DstBlock		      "fac1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Divide"
      SrcPort		      1
      DstBlock		      "Efficiency"
      DstPort		      1
    }
    Line {
      SrcBlock		      "fac"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Pin"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	DstBlock		"Divide"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "fac1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Pout"
	DstPort			1
      }
      Branch {
	Points			[0, -50]
	DstBlock		"Divide"
	DstPort			2
      }
    }
    Annotation {
      Name		      "ECEN2060\nSwitched-Mode DC-AC Inverter (average"
"d model)"
      Position		      [162, 15]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Name		      "Compute average input and \noutput power over A"
"C line period"
      Position		      [354, 303]
      UseDisplayTextAsClickCallback off
    }
  }
}

⌨️ 快捷键说明

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