Model { Name "ccmodel" Version 2.00 SimParamPage Solver SampleTimeColors off WideVectorLines off PaperOrientation landscape StartTime "0.0" StopTime "120" 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 off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on 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 } System { Name "ccmodel" Location [267, 286, 614, 457] Open on ScreenColor white Block { BlockType Inport Name "In" Position [25, 25, 45, 45] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Integrator Name "Integrator" Position [225, 30, 255, 60] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Sum Name "Sum" Position [90, 27, 120, 58] Inputs "+-" } Block { BlockType Gain Name "damping" Position [140, 90, 170, 120] Orientation left Gain "b" } Block { BlockType Gain Name "inertia" Position [155, 30, 185, 60] Gain "1/m" } Block { BlockType Outport Name "Out" Position [305, 35, 325, 55] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "inertia" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "inertia" DstPort 1 } Line { SrcBlock "damping" SrcPort 1 Points [-80, 0; 0, -55] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Out" DstPort 1 } Branch { Points [0, 60] DstBlock "damping" DstPort 1 } } Line { SrcBlock "In" SrcPort 1 DstBlock "Sum" DstPort 1 } Annotation { Position [269, 36] Text "v" } Annotation { Position [202, 35] Text "vdot" } } }