Model { Name "hydrod" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines on ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "0.1" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState on StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "none" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off PreLoadFcn "load newhcd" Created "Mon Aug 24 17:13:44 1998" Creator "nikita" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "nikita" ModifiedDateFormat "%" LastModifiedDate "Thu Sep 10 10:01:32 1998" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "hydrod" Location [20, 74, 505, 674] Open off ToolBar on StatusBar on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [245, 255, 295, 275] Orientation "up" ShowName off Value "-9.81*M" } Block { BlockType Reference Name "Mechanical\nLoad" Ports [3, 6, 0, 0, 0] Position [125, 150, 410, 230] Orientation "up" BackgroundColor "cyan" NamePlacement "alternate" SourceBlock "hydlib/Mechanical Load" SourceType "Unknown" L "L" M "M" I "I" } Block { BlockType SubSystem Name "Subsystem2" Ports [0, 0, 0, 0, 0] Position [260, 540, 440, 570] BackgroundColor "yellow" ShowName off OpenFcn "sim(get_param(0, 'CurrentSystem'), 0.1)" ShowPortLabels off MaskType "Button" MaskDisplay "disp('Double click to run the\\nSimulation for " "0.1 seconds')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem2" Location [486, 613, 757, 820] Open off ToolBar off StatusBar off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "yellow" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } Block { BlockType Terminator Name "Terminator" Position [335, 245, 355, 265] Orientation "up" ShowName off } Block { BlockType Terminator Name "Terminator1" Position [145, 245, 165, 265] Orientation "up" ShowName off } Block { BlockType Reference Name "Valve/Cylinder/Piston\n Force Assembly 1" Ports [4, 3, 0, 0, 0] Position [143, 280, 202, 415] Orientation "up" BackgroundColor "red" NamePlacement "alternate" SourceBlock "hydlib/Valve//Cylinder//Piston Force Assembly" SourceType "ValveCylinderPistonForceAssy" C1 "C1" Ac "Ac" Cd "Cd" rho "rho" V30 "V30" beta "beta" p30 "9.81*M/2/Ac" } Block { BlockType Reference Name "Valve/Cylinder/Piston\n Force Assembly 2" Ports [4, 3, 0, 0, 0] Position [333, 280, 392, 415] Orientation "up" BackgroundColor "red" NamePlacement "alternate" SourceBlock "hydlib/Valve//Cylinder//Piston Force Assembly" SourceType "ValveCylinderPistonForceAssy" C1 "C1" Ac "Ac" Cd "Cd" rho "rho" V30 "V30" beta "beta" p30 "9.81*M/2/Ac" } Block { BlockType Sum Name "load\nflow" Ports [2, 1, 0, 0, 0] Position [215, 505, 235, 525] Orientation "down" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "load flow" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Reference Name "orifice A" Ports [0, 1, 0, 0, 0] Position [290, 430, 320, 450] BackgroundColor "magenta" NamePlacement "alternate" SourceBlock "simulink3/Sources/Repeating\nSequence" SourceType "Repeating table" rep_seq_t "[0 0.1 0.2]/10" rep_seq_y "[1 0 1]*1e-5" } Block { BlockType Reference Name "orifice B" Ports [0, 1, 0, 0, 0] Position [100, 425, 135, 445] BackgroundColor "magenta" NamePlacement "alternate" SourceBlock "simulink3/Sources/Repeating\nSequence" SourceType "Repeating table" rep_seq_t "[0 0.1 0.2]/10" rep_seq_y "[0 1 0]*1e-5" } Block { BlockType Mux Name "press.1" Ports [3, 1, 0, 0, 0] Position [360, 56, 365, 94] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Reference Name "pump" Ports [1, 1, 0, 0, 0] Position [132, 490, 198, 555] Orientation "up" BackgroundColor "red" NamePlacement "alternate" SourceBlock "hydlib/Pump" SourceType "Pump" t "[0 .04]" Qpump "Qmax*[1 1]" p10 "9.81*M/2/Ac" C2 "C2/10" } Block { BlockType Scope Name "theta\n (rad)" Ports [1, 0, 0, 0, 0] Position [275, 100, 305, 130] Orientation "up" BackgroundColor "green" Floating off Location [509, 393, 838, 695] Open off NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "0.1 " YMin "-0.0015" YMax "0.0005" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "z (purple), za (blue) \n& zb (yellow) (m)" Ports [1, 0, 0, 0, 0] Position [410, 60, 440, 90] BackgroundColor "green" Floating off Location [510, 30, 829, 375] Open off NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "0.1 " YMin "-0.005" YMax "0.015" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows off MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Line { SrcBlock "Mechanical\nLoad" SrcPort 1 Points [0, -80] Branch { DstBlock "press.1" DstPort 1 } Branch { Points [-120, 0; 0, 390; 145, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 1" DstPort 3 } } Line { SrcBlock "Mechanical\nLoad" SrcPort 5 Points [0, -25] Branch { Points [0, -35] DstBlock "press.1" DstPort 3 } Branch { Labels [2, 0] Points [110, 0; 0, 330; -75, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 2" DstPort 3 } } Line { SrcBlock "Mechanical\nLoad" SrcPort 3 Points [0, -70] DstBlock "press.1" DstPort 2 } Line { SrcBlock "Mechanical\nLoad" SrcPort 4 DstBlock "theta\n (rad)" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Mechanical\nLoad" DstPort 2 } Line { SrcBlock "press.1" SrcPort 1 DstBlock "z (purple), za (blue) \n& zb (yellow) (m)" DstPort 1 } Line { SrcBlock "Valve/Cylinder/Piston\n Force Assembly 2" SrcPort 2 DstBlock "Mechanical\nLoad" DstPort 3 } Line { Labels [4, 0] SrcBlock "Mechanical\nLoad" SrcPort 6 Points [0, -10; 50, 0; 0, 305; -45, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 2" DstPort 4 } Line { SrcBlock "orifice A" SrcPort 1 Points [15, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 2" DstPort 1 } Line { SrcBlock "Valve/Cylinder/Piston\n Force Assembly 2" SrcPort 1 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Valve/Cylinder/Piston\n Force Assembly 1" SrcPort 2 DstBlock "Mechanical\nLoad" DstPort 1 } Line { SrcBlock "Mechanical\nLoad" SrcPort 2 Points [0, -15; -185, 0; 0, 335; 180, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 1" DstPort 4 } Line { SrcBlock "orifice B" SrcPort 1 Points [10, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 1" DstPort 1 } Line { SrcBlock "Valve/Cylinder/Piston\n Force Assembly 1" SrcPort 1 DstBlock "Terminator1" DstPort 1 } Line { Labels [0, 0] SrcBlock "pump" SrcPort 1 Points [0, -5] Branch { DstBlock "Valve/Cylinder/Piston\n Force Assembly 1" DstPort 2 } Branch { Points [190, 0] DstBlock "Valve/Cylinder/Piston\n Force Assembly 2" DstPort 2 } } Line { Name "load flow" Labels [2, 0] SrcBlock "load\nflow" SrcPort 1 Points [0, 40] DstBlock "pump" DstPort 1 } Line { SrcBlock "Valve/Cylinder/Piston\n Force Assembly 2" SrcPort 3 Points [0, -20; 30, 0; 0, 260] DstBlock "load\nflow" DstPort 2 } Line { Labels [3, 0] SrcBlock "Valve/Cylinder/Piston\n Force Assembly 1" SrcPort 3 Points [0, -20; 30, 0] DstBlock "load\nflow" DstPort 1 } Annotation { Position [242, 12] VerticalAlignment "top" Text "Two Cylinder Model with Connecting Rod" FontName "Times New Roman" FontSize 22 FontWeight "bold" FontAngle "italic" } } }