📄 sh_dir_act_relief_valve.mdl
字号:
BlockType Reference
Name "Simulink-PS\nConverter1"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [110, 15, 140, 45]
DialogController "NetworkEngine.DynNeUtilDlgSource"
FontName "Arial"
SourceBlock "pm_libv1/Utilities/Simulink-PS\nConverter"
SourceType "Simulink-PS\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_input"
Unit "1"
PmDlgSchema "0"
}
Block {
BlockType Reference
Name "Solver\nConfiguration"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [15, 154, 60, 186]
DialogController "NetworkEngine.DynNeUtilDlgSource"
FontName "Arial"
SourceBlock "pm_libv1/Utilities/Solver\nConfiguration"
SourceType "Solver\nConfiguration"
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 "generic"
SubClassName "solver"
PmDlgSchema "0"
ResidualTolerance "1e-9"
DynamicScaling on
}
Block {
BlockType Reference
Name "Variable Orifice"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 2, 1]
Position [215, 23, 255, 52]
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Arial"
SourceBlock "fl_lib/Hydraulic/Hydraulic Elements/Variable Or"
"ifice"
SourceType "Variable Orifice"
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 "orifice_variable"
SchemaVersion "1"
mdl_type "1"
mdl_type_unit "1"
area_max "0.7e-4"
area_max_unit "m^2"
opening_max "0.01"
opening_max_unit "m"
opening_tab "[ -0.002 0 0.005 0.015 ]"
opening_tab_unit "m"
area_tab "[ 1e-12 4e-12 1e-05 1.02e-05 ]"
area_tab_unit "m^2"
pressure_tab "[ -5e+06 -2e+06 2e+06 5e+06 ]"
pressure_tab_unit "Pa"
flow_rate_tab "[ -1e-12 -6e-14 6e+12 1e+11 ; -8e-08 -4e-08 4e"
"+06 8e+06 ; -0.0025 -0.00103 0.001 0.0024 ; -0.00258 -0.001032 0.00106 0.0024"
"7 ; ]"
flow_rate_tab_unit "m^3/s"
interp_method "1"
interp_method_unit "1"
extrap_method "1"
extrap_method_unit "1"
or "2"
or_unit "1"
C_d "0.7"
C_d_unit "1"
x_0 "0.008"
x_0_unit "m"
Re_cr "12"
Re_cr_unit "1"
A_leak "1e-12"
A_leak_unit "m^2"
flow_rate_Log "off"
pr_drop_Log "off"
Re_Log "off"
orif_opening_Log "off"
power_Log "off"
LocalVarNames "|flow_rate|pr_drop|Re|orif_opening|power"
LocalVarDescs "|Flow rate through the orifice (m^3)|Pressure d"
"rop across the orifice (Pa)|Reynolds number|Orifice opening (m)|Power dissipa"
"ted in the orifice (W)"
LocalVarLogging "[0 0 0 0 0]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Simulink-PS\nConverter"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Simulink-PS\nConverter"
SrcPort RConn1
Points [45, 0]
DstBlock "Ideal Hydraulic Flow\nRate Source"
DstPort RConn1
}
Line {
SrcBlock "Signal Builder"
SrcPort 1
DstBlock "Simulink-PS\nConverter1"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Simulink-PS\nConverter1"
SrcPort RConn1
Points [0, 0]
DstBlock "Variable Orifice"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal Hydraulic Flow\nRate Source"
SrcPort LConn1
Points [0, 0; 0, -45]
Branch {
ConnectType "DEST_SRC"
Points [0, -75]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Variable Orifice"
SrcPort LConn2
Points [-30, 0; 0, 50]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ideal Hydraulic Flow\nRate Sensor"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Hydraulic Fluid"
SrcPort RConn1
Points [0, 0; 80, 0]
}
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ideal Hydraulic\nPressure Sensor"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Solver\nConfiguration"
DstPort RConn1
}
}
Line {
LineType "Connection"
SrcBlock "Ideal Hydraulic Flow\nRate Sensor"
SrcPort RConn2
Points [40, 0]
DstBlock "Pressure-relief valve,\ndirect-acting"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal Hydraulic\nPressure Sensor"
SrcPort RConn2
DstBlock "PS-Simulink\nConverter1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal Hydraulic Flow\nRate Sensor"
SrcPort RConn1
Points [0, 0]
DstBlock "PS-Simulink\nConverter"
DstPort LConn1
}
Line {
Name "Pressure"
FontName "Arial"
FontSize 10
Labels [0, 1]
SrcBlock "PS-Simulink\nConverter1"
SrcPort 1
Points [50, 0]
DstBlock "Scope"
DstPort 2
}
Line {
Name "Flow rate"
FontName "Arial"
FontSize 10
Labels [0, 0]
SrcBlock "PS-Simulink\nConverter"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
LineType "Connection"
Points [300, 305; -30, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Pressure-relief valve,\ndirect-acting"
SrcPort RConn1
Points [0, 0; 0, 5]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Variable Orifice"
SrcPort RConn1
Points [220, 0; 0, 265; -190, 0]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Hydraulic Reference"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [-90, 0]
DstBlock "Ideal Hydraulic Flow\nRate Source"
DstPort RConn2
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ideal Hydraulic\nPressure Sensor"
SrcPort RConn1
Points [10, 0; 0, 145]
}
}
Annotation {
Name "This model demonstrates a test circuit built to"
" check the pressure-flow characteristic \nof a direct-acting pressure-relief "
"valve. The valve model is a subsystem \nbuilt of an orifice with roundholes, "
"translational converter, preloaded spring, and a hardstop. \nThe pump, which "
"is simulated with an ideal flow rate source, delivers fluid to a system \nthr"
"ough an initially-opened variable orifice. As the orifice gets closed, \npres"
"sure gradually builds up and eventually reaches the setting of the pressure-r"
"elief valve. \nAt this pressure, the valve starts diverting flow to a tank an"
"d maintains preset pressure \nat the pump outlet. As the orifice is opened a"
"gain, the pressure-relief valve \nis closed and the entire flow passes throug"
"h the variable orifice."
Position [258, 474]
UseDisplayTextAsClickCallback off
FontName "Arial"
}
Annotation {
Name "Direct-Acting Pressure-Relief Valve"
Position [264, 385]
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
MatData {
NumRecords 2
DataRecord {
Tag DataTag1
Data " %)30 . R , 8 ( @ % "
"\" $ ! 0 % 0 $0 $ #, =F5R:69Y0FQK4&%T:', !V97)I"
"9GE\";&M(86YD;&5S '9N=DUG<DED> 86-T:79E1W)O=7 !R97%$:7-P4')C"
";G0 &)L:T1I<W!-;V1E 9W)O=7!#;G0 !G<F]U<%)E<4-N= "
"&=R;W5P1$]/4E-I9 ;6]D96Q( !B;&]C:T@ &]V97)I9&"
"53971T:6YG<P X P !@ @ & 4 ( ! "
" D #@ # & \" 8 !0 @ $ "
" \"0 . , 8 ( !@ % \" 0 "
" ) X X !@ @ & 4 ( 0 $ ! "
" D ( \\#\\. , 8 ( !@ % \" "
" 0 ) X P !@ @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"\" $ !0 @ ! 0 $ #@ %@ & \" 8 "
" !0 @ ! !0 $ \"0 \"@ OC\"9*"
"AB5A#\\ #@ + ! & \" ( !0 @ ! "
" 0 $ !0 $ L ! -P &-H86YN96QS >4QI;0 !L86)E;%!O<"
"P &QA8F5L2 ;&%B96Q0871C: #@ #@ & \" 8 !0 @ "
" ! 0 $ \"0 @ #P/PX ! !@ @ & "
" 4 ( 0 ( ! D 0 _*GQTDUB4+^Z20P\"*X>&/PX P !"
"@ @ $ 4 ( 0 ( ! ! @!43 #@ #@ & "
" \" 8 !0 @ ! 0 $ \"0 @ 0 \"*M0 X "
" X !@ @ & 4 ( 0 $ ! D ( 0"
" \"ZJT . : ( 8 ( @ % \" $ ! 0 % 0 "
"#@ $ !B 9&ES<%1I;64 !D:7-P36]D90 &UI;E1I;64 ;6%X5"
"&EM90 !A9G1E<D9I;F%L4W1R '-A;7!L951I;64 >F5R;T-R;W-S "
" . 0 8 ( !@ % \" $ \" 0 ) $ "
" )$ . . 8 ( !@ % \" $ ! "
"0 ) \" / _#@ #@ & \" 8 !0 @ !"
" 0 $ \"0 @ X X !@ @ & 4 "
" ( 0 $ ! D ( )$ . 0 8 ( ! "
" % \" $ + 0 0 \"P $5X=')A<&]L871E . "
". 8 ( !@ % \" $ ! 0 ) \" "
" #@ # & \" 0 !0 @ ! @ $ $ \" &"
"]N . @ $ 8 ( @ % \" $ ! 0 % 0 #@"
" $ X 86-T:79E1&ES<$ED> !T:6UE4F%N9V4 &YA;64 9&ES<&Q"
"A>5)A;F=E . . 8 ( !@ % \" $ ! 0 "
") \" / _#@ $ & \" 8 !0 @ ! @ "
"$ \"0 ! \"1 #@ #@ & \" 0 "
"!0 @ ! !P $ $ < !'<F]U<\" Q X ! !@ @ &"
" 4 ( 0 ( ! D 0 D0 X "
" X !@ @ & 4 ( 0 $ ! D ( "
" \\#\\. . 8 ( !@ % \" $ ! 0 ) "
"\" "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -