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

📄 sim_nlbm.mdl

📁 Benchmark Control Problems for Seismically Excited Nonlinear Building
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Model {  Name			  "Sim_NLBM"  Version		  2.20  SimParamPage		  Solver  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  on  ShowLineWidths	  on  StartTime		  "T_str"  StopTime		  "T_end"  Solver		  ode5  RelTol		  "1e-3"  AbsTol		  "1e-6"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "dt_cal"  MaxOrder		  5  OutputOption		  RefineOutputTimes  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  on  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  LimitMaxRows		  off  MaxRows		  "1000"  Decimation		  "Num_decimate"  AlgebraicLoopMsg	  warning  MinStepSizeMsg	  warning  UnconnectedInputMsg	  none  UnconnectedOutputMsg	  none  UnconnectedLineMsg	  none  ConsistencyChecking	  off  ZeroCross		  on  SimulationMode	  normal  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWPlaceOutputsASAP	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_vc.tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  BlockDefaults {    Orientation		    right    ForegroundColor	    black    BackgroundColor	    white    DropShadow		    off    NamePlacement	    normal    FontName		    "Helvetica"    FontSize		    10    FontWeight		    normal    FontAngle		    normal    ShowName		    on  }  AnnotationDefaults {    HorizontalAlignment	    center    VerticalAlignment	    middle    ForegroundColor	    black    BackgroundColor	    white    DropShadow		    off    FontName		    "Helvetica"    FontSize		    10    FontWeight		    normal    FontAngle		    normal  }  LineDefaults {    FontName		    "Helvetica"    FontSize		    9    FontWeight		    normal    FontAngle		    normal  }  System {    Name		    "Sim_NLBM"    Location		    [497, 93, 999, 448]    Open		    on    ToolBar		    on    StatusBar		    on    ScreenColor		    white    PaperOrientation	    landscape    PaperPositionMode	    auto    PaperType		    usletter    PaperUnits		    inches    Block {      BlockType		      ToWorkspace      Name		      "  "      Position		      [450, 135, 470, 155]      VariableName	      "ye"      Buffer		      "inf"      Decimation	      "Num_decimate"      SampleTime	      "-1"    }    Block {      BlockType		      ToWorkspace      Name		      "   "      Position		      [105, 289, 125, 311]      Orientation	      left      NamePlacement	      alternate      VariableName	      "yf"      Buffer		      "inf"      Decimation	      "Num_decimate"      SampleTime	      "-1"    }    Block {      BlockType		      ToWorkspace      Name		      "    "      Position		      [95, 229, 125, 251]      VariableName	      "t_out"      Buffer		      "inf"      Decimation	      "Num_decimate"      SampleTime	      "-1"    }    Block {      BlockType		      Clock      Name		      "Clock"      Position		      [30, 230, 50, 250]      Location		      [30, 40, 140, 75]    }    Block {      BlockType		      SubSystem      Name		      "Control Devices"      Ports		      [2, 2, 0, 0, 0]      Position		      [190, 263, 240, 312]      Orientation	      left      ShowPortLabels	      on      System {	Name			"Control Devices"	Location		[1, 532, 374, 783]	Open			off	ToolBar			off	StatusBar		off	ScreenColor		white	PaperOrientation	landscape	PaperPositionMode	auto	PaperType		usletter	PaperUnits		inches	Block {	  BlockType		  Inport	  Name			  "yc"	  Position		  [315, 185, 335, 205]	  Orientation		  left	  NamePlacement		  alternate	  Port			  "1"	  PortWidth		  "-1"	  SampleTime		  "-1"	}	Block {	  BlockType		  Inport	  Name			  "u"	  Position		  [315, 95, 335, 115]	  Orientation		  left	  NamePlacement		  alternate	  Port			  "2"	  PortWidth		  "-1"	  SampleTime		  "-1"	}	Block {	  BlockType		  Gain	  Name			  "Gain_ctr"	  Position		  [170, 160, 200, 190]	  Orientation		  left	  NamePlacement		  alternate	  Gain			  "gain_ctr"	}	Block {	  BlockType		  Reference	  Name			  "Ideal Actuator (Kf)"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [170, 90, 200, 120]	  Orientation		  left	  NamePlacement		  alternate	  SourceBlock		  "simulink/Linear/Matrix\nGain"	  SourceType		  "Matrix Gain"	  K			  "Kf"	}	Block {	  BlockType		  Mux	  Name			  "Mux"	  Ports			  [2, 1, 0, 0, 0]	  Position		  [110, 166, 115, 204]	  Orientation		  left	  ShowName		  off	  Inputs		  "2"	}	Block {	  BlockType		  Outport	  Name			  "f"	  Position		  [45, 95, 65, 115]	  Orientation		  left	  NamePlacement		  alternate	  Port			  "1"	  OutputWhenDisabled	  held	  InitialOutput		  "0"	}	Block {	  BlockType		  Outport	  Name			  "yf"	  Position		  [45, 175, 65, 195]	  Orientation		  left	  NamePlacement		  alternate	  Port			  "2"	  OutputWhenDisabled	  held	  InitialOutput		  "0"	}	Line {	  SrcBlock		  "Ideal Actuator (Kf)"	  SrcPort		  1	  DstBlock		  "f"	  DstPort		  1	}	Line {	  SrcBlock		  "Mux"	  SrcPort		  1	  DstBlock		  "yf"	  DstPort		  1	}	Line {	  SrcBlock		  "yc"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  2	}	Line {	  SrcBlock		  "u"	  SrcPort		  1	  Points		  [-65, 0]	  Branch {	    DstBlock		    "Ideal Actuator (Kf)"	    DstPort		    1	  }	  Branch {	    Points		    [0, 70]	    DstBlock		    "Gain_ctr"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Gain_ctr"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  1	}	Annotation {	  Position		  [201, 27]	  Text			  "Replace the contents of this block\nwith a ""model of your control algorithm(s)"	}      }    }    Block {      BlockType		      SubSystem      Name		      "Controller"      Ports		      [1, 1, 0, 0, 0]      Position		      [290, 287, 335, 313]      Orientation	      left      ShowPortLabels	      on      System {	Name			"Controller"	Location		[386, 532, 865, 688]	Open			off	ToolBar			off	StatusBar		off	ScreenColor		white	PaperOrientation	landscape	PaperPositionMode	auto	PaperType		usletter	PaperUnits		inches	Block {	  BlockType		  Inport	  Name			  "ys"	  Position		  [415, 75, 435, 95]	  Orientation		  left	  NamePlacement		  alternate	  Port			  "1"	  PortWidth		  "-1"	  SampleTime		  "-1"	}	Block {	  BlockType		  SubSystem	  Name			  "A/D Converter"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [335, 75, 375, 95]	  Orientation		  left	  ShowPortLabels	  on	  System {	    Name		    "A/D Converter"	    Location		    [622, 747, 867, 829]	    Open		    off	    ToolBar		    off	    StatusBar		    off	    ScreenColor		    white	    PaperOrientation	    landscape	    PaperPositionMode	    auto	    PaperType		    usletter	    PaperUnits		    inches	    Block {	      BlockType		      Inport	      Name		      "y(t)"	      Position		      [190, 38, 220, 52]	      Orientation	      left	      Port		      "1"	      PortWidth		      "-1"	      SampleTime	      "-1"	    }	    Block {	      BlockType		      Quantizer	      Name		      "Quantizer"	      Position		      [80, 30, 110, 60]	      Orientation	      left	      NamePlacement	      alternate	      QuantizationInterval    "QI_snr"	    }	    Block {	      BlockType		      Saturate	      Name		      "Saturation"	      Position		      [135, 30, 165, 60]	      Orientation	      left	      NamePlacement	      alternate	      UpperLimit	      "SL_snr"	      LowerLimit	      "-SL_snr"	    }	    Block {	      BlockType		      Outport	      Name		      "y(k)"	      Position		      [25, 38, 55, 52]	      Orientation	      left	      Port		      "1"	      OutputWhenDisabled      held	      InitialOutput	      "[]"	    }	    Line {	      SrcBlock		      "y(t)"	      SrcPort		      1	      DstBlock		      "Saturation"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Quantizer"	      SrcPort		      1	      DstBlock		      "y(k)"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Saturation"	      SrcPort		      1	      DstBlock		      "Quantizer"	      DstPort		      1	    }	  }	}	Block {	  BlockType		  SubSystem	  Name			  "D/A Converter"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [110, 75, 150, 95]	  Orientation		  left	  ShowPortLabels	  on	  System {	    Name		    "D/A Converter"	    Location		    [385, 747, 630, 829]	    Open		    off	    ToolBar		    off	    StatusBar		    off	    ScreenColor		    white	    PaperOrientation	    landscape	    PaperPositionMode	    auto	    PaperType		    usletter	    PaperUnits		    inches	    Block {	      BlockType		      Inport	      Name		      "u(k)"	      Position		      [190, 38, 220, 52]	      Orientation	      left	      Port		      "1"	      PortWidth		      "-1"	      SampleTime	      "-1"	    }	    Block {	      BlockType		      Quantizer	      Name		      "Quantizer"	      Position		      [135, 30, 165, 60]	      Orientation	      left	      NamePlacement	      alternate	      QuantizationInterval    "QI_ctr"	    }	    Block {	      BlockType		      Saturate	      Name		      "Saturation"	      Position		      [80, 30, 110, 60]	      Orientation	      left	      NamePlacement	      alternate	      UpperLimit	      "SL_ctr"	      LowerLimit	      "-SL_ctr"	    }	    Block {	      BlockType		      Outport	      Name		      "u(t)"	      Position		      [25, 38, 55, 52]	      Orientation	      left	      Port		      "1"	      OutputWhenDisabled      held	      InitialOutput	      "[]"	    }	    Line {	      SrcBlock		      "u(k)"	      SrcPort		      1	      DstBlock		      "Quantizer"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Quantizer"	      SrcPort		      1	      DstBlock		      "Saturation"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Saturation"	      SrcPort		      1	      DstBlock		      "u(t)"	      DstPort		      1	    }	  }	}	Block {	  BlockType		  DiscreteStateSpace	  Name			  "Discrete Controller"	  Position		  [190, 67, 295, 103]	  Orientation		  left	  A			  "Acd"	  B			  "Bcd"	  C			  "Ccd"	  D			  "Dcd"	  X0			  "0"	  SampleTime		  "Tcd"	}	Block {

⌨️ 快捷键说明

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