📄 sh_closed_loop_actuator.mdl
字号:
RTWMemSecDataParameters "Inherit from model"
PhysicalDomain "network_engine_domain"
LeftPortType "input"
RightPortType "output"
SubClassName "ps_output"
Unit "1"
PmDlgSchema "struct( ...\n 'Name', 'PMDialogs.PMDlgBuil"
"der', ...\n 'Version', '1.0.0', ...\n 'Items', {[ ...\n { struct( ...\n "
" 'ClassName', 'PMDialogs.PmDescriptionPanel', ...\n 'Version', '"
"1.0.0' ...\n ) },{ struct( ...\n 'ClassName', 'PMDialogs.PmGroupP"
"anel', ...\n 'Version', '1.0.0', ...\n 'Parameters', struct( .."
".\n 'Label', 'Parameters', ...\n 'Style', 'Box' ...\n "
" ), ...\n 'Items', {struct( ...\n 'ClassName', 'Ne"
"tworkEngine.PmNePSConvertPanel', ...\n 'Version', '1.0.0', ...\n"
" 'Parameters', struct( ...\n 'ParamName', 'Unit"
"', ...\n 'ConverterMode', 'out' ...\n ), ..."
"\n 'Items', [] ...\n )} ...\n ) } ; ...\n ]} "
"...\n) "
}
Block {
BlockType PMIOPort
Name "Rod"
Position [25, 43, 55, 57]
Port "1"
Side "Left"
}
Block {
BlockType Outport
Name "Position"
Position [260, 58, 290, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "Rod"
SrcPort RConn1
Points [0, 0]
DstBlock "Ideal Translational\nMotion Sensor"
DstPort LConn1
}
Line {
SrcBlock "PS2S_1"
SrcPort 1
Points [0, 0]
DstBlock "Position"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "PS2S_1"
SrcPort LConn1
Points [0, 0]
DstBlock "Ideal Translational\nMotion Sensor"
DstPort RConn3
}
Line {
LineType "Connection"
SrcBlock "MTR_3"
SrcPort LConn1
Points [0, 0]
DstBlock "Ideal Translational\nMotion Sensor"
DstPort RConn1
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [150, 166, 155, 204]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "PS2S"
Ports [0, 1, 0, 0, 0, 1]
Position [545, 200, 575, 230]
DialogController "NetworkEngine.DynNeUtilDlgSource"
SourceBlock "pm_libv1/Utilities/PS-Simulink\nConverter"
SourceType "PS-Simulink\nConverter"
ShowPortLabels off
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"
PmDlgSchema "struct( ...\n 'Name', 'PMDialogs.PMDlgBuilder'"
", ...\n 'Version', '1.0.0', ...\n 'Items', {[ ...\n { struct( ...\n "
" 'ClassName', 'PMDialogs.PmDescriptionPanel', ...\n 'Version', '1.0."
"0' ...\n ) },{ struct( ...\n 'ClassName', 'PMDialogs.PmGroupPanel"
"', ...\n 'Version', '1.0.0', ...\n 'Parameters', struct( ...\n "
" 'Label', 'Parameters', ...\n 'Style', 'Box' ...\n "
" ), ...\n 'Items', {struct( ...\n 'ClassName', 'Networ"
"kEngine.PmNePSConvertPanel', ...\n 'Version', '1.0.0', ...\n "
" 'Parameters', struct( ...\n 'ParamName', 'Unit', ."
"..\n 'ConverterMode', 'out' ...\n ), ...\n "
" 'Items', [] ...\n )} ...\n ) } ; ...\n ]} ...\n"
") "
}
Block {
BlockType Reference
Name "Pipe_A"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [310, 145, 350, 225]
Orientation "up"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Pipelines/Hydraulic Pipeline"
SourceType "Hydraulic Pipeline"
ShowPortLabels on
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 "pipeline_hyd"
SchemaVersion "1"
cs_type "1"
cs_type_unit "1"
d_in "0.02"
d_in_unit "m"
area "0.0001"
area_unit "m^2"
D_h "0.0112"
D_h_unit "m"
s_factor "64"
s_factor_unit "1"
length "3"
length_unit "m"
length_ad "2"
length_ad_unit "m"
roughness "1.5e-05"
roughness_unit "m"
Re_lam "2000"
Re_lam_unit "1"
Re_turb "4000"
Re_turb_unit "1"
wall_type "1"
wall_type_unit "1"
pr_r_coef "2e-10"
pr_r_coef_unit "m/Pa"
time_const "0.008"
time_const_unit "s"
k_sh "1.4"
k_sh_unit "1"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Pipe_B"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [445, 145, 485, 225]
Orientation "down"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Pipelines/Hydraulic Pipeline"
SourceType "Hydraulic Pipeline"
ShowPortLabels on
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 "pipeline_hyd"
SchemaVersion "1"
cs_type "1"
cs_type_unit "1"
d_in "0.02"
d_in_unit "m"
area "0.0001"
area_unit "m^2"
D_h "0.0112"
D_h_unit "m"
s_factor "64"
s_factor_unit "1"
length "3"
length_unit "m"
length_ad "2"
length_ad_unit "m"
roughness "1.5e-05"
roughness_unit "m"
Re_lam "2000"
Re_lam_unit "1"
Re_turb "4000"
Re_turb_unit "1"
wall_type "1"
wall_type_unit "1"
pr_r_coef "2e-10"
pr_r_coef_unit "m/Pa"
time_const "0.008"
time_const_unit "s"
k_sh "1.4"
k_sh_unit "1"
LocalVarLogging "[]"
}
Block {
BlockType Scope
Name "Position"
Ports [1]
Position [185, 169, 215, 201]
Floating off
Location [345, 546, 681, 733]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10"
YMin "-0.1"
YMax "0.2"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
MaxDataPoints "500000"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Power Unit"
Ports [0, 0, 0, 0, 0, 0, 2]
Position [439, 325, 481, 385]
Orientation "up"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Power Unit"
Location [226, 313, 838, 613]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Hydraulic Fluid"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [290, 140, 350, 180]
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Hydraulic Utilities/Hydraulic Fluid"
SourceType "Hydraulic Fluid"
ShowPortLabels on
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 "hydraulic_fluid"
SchemaVersion "1"
DataSource "1"
DataSource_unit "1"
SelFluid "2"
SelFluid_unit "1"
SysTemp "60"
SysTemp_unit "c"
TrapAir "0.001"
TrapAir_unit "1"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Hydraulic Reference"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1]
Position [500, 255, 540, 280]
Orientation "down"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "fl_lib/Hydraulic/Hydraulic Elements/Hydraul"
"ic Reference"
SourceType "Hydraulic Reference"
ShowPortLabels on
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 "hydro_reference"
SchemaVersion "1"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "MRR"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1]
Position [190, 255, 210, 275]
Orientation "down"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "fl_lib/Mechanical/Rotational Elements/Mecha"
"nical\nRotational Reference"
SourceType "Mechanical\nRotational Reference"
ShowPortLabels on
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"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Pipe_P"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [445, 65, 485, 145]
Orientation "up"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Pipelines/Hydraulic Pipeline"
SourceType "Hydraulic Pipeline"
ShowPortLabels on
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 "pipeline_hyd"
SchemaVersion "1"
cs_type "1"
cs_type_unit "1"
d_in "0.02"
d_in_unit "m"
area "0.0001"
area_unit "m^2"
D_h "0.0112"
D_h_unit "m"
s_factor "64"
s_factor_unit "1"
length "6"
length_unit "m"
length_ad "3"
length_ad_unit "m"
roughness "1.5e-05"
roughness_unit "m"
Re_lam "2000"
Re_lam_unit "1"
Re_turb "4000"
Re_turb_unit "1"
wall_type "1"
wall_type_unit "1"
pr_r_coef "2e-10"
pr_r_coef_unit "m/Pa"
time_const "0.008"
time_const_unit "s"
k_sh "1.4"
k_sh_unit "1"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Pipe_T"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [500, 65, 540, 145]
Orientation "down"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Pipelines/Hydraulic Pipeline"
SourceType "Hydraulic Pipeline"
ShowPortLabels on
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 "pipeline_hyd"
SchemaVersion "1"
cs_type "1"
cs_type_unit "1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -