model ex_2 SFPLibDyn.Hydraulic.Sources.FlowrateSource flowrateSource annotation( Placement(transformation(origin = {-20, 56}, extent = {{-12, -10}, {12, 10}}))); SFPLibDyn.Hydraulic.Sources.Tank tank annotation( Placement(transformation(origin = {10, -70}, extent = {{-6, -4.5}, {6, 4.5}}))); SFPLibDyn.Signals.Source.LinearStages linearStages(stage1_end = 200, stage1_duration = 10) annotation( Placement(transformation(origin = {-56, 56}, extent = {{-10, -10}, {10, 10}}))); inner SFPLibDyn.Properties.Hydraulic.FluidProp fluidProp annotation( Placement(transformation(origin = {62, 70}, extent = {{-10, -10}, {10, 10}}))); SFPLibDyn.Hydraulic.Valves.ReliefValve reliefValve(p_crack = 1.5e7, saturation = true, p_ch = 2.5e6, q_ch = 0.0033333333333333335) annotation( Placement(transformation(origin = {-24, -24}, extent = {{-12, -12}, {12, 12}}, rotation = 180))); SFPLibDyn.Hydraulic.Nodes.Node3p node3p annotation( Placement(transformation(origin = {10, -52}, extent = {{6, -6}, {-6, 6}}, rotation = -0))); SFPLibDyn.Hydraulic.Valves.CheckValve checkValve(saturation = true, linear_parameter = SFPLibDyn.Units.Choices.InputType.q_sat, q_sat = 4.166666666666667e-4, p_ch = 1.5e6, q_ch = 4.166666666666667e-4) annotation( Placement(transformation(origin = {10, -24}, extent = {{-6, -12}, {6, 12}}, rotation = 180))); SFPLibDyn.Hydraulic.Nodes.Node3p node3p1 annotation( Placement(transformation(origin = {10, 6}, extent = {{6, 6}, {-6, -6}}, rotation = -0))); SFPLibDyn.Hydraulic.Volumes.Volume2p volume2p(vol_0 = 0.001, pressure(start = 0)) annotation( Placement(transformation(origin = {10, 32}, extent = {{-10, -10}, {10, 10}}))); equation connect(linearStages.y1, flowrateSource.u1) annotation( Line(points = {{-46, 56}, {-32, 56}})); connect(node3p.h1, tank.h1) annotation( Line(points = {{10, -58}, {10, -66}})); connect(node3p.h3, reliefValve.h2) annotation( Line(points = {{4, -52}, {-24, -52}, {-24, -36}})); connect(node3p1.h2, checkValve.h1) annotation( Line(points = {{10, 0}, {10, -12}})); connect(checkValve.h2, node3p.h2) annotation( Line(points = {{10, -36}, {10, -46}})); connect(node3p1.h3, reliefValve.h1) annotation( Line(points = {{4, 6}, {-24, 6}, {-24, -12}})); connect(flowrateSource.h1, volume2p.h2) annotation( Line(points = {{-8, 56}, {10, 56}, {10, 42}})); connect(volume2p.h1, node3p1.h1) annotation( Line(points = {{10, 22}, {10, 12}})); annotation( uses(SFPLibDyn(version = "3.2")), __OpenModelica_simulationFlags(lv = "LOG_STDOUT,LOG_ASSERT,LOG_STATS", s = "dassl", variableFilter = ".*"), experiment(StartTime = 0, StopTime = 10, Tolerance = 1e-08, Interval = 0.002)); end ex_2;