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

📄 ro.mdl

📁 利用matlab的simulink工具进行最优化的设计
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  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_electrical"
	  SchemaVersion		  "1"
	  i_Log			  "off"
	  LocalVarNames		  "|i"
	  LocalVarDescs		  "|i"
	  LocalVarLogging	  "[]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ideal Rotational\nMotion Sensor"
	  Ports			  [0, 0, 0, 0, 0, 1, 3]
	  Position		  [525, 95, 565, 135]
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Mechanical/Mechanical Sensors/Ideal Rotational\nMotion Sensor"
	  SourceType		  "Ideal Rotational\nMotion Sensor"
	  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		  "sensor_rot_motion"
	  SchemaVersion		  "1"
	  offset		  "0"
	  offset_unit		  "rad"
	  w_Log			  "off"
	  t_Log			  "off"
	  phi_Log		  "off"
	  LocalVarNames		  "|w|t|phi"
	  LocalVarDescs		  "|w|t|phi"
	  LocalVarLogging	  "[]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Inductor"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [330, 73, 370, 137]
	  ShowName		  off
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  FontName		  "Verdana"
	  FontSize		  11
	  SourceBlock		  "fl_lib/Electrical/Electrical Elements/Inductor"
	  SourceType		  "Inductor"
	  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		  "inductor"
	  SchemaVersion		  "1"
	  l			  "L"
	  l_unit		  "H"
	  i0			  "0"
	  i0_unit		  "A"
	  r			  "0"
	  r_unit		  "Ohm"
	  g			  "1e-09"
	  g_unit		  "1/Ohm"
	  i_Log			  "off"
	  v_Log			  "off"
	  i_L_Log		  "off"
	  LocalVarNames		  "|current|voltage|power"
	  LocalVarDescs		  "|Inductor current (A) |Voltage across inductor (V)|Power (W)"
	  LocalVarLogging	  "[0 0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Inertia"
	  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"
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Mechanical\nRotational Reference1"
	  SrcPort		  LConn1
	  Points		  [0, 10]
	  DstBlock		  "Ideal Rotational\nMotion Sensor"
	  DstPort		  RConn1
	}
	Line {
	  SrcBlock		  "PS-Simulink\nConverter"
	  SrcPort		  1
	  DstBlock		  "Shaft Speed"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Voltage"
	  SrcPort		  1
	  DstBlock		  "Simulink-PS\nConverter"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inductor"
	  SrcPort		  RConn1
	  Points		  [40, 0]
	  DstBlock		  "Rotational\nElectromechanical\nConverter"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inductor"
	  SrcPort		  LConn1
	  DstBlock		  "Resistor"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Ideal Rotational\nMotion Sensor"
	  SrcPort		  RConn2
	  DstBlock		  "PS-Simulink\nConverter"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  Points		  [465, 115; 45, 0]
	  DstBlock		  "Ideal Rotational\nMotion Sensor"
	  DstPort		  LConn1
	  Branch {
	    ConnectType		    "SRC_SRC"
	    DstBlock		    "Inertia"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "Rotational\nElectromechanical\nConverter"
	    SrcPort		    LConn2
	    Points		    [0, -5]
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Rotational\nElectromechanical\nConverter"
	  SrcPort		  RConn2
	  DstBlock		  "Mechanical\nRotational Reference"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Current Sensor"
	  SrcPort		  RConn1
	  DstBlock		  "PS-Simulink\nConverter1"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Current Sensor"
	  SrcPort		  LConn1
	  Points		  [10, 0]
	  DstBlock		  "Rotational\nElectromechanical\nConverter"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  Points		  [185, 250; -75, 0]
	  DstBlock		  "Electrical Reference"
	  DstPort		  LConn1
	  Branch {
	    ConnectType		    "SRC_SRC"
	    DstBlock		    "Controlled Voltage\nSource"
	    DstPort		    RConn2
	  }
	  Branch {
	    ConnectType		    "SRC_DEST"
	    Points		    [210, 315; -25, 0; 0, -65]
	    Branch {
	      ConnectType	      "SRC_SRC"

⌨️ 快捷键说明

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