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

📄 pe.mdl

📁 利用matlab的simulink工具进行最优化的设计
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [410, 25, 520, 75]
	  BlockRotation		  270
	  NamePlacement		  "alternate"
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Mechanical/Rotational Elements/Inertia"
	  SourceType		  "Inertia"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "inertia"
	  SchemaVersion		  "1"
	  inertia		  "I"
	  inertia_unit		  "kg*m^2"
	  initial_velocity	  "0"
	  initial_velocity_unit	  "rad/s"
	  t_Log			  "off"
	  LocalVarNames		  "|torque|velocity"
	  LocalVarDescs		  "|Inertia torque (N*m)|Inertia absolute velocity (rad/s)"
	  LocalVarLogging	  "[0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mechanical\nRotational Reference"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [455, 230, 475, 250]
	  BlockRotation		  270
	  BlockMirror		  on
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Mechanical/Rotational Elements/Mechanical\nRotational Reference"
	  SourceType		  "Mechanical\nRotational Reference"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "reference_rot"
	  SchemaVersion		  "1"
	  t_Log			  "off"
	  LocalVarNames		  "|t"
	  LocalVarDescs		  "|t"
	  LocalVarLogging	  "[]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mechanical\nRotational Reference1"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [590, 55, 610, 75]
	  BlockRotation		  270
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Mechanical/Rotational Elements/Mechanical\nRotational Reference"
	  SourceType		  "Mechanical\nRotational Reference"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "reference_rot"
	  SchemaVersion		  "1"
	  t_Log			  "off"
	  LocalVarNames		  "|t"
	  LocalVarDescs		  "|t"
	  LocalVarLogging	  "[]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PS-Simulink\nConverter"
	  Ports			  [0, 1, 0, 0, 0, 1]
	  Position		  [620, 100, 650, 130]
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeUtilDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "nesl_utility/PS-Simulink\nConverter"
	  SourceType		  "PS-Simulink\nConverter"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhysicalDomain	  "network_engine_domain"
	  LeftPortType		  "input"
	  RightPortType		  "output"
	  SubClassName		  "ps_output"
	  Unit			  "1"
	  AffineConversion	  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "PS-Simulink\nConverter1"
	  Ports			  [0, 1, 0, 0, 0, 1]
	  Position		  [300, 235, 330, 265]
	  BlockMirror		  on
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeUtilDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "nesl_utility/PS-Simulink\nConverter"
	  SourceType		  "PS-Simulink\nConverter"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhysicalDomain	  "network_engine_domain"
	  LeftPortType		  "input"
	  RightPortType		  "output"
	  SubClassName		  "ps_output"
	  Unit			  "1"
	  AffineConversion	  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Resistor"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [235, 73, 275, 137]
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Electrical/Electrical Elements/Resistor"
	  SourceType		  "Resistor"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "resistor"
	  SchemaVersion		  "1"
	  R			  "R"
	  R_unit		  "Ohm"
	  i_Log			  "off"
	  v_Log			  "off"
	  LocalVarNames		  "|current|voltage|power"
	  LocalVarDescs		  "|Resistor current (A)|Voltage across resistor (V)|Power (W)"
	  LocalVarLogging	  "[0 0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rotational\nElectromechanical\nConverter"
	  Ports			  [0, 0, 0, 0, 0, 2, 2]
	  Position		  [403, 135, 487, 190]
	  BlockRotation		  270
	  BlockMirror		  on
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Electrical/Electrical Elements/Rotational\nElectromechanical\nConverter"
	  SourceType		  "Rotational\nElectromechanical\nConverter"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "rotational_converter"
	  SchemaVersion		  "1"
	  K			  "K"
	  K_unit		  "V/(rad/s)"
	  i_Log			  "off"
	  v_Log			  "off"
	  t_Log			  "off"
	  w_Log			  "off"
	  LocalVarNames		  "|current|voltage|power|torque|speed"
	  LocalVarDescs		  "|Current (A)|Voltage (V)|Power (W)|Torque (Nm)|Angular speed (rad/s)"
	  LocalVarLogging	  "[0 0 0 0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Simulink-PS\nConverter"
	  Ports			  [1, 0, 0, 0, 0, 0, 1]
	  Position		  [80, 185, 110, 215]
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeUtilDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "nesl_utility/Simulink-PS\nConverter"
	  SourceType		  "Simulink-PS\nConverter"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhysicalDomain	  "network_engine_domain"
	  LeftPortType		  "input"
	  RightPortType		  "output"
	  SubClassName		  "ps_input"
	  Unit			  "1"
	  AffineConversion	  off
	  InputFilterTimeConstant ".001"
	  UdotUserProvided	  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Solver\nConfiguration"
	  Ports			  [0, 0, 0, 0, 0, 0, 1]
	  Position		  [135, 329, 180, 361]
	  DialogController	  "NetworkEngine.DynNeUtilDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "nesl_utility/Solver\nConfiguration"
	  SourceType		  "Solver\nConfiguration"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhysicalDomain	  "network_engine_domain"
	  LeftPortType		  "input"
	  RightPortType		  "generic"
	  SubClassName		  "solver"
	  Accelerate		  off
	  Profile		  off
	  ResidualTolerance	  "1e-9"
	  MaxNonlinIter		  "12"
	  MaxModeIter		  "2"
	  DoFixedCost		  off
	  DoDC			  off
	  LinearAlgebra		  "Sparse"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Shaft Speed"
	  Position		  [675, 108, 705, 122]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Current"
	  Position		  [205, 243, 235, 257]
	  BlockMirror		  on
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Controlled Voltage\nSource"
	  SrcPort		  LConn1
	  Points		  [0, -15]
	  DstBlock		  "Resistor"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Simulink-PS\nConverter"
	  SrcPort		  RConn1
	  Points		  [40, 0]
	  DstBlock		  "Controlled Voltage\nSource"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Solver\nConfiguration"
	  SrcPort		  RConn1
	  Points		  [15, 0; 0, -30]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    Points		    [135, 0]
	    DstBlock		    "Current Sensor"
	    DstPort		    RConn2
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    Points		    [-25, 0; 0, -65]
	    Branch {
	      ConnectType	      "DEST_SRC"
	      DstBlock		      "Controlled Voltage\nSource"
	      DstPort		      RConn2
	    }
	    Branch {
	      ConnectType	      "DEST_SRC"
	      DstBlock		      "Electrical Reference"
	      DstPort		      LConn1
	    }
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Current Sensor"
	  SrcPort		  LConn1
	  Points		  [10, 0]
	  DstBlock		  "Rotational\nElectromechanical\nConverter"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Current Sensor"
	  SrcPort		  RConn1
	  DstBlock		  "PS-Simulink\nConverter1"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Rotational\nElectromechanical\nConverter"
	  SrcPort		  RConn2
	  DstBlock		  "Mechanical\nRotational Reference"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Rotational\nElectromechanical\nConverter"
	  SrcPort		  LConn2
	  Points		  [0, -5]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Inertia"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Ideal Rotational\nMotion Sensor"
	    DstPort		    LConn1
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Ideal Rotational\nMotion Sensor"
	  SrcPort		  RConn2
	  DstBlock		  "PS-Simulink\nConverter"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inductor"
	  SrcPort		  LConn1
	  DstBlock		  "Resistor"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inductor"
	  SrcPort		  RConn1
	  Points		  [40, 0]
	  DstBlock		  "Rotational\nElectromechanical\nConverter"
	  DstPort		  LConn1
	}
	Line {
	  SrcBlock		  "PS-Simulink\nConverter1"
	  SrcPort		  1
	  DstBlock		  "Current"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Voltage"
	  SrcPort		  1
	  DstBlock		  "Simulink-PS\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PS-Simulink\nConverter"
	  SrcPort		  1
	  DstBlock		  "Shaft Speed"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Mechanical\nRotational Reference1"
	  SrcPort		  LConn1
	  Points		  [0, 10]
	  DstBlock		  "Ideal Rotational\nMotion Sensor"
	  DstPort		  RConn1
	}
      }
    }
    Block {
      BlockType		      Outport
      Name		      "Shaft Speed"
      Position		      [400, 103, 430, 117]
      IconDisplay	      "Port number"
      OutDataType	      "fixdt(1, 16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Outport
      Name		      "Current"
      Position		      [370, 158, 400, 172]
      Port		      "2"
      IconDisplay	      "Port number"
      OutDataType	      "fixdt(1, 16)"
      OutScaling	      "2^0"
    }
    Line {
      SrcBlock		      "Voltage"
      SrcPort		      1
      DstBlock		      "DC Motor"
      DstPort		      1
    }
    Line {
      SrcBlock		      "DC Motor"
      SrcPort		      1
      DstBlock		      "Shaft Speed"
      DstPort		      1
    }
    Line {
      SrcBlock		      "DC Motor"
      SrcPort		      2
      DstBlock		      "Current"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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