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

📄 predictivec.mdl

📁 一个很好的船舶仿真源程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [375, 110, 395, 130]
      Decimation	      "10"
    }
    Block {
      BlockType		      Reference
      Name		      "NN Predictive Controller"
      Ports		      [2, 1]
      Position		      [80, 105, 245, 240]
      BackgroundColor	      "cyan"
      DropShadow	      on
      NamePlacement	      "alternate"
      SourceBlock	      "neural/Control Systems/NN Predictive Controller"
      SourceType	      "NN Predictive Controller"
      epochs		      "1000"
      minp		      "-2.0459771863734106"
      maxp		      "2.0583468889748633"
      mint		      "-2.9759815574158481"
      maxt		      "2.1883834988685118"
      Normalize		      "0"
      IW		      "[-1.3306628355947907 0.11772020632089325;-0.637"
"46883428193712 -0.45022093989723855;1.2509385083436049 -3.0427738704883405;4."
"280142902921715e-007 5.6268806622327102e-006;-6.596414274843232 -3.7242407978"
"671617;-1.4452849126235501 -0.7807687728987498;-1.1803828901544355 -1.5322925"
"104662666;0.72805137842657053 0.36736926558080679;35.415090347773194 39.50478"
"3542622292;5.1414116028944967 4.2789717065699069;1.3053071269479635 1.2401476"
"90795268;-2.6337921291535666 -2.5425670141400034]"
      LW1_2		      "[-84.709013114561458 -47.663391212457341;151.94"
"883437256951 -16.55005257386097;122.65611878761132 -25.004859665072317;0.0239"
"08343434829914 -0.011553444011307349;-113.53060873194921 139.05156168665957;-"
"90.689985153928788 -134.15715179555676;-150.54704063964616 -88.50859083036731"
"1;-108.63670308079011 -158.49527309208443;-24.629529736865468 76.165748193908"
"129;127.18397553395623 53.421198671782911;-3.3572414151400709 167.23684787277"
";185.0593973356591 30.862009933615287]"
      LW2_1		      "[-0.00047972604571026585 0.00024968793149694361"
" -0.00027071825831382235 80.957725150846812 -5.3706682992026959e-005 0.000148"
"79470669970521 0.00016534498837357674 -0.00015103970722018685 4.8383675465248"
"507e-005 -0.00011457215523525021 -0.00026550268451732328 1.997002435183559e-0"
"06]"
      B1		      "[1.9726273462215114;2.065927993401302;0.8002501"
"1002580948;0.0051481309745536477;1.8762710022623925;2.5443754285393472;-1.350"
"8483548067087;3.5697638455539948;0.38810494301520204;5.1586408104467578;-3.70"
"12798493469616;-4.5962745072235647]"
      B2		      "-0.41671097927684508"
      max_i_int		      "20"
      min_i_int		      "5"
      limit_output	      "0"
      max_output	      "Inf"
      min_output	      "-Inf"
      Use_Previous_Weights    "1"
      N2		      "7"
      Nu		      "2"
      Ts		      "0.2"
      rho		      "0.5"
      alpha		      "0.001"
      csrchfun		      "csrchbac"
      maxiter		      "2"
      S1		      "12"
      Ni		      "2"
      Nj		      "2"
      sim_file		      "cbdx"
      trainfun		      "trainlm "
      Use_validation	      "1"
      Use_Testing	      "1"
      max_i		      "2.1"
      min_i		      "-2.1"
      sam_training	      "5000"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [15, 105, 45, 135]
      After		      "10"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [1, 1]
      Position		      [285, 154, 385, 196]
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem"
	Location		[420, 163, 918, 463]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 43, 60, 57]
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [85, 35, 115, 65]
	  Gain			  "0.05"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [90, 80, 120, 110]
	  Gain			  "-3.4"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [100, 125, 130, 155]
	  Gain			  "-1.24"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [115, 165, 145, 195]
	  Gain			  "-0.053"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [255, 90, 285, 120]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [335, 90, 365, 120]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator2"
	  Ports			  [1, 1]
	  Position		  [395, 90, 425, 120]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [3, 1]
	  Position		  [185, 222, 235, 258]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "3"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [5, 1]
	  Position		  [160, 14, 190, 196]
	  ShowName		  off
	  Inputs		  "|+++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [445, 98, 475, 112]
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [-85, 0; 0, -60]
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [5, 0; 0, -20]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -5]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [10, 0; 0, 10]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 120]
	    Branch {
	      Points		      [0, 15]
	      Branch {
		Points			[0, 20]
		Branch {
		  Points		  [0, -10]
		  DstBlock		  "Product"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 20; -290, 0]
		  DstBlock		  "Gain2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Product"
		DstPort			2
	      }
	    }
	    Branch {
	      Points		      [0, 5]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Integrator2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 180; -270, 0; 0, -190]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Integrator1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "X(2Y)\n Graph"
      Ports		      [3]
      Position		      [480, 157, 515, 203]
      SourceBlock	      "neural/Control Systems/X(2Y)\n Graph"
      SourceType	      "X(2Y) scope."
      xmin		      "0"
      xmax		      "5"
      ymin		      "21"
      ymax		      "22"
      st		      "-1"
    }
    Line {
      SrcBlock		      "NN Predictive Controller"
      SrcPort		      1
      DstBlock		      "Subsystem"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      Points		      [20, 0; 0, 10; 5, 0]
      Branch {
	Points			[0, 70; -350, 0]
	DstBlock		"NN Predictive Controller"
	DstPort			2
      }
      Branch {
	Points			[50, 0]
	DstBlock		"X(2Y)\n Graph"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      Points		      [15, 0; 0, 45]
      DstBlock		      "X(2Y)\n Graph"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      Points		      [5, 0; 0, 5]
      Branch {
	Points			[10, 0]
	DstBlock		"NN Predictive Controller"
	DstPort			1
      }
      Branch {
	Points			[0, 155; 395, 0; 0, -85]
	DstBlock		"X(2Y)\n Graph"
	DstPort			3
      }
    }
  }
}

⌨️ 快捷键说明

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