Model { Name "rovdyrogbyttedyr3" Version 3.00 SimParamPage "Diagnostics" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "50" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "10" 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" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on 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 Created "Thu Dec 02 20:14:50 1999" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Thu Dec 02 21:26:10 1999" 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 "rovdyrogbyttedyr3" Location [322, 83, 943, 613] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Alfa" Position [25, 245, 55, 275] Value "0.01" } Block { BlockType Integrator Name "Kanin integrale" Ports [1, 1, 0, 0, 0] Position [35, 185, 65, 215] BackgroundColor "gray" ExternalReset "none" InitialConditionSource "internal" InitialCondition "100" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" Port { PortNumber 1 Name "Kaniner" TestPoint off RTWStorageClass "Auto" } } Block { BlockType SubSystem Name "Mætning" Ports [1, 1, 0, 0, 0] Position [125, 25, 155, 75] BackgroundColor "orange" ShowPortLabels on System { Name "Mætning" Location [400, 74, 655, 226] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 110, 55, 124] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "1/R" Position [25, 65, 55, 95] Value "0.002" } Block { BlockType Product Name "Product5" Ports [2, 1, 0, 0, 0] Position [90, 90, 120, 125] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1, 0, 0, 0] Position [155, 55, 175, 95] ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "konstant3" Position [90, 25, 120, 55] Value "1" } Block { BlockType Outport Name "Out1" Position [200, 70, 230, 84] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Product5" DstPort 2 } Line { SrcBlock "1/R" SrcPort 1 Points [15, 0] DstBlock "Product5" DstPort 1 } Line { SrcBlock "konstant3" SrcPort 1 Points [15, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Product5" SrcPort 1 Points [15, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Product Name "Product2" Ports [3, 1, 0, 0, 0] Position [225, 244, 255, 276] BackgroundColor "gray" Inputs "3" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [3, 1, 0, 0, 0] Position [210, 394, 240, 426] BackgroundColor "red" Inputs "3" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [3, 1, 0, 0, 0] Position [220, 153, 250, 187] BackgroundColor "gray" Inputs "3" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Ræve integrale" Ports [1, 1, 0, 0, 0] Position [75, 310, 105, 340] BackgroundColor "red" ExternalReset "none" InitialConditionSource "internal" InitialCondition "20" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" Port { PortNumber 1 Name "Ræve" TestPoint off RTWStorageClass "Auto" } } Block { BlockType SubSystem Name "STOP!" Ports [1, 0, 0, 0, 0] Position [20, 25, 50, 75] BackgroundColor "black" ShowPortLabels on System { Name "STOP!" Location [656, 129, 921, 311] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [35, 90, 65, 104] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Stop Name "Stop Simulation" Position [205, 77, 240, 113] } Block { BlockType Switch Name "Switch" Position [100, 80, 130, 110] Threshold "2" } Block { BlockType Constant Name "konstant1" Position [25, 25, 55, 55] Value "0" } Block { BlockType Constant Name "konstant2" Position [25, 125, 55, 155] Value "1" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Switch" DstPort 2 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "Stop Simulation" DstPort 1 } Line { SrcBlock "konstant1" SrcPort 1 Points [25, 0] DstBlock "Switch" DstPort 1 } Line { SrcBlock "konstant2" SrcPort 1 Points [25, 0] DstBlock "Switch" DstPort 3 } } } Block { BlockType Scope Name "Scope" Ports [2, 0, 0, 0, 0] Position [360, 301, 390, 334] BackgroundColor "green" Floating off Location [-8, 58, 316, 297] Open on NumInputPorts "2" TickLabels "OneTimeTick" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" } Grid "on" TimeRange "auto" YMin "-5~-5" YMax "5~5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [280, 185, 300, 225] BackgroundColor "gray" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [280, 340, 300, 380] BackgroundColor "red" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "XY Graph" Ports [2, 0, 0, 0, 0] Position [435, 301, 465, 334] BackgroundColor "green" SourceBlock "simulink3/Sinks/XY Graph" SourceType "XY scope." xmin "0" xmax "500" ymin "0" ymax "500" st "-1" } Block { BlockType Constant Name "konstant" Position [145, 155, 175, 185] BackgroundColor "gray" Value "2" } Line { SrcBlock "Product2" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -65; -285, 0] DstBlock "Kanin integrale" DstPort 1 } Line { Name "Kaniner" SrcBlock "Kanin integrale" SrcPort 1 Points [20, 0] Branch { Points [10, 0] Branch { Points [25, 0] Branch { Points [0, 200] DstBlock "Product3" DstPort 1 } Branch { Points [10, 0] Branch { Points [5, 0; 0, 25; 20, 0] Branch { Points [0, 15; 50, 0] DstBlock "Product2" DstPort 1 } Branch { Points [-5, 0] } Branch { Labels [3, 0] Points [-5, 0; 0, 85; 175, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, -25; 90, 0] DstBlock "XY Graph" DstPort 1 } } } Branch { Points [70, 0] DstBlock "Product4" DstPort 3 } } } Branch { Points [0, -150] DstBlock "Mætning" DstPort 1 } } Branch { Points [-15, 0; 0, -90; -70, 0] DstBlock "STOP!" DstPort 1 } } Line { SrcBlock "Product4" SrcPort 1 Points [0, 30; 10, 0] DstBlock "Sum1" DstPort 1 } Line { Labels [1, 0] SrcBlock "konstant" SrcPort 1 DstBlock "Product4" DstPort 2 } Line { SrcBlock "Mætning" SrcPort 1 Points [35, 0; 0, 110] DstBlock "Product4" DstPort 1 } Line { Name "Ræve" Labels [0, 0] SrcBlock "Ræve integrale" SrcPort 1 Points [55, 0] Branch { Points [25, 0] Branch { Points [0, 50] DstBlock "Sum2" DstPort 2 } Branch { Points [20, 0] Branch { DstBlock "Product2" DstPort 3 } Branch { Labels [1, 0] Points [125, 0] Branch { DstBlock "Scope" DstPort 2 } Branch { Points [0, 25; 85, 0] DstBlock "XY Graph" DstPort 2 } } } } Branch { Points [0, 85] DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Product3" SrcPort 1 Points [20, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 105; -245, 0] DstBlock "Ræve integrale" DstPort 1 } Line { SrcBlock "Alfa" SrcPort 1 Points [75, 0] Branch { DstBlock "Product2" DstPort 2 } Branch { Points [0, 160] DstBlock "Product3" DstPort 3 } } } }