diff --git a/doc/figures/compliance_Original.PNG b/doc/figures/compliance_Original.PNG deleted file mode 100644 index 65151248d52f66c5edce56dfc4314a6857df5f2d..0000000000000000000000000000000000000000 Binary files a/doc/figures/compliance_Original.PNG and /dev/null differ diff --git a/src/specification/README.md b/src/specification/README.md index fc041f8581c6787bac23ba0e5c7d2647c439af33..fb72027b7c015eca53439582ca46d1eb32aa63a5 100644 --- a/src/specification/README.md +++ b/src/specification/README.md @@ -4,6 +4,8 @@ This directory includes all models related to the FCC decomposition Directory: +\demo Signal trip example to showcase Simulink Function limitation + \FCC_New Contains all models for the new design of the FCC \FCC_Original Contains all models for the original design of the FCC \ No newline at end of file diff --git a/src/specification/demo/Demo_Example.mdl b/src/specification/demo/Demo_Example.mdl new file mode 100644 index 0000000000000000000000000000000000000000..06889fb83839198210bbd95f1e2d104dbf3ff240 --- /dev/null +++ b/src/specification/demo/Demo_Example.mdl @@ -0,0 +1,1898 @@ +Model { + Name "Demo_Example" + Version 10.1 + SavedCharacterEncoding "windows-1252" + GraphicalInterface { + NumRootInports 0 + NumRootOutports 0 + ParameterArgumentNames "" + ComputedModelVersion "1.14" + NumModelReferences 0 + NumTestPointedSignals 0 + NumProvidedFunctions 0 + NumRequiredFunctions 0 + NumResetEvents 0 + HasInitializeEvent 0 + HasTerminateEvent 0 + PreCompExecutionDomainType "Unset" + IsExportFunctionModel 0 + IsArchitectureModel 0 + IsAUTOSARArchitectureModel 0 + NumParameterArguments 0 + NumExternalFileReferences 0 + OrderedModelArguments 0 + } + DiagnosticSuppressor "on" + LogicAnalyzerPlugin "on" + WebScopes_FoundationPlugin "on" + NotesPlugin "on" + SLCCPlugin "on" + AnimationPlugin "on" + EnableAccessToBaseWorkspace on + ScopeRefreshTime 0.035000 + OverrideScopeRefreshTime on + DisableAllScopes off + DataTypeOverride "UseLocalSettings" + DataTypeOverrideAppliesTo "AllNumericTypes" + MinMaxOverflowLogging "UseLocalSettings" + MinMaxOverflowArchiveMode "Overwrite" + FPTRunName "Run 1" + MaxMDLFileLineLength 120 + LastSavedArchitecture "win64" + Object { + $PropName "BdWindowsInfo" + $ObjectID 1 + $ClassName "Simulink.BDWindowsInfo" + Object { + $PropName "WindowsInfo" + $ObjectID 2 + $ClassName "Simulink.WindowInfo" + IsActive [1] + Location [953.0, 0.0, 974.0, 1047.0] + Object { + $PropName "ModelBrowserInfo" + $ObjectID 3 + $ClassName "Simulink.ModelBrowserInfo" + Visible [1] + DockPosition "Left" + Width [50] + Height [50] + Filter [9] + Minimized "On" + } + Object { + $PropName "ExplorerBarInfo" + $ObjectID 4 + $ClassName "Simulink.ExplorerBarInfo" + Visible [1] + } + Array { + Type "Simulink.EditorInfo" + Dimension 3 + Object { + $ObjectID 5 + IsActive [1] + IsTabbed [1] + ViewObjType "SimulinkTopLevel" + LoadSaveID "0" + Extents [858.0, 805.0] + ZoomFactor [1.4095981106290385] + Offset [250.06809111445784, 55.457619540662677] + SceneRectInView [250.06809111445784, 55.457619540662677, 608.68413027108431, 571.08476091867465] + } + Object { + $ObjectID 6 + IsActive [0] + IsTabbed [0] + ViewObjType "SimulinkSubsys" + LoadSaveID "6" + Extents [858.0, 805.0] + ZoomFactor [1.5521044865520315] + Offset [-304.95751129518072, -198.82532473644579] + SceneRectInView [-304.95751129518072, -198.82532473644579, 552.79783509036145, 518.65064947289159] + } + Object { + $ObjectID 7 + IsActive [0] + IsTabbed [0] + ViewObjType "SimulinkSubsys" + LoadSaveID "82" + Extents [858.0, 805.0] + ZoomFactor [1.5521044865520315] + Offset [-304.95751129518072, -198.82532473644579] + SceneRectInView [-304.95751129518072, -198.82532473644579, 552.79783509036145, 518.65064947289159] + } + PropName "EditorsInfo" + } + Object { + $PropName "DockComponentsInfo" + $ObjectID 8 + $ClassName "Simulink.DockComponentInfo" + Type "GLUE2:PropertyInspector" + ID "Property Inspector" + Visible [1] + CreateCallback "" + UserData "" + Floating [0] + DockPosition "Right" + Width [300] + Height [400] + Minimized "On" + } + WindowState "AAAA/wAAAAD9AAAAAgAAAAAAAAC9AAAB+PwCAAAAA/sAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAA" + "AAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0Ac" + "ABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAABjAP///wAAAAEAAAAAAAAAAPwCA" + "AAAAfsAAABUAEcATABVAEUAMgA6AFAAcgBvAHAAZQByAHQAeQBJAG4AcwBwAGUAYwB0AG8AcgAvAFAAcgBvAHAAZQByAHQAeQAgAEkAbgBzAHAAZ" + "QBjAHQAbwByAAAAAAD/////AAAAKwD///8AAAOAAAADYgAAAAEAAAACAAAAAQAAAAL8AAAAAwAAAAAAAAABAAAANgBjAG8AbABsAGEAcABzAGkAY" + "gBsAGUAUABhAG4AZQBsAFQAbwBvAGwAQgBhAHIATABlAGYAdAMAAAAA/////wAAAAAAAAAAAAAAAQAAAAEAAAA4AGMAbwBsAGwAYQBwAHMAaQBiA" + "GwAZQBQAGEAbgBlAGwAVABvAG8AbABCAGEAcgBSAGkAZwBoAHQDAAAAAP////8AAAAAAAAAAAAAAAMAAAABAAAAOgBjAG8AbABsAGEAcABzAGkAY" + "gBsAGUAUABhAG4AZQBsAFQAbwBvAGwAQgBhAHIAQgBvAHQAdABvAG0AAAAAAP////8AAAAAAAAAAA==" + Array { + Type "Cell" + Dimension 0 + PropName "PersistedApps" + } + WindowUuid "0b82776b-3568-4091-8b56-551a033ff4d9" + } + BDUuid "8c489aed-0064-4804-a9de-a41ce69bd066" + } + HideAutomaticNames on + Created "Wed Jun 03 13:39:38 2020" + Creator "super" + UpdateHistory "UpdateHistoryNever" + ModifiedByFormat "%" + LastModifiedBy "super" + ModifiedDateFormat "%" + LastModifiedDate "Wed Jun 03 18:49:46 2020" + RTWModifiedTimeStamp 513110984 + ModelVersionFormat "1.%" + SampleTimeColors off + SampleTimeAnnotations off + LibraryLinkDisplay "disabled" + WideLines off + ShowLineDimensions off + ShowPortDataTypes off + ShowAllPropagatedSignalLabels off + PortDataTypeDisplayFormat "AliasTypeOnly" + ShowEditTimeErrors on + ShowEditTimeWarnings on + ShowEditTimeAdvisorChecks off + ShowPortUnits off + ShowDesignRanges off + ShowLoopsOnError on + IgnoreBidirectionalLines off + ShowStorageClass off + ShowTestPointIcons on + ShowSignalResolutionIcons on + ShowViewerIcons on + SortedOrder off + VariantCondition off + ShowLinearizationAnnotations on + ShowVisualizeInsertedRTB on + ShowMarkup on + BlockNameDataTip off + BlockParametersDataTip off + BlockDescriptionStringDataTip off + BlockVariantConditionDataTip off + ToolBar on + StatusBar on + BrowserShowLibraryLinks off + FunctionConnectors off + BrowserLookUnderMasks off + MultiThreadCoSim "on" + SimulationMode "normal" + SILPILModeSetting "automated" + SILPILSystemUnderTest "topmodel" + SILPILSimulationModeTopModel "normal" + SILPILSimulationModeModelRef "normal" + SimTabSimulationMode "normal" + CodeVerificationMode "software-in-the-loop (sil)" + PauseTimes "5" + NumberOfSteps 1 + SnapshotBufferSize 10 + SnapshotInterval 10 + NumberOfLastSnapshots 0 + EnablePacing on + PacingRate 1 + LinearizationMsg "none" + Profile off + ParamWorkspaceSource "MATLABWorkspace" + AccelSystemTargetFile "accel.tlc" + AccelTemplateMakefile "accel_default_tmf" + AccelMakeCommand "make_rtw" + TryForcingSFcnDF off + Object { + $PropName "DataLoggingOverride" + $ObjectID 9 + $ClassName "Simulink.SimulationData.ModelLoggingInfo" + model_ "Demo_Example" + overrideMode_ [0.0] + Array { + Type "Cell" + Dimension 1 + Cell "Demo_Example" + PropName "logAsSpecifiedByModels_" + } + Array { + Type "Cell" + Dimension 1 + Cell [] + PropName "logAsSpecifiedByModelsSSIDs_" + } + } + ExtModeBatchMode off + ExtModeEnableFloating on + ExtModeTrigType "manual" + ExtModeTrigMode "normal" + ExtModeTrigPort "1" + ExtModeTrigElement "any" + ExtModeTrigDuration 1000 + ExtModeTrigDurationFloating "auto" + ExtModeTrigHoldOff 0 + ExtModeTrigDelay 0 + ExtModeTrigDirection "rising" + ExtModeTrigLevel 0 + ExtModeArchiveMode "off" + ExtModeAutoIncOneShot off + ExtModeIncDirWhenArm off + ExtModeAddSuffixToVar off + ExtModeWriteAllDataToWs off + ExtModeArmWhenConnect on + ExtModeSkipDownloadWhenConnect off + ExtModeLogAll on + ExtModeAutoUpdateStatusClock on + ShowModelReferenceBlockVersion off + ShowModelReferenceBlockIO off + OrderedModelArguments off + Array { + Type "Handle" + Dimension 1 + Simulink.ConfigSet { + $ObjectID 10 + Version "20.0.1" + DisabledProps [] + Description "" + Array { + Type "Handle" + Dimension 9 + Simulink.SolverCC { + $ObjectID 11 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + StartTime "0.0" + StopTime "100" + AbsTol "auto" + AutoScaleAbsTol on + FixedStep "1" + InitialStep "auto" + MaxOrder 5 + ZcThreshold "auto" + ConsecutiveZCsStepRelTol "10*128*eps" + MaxConsecutiveZCs "1000" + ExtrapolationOrder 4 + NumberNewtonIterations 1 + MaxStep "auto" + MinStep "auto" + MaxConsecutiveMinStep "1" + RelTol "1e-3" + EnableMultiTasking off + ConcurrentTasks off + Solver "FixedStepDiscrete" + SolverName "FixedStepDiscrete" + SolverJacobianMethodControl "auto" + ShapePreserveControl "DisableAll" + ZeroCrossControl "UseLocalSettings" + ZeroCrossAlgorithm "Nonadaptive" + AlgebraicLoopSolver "TrustRegion" + SolverInfoToggleStatus on + IsAutoAppliedInSIP off + SolverResetMethod "Fast" + PositivePriorityOrder off + AutoInsertRateTranBlk off + SampleTimeConstraint "Unconstrained" + InsertRTBMode "Whenever possible" + SampleTimeProperty [] + DecoupledContinuousIntegration off + MinimalZcImpactIntegration off + ODENIntegrationMethod "ode3" + } + Simulink.DataIOCC { + $ObjectID 12 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + Decimation "1" + ExternalInput "[t, u]" + FinalStateName "xFinal" + InitialState "xInitial" + LimitDataPoints off + MaxDataPoints "1000" + LoadExternalInput off + LoadInitialState off + SaveFinalState off + SaveOperatingPoint off + SaveFormat "Dataset" + SignalLoggingSaveFormat "Dataset" + SaveOutput on + SaveState off + SignalLogging on + DSMLogging on + InspectSignalLogs off + VisualizeSimOutput on + StreamToWorkspace off + StreamVariableName "streamout" + SaveTime on + ReturnWorkspaceOutputs on + StateSaveName "xout" + TimeSaveName "tout" + OutputSaveName "yout" + SignalLoggingName "logsout" + DSMLoggingName "dsmout" + OutputOption "RefineOutputTimes" + OutputTimes "[]" + ReturnWorkspaceOutputsName "out" + Refine "1" + LoggingToFile off + DatasetSignalFormat "timeseries" + LoggingFileName "out.mat" + LoggingIntervals "[-inf, inf]" + } + Simulink.OptimizationCC { + $ObjectID 13 + Version "20.0.1" + Array { + Type "Cell" + Dimension 9 + Cell "BooleansAsBitfields" + Cell "PassReuseOutputArgsAs" + Cell "PassReuseOutputArgsThreshold" + Cell "ZeroExternalMemoryAtStartup" + Cell "ZeroInternalMemoryAtStartup" + Cell "OptimizeModelRefInitCode" + Cell "NoFixptDivByZeroProtection" + Cell "UseSpecifiedMinMax" + Cell "EfficientTunableParamExpr" + PropName "DisabledProps" + } + Description "" + Components [] + BlockReduction on + BooleanDataType on + ConditionallyExecuteInputs on + DefaultParameterBehavior "Tunable" + UseDivisionForNetSlopeComputation "off" + GainParamInheritBuiltInType off + UseFloatMulNetSlope off + DefaultUnderspecifiedDataType "double" + UseSpecifiedMinMax off + InlineInvariantSignals off + OptimizeBlockIOStorage on + BufferReuse on + EnhancedBackFolding off + CachingGlobalReferences off + GlobalBufferReuse on + StrengthReduction off + AdvancedOptControl "" + ExpressionFolding on + BooleansAsBitfields off + BitfieldContainerType "uint_T" + BitwiseOrLogicalOp "Same as modeled" + EnableMemcpy on + MemcpyThreshold 64 + PassReuseOutputArgsAs "Structure reference" + PassReuseOutputArgsThreshold 12 + ExpressionDepthLimit 128 + LocalBlockOutputs on + RollThreshold 5 + StateBitsets off + DataBitsets off + ActiveStateOutputEnumStorageType "Native Integer" + ZeroExternalMemoryAtStartup on + ZeroInternalMemoryAtStartup on + InitFltsAndDblsToZero off + NoFixptDivByZeroProtection off + EfficientFloat2IntCast off + EfficientMapNaN2IntZero on + LifeSpan "auto" + MaxStackSize "Inherit from target" + BufferReusableBoundary on + SimCompilerOptimization "off" + AccelVerboseBuild off + OptimizeBlockOrder "off" + OptimizeDataStoreBuffers on + BusAssignmentInplaceUpdate on + DifferentSizesBufferReuse off + UseRowMajorAlgorithm off + OptimizationLevel "level2" + OptimizationPriority "Balanced" + OptimizationCustomize on + LabelGuidedReuse off + MultiThreadedLoops off + DenormalBehavior "GradualUnderflow" + EfficientTunableParamExpr off + } + Simulink.DebuggingCC { + $ObjectID 14 + Version "20.0.1" + Array { + Type "Cell" + Dimension 1 + Cell "UseOnlyExistingSharedCode" + PropName "DisabledProps" + } + Description "" + Components [] + RTPrefix "error" + ConsistencyChecking "none" + ArrayBoundsChecking "none" + SignalInfNanChecking "none" + StringTruncationChecking "error" + SignalRangeChecking "none" + ReadBeforeWriteMsg "UseLocalSettings" + WriteAfterWriteMsg "UseLocalSettings" + WriteAfterReadMsg "UseLocalSettings" + AlgebraicLoopMsg "warning" + ArtificialAlgebraicLoopMsg "warning" + SaveWithDisabledLinksMsg "warning" + SaveWithParameterizedLinksMsg "warning" + CheckSSInitialOutputMsg on + UnderspecifiedInitializationDetection "Simplified" + MergeDetectMultiDrivingBlocksExec "error" + CheckExecutionContextPreStartOutputMsg off + CheckExecutionContextRuntimeOutputMsg off + SignalResolutionControl "UseLocalSettings" + BlockPriorityViolationMsg "warning" + MinStepSizeMsg "warning" + TimeAdjustmentMsg "none" + MaxConsecutiveZCsMsg "error" + MaskedZcDiagnostic "warning" + IgnoredZcDiagnostic "warning" + SolverPrmCheckMsg "none" + InheritedTsInSrcMsg "warning" + MultiTaskDSMMsg "error" + MultiTaskCondExecSysMsg "error" + MultiTaskRateTransMsg "error" + SingleTaskRateTransMsg "none" + TasksWithSamePriorityMsg "warning" + ExportedTasksRateTransMsg "none" + SigSpecEnsureSampleTimeMsg "warning" + CheckMatrixSingularityMsg "none" + IntegerOverflowMsg "warning" + Int32ToFloatConvMsg "warning" + ParameterDowncastMsg "error" + ParameterOverflowMsg "error" + ParameterUnderflowMsg "none" + ParameterPrecisionLossMsg "warning" + ParameterTunabilityLossMsg "warning" + FixptConstUnderflowMsg "none" + FixptConstOverflowMsg "none" + FixptConstPrecisionLossMsg "none" + UnderSpecifiedDataTypeMsg "none" + UnnecessaryDatatypeConvMsg "none" + VectorMatrixConversionMsg "none" + FcnCallInpInsideContextMsg "error" + SignalLabelMismatchMsg "none" + UnconnectedInputMsg "warning" + UnconnectedOutputMsg "warning" + UnconnectedLineMsg "warning" + UseOnlyExistingSharedCode "error" + SFcnCompatibilityMsg "none" + FrameProcessingCompatibilityMsg "error" + UniqueDataStoreMsg "none" + BusObjectLabelMismatch "warning" + RootOutportRequireBusObject "warning" + AssertControl "UseLocalSettings" + AllowSymbolicDim on + RowMajorDimensionSupport off + ModelReferenceIOMsg "none" + ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" + ModelReferenceVersionMismatchMessage "none" + ModelReferenceIOMismatchMessage "none" + UnknownTsInhSupMsg "warning" + ModelReferenceDataLoggingMessage "warning" + ModelReferenceSymbolNameMessage "warning" + ModelReferenceExtraNoncontSigs "error" + StateNameClashWarn "none" + OperatingPointInterfaceChecksumMismatchMsg "warning" + NonCurrentReleaseOperatingPointMsg "error" + ChecksumConsistencyForSSReuse "none" + PregeneratedLibrarySubsystemCodeDiagnostic "warning" + MatchCodeGenerationContextForUpdateDiagram "none" + InitInArrayFormatMsg "warning" + StrictBusMsg "ErrorLevel1" + BusNameAdapt "WarnAndRepair" + NonBusSignalsTreatedAsBus "none" + SymbolicDimMinMaxWarning "warning" + LossOfSymbolicDimsSimulationWarning "warning" + LossOfSymbolicDimsCodeGenerationWarning "error" + SymbolicDimsDataTypeCodeGenerationDiagnostic "error" + BlockIODiagnostic "none" + SFUnusedDataAndEventsDiag "warning" + SFUnexpectedBacktrackingDiag "error" + SFInvalidInputDataAccessInChartInitDiag "warning" + SFNoUnconditionalDefaultTransitionDiag "error" + SFTransitionOutsideNaturalParentDiag "warning" + SFUnreachableExecutionPathDiag "warning" + SFUndirectedBroadcastEventsDiag "warning" + SFTransitionActionBeforeConditionDiag "warning" + SFOutputUsedAsStateInMooreChartDiag "error" + SFTemporalDelaySmallerThanSampleTimeDiag "warning" + SFSelfTransitionDiag "warning" + SFExecutionAtInitializationDiag "warning" + SFMachineParentedDataDiag "warning" + IntegerSaturationMsg "warning" + AllowedUnitSystems "all" + UnitsInconsistencyMsg "warning" + AllowAutomaticUnitConversions on + RCSCRenamedMsg "warning" + RCSCObservableMsg "warning" + ForceCombineOutputUpdateInSim off + UnitDatabase "" + UnderSpecifiedDimensionMsg "none" + DebugExecutionForFMUViaOutOfProcess off + ArithmeticOperatorsInVariantConditions "error" + } + Simulink.HardwareCC { + $ObjectID 15 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + ProdBitPerChar 8 + ProdBitPerShort 16 + ProdBitPerInt 32 + ProdBitPerLong 32 + ProdBitPerLongLong 64 + ProdBitPerFloat 32 + ProdBitPerDouble 64 + ProdBitPerPointer 64 + ProdBitPerSizeT 64 + ProdBitPerPtrDiffT 64 + ProdLargestAtomicInteger "Char" + ProdLargestAtomicFloat "Float" + ProdIntDivRoundTo "Zero" + ProdEndianess "LittleEndian" + ProdWordSize 64 + ProdShiftRightIntArith on + ProdLongLongMode off + ProdHWDeviceType "Intel->x86-64 (Windows64)" + TargetBitPerChar 8 + TargetBitPerShort 16 + TargetBitPerInt 32 + TargetBitPerLong 32 + TargetBitPerLongLong 64 + TargetBitPerFloat 32 + TargetBitPerDouble 64 + TargetBitPerPointer 32 + TargetBitPerSizeT 32 + TargetBitPerPtrDiffT 32 + TargetLargestAtomicInteger "Char" + TargetLargestAtomicFloat "None" + TargetShiftRightIntArith on + TargetLongLongMode off + TargetIntDivRoundTo "Undefined" + TargetEndianess "Unspecified" + TargetWordSize 32 + TargetPreprocMaxBitsSint 32 + TargetPreprocMaxBitsUint 32 + TargetHWDeviceType "Specified" + TargetUnknown off + ProdEqTarget on + UseEmbeddedCoderFeatures on + UseSimulinkCoderFeatures on + HardwareBoardFeatureSet "EmbeddedCoderHSP" + } + Simulink.ModelReferenceCC { + $ObjectID 16 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" + EnableRefExpFcnMdlSchedulingChecks on + CheckModelReferenceTargetMessage "error" + EnableParallelModelReferenceBuilds off + ParallelModelReferenceErrorOnInvalidPool on + ParallelModelReferenceMATLABWorkerInit "None" + ModelReferenceNumInstancesAllowed "Multi" + PropagateVarSize "Infer from blocks in model" + ModelDependencies "" + ModelReferencePassRootInputsByReference on + ModelReferenceMinAlgLoopOccurrences off + PropagateSignalLabelsOutOfModel on + SupportModelReferenceSimTargetCustomCode off + } + Simulink.SFSimCC { + $ObjectID 17 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + SimCustomSourceCode "" + SimCustomHeaderCode "" + SimCustomInitializer "" + SimCustomTerminator "" + SimReservedNameArray [] + SimUserSources "" + SimUserIncludeDirs "" + SimUserLibraries "" + SimUserDefines "" + SimCustomCompilerFlags "" + SimCustomLinkerFlags "" + SFSimEcho on + SimCtrlC on + SimIntegrity on + SimUseLocalCustomCode on + SimParseCustomCode on + SimAnalyzeCustomCode off + SimBuildMode "sf_incremental_build" + SimGenImportedTypeDefs off + ModelFunctionsGlobalVisibility "on" + CompileTimeRecursionLimit 50 + EnableRuntimeRecursion on + MATLABDynamicMemAlloc on + MATLABDynamicMemAllocThreshold 65536 + CustomCodeFunctionArrayLayout [] + DefaultCustomCodeFunctionArrayLayout "NotSpecified" + CustomCodeUndefinedFunction "FilterOut" + } + Simulink.RTWCC { + $BackupClass "Simulink.RTWCC" + $ObjectID 18 + Version "20.0.1" + Array { + Type "Cell" + Dimension 16 + Cell "IncludeHyperlinkInReport" + Cell "GenerateTraceInfo" + Cell "GenerateTraceReport" + Cell "GenerateTraceReportSl" + Cell "GenerateTraceReportSf" + Cell "GenerateTraceReportEml" + Cell "PortableWordSizes" + Cell "GenerateWebview" + Cell "GenerateCodeMetricsReport" + Cell "GenerateCodeReplacementReport" + Cell "GenerateMissedCodeReplacementReport" + Cell "GenerateErtSFunction" + Cell "CreateSILPILBlock" + Cell "CodeExecutionProfiling" + Cell "CodeProfilingSaveOptions" + Cell "CodeProfilingInstrumentation" + PropName "DisabledProps" + } + Description "" + SystemTargetFile "grt.tlc" + HardwareBoard "None" + ShowCustomHardwareApp off + ShowEmbeddedHardwareApp off + TLCOptions "" + GenCodeOnly off + MakeCommand "make_rtw" + GenerateMakefile on + PackageGeneratedCodeAndArtifacts off + PackageName "" + TemplateMakefile "grt_default_tmf" + PostCodeGenCommand "" + GenerateReport off + RTWVerbose on + RetainRTWFile off + RTWBuildHooks [] + ProfileTLC off + TLCDebug off + TLCCoverage off + TLCAssert off + RTWUseLocalCustomCode on + RTWUseSimCustomCode off + CustomSourceCode "" + CustomHeaderCode "" + CustomInclude "" + CustomSource "" + CustomLibrary "" + CustomDefine "" + CustomBLASCallback "" + CustomLAPACKCallback "" + CustomFFTCallback "" + CustomInitializer "" + CustomTerminator "" + Toolchain "Automatically locate an installed toolchain" + BuildConfiguration "Faster Builds" + CustomToolchainOptions [] + IncludeHyperlinkInReport off + LaunchReport off + PortableWordSizes off + CreateSILPILBlock "None" + CodeExecutionProfiling off + CodeExecutionProfileVariable "executionProfile" + CodeProfilingSaveOptions "SummaryOnly" + CodeProfilingInstrumentation "off" + SILDebugging off + TargetLang "C" + IncludeBusHierarchyInRTWFileBlockHierarchyMap off + GenerateTraceInfo off + GenerateTraceReport off + GenerateTraceReportSl off + GenerateTraceReportSf off + GenerateTraceReportEml off + GenerateWebview off + GenerateCodeMetricsReport off + GenerateCodeReplacementReport off + GenerateMissedCodeReplacementReport off + RTWCompilerOptimization "off" + ObjectivePriorities [] + RTWCustomCompilerOptimizations "" + CheckMdlBeforeBuild "Off" + SharedConstantsCachingThreshold 1024 + Array { + Type "Handle" + Dimension 2 + Simulink.CodeAppCC { + $ObjectID 19 + Version "20.0.1" + Array { + Type "Cell" + Dimension 28 + Cell "IgnoreCustomStorageClasses" + Cell "IgnoreTestpoints" + Cell "BlockCommentType" + Cell "InsertBlockDesc" + Cell "InsertPolySpaceComments" + Cell "SFDataObjDesc" + Cell "MATLABFcnDesc" + Cell "SimulinkDataObjDesc" + Cell "DefineNamingRule" + Cell "SignalNamingRule" + Cell "ParamNamingRule" + Cell "InternalIdentifier" + Cell "InlinedPrmAccess" + Cell "CustomSymbolStr" + Cell "CustomSymbolStrGlobalVar" + Cell "CustomSymbolStrType" + Cell "CustomSymbolStrField" + Cell "CustomSymbolStrFcn" + Cell "CustomSymbolStrModelFcn" + Cell "CustomSymbolStrFcnArg" + Cell "CustomSymbolStrBlkIO" + Cell "CustomSymbolStrTmpVar" + Cell "CustomSymbolStrMacro" + Cell "CustomSymbolStrUtil" + Cell "CustomSymbolStrEmxType" + Cell "CustomSymbolStrEmxFcn" + Cell "CustomUserTokenString" + Cell "ReqsInCode" + PropName "DisabledProps" + } + Description "" + Components [] + Comment "" + ForceParamTrailComments off + GenerateComments on + CommentStyle "Auto" + IgnoreCustomStorageClasses on + IgnoreTestpoints off + MaxIdLength 31 + PreserveName off + PreserveNameWithParent off + ShowEliminatedStatement off + OperatorAnnotations off + SimulinkDataObjDesc off + SFDataObjDesc off + MATLABFcnDesc off + MangleLength 1 + SharedChecksumLength 8 + CustomSymbolStrGlobalVar "$R$N$M" + CustomSymbolStrType "$N$R$M_T" + CustomSymbolStrField "$N$M" + CustomSymbolStrFcn "$R$N$M$F" + CustomSymbolStrModelFcn "$R$N" + CustomSymbolStrFcnArg "rt$I$N$M" + CustomSymbolStrBlkIO "rtb_$N$M" + CustomSymbolStrTmpVar "$N$M" + CustomSymbolStrMacro "$R$N$M" + CustomSymbolStrUtil "$N$C" + CustomSymbolStrEmxType "emxArray_$M$N" + CustomSymbolStrEmxFcn "emx$M$N" + CustomUserTokenString "" + CustomCommentsFcn "" + DefineNamingRule "None" + DefineNamingFcn "" + ParamNamingRule "None" + ParamNamingFcn "" + SignalNamingRule "None" + SignalNamingFcn "" + InsertBlockDesc off + InsertPolySpaceComments off + SimulinkBlockComments on + BlockCommentType "BlockPathComment" + StateflowObjectComments off + MATLABSourceComments off + EnableCustomComments off + InternalIdentifierFile "" + InternalIdentifier "Shortened" + InlinedPrmAccess "Literals" + ReqsInCode off + UseSimReservedNames off + ReservedNameArray [] + EnumMemberNameClash "error" + } + Simulink.GRTTargetCC { + $BackupClass "Simulink.TargetCC" + $ObjectID 20 + Version "20.0.1" + Array { + Type "Cell" + Dimension 16 + Cell "IncludeMdlTerminateFcn" + Cell "SuppressErrorStatus" + Cell "ERTCustomFileBanners" + Cell "GenerateSampleERTMain" + Cell "ExistingSharedCode" + Cell "GenerateTestInterfaces" + Cell "ModelStepFunctionPrototypeControlCompliant" + Cell "GenerateAllocFcn" + Cell "PurelyIntegerCode" + Cell "SupportComplex" + Cell "SupportAbsoluteTime" + Cell "SupportContinuousTime" + Cell "SupportNonInlinedSFcns" + Cell "RemoveDisableFunc" + Cell "RemoveResetFunc" + Cell "PreserveStateflowLocalDataDimensions" + PropName "DisabledProps" + } + Description "" + Components [] + TargetFcnLib "ansi_tfl_table_tmw.mat" + TargetLibSuffix "" + TargetPreCompLibLocation "" + GenFloatMathFcnCalls "NOT IN USE" + TargetLangStandard "C99 (ISO)" + CodeReplacementLibrary "None" + UtilityFuncGeneration "Auto" + MultiwordTypeDef "System defined" + MultiwordLength 2048 + DynamicStringBufferSize 256 + GenerateFullHeader on + InferredTypesCompatibility off + ExistingSharedCode "" + GenerateSampleERTMain off + GenerateTestInterfaces off + ModelReferenceCompliant on + ParMdlRefBuildCompliant on + CompOptLevelCompliant on + ConcurrentExecutionCompliant on + IncludeMdlTerminateFcn on + CombineOutputUpdateFcns on + CombineSignalStateStructs off + GroupInternalDataByFunction off + SuppressErrorStatus off + IncludeFileDelimiter "Auto" + ERTCustomFileBanners off + SupportAbsoluteTime on + LogVarNameModifier "rt_" + MatFileLogging on + MultiInstanceERTCode off + CodeInterfacePackaging "Nonreusable function" + PurelyIntegerCode off + SupportNonFinite on + SupportComplex on + SupportContinuousTime on + SupportNonInlinedSFcns on + RemoveDisableFunc off + RemoveResetFunc off + SupportVariableSizeSignals off + ParenthesesLevel "Nominal" + CastingMode "Nominal" + MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" + ModelStepFunctionPrototypeControlCompliant off + CPPClassGenCompliant on + AutosarCompliant off + MDXCompliant off + GRTInterface off + GenerateAllocFcn off + UseToolchainInfoCompliant on + GenerateSharedConstants on + CoderGroups [] + AccessMethods [] + LookupTableObjectStructAxisOrder "1,2,3,4,..." + LUTObjectStructOrderExplicitValues "Size,Breakpoints,Table" + LUTObjectStructOrderEvenSpacing "Size,Breakpoints,Table" + ArrayLayout "Column-major" + UnsupportedSFcnMsg "error" + ERTHeaderFileRootName "$R$E" + ERTSourceFileRootName "$R$E" + ERTDataFileRootName "$R_data" + UseMalloc off + ExtMode off + ExtModeStaticAlloc off + ExtModeTesting off + ExtModeStaticAllocSize 1000000 + ExtModeTransport 0 + ExtModeMexFile "ext_comm" + ExtModeMexArgs "" + ExtModeIntrfLevel "Level1" + RTWCAPISignals off + RTWCAPIParams off + RTWCAPIStates off + RTWCAPIRootIO off + GenerateASAP2 off + MultiInstanceErrorCode "Error" + } + PropName "Components" + } + } + SlCovCC.ConfigComp { + $ObjectID 21 + Version "20.0.1" + DisabledProps [] + Description "Simulink Coverage Configuration Component" + Components [] + Name "Simulink Coverage" + CovEnable off + CovScope "EntireSystem" + CovIncludeTopModel on + RecordCoverage off + CovPath "/" + CovSaveName "covdata" + CovCompData "" + CovMetricSettings "dwe" + CovFilter "" + CovHTMLOptions "" + CovNameIncrementing off + CovHtmlReporting off + CovForceBlockReductionOff on + CovEnableCumulative on + CovSaveCumulativeToWorkspaceVar off + CovSaveSingleToWorkspaceVar off + CovCumulativeVarName "covCumulativeData" + CovCumulativeReport off + CovSaveOutputData on + CovOutputDir "slcov_output/$ModelName$" + CovDataFileName "$ModelName$_cvdata" + CovShowResultsExplorer on + CovReportOnPause on + CovModelRefEnable "off" + CovModelRefExcluded "" + CovExternalEMLEnable on + CovSFcnEnable on + CovBoundaryAbsTol 1e-05 + CovBoundaryRelTol 0.01 + CovUseTimeInterval off + CovStartTime 0 + CovStopTime 0 + CovMcdcMode "Masking" + } + PropName "Components" + } + Name "Configuration" + CurrentDlgPage "Solver" + ConfigPrmDlgPosition [ 71, 71, 971, 781 ] + ExtraOptions "" + } + PropName "ConfigurationSets" + } + Simulink.ConfigSet { + $PropName "ActiveConfigurationSet" + $ObjectID 10 + } + Object { + $PropName "DataTransfer" + $ObjectID 22 + $ClassName "Simulink.GlobalDataTransfer" + DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" + DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" + DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" + DefaultExtrapolationMethodBetweenContTasks "None" + } + ExplicitPartitioning off + WSMdlFileData "DataTag0" + BlockDefaults { + ForegroundColor "black" + BackgroundColor "white" + DropShadow off + NameLocation "bottom" + FontName "Helvetica" + FontSize 10 + FontWeight "normal" + FontAngle "normal" + ShowName on + HideAutomaticName on + BlockRotation 0 + BlockMirror off + } + AnnotationDefaults { + HorizontalAlignment "left" + VerticalAlignment "top" + ForegroundColor "black" + BackgroundColor "white" + DropShadow off + FontName "Helvetica" + FontSize 10 + FontWeight "normal" + FontAngle "normal" + MarkupType "model" + UseDisplayTextAsClickCallback off + AnnotationType "note_annotation" + FixedHeight off + FixedWidth off + Interpreter "off" + } + LineDefaults { + FontName "Helvetica" + FontSize 9 + FontWeight "normal" + FontAngle "normal" + } + MaskDefaults { + SelfModifiable "off" + IconFrame "on" + IconOpaque "opaque" + RunInitForIconRedraw "analyze" + IconRotate "none" + PortRotate "default" + IconUnits "autoscale" + } + MaskParameterDefaults { + Evaluate "on" + Tunable "on" + NeverSave "off" + Internal "off" + ReadOnly "off" + Enabled "on" + Visible "on" + ToolTip "on" + } + BlockParameterDefaults { + Block { + BlockType Constant + Value "1" + VectorParams1D on + SamplingMode "Sample based" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit from 'Constant value'" + LockScale off + SampleTime "inf" + FramePeriod "inf" + PreserveConstantTs off + } + Block { + BlockType Inport + Port "1" + IconDisplay "Port number" + OutputFunctionCall off + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: auto" + LockScale off + BusOutputAsStruct off + Unit "inherit" + PortDimensions "-1" + VarSizeSig "Inherit" + SampleTime "-1" + SignalType "auto" + SamplingMode "auto" + LatchByDelayingOutsideSignal off + LatchInputForFeedbackSignals off + Interpolate on + } + Block { + BlockType KnobBlock + LabelPosition "Top" + ShowInitialText on + ScaleMin "0" + ScaleMax "100" + TickInterval "auto" + ScaleType "Linear" + } + Block { + BlockType Outport + Port "1" + IconDisplay "Port number" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: auto" + LockScale off + BusOutputAsStruct off + Unit "inherit" + PortDimensions "-1" + VarSizeSig "Inherit" + SampleTime "-1" + SignalType "auto" + SamplingMode "auto" + EnsureOutportIsVirtual off + SourceOfInitialOutputValue "Dialog" + OutputWhenDisabled "held" + InitialOutput "[]" + MustResolveToSignalObject off + OutputWhenUnConnected off + OutputWhenUnconnectedValue "0" + VectorParamsAs1DForOutWhenUnconnected on + } + Block { + BlockType Scope + DefaultConfigurationName "Simulink.scopes.TimeScopeBlockCfg" + } + Block { + BlockType SubSystem + ShowPortLabels "FromPortIcon" + Permissions "ReadWrite" + PermitHierarchicalResolution "All" + TreatAsAtomicUnit off + MinAlgLoopOccurrences off + ScheduleAs "Sample time" + SystemSampleTime "-1" + RTWSystemCode "Auto" + RTWFcnNameOpts "Auto" + RTWFileNameOpts "Auto" + FunctionInterfaceSpec "void_void" + FunctionWithSeparateData off + MatchGraphicalInterface off + RTWMemSecFuncInitTerm "Inherit from model" + RTWMemSecFuncExecute "Inherit from model" + RTWMemSecDataConstants "Inherit from model" + RTWMemSecDataInternal "Inherit from model" + RTWMemSecDataParameters "Inherit from model" + SimViewingDevice off + ActiveForDiff off + DataTypeOverride "UseLocalSettings" + DataTypeOverrideAppliesTo "AllNumericTypes" + MinMaxOverflowLogging "UseLocalSettings" + Opaque off + MaskHideContents off + SFBlockType "NONE" + Variant off + VariantControlMode "Expression" + GeneratePreprocessorConditionals off + AllowZeroVariantControls off + PropagateVariantConditions off + TreatAsGroupedWhenPropagatingVariantConditions on + ContentPreviewEnabled off + IsWebBlock off + IsInjectorSS off + Latency "0" + AutoFrameSizeCalculation off + IsWebBlockPanel off + } + Block { + BlockType Sum + IconShape "round" + Inputs "++" + CollapseMode "All dimensions" + CollapseDim "1" + InputSameDT off + AccumDataTypeStr "Inherit: Inherit via internal rule" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit via internal rule" + LockScale off + RndMeth "Floor" + SaturateOnIntegerOverflow off + SampleTime "-1" + } + Block { + BlockType Switch + Criteria "u2 >= Threshold" + Threshold "0" + InputSameDT on + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit via internal rule" + LockScale off + RndMeth "Floor" + SaturateOnIntegerOverflow on + ZeroCross on + SampleTime "-1" + AllowDiffInputSizes off + } + Block { + BlockType UnitDelay + InitialCondition "0" + InputProcessing "Elements as channels (sample based)" + SampleTime "1" + StateMustResolveToSignalObject off + CodeGenStateStorageClass "Auto" + HasFrameUpgradeWarning off + } + } + System { + Name "Demo_Example" + Location [953, 0, 1927, 1047] + Open on + PortBlocksUseCompactNotation off + SetExecutionDomain off + ExecutionDomainType "Deduce" + ModelBrowserVisibility on + ModelBrowserWidth 200 + ScreenColor "white" + PaperOrientation "landscape" + PaperPositionMode "auto" + PaperType "usletter" + PaperUnits "inches" + TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] + TiledPageScale 1 + ShowPageBoundaries off + ZoomFactor "141" + ReportName "simulink-default.rpt" + SIDHighWatermark "100" + SimulinkSubDomain "Simulink" + Block { + BlockType KnobBlock + Name "Knob" + SID "94" + Position [260, 231, 370, 346] + ZOrder 213 + ShowName off + BindingPersistence "DataTag1" + } + Block { + BlockType KnobBlock + Name "Knob1" + SID "95" + Position [260, 336, 370, 451] + ZOrder 214 + ShowName off + BindingPersistence "DataTag2" + } + Block { + BlockType Scope + Name "c_Sensor_Trip_1" + SID "98" + Ports [1] + Position [795, 274, 825, 306] + ZOrder 215 + ScopeSpecificationString "Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extm" + "gr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('S" + "ources','WiredSimulink',true),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('Mi" + "nYLimReal','-1.00000','MaxYLimReal','1.00000','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','1.00000','Leg" + "endVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.68627" + "4509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.0666666666666667;0.0745098039215686 0.623529" + "411764706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.831372549019608 0.0745098039215686;0.717647" + "058823529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863],'Title','%','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'f_Sensor_Trip_1'}},'" + "ShowContent',true,'Placement',1)},'DisplayPropertyDefaults',struct('MinYLimReal','-1.00000','MaxYLimReal','1.000" + "00','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','1.00000','LegendVisibility','off','XGrid',true,'YGrid'," + "true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.68627450980" + "3922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666" + "666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294" + "117647 1 1;1 0.0745098039215686 0.650980392156863])),extmgr.Configuration('Tools','Plot Navigation',true),extmgr" + ".Configuration('Tools','Measurements',true,'Version','2020a')),'Version','2020a','Position',[2223 498 560 420])" + NumInputPorts "1" + Floating off + } + Block { + BlockType Scope + Name "c_Sensor_Trip_2" + SID "99" + Ports [1] + Position [795, 374, 825, 406] + ZOrder 216 + ScopeSpecificationString "Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extm" + "gr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('S" + "ources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain" + "',true,'SerializedDisplays',{struct('MinYLimReal','-0.125','MaxYLimReal','1.125','YLabelReal','','MinYLimMag','0" + ".00000','MaxYLimMag','1.125','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor'" + ",[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.06666666666" + "66667;0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.8313725490" + "19608 0.0745098039215686;0.717647058823529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686 0.650" + "980392156863],'Title','%','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'L" + "ineNames',{{'f_Sensor_Trip_2'}},'ShowContent',true,'Placement',1)},'DisplayPropertyDefaults',struct('MinYLimReal" + "','-0.125','MaxYLimReal','1.125','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','1.125','LegendVisibility'," + "'off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.68" + "6274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.1607" + "8431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.07" + "45098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863])),extmgr.Configuration('Tools','Pl" + "ot Navigation',true),extmgr.Configuration('Tools','Measurements',true,'Version','2020a')),'Version','2020a','Pos" + "ition',[2783 498 560 420])" + NumInputPorts "1" + Floating off + } + Block { + BlockType SubSystem + Name "f_Sensor_Trip_1" + SID "6" + Ports [1, 1] + Position [520, 248, 720, 332] + ZOrder 181 + RequestExecContextInheritance off + ContentPreviewEnabled on + System { + Name "f_Sensor_Trip_1" + Location [953, 0, 1927, 1047] + Open off + PortBlocksUseCompactNotation off + SetExecutionDomain off + ExecutionDomainType "Deduce" + ModelBrowserVisibility on + ModelBrowserWidth 200 + ScreenColor "white" + PaperOrientation "landscape" + PaperPositionMode "auto" + PaperType "usletter" + PaperUnits "inches" + TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] + TiledPageScale 1 + ShowPageBoundaries off + ZoomFactor "155" + SimulinkSubDomain "Simulink" + Block { + BlockType Inport + Name "m_Sensor_Signal_1" + SID "7" + Position [-265, -22, -235, -8] + ZOrder -1 + OutDataTypeStr "int16" + } + Block { + BlockType UnitDelay + Name "Delay" + SID "13" + Position [65, -32, 100, 2] + ZOrder 282 + SampleTime "-1" + HasFrameUpgradeWarning on + Port { + PortNumber 1 + Name "prev_Sensor_Tripped" + } + } + Block { + BlockType Sum + Name "Sum" + SID "23" + Ports [2, 1] + Position [-190, -25, -170, -5] + ZOrder 288 + Inputs "|+-" + Port { + PortNumber 1 + Name "Signal-Setpoint" + } + } + Block { + BlockType Sum + Name "Sum1" + SID "26" + Ports [2, 1] + Position [-165, 60, -145, 80] + ZOrder 291 + Port { + PortNumber 1 + Name "Signal-Setpoint+Hys" + } + } + Block { + BlockType Switch + Name "Switch" + SID "20" + Position [-40, -35, 10, 5] + ZOrder 285 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Switch + Name "Switch1" + SID "25" + Position [-40, 50, 10, 90] + ZOrder 290 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Constant + Name "e_NotTripped" + SID "27" + Position [-280, 160, -215, 190] + ZOrder 292 + Value "e_NotTripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "e_Tripped" + SID "24" + Position [-275, -85, -225, -55] + ZOrder 289 + Value "e_Tripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "k_Hys" + SID "19" + Position [-265, 95, -235, 125] + ZOrder 284 + Value "k_Hys" + OutDataTypeStr "int16" + } + Block { + BlockType Constant + Name "k_Setpoint" + SID "81" + Position [-280, 37, -225, 63] + ZOrder 293 + Value "k_Setpoint" + OutDataTypeStr "int16" + } + Block { + BlockType Outport + Name "c_Sensor_Trip_1" + SID "8" + Position [185, -22, 215, -8] + ZOrder -2 + OutDataTypeStr "boolean" + } + Line { + ZOrder 9 + SrcBlock "m_Sensor_Signal_1" + SrcPort 1 + DstBlock "Sum" + DstPort 1 + } + Line { + Name "Signal-Setpoint" + ZOrder 10 + SrcBlock "Sum" + SrcPort 1 + Points [10, 0] + Branch { + ZOrder 26 + Labels [1, 1] + DstBlock "Switch" + DstPort 2 + } + Branch { + ZOrder 19 + DstBlock "Sum1" + DstPort 1 + } + } + Line { + ZOrder 11 + SrcBlock "e_Tripped" + SrcPort 1 + Points [160, 0; 0, 40] + DstBlock "Switch" + DstPort 1 + } + Line { + ZOrder 12 + SrcBlock "Switch" + SrcPort 1 + DstBlock "Delay" + DstPort 1 + } + Line { + Name "prev_Sensor_Tripped" + ZOrder 13 + SrcBlock "Delay" + SrcPort 1 + Points [19, 0] + Branch { + ZOrder 17 + Labels [2, 1] + Points [0, 47; -188, 0; 0, 23] + DstBlock "Switch1" + DstPort 1 + } + Branch { + ZOrder 16 + DstBlock "c_Sensor_Trip_1" + DstPort 1 + } + } + Line { + ZOrder 14 + SrcBlock "Switch1" + SrcPort 1 + Points [15, 0; 0, -30; -111, 0; 0, -40] + DstBlock "Switch" + DstPort 3 + } + Line { + ZOrder 20 + SrcBlock "k_Hys" + SrcPort 1 + Points [75, 0] + DstBlock "Sum1" + DstPort 2 + } + Line { + Name "Signal-Setpoint+Hys" + ZOrder 22 + Labels [1, 1] + SrcBlock "Sum1" + SrcPort 1 + DstBlock "Switch1" + DstPort 2 + } + Line { + ZOrder 24 + SrcBlock "e_NotTripped" + SrcPort 1 + Points [149, 0; 0, -90] + DstBlock "Switch1" + DstPort 3 + } + Line { + ZOrder 37 + SrcBlock "k_Setpoint" + SrcPort 1 + Points [40, 0] + DstBlock "Sum" + DstPort 2 + } + } + } + Block { + BlockType SubSystem + Name "f_Sensor_Trip_2" + SID "82" + Ports [1, 1] + Position [520, 351, 720, 429] + ZOrder 197 + RequestExecContextInheritance off + ContentPreviewEnabled on + System { + Name "f_Sensor_Trip_2" + Location [953, 0, 1927, 1047] + Open off + PortBlocksUseCompactNotation off + SetExecutionDomain off + ExecutionDomainType "Deduce" + ModelBrowserVisibility on + ModelBrowserWidth 200 + ScreenColor "white" + PaperOrientation "landscape" + PaperPositionMode "auto" + PaperType "usletter" + PaperUnits "inches" + TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] + TiledPageScale 1 + ShowPageBoundaries off + ZoomFactor "155" + SimulinkSubDomain "Simulink" + Block { + BlockType Inport + Name "m_Sensor_Signal_2" + SID "83" + Position [-265, -22, -235, -8] + ZOrder -1 + OutDataTypeStr "int16" + } + Block { + BlockType UnitDelay + Name "Delay" + SID "84" + Position [65, -32, 100, 2] + ZOrder 282 + SampleTime "-1" + HasFrameUpgradeWarning on + Port { + PortNumber 1 + Name "prev_Sensor_Tripped" + } + } + Block { + BlockType Sum + Name "Sum" + SID "85" + Ports [2, 1] + Position [-190, -25, -170, -5] + ZOrder 288 + Inputs "|+-" + Port { + PortNumber 1 + Name "Signal-Setpoint" + } + } + Block { + BlockType Sum + Name "Sum1" + SID "86" + Ports [2, 1] + Position [-165, 60, -145, 80] + ZOrder 291 + Port { + PortNumber 1 + Name "Signal-Setpoint+Hys" + } + } + Block { + BlockType Switch + Name "Switch" + SID "87" + Position [-40, -35, 10, 5] + ZOrder 285 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Switch + Name "Switch1" + SID "88" + Position [-40, 50, 10, 90] + ZOrder 290 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Constant + Name "e_NotTripped" + SID "89" + Position [-280, 160, -215, 190] + ZOrder 292 + Value "e_NotTripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "e_Tripped" + SID "90" + Position [-275, -85, -225, -55] + ZOrder 289 + Value "e_Tripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "k_Hys" + SID "91" + Position [-265, 95, -235, 125] + ZOrder 284 + Value "k_Hys" + OutDataTypeStr "int16" + } + Block { + BlockType Constant + Name "k_Setpoint" + SID "92" + Position [-280, 37, -225, 63] + ZOrder 293 + Value "k_Setpoint" + OutDataTypeStr "int16" + } + Block { + BlockType Outport + Name "c_Sensor_Trip_2" + SID "93" + Position [185, -22, 215, -8] + ZOrder -2 + OutDataTypeStr "boolean" + } + Line { + ZOrder 1 + SrcBlock "k_Setpoint" + SrcPort 1 + Points [40, 0] + DstBlock "Sum" + DstPort 2 + } + Line { + ZOrder 2 + SrcBlock "e_NotTripped" + SrcPort 1 + Points [149, 0; 0, -90] + DstBlock "Switch1" + DstPort 3 + } + Line { + Name "Signal-Setpoint+Hys" + ZOrder 3 + Labels [1, 1] + SrcBlock "Sum1" + SrcPort 1 + DstBlock "Switch1" + DstPort 2 + } + Line { + ZOrder 4 + SrcBlock "k_Hys" + SrcPort 1 + Points [75, 0] + DstBlock "Sum1" + DstPort 2 + } + Line { + ZOrder 5 + SrcBlock "Switch1" + SrcPort 1 + Points [15, 0; 0, -30; -111, 0; 0, -40] + DstBlock "Switch" + DstPort 3 + } + Line { + Name "prev_Sensor_Tripped" + ZOrder 6 + SrcBlock "Delay" + SrcPort 1 + Points [19, 0] + Branch { + ZOrder 7 + DstBlock "c_Sensor_Trip_2" + DstPort 1 + } + Branch { + ZOrder 8 + Labels [2, 1] + Points [0, 47; -188, 0; 0, 23] + DstBlock "Switch1" + DstPort 1 + } + } + Line { + ZOrder 9 + SrcBlock "Switch" + SrcPort 1 + DstBlock "Delay" + DstPort 1 + } + Line { + ZOrder 10 + SrcBlock "e_Tripped" + SrcPort 1 + Points [160, 0; 0, 40] + DstBlock "Switch" + DstPort 1 + } + Line { + Name "Signal-Setpoint" + ZOrder 11 + SrcBlock "Sum" + SrcPort 1 + Points [10, 0] + Branch { + ZOrder 12 + DstBlock "Sum1" + DstPort 1 + } + Branch { + ZOrder 13 + Labels [1, 1] + DstBlock "Switch" + DstPort 2 + } + } + Line { + ZOrder 14 + SrcBlock "m_Sensor_Signal_2" + SrcPort 1 + DstBlock "Sum" + DstPort 1 + } + } + } + Block { + BlockType Constant + Name "m_Sensor_Signal_1" + SID "96" + Position [420, 275, 450, 305] + ZOrder 211 + Value "37.79796600341797" + OutDataTypeStr "int16" + } + Block { + BlockType Constant + Name "m_Sensor_Signal_2" + SID "97" + Position [420, 375, 450, 405] + ZOrder 212 + Value "45.16112772623698" + OutDataTypeStr "int16" + } + Line { + ZOrder 26 + SrcBlock "m_Sensor_Signal_2" + SrcPort 1 + DstBlock "f_Sensor_Trip_2" + DstPort 1 + } + Line { + ZOrder 25 + SrcBlock "m_Sensor_Signal_1" + SrcPort 1 + DstBlock "f_Sensor_Trip_1" + DstPort 1 + } + Line { + ZOrder 30 + SrcBlock "f_Sensor_Trip_2" + SrcPort 1 + DstBlock "c_Sensor_Trip_2" + DstPort 1 + } + Line { + ZOrder 29 + SrcBlock "f_Sensor_Trip_1" + SrcPort 1 + DstBlock "c_Sensor_Trip_1" + DstPort 1 + } + } +} +MatData { + NumRecords 3 + DataRecord { + Tag DataTag0 + Data " %)30 . 8 ( 8 ( @ % \" $ $ 0 % 0 !@ $ , 3F%M90" + " 5F%L=64 X ! !@ @ $ 4 ( 0 P ! ! , 95].;W147!E7P . " + "2 8 ( #0 % \" 8 ! 0 & & -T\" 0 $ # 0 X P " + "!@ @ $ 4 ( ! ! #@ # & \" 0 !0 @ " + " $ $ . , 8 ( ! % \" 0 0 X P !@" + " @ $ 4 ( ! ! #@ (@ & \" D !0 @ ! 6 " + " $ @ %@ 4E- X !( !@ @ \" 4 ( 0 $ ! 4 ! % 0 " + " 4 !-0T]3 X " + } + DataRecord { + Tag DataTag2 + Data " %)30 . F 8 ( $0 ! $ ! !-0T]3 0 !P !3:6UU;&EN:RY(34DN4&%R86U3;W5" + "R8V5);F9O X !( !@ @ - 4 ( !@ $ ! 8 8 W0( ! 0 $ " + " \" #@ )@( & \" D !0 @ ! : @ $ @ &@( 4E- X #(!P !@ @ " + " \" 4 ( 0 $ ! 4 ! % 0 4 !-0T]3 X \" !P !@ @ 1 $ " + " 0 $ $U#3U,! #0 $9I;&577!E7P . " + "2 8 ( #0 % \" 8 ! 0 & & -T\" 0 $ # 0 X P " + "!@ @ $ 4 ( ! ! #@ # & \" 0 !0 @ " + " $ $ . , 8 ( ! % \" 0 0 X P !@" + " @ $ 4 ( ! ! #@ (@ & \" D !0 @ ! 6 " + " $ @ %@ 4E- X !( !@ @ \" 4 ( 0 $ ! 4 ! % 0 " + " 4 !-0T]3 X " + } +} diff --git a/src/specification/demo/Demo_Example_With_SF.mdl b/src/specification/demo/Demo_Example_With_SF.mdl new file mode 100644 index 0000000000000000000000000000000000000000..4e1e7db4e47719b93312c9c9838754583e409684 --- /dev/null +++ b/src/specification/demo/Demo_Example_With_SF.mdl @@ -0,0 +1,1754 @@ +Model { + Name "Demo_Example_With_SF" + Version 10.1 + SavedCharacterEncoding "windows-1252" + GraphicalInterface { + NumRootInports 0 + NumRootOutports 0 + ParameterArgumentNames "" + ComputedModelVersion "1.18" + NumModelReferences 0 + NumTestPointedSignals 0 + NumProvidedFunctions 0 + NumRequiredFunctions 0 + NumResetEvents 0 + HasInitializeEvent 0 + HasTerminateEvent 0 + PreCompExecutionDomainType "Unset" + IsExportFunctionModel 0 + IsArchitectureModel 0 + IsAUTOSARArchitectureModel 0 + NumParameterArguments 0 + NumExternalFileReferences 0 + OrderedModelArguments 0 + } + DiagnosticSuppressor "on" + LogicAnalyzerGraphicalSettings "{\n \"cursors\" : {\n \"activeCursor\" : 0,\n \"lockedCursors\" : [\n\n ]," + "\n \"startingCursor\" : 0,\n \"times\" : [\n 0\n ]\n },\n \"global\" : {\n },\n \"panels\" : [\n " + " {\n \"height\" : 100,\n \"startingTrace\" : 0,\n \"traces\" : [\n\n ],\n \"yOffset\" : 0\n" + " }\n ],\n \"timeAxis\" : {\n \"pixelsPerSecond\" : 175.8\n },\n \"trigger\" : {\n \"enabled\" : false,\n" + " \"mode\" : \"once\",\n \"samples\" : 200,\n \"signals\" : {\n },\n \"stages\" : [\n {\n " + "\"conditions\" : [\n\n ],\n \"operator\" : \"AND\"\n }\n ]\n }\n}" + LogicAnalyzerPlugin "on" + WebScopes_FoundationPlugin "on" + NotesPlugin "on" + SLCCPlugin "on" + AnimationPlugin "on" + EnableAccessToBaseWorkspace on + ScopeRefreshTime 0.035000 + OverrideScopeRefreshTime on + DisableAllScopes off + DataTypeOverride "UseLocalSettings" + DataTypeOverrideAppliesTo "AllNumericTypes" + MinMaxOverflowLogging "UseLocalSettings" + MinMaxOverflowArchiveMode "Overwrite" + FPTRunName "Run 1" + MaxMDLFileLineLength 120 + LastSavedArchitecture "win64" + Object { + $PropName "BdWindowsInfo" + $ObjectID 1 + $ClassName "Simulink.BDWindowsInfo" + Object { + $PropName "WindowsInfo" + $ObjectID 2 + $ClassName "Simulink.WindowInfo" + IsActive [1] + Location [-7.0, 0.0, 974.0, 1047.0] + Object { + $PropName "ModelBrowserInfo" + $ObjectID 3 + $ClassName "Simulink.ModelBrowserInfo" + Visible [1] + DockPosition "Left" + Width [50] + Height [50] + Filter [9] + Minimized "On" + } + Object { + $PropName "ExplorerBarInfo" + $ObjectID 4 + $ClassName "Simulink.ExplorerBarInfo" + Visible [1] + } + Array { + Type "Simulink.EditorInfo" + Dimension 5 + Object { + $ObjectID 5 + IsActive [0] + IsTabbed [1] + ViewObjType "SimulinkSubsys" + LoadSaveID "6" + Extents [858.0, 805.0] + ZoomFactor [1.0993377483443709] + Offset [-427.73493975903614, -348.12951807228916] + SceneRectInView [-427.73493975903614, -348.12951807228916, 780.46987951807228, 732.25903614457832] + } + Object { + $ObjectID 6 + IsActive [1] + IsTabbed [1] + ViewObjType "SimulinkTopLevel" + LoadSaveID "0" + Extents [858.0, 805.0] + ZoomFactor [1.2227094338754043] + Offset [233.55001882530121, -49.686958772590344] + SceneRectInView [233.55001882530121, -49.686958772590344, 701.72027484939758, 658.37391754518069] + } + Object { + $ObjectID 7 + IsActive [0] + IsTabbed [0] + ViewObjType "SimulinkSubsys" + LoadSaveID "106" + Extents [858.0, 805.0] + ZoomFactor [1.1608391608391608] + Offset [202.93975903614455, -8.7319277108433653] + SceneRectInView [202.93975903614455, -8.7319277108433653, 739.1204819277109, 693.46385542168673] + } + Object { + $ObjectID 8 + IsActive [0] + IsTabbed [0] + ViewObjType "SimulinkSubsys" + LoadSaveID "38" + Extents [858.0, 805.0] + ZoomFactor [1.5892058458362628] + Offset [-292.26255647590358, -192.77115493222891] + SceneRectInView [-292.26255647590358, -192.77115493222891, 539.89230045180716, 506.54230986445782] + } + Object { + $ObjectID 9 + IsActive [0] + IsTabbed [0] + ViewObjType "SimulinkSubsys" + LoadSaveID "81" + Extents [858.0, 805.0] + ZoomFactor [1.0] + Offset [-199.0, -334.5] + SceneRectInView [-199.0, -334.5, 858.0, 805.0] + } + PropName "EditorsInfo" + } + Array { + Type "Simulink.DockComponentInfo" + Dimension 2 + Object { + $ObjectID 10 + Type "GLUE2:SpreadSheet" + ID "ModelData" + Visible [0] + CreateCallback "DataView.createSpreadSheetComponent" + UserData "" + Floating [0] + DockPosition "Bottom" + Width [892] + Height [215] + Minimized "Unset" + } + Object { + $ObjectID 11 + Type "GLUE2:PropertyInspector" + ID "Property Inspector" + Visible [1] + CreateCallback "" + UserData "" + Floating [0] + DockPosition "Right" + Width [300] + Height [400] + Minimized "On" + } + PropName "DockComponentsInfo" + } + WindowState "AAAA/wAAAAD9AAAAAwAAAAAAAAC9AAAB+PwCAAAAA/sAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAA" + "AAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0Ac" + "ABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAABjAP///wAAAAEAAAAAAAAAAPwCA" + "AAAAfsAAABUAEcATABVAEUAMgA6AFAAcgBvAHAAZQByAHQAeQBJAG4AcwBwAGUAYwB0AG8AcgAvAFAAcgBvAHAAZQByAHQAeQAgAEkAbgBzAHAAZ" + "QBjAHQAbwByAAAAAAD/////AAAAKwD///8AAAADAAADgAAAAPP8AQAAAAH7AAAANgBHAEwAVQBFADIAOgBTAHAAcgBlAGEAZABTAGgAZQBlAHQAL" + "wBNAG8AZABlAGwARABhAHQAYQAAAAAeAAADgAAAARoA////AAADgAAAA2IAAAABAAAAAgAAAAEAAAAC/AAAAAMAAAAAAAAAAQAAADYAYwBvAGwAb" + "ABhAHAAcwBpAGIAbABlAFAAYQBuAGUAbABUAG8AbwBsAEIAYQByAEwAZQBmAHQDAAAAAP////8AAAAAAAAAAAAAAAEAAAABAAAAOABjAG8AbABsA" + "GEAcABzAGkAYgBsAGUAUABhAG4AZQBsAFQAbwBvAGwAQgBhAHIAUgBpAGcAaAB0AwAAAAD/////AAAAAAAAAAAAAAADAAAAAQAAADoAYwBvAGwAb" + "ABhAHAAcwBpAGIAbABlAFAAYQBuAGUAbABUAG8AbwBsAEIAYQByAEIAbwB0AHQAbwBtAAAAAAD/////AAAAAAAAAAA=" + Array { + Type "Cell" + Dimension 0 + PropName "PersistedApps" + } + WindowUuid "0b82776b-3568-4091-8b56-551a033ff4d9" + } + BDUuid "8c489aed-0064-4804-a9de-a41ce69bd066" + } + HideAutomaticNames on + Created "Wed Jun 03 13:39:38 2020" + Creator "super" + UpdateHistory "UpdateHistoryNever" + ModifiedByFormat "%" + LastModifiedBy "super" + ModifiedDateFormat "%" + LastModifiedDate "Wed Jun 03 18:49:52 2020" + RTWModifiedTimeStamp 513109738 + ModelVersionFormat "1.%" + SampleTimeColors off + SampleTimeAnnotations off + LibraryLinkDisplay "disabled" + WideLines off + ShowLineDimensions off + ShowPortDataTypes off + ShowAllPropagatedSignalLabels off + PortDataTypeDisplayFormat "AliasTypeOnly" + ShowEditTimeErrors on + ShowEditTimeWarnings on + ShowEditTimeAdvisorChecks off + ShowPortUnits off + ShowDesignRanges off + ShowLoopsOnError on + IgnoreBidirectionalLines off + ShowStorageClass off + ShowTestPointIcons on + ShowSignalResolutionIcons on + ShowViewerIcons on + SortedOrder off + VariantCondition off + ShowLinearizationAnnotations on + ShowVisualizeInsertedRTB on + ShowMarkup on + BlockNameDataTip off + BlockParametersDataTip off + BlockDescriptionStringDataTip off + BlockVariantConditionDataTip off + ToolBar on + StatusBar on + BrowserShowLibraryLinks off + FunctionConnectors off + BrowserLookUnderMasks off + MultiThreadCoSim "on" + SimulationMode "normal" + SILPILModeSetting "automated" + SILPILSystemUnderTest "topmodel" + SILPILSimulationModeTopModel "normal" + SILPILSimulationModeModelRef "normal" + SimTabSimulationMode "normal" + CodeVerificationMode "software-in-the-loop (sil)" + PauseTimes "5" + NumberOfSteps 1 + SnapshotBufferSize 10 + SnapshotInterval 10 + NumberOfLastSnapshots 0 + EnablePacing on + PacingRate 1 + LinearizationMsg "none" + Profile off + ParamWorkspaceSource "MATLABWorkspace" + AccelSystemTargetFile "accel.tlc" + AccelTemplateMakefile "accel_default_tmf" + AccelMakeCommand "make_rtw" + TryForcingSFcnDF off + Object { + $PropName "DataLoggingOverride" + $ObjectID 12 + $ClassName "Simulink.SimulationData.ModelLoggingInfo" + model_ "Demo_Example_With_SF" + overrideMode_ [0.0] + Array { + Type "Cell" + Dimension 1 + Cell "Demo_Example_With_SF" + PropName "logAsSpecifiedByModels_" + } + Array { + Type "Cell" + Dimension 1 + Cell [] + PropName "logAsSpecifiedByModelsSSIDs_" + } + } + Object { + $PropName "InstrumentedSignals" + $ObjectID 13 + $ClassName "Simulink.HMI.InstrumentedSignals" + Persistence [] + } + ExtModeBatchMode off + ExtModeEnableFloating on + ExtModeTrigType "manual" + ExtModeTrigMode "normal" + ExtModeTrigPort "1" + ExtModeTrigElement "any" + ExtModeTrigDuration 1000 + ExtModeTrigDurationFloating "auto" + ExtModeTrigHoldOff 0 + ExtModeTrigDelay 0 + ExtModeTrigDirection "rising" + ExtModeTrigLevel 0 + ExtModeArchiveMode "off" + ExtModeAutoIncOneShot off + ExtModeIncDirWhenArm off + ExtModeAddSuffixToVar off + ExtModeWriteAllDataToWs off + ExtModeArmWhenConnect on + ExtModeSkipDownloadWhenConnect off + ExtModeLogAll on + ExtModeAutoUpdateStatusClock on + ShowModelReferenceBlockVersion off + ShowModelReferenceBlockIO off + OrderedModelArguments off + Array { + Type "Handle" + Dimension 1 + Simulink.ConfigSet { + $ObjectID 14 + Version "20.0.1" + DisabledProps [] + Description "" + Array { + Type "Handle" + Dimension 9 + Simulink.SolverCC { + $ObjectID 15 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + StartTime "0.0" + StopTime "100" + AbsTol "auto" + AutoScaleAbsTol on + FixedStep "1" + InitialStep "auto" + MaxOrder 5 + ZcThreshold "auto" + ConsecutiveZCsStepRelTol "10*128*eps" + MaxConsecutiveZCs "1000" + ExtrapolationOrder 4 + NumberNewtonIterations 1 + MaxStep "auto" + MinStep "auto" + MaxConsecutiveMinStep "1" + RelTol "1e-3" + EnableMultiTasking off + ConcurrentTasks off + Solver "FixedStepDiscrete" + SolverName "FixedStepDiscrete" + SolverJacobianMethodControl "auto" + ShapePreserveControl "DisableAll" + ZeroCrossControl "UseLocalSettings" + ZeroCrossAlgorithm "Nonadaptive" + AlgebraicLoopSolver "TrustRegion" + SolverInfoToggleStatus on + IsAutoAppliedInSIP off + SolverResetMethod "Fast" + PositivePriorityOrder off + AutoInsertRateTranBlk off + SampleTimeConstraint "Unconstrained" + InsertRTBMode "Whenever possible" + SampleTimeProperty [] + DecoupledContinuousIntegration off + MinimalZcImpactIntegration off + ODENIntegrationMethod "ode3" + } + Simulink.DataIOCC { + $ObjectID 16 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + Decimation "1" + ExternalInput "[t, u]" + FinalStateName "xFinal" + InitialState "xInitial" + LimitDataPoints off + MaxDataPoints "1000" + LoadExternalInput off + LoadInitialState off + SaveFinalState off + SaveOperatingPoint off + SaveFormat "Dataset" + SignalLoggingSaveFormat "Dataset" + SaveOutput on + SaveState off + SignalLogging on + DSMLogging on + InspectSignalLogs off + VisualizeSimOutput on + StreamToWorkspace off + StreamVariableName "streamout" + SaveTime on + ReturnWorkspaceOutputs on + StateSaveName "xout" + TimeSaveName "tout" + OutputSaveName "yout" + SignalLoggingName "logsout" + DSMLoggingName "dsmout" + OutputOption "RefineOutputTimes" + OutputTimes "[]" + ReturnWorkspaceOutputsName "out" + Refine "1" + LoggingToFile off + DatasetSignalFormat "timeseries" + LoggingFileName "out.mat" + LoggingIntervals "[-inf, inf]" + } + Simulink.OptimizationCC { + $ObjectID 17 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + BlockReduction on + BooleanDataType on + ConditionallyExecuteInputs on + DefaultParameterBehavior "Inlined" + UseDivisionForNetSlopeComputation "on" + GainParamInheritBuiltInType off + UseFloatMulNetSlope on + DefaultUnderspecifiedDataType "double" + UseSpecifiedMinMax off + InlineInvariantSignals off + OptimizeBlockIOStorage on + BufferReuse on + EnhancedBackFolding on + CachingGlobalReferences off + GlobalBufferReuse on + StrengthReduction off + AdvancedOptControl "" + ExpressionFolding on + BooleansAsBitfields off + BitfieldContainerType "uint_T" + BitwiseOrLogicalOp "Same as modeled" + EnableMemcpy on + MemcpyThreshold 64 + PassReuseOutputArgsAs "Individual arguments" + PassReuseOutputArgsThreshold 12 + ExpressionDepthLimit 128 + LocalBlockOutputs on + RollThreshold 5 + StateBitsets off + DataBitsets off + ActiveStateOutputEnumStorageType "Native Integer" + ZeroExternalMemoryAtStartup off + ZeroInternalMemoryAtStartup off + InitFltsAndDblsToZero off + NoFixptDivByZeroProtection off + EfficientFloat2IntCast off + EfficientMapNaN2IntZero on + LifeSpan "auto" + MaxStackSize "Inherit from target" + BufferReusableBoundary on + SimCompilerOptimization "off" + AccelVerboseBuild off + OptimizeBlockOrder "speed" + OptimizeDataStoreBuffers on + BusAssignmentInplaceUpdate on + DifferentSizesBufferReuse on + UseRowMajorAlgorithm off + OptimizationLevel "level2" + OptimizationPriority "Balanced" + OptimizationCustomize off + LabelGuidedReuse off + MultiThreadedLoops off + DenormalBehavior "GradualUnderflow" + EfficientTunableParamExpr on + } + Simulink.DebuggingCC { + $ObjectID 18 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + RTPrefix "error" + ConsistencyChecking "none" + ArrayBoundsChecking "none" + SignalInfNanChecking "none" + StringTruncationChecking "error" + SignalRangeChecking "none" + ReadBeforeWriteMsg "UseLocalSettings" + WriteAfterWriteMsg "UseLocalSettings" + WriteAfterReadMsg "UseLocalSettings" + AlgebraicLoopMsg "warning" + ArtificialAlgebraicLoopMsg "warning" + SaveWithDisabledLinksMsg "warning" + SaveWithParameterizedLinksMsg "warning" + CheckSSInitialOutputMsg on + UnderspecifiedInitializationDetection "Simplified" + MergeDetectMultiDrivingBlocksExec "error" + CheckExecutionContextPreStartOutputMsg off + CheckExecutionContextRuntimeOutputMsg off + SignalResolutionControl "UseLocalSettings" + BlockPriorityViolationMsg "warning" + MinStepSizeMsg "warning" + TimeAdjustmentMsg "none" + MaxConsecutiveZCsMsg "error" + MaskedZcDiagnostic "warning" + IgnoredZcDiagnostic "warning" + SolverPrmCheckMsg "none" + InheritedTsInSrcMsg "warning" + MultiTaskDSMMsg "error" + MultiTaskCondExecSysMsg "error" + MultiTaskRateTransMsg "error" + SingleTaskRateTransMsg "none" + TasksWithSamePriorityMsg "warning" + ExportedTasksRateTransMsg "none" + SigSpecEnsureSampleTimeMsg "warning" + CheckMatrixSingularityMsg "none" + IntegerOverflowMsg "warning" + Int32ToFloatConvMsg "warning" + ParameterDowncastMsg "error" + ParameterOverflowMsg "error" + ParameterUnderflowMsg "none" + ParameterPrecisionLossMsg "none" + ParameterTunabilityLossMsg "error" + FixptConstUnderflowMsg "none" + FixptConstOverflowMsg "none" + FixptConstPrecisionLossMsg "none" + UnderSpecifiedDataTypeMsg "none" + UnnecessaryDatatypeConvMsg "none" + VectorMatrixConversionMsg "none" + FcnCallInpInsideContextMsg "warning" + SignalLabelMismatchMsg "none" + UnconnectedInputMsg "warning" + UnconnectedOutputMsg "warning" + UnconnectedLineMsg "warning" + UseOnlyExistingSharedCode "error" + SFcnCompatibilityMsg "none" + FrameProcessingCompatibilityMsg "error" + UniqueDataStoreMsg "none" + BusObjectLabelMismatch "none" + RootOutportRequireBusObject "warning" + AssertControl "UseLocalSettings" + AllowSymbolicDim on + RowMajorDimensionSupport off + ModelReferenceIOMsg "none" + ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" + ModelReferenceVersionMismatchMessage "none" + ModelReferenceIOMismatchMessage "none" + UnknownTsInhSupMsg "warning" + ModelReferenceDataLoggingMessage "warning" + ModelReferenceSymbolNameMessage "warning" + ModelReferenceExtraNoncontSigs "error" + StateNameClashWarn "warning" + OperatingPointInterfaceChecksumMismatchMsg "warning" + NonCurrentReleaseOperatingPointMsg "error" + ChecksumConsistencyForSSReuse "none" + PregeneratedLibrarySubsystemCodeDiagnostic "none" + MatchCodeGenerationContextForUpdateDiagram "none" + InitInArrayFormatMsg "warning" + StrictBusMsg "ErrorLevel1" + BusNameAdapt "WarnAndRepair" + NonBusSignalsTreatedAsBus "none" + SymbolicDimMinMaxWarning "warning" + LossOfSymbolicDimsSimulationWarning "warning" + LossOfSymbolicDimsCodeGenerationWarning "error" + SymbolicDimsDataTypeCodeGenerationDiagnostic "error" + BlockIODiagnostic "none" + SFUnusedDataAndEventsDiag "warning" + SFUnexpectedBacktrackingDiag "warning" + SFInvalidInputDataAccessInChartInitDiag "warning" + SFNoUnconditionalDefaultTransitionDiag "warning" + SFTransitionOutsideNaturalParentDiag "warning" + SFUnreachableExecutionPathDiag "warning" + SFUndirectedBroadcastEventsDiag "warning" + SFTransitionActionBeforeConditionDiag "warning" + SFOutputUsedAsStateInMooreChartDiag "error" + SFTemporalDelaySmallerThanSampleTimeDiag "warning" + SFSelfTransitionDiag "warning" + SFExecutionAtInitializationDiag "none" + SFMachineParentedDataDiag "warning" + IntegerSaturationMsg "none" + AllowedUnitSystems "all" + UnitsInconsistencyMsg "warning" + AllowAutomaticUnitConversions on + RCSCRenamedMsg "warning" + RCSCObservableMsg "warning" + ForceCombineOutputUpdateInSim off + UnitDatabase "" + UnderSpecifiedDimensionMsg "none" + DebugExecutionForFMUViaOutOfProcess off + ArithmeticOperatorsInVariantConditions "warning" + } + Simulink.HardwareCC { + $ObjectID 19 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + ProdBitPerChar 8 + ProdBitPerShort 16 + ProdBitPerInt 32 + ProdBitPerLong 32 + ProdBitPerLongLong 64 + ProdBitPerFloat 32 + ProdBitPerDouble 64 + ProdBitPerPointer 64 + ProdBitPerSizeT 64 + ProdBitPerPtrDiffT 64 + ProdLargestAtomicInteger "Char" + ProdLargestAtomicFloat "Float" + ProdIntDivRoundTo "Zero" + ProdEndianess "LittleEndian" + ProdWordSize 64 + ProdShiftRightIntArith on + ProdLongLongMode on + ProdHWDeviceType "Intel->x86-64 (Windows64)" + TargetBitPerChar 8 + TargetBitPerShort 16 + TargetBitPerInt 32 + TargetBitPerLong 32 + TargetBitPerLongLong 64 + TargetBitPerFloat 32 + TargetBitPerDouble 64 + TargetBitPerPointer 32 + TargetBitPerSizeT 32 + TargetBitPerPtrDiffT 32 + TargetLargestAtomicInteger "Char" + TargetLargestAtomicFloat "None" + TargetShiftRightIntArith on + TargetLongLongMode off + TargetIntDivRoundTo "Undefined" + TargetEndianess "Unspecified" + TargetWordSize 32 + TargetPreprocMaxBitsSint 32 + TargetPreprocMaxBitsUint 32 + TargetHWDeviceType "Specified" + TargetUnknown off + ProdEqTarget on + UseEmbeddedCoderFeatures on + UseSimulinkCoderFeatures on + HardwareBoardFeatureSet "EmbeddedCoderHSP" + } + Simulink.ModelReferenceCC { + $ObjectID 20 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" + EnableRefExpFcnMdlSchedulingChecks on + CheckModelReferenceTargetMessage "error" + EnableParallelModelReferenceBuilds off + ParallelModelReferenceErrorOnInvalidPool on + ParallelModelReferenceMATLABWorkerInit "None" + ModelReferenceNumInstancesAllowed "Multi" + PropagateVarSize "Infer from blocks in model" + ModelDependencies "" + ModelReferencePassRootInputsByReference on + ModelReferenceMinAlgLoopOccurrences off + PropagateSignalLabelsOutOfModel on + SupportModelReferenceSimTargetCustomCode off + } + Simulink.SFSimCC { + $ObjectID 21 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + SimCustomSourceCode "" + SimCustomHeaderCode "" + SimCustomInitializer "" + SimCustomTerminator "" + SimReservedNameArray [] + SimUserSources "" + SimUserIncludeDirs "" + SimUserLibraries "" + SimUserDefines "" + SimCustomCompilerFlags "" + SimCustomLinkerFlags "" + SFSimEcho on + SimCtrlC on + SimIntegrity on + SimUseLocalCustomCode on + SimParseCustomCode on + SimAnalyzeCustomCode off + SimBuildMode "sf_incremental_build" + SimGenImportedTypeDefs off + ModelFunctionsGlobalVisibility "on" + CompileTimeRecursionLimit 50 + EnableRuntimeRecursion on + MATLABDynamicMemAlloc off + MATLABDynamicMemAllocThreshold 65536 + CustomCodeFunctionArrayLayout [] + DefaultCustomCodeFunctionArrayLayout "NotSpecified" + CustomCodeUndefinedFunction "FilterOut" + } + Simulink.RTWCC { + $BackupClass "Simulink.RTWCC" + $ObjectID 22 + Version "20.0.1" + DisabledProps [] + Description "Embedded Coder" + SystemTargetFile "ert.tlc" + HardwareBoard "None" + ShowCustomHardwareApp off + ShowEmbeddedHardwareApp off + TLCOptions "" + GenCodeOnly off + MakeCommand "make_rtw" + GenerateMakefile on + PackageGeneratedCodeAndArtifacts off + PackageName "" + TemplateMakefile "ert_default_tmf" + PostCodeGenCommand "" + GenerateReport off + RTWVerbose on + RetainRTWFile off + RTWBuildHooks [] + ProfileTLC off + TLCDebug off + TLCCoverage off + TLCAssert off + RTWUseLocalCustomCode on + RTWUseSimCustomCode off + CustomSourceCode "" + CustomHeaderCode "" + CustomInclude "" + CustomSource "" + CustomLibrary "" + CustomDefine "" + CustomBLASCallback "" + CustomLAPACKCallback "" + CustomFFTCallback "" + CustomInitializer "" + CustomTerminator "" + Toolchain "Automatically locate an installed toolchain" + BuildConfiguration "Faster Builds" + CustomToolchainOptions [] + IncludeHyperlinkInReport off + LaunchReport off + PortableWordSizes off + CreateSILPILBlock "None" + CodeExecutionProfiling off + CodeExecutionProfileVariable "executionProfile" + CodeProfilingSaveOptions "SummaryOnly" + CodeProfilingInstrumentation "off" + SILDebugging off + TargetLang "C" + IncludeBusHierarchyInRTWFileBlockHierarchyMap off + GenerateTraceInfo off + GenerateTraceReport off + GenerateTraceReportSl off + GenerateTraceReportSf off + GenerateTraceReportEml off + GenerateWebview off + GenerateCodeMetricsReport off + GenerateCodeReplacementReport off + GenerateMissedCodeReplacementReport off + RTWCompilerOptimization "off" + Array { + Type "Cell" + Dimension 2 + Cell "Execution efficiency" + Cell "RAM efficiency" + PropName "ObjectivePriorities" + } + RTWCustomCompilerOptimizations "" + CheckMdlBeforeBuild "Off" + SharedConstantsCachingThreshold 1024 + Array { + Type "Handle" + Dimension 2 + Simulink.CodeAppCC { + $ObjectID 23 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + Comment "" + ForceParamTrailComments on + GenerateComments on + CommentStyle "Auto" + IgnoreCustomStorageClasses off + IgnoreTestpoints off + MaxIdLength 31 + PreserveName off + PreserveNameWithParent off + ShowEliminatedStatement on + OperatorAnnotations on + SimulinkDataObjDesc on + SFDataObjDesc on + MATLABFcnDesc off + MangleLength 1 + SharedChecksumLength 8 + CustomSymbolStrGlobalVar "$R$N$M" + CustomSymbolStrType "$N$R$M_T" + CustomSymbolStrField "$N$M" + CustomSymbolStrFcn "$R$N$M$F" + CustomSymbolStrModelFcn "$R$N" + CustomSymbolStrFcnArg "rt$I$N$M" + CustomSymbolStrBlkIO "rtb_$N$M" + CustomSymbolStrTmpVar "$N$M" + CustomSymbolStrMacro "$R$N$M" + CustomSymbolStrUtil "$N$C" + CustomSymbolStrEmxType "emxArray_$M$N" + CustomSymbolStrEmxFcn "emx$M$N" + CustomUserTokenString "" + CustomCommentsFcn "" + DefineNamingRule "None" + DefineNamingFcn "" + ParamNamingRule "None" + ParamNamingFcn "" + SignalNamingRule "None" + SignalNamingFcn "" + InsertBlockDesc on + InsertPolySpaceComments off + SimulinkBlockComments on + BlockCommentType "BlockPathComment" + StateflowObjectComments off + MATLABSourceComments off + EnableCustomComments off + InternalIdentifierFile "" + InternalIdentifier "Shortened" + InlinedPrmAccess "Literals" + ReqsInCode off + UseSimReservedNames off + ReservedNameArray [] + EnumMemberNameClash "error" + } + Simulink.ERTTargetCC { + $BackupClass "Simulink.TargetCC" + $ObjectID 24 + Version "20.0.1" + DisabledProps [] + Description "" + Components [] + TargetFcnLib "ansi_tfl_table_tmw.mat" + TargetLibSuffix "" + TargetPreCompLibLocation "" + GenFloatMathFcnCalls "NOT IN USE" + TargetLangStandard "C99 (ISO)" + CodeReplacementLibrary "None" + UtilityFuncGeneration "Auto" + MultiwordTypeDef "System defined" + MultiwordLength 256 + DynamicStringBufferSize 256 + GenerateFullHeader on + InferredTypesCompatibility off + ExistingSharedCode "" + GenerateSampleERTMain on + GenerateTestInterfaces off + ModelReferenceCompliant on + ParMdlRefBuildCompliant on + CompOptLevelCompliant on + ConcurrentExecutionCompliant on + IncludeMdlTerminateFcn on + CombineOutputUpdateFcns on + CombineSignalStateStructs off + GroupInternalDataByFunction off + SuppressErrorStatus off + IncludeFileDelimiter "Auto" + ERTCustomFileBanners on + SupportAbsoluteTime on + LogVarNameModifier "rt_" + MatFileLogging off + MultiInstanceERTCode off + CodeInterfacePackaging "Nonreusable function" + PurelyIntegerCode off + SupportNonFinite on + SupportComplex on + SupportContinuousTime off + SupportNonInlinedSFcns off + RemoveDisableFunc off + RemoveResetFunc on + SupportVariableSizeSignals off + ParenthesesLevel "Nominal" + CastingMode "Nominal" + MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.ERTCustomization" + ModelStepFunctionPrototypeControlCompliant on + CPPClassGenCompliant on + AutosarCompliant off + MDXCompliant off + GRTInterface off + GenerateAllocFcn off + UseToolchainInfoCompliant on + GenerateSharedConstants on + CoderGroups [] + AccessMethods [] + LookupTableObjectStructAxisOrder "1,2,3,4,..." + LUTObjectStructOrderExplicitValues "Size,Breakpoints,Table" + LUTObjectStructOrderEvenSpacing "Size,Breakpoints,Table" + ArrayLayout "Column-major" + UnsupportedSFcnMsg "error" + ERTHeaderFileRootName "$R$E" + ERTSourceFileRootName "$R$E" + ERTDataFileRootName "$R_data" + GenerateASAP2 off + DSAsUniqueAccess off + ExtMode off + ExtModeTransport 0 + ExtModeStaticAlloc off + ExtModeStaticAllocSize 1000000 + ExtModeTesting off + ExtModeMexFile "ext_comm" + ExtModeMexArgs "" + ExtModeIntrfLevel "Level1" + InlinedParameterPlacement "NonHierarchical" + TargetOS "BareBoardExample" + MultiInstanceErrorCode "Error" + RootIOFormat "Individual arguments" + RTWCAPISignals off + RTWCAPIParams off + RTWCAPIStates off + RTWCAPIRootIO off + ERTSrcFileBannerTemplate "ert_code_template.cgt" + ERTHdrFileBannerTemplate "ert_code_template.cgt" + ERTDataSrcFileTemplate "ert_code_template.cgt" + ERTDataHdrFileTemplate "ert_code_template.cgt" + ERTCustomFileTemplate "example_file_process.tlc" + EnableDataOwnership off + SignalDisplayLevel 10 + ParamTuneLevel 10 + GlobalDataDefinition "Auto" + DataDefinitionFile "global.c" + GlobalDataReference "Auto" + ERTFilePackagingFormat "Modular" + RateTransitionBlockCode "Inline" + DataReferenceFile "global.h" + PreserveExpressionOrder off + PreserveIfCondition off + ConvertIfToSwitch on + PreserveExternInFcnDecls on + PreserveStaticInFcnDecls on + SuppressUnreachableDefaultCases on + EnableSignedLeftShifts on + EnableSignedRightShifts on + IndentStyle "K&R" + IndentSize "2" + NewlineStyle "Default" + MaxLineWidth 80 + EnableUserReplacementTypes off + Array { + Type "Struct" + Dimension 1 + MATStruct { + double "" + single "" + int32 "" + int16 "" + int8 "" + uint32 "" + uint16 "" + uint8 "" + boolean "" + int "" + uint "" + char "" + uint64 "" + int64 "" + } + PropName "ReplacementTypes" + } + MaxIdInt64 "MAX_int64_T" + MinIdInt64 "MIN_int64_T" + MaxIdUint64 "MAX_uint64_T" + MaxIdInt32 "MAX_int32_T" + MinIdInt32 "MIN_int32_T" + MaxIdUint32 "MAX_uint32_T" + MaxIdInt16 "MAX_int16_T" + MinIdInt16 "MIN_int16_T" + MaxIdUint16 "MAX_uint16_T" + MaxIdInt8 "MAX_int8_T" + MinIdInt8 "MIN_int8_T" + MaxIdUint8 "MAX_uint8_T" + BooleanTrueId "true" + BooleanFalseId "false" + TypeLimitIdReplacementHeaderFile "" + MemSecPackage "--- None ---" + MemSecDataConstants "Default" + MemSecDataIO "Default" + MemSecDataInternal "Default" + MemSecDataParameters "Default" + MemSecFuncInitTerm "Default" + MemSecFuncExecute "Default" + MemSecFuncSharedUtil "Default" + GroupConstants "Default" + GroupRootInputs "Default" + GroupRootOutputs "Default" + GroupInternal "Default" + GroupParameters "Default" + GroupDataTransfer "Default" + GroupSharedLocalDataStores "Default" + GroupInstanceSpecificParameters "Default" + GroupModelData "Default" + ArrayContainerType "C-style array" + } + PropName "Components" + } + } + SlCovCC.ConfigComp { + $ObjectID 25 + Version "20.0.1" + DisabledProps [] + Description "Simulink Coverage Configuration Component" + Components [] + Name "Simulink Coverage" + CovEnable off + CovScope "EntireSystem" + CovIncludeTopModel on + RecordCoverage off + CovPath "/" + CovSaveName "covdata" + CovCompData "" + CovMetricSettings "dwe" + CovFilter "" + CovHTMLOptions "" + CovNameIncrementing off + CovHtmlReporting off + CovForceBlockReductionOff on + CovEnableCumulative on + CovSaveCumulativeToWorkspaceVar off + CovSaveSingleToWorkspaceVar off + CovCumulativeVarName "covCumulativeData" + CovCumulativeReport off + CovSaveOutputData on + CovOutputDir "slcov_output/$ModelName$" + CovDataFileName "$ModelName$_cvdata" + CovShowResultsExplorer on + CovReportOnPause on + CovModelRefEnable "off" + CovModelRefExcluded "" + CovExternalEMLEnable on + CovSFcnEnable on + CovBoundaryAbsTol 1e-05 + CovBoundaryRelTol 0.01 + CovUseTimeInterval off + CovStartTime 0 + CovStopTime 0 + CovMcdcMode "Masking" + } + PropName "Components" + } + Name "Configuration" + CurrentDlgPage "Diagnostics/Stateflow" + ConfigPrmDlgPosition [ 71, 71, 971, 781 ] + ExtraOptions "" + } + PropName "ConfigurationSets" + } + Simulink.ConfigSet { + $PropName "ActiveConfigurationSet" + $ObjectID 14 + } + Object { + $PropName "DataTransfer" + $ObjectID 26 + $ClassName "Simulink.GlobalDataTransfer" + DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" + DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" + DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" + DefaultExtrapolationMethodBetweenContTasks "None" + } + ExplicitPartitioning off + WSMdlFileData "DataTag0" + BlockDefaults { + ForegroundColor "black" + BackgroundColor "white" + DropShadow off + NameLocation "bottom" + FontName "Helvetica" + FontSize 10 + FontWeight "normal" + FontAngle "normal" + ShowName on + HideAutomaticName on + BlockRotation 0 + BlockMirror off + } + AnnotationDefaults { + HorizontalAlignment "left" + VerticalAlignment "top" + ForegroundColor "black" + BackgroundColor "white" + DropShadow off + FontName "Helvetica" + FontSize 10 + FontWeight "normal" + FontAngle "normal" + MarkupType "model" + UseDisplayTextAsClickCallback off + AnnotationType "note_annotation" + FixedHeight off + FixedWidth off + Interpreter "off" + } + LineDefaults { + FontName "Helvetica" + FontSize 9 + FontWeight "normal" + FontAngle "normal" + } + MaskDefaults { + SelfModifiable "off" + IconFrame "on" + IconOpaque "opaque" + RunInitForIconRedraw "analyze" + IconRotate "none" + PortRotate "default" + IconUnits "autoscale" + } + MaskParameterDefaults { + Evaluate "on" + Tunable "on" + NeverSave "off" + Internal "off" + ReadOnly "off" + Enabled "on" + Visible "on" + ToolTip "on" + } + BlockParameterDefaults { + Block { + BlockType ArgIn + Port "1" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "double" + LockScale off + PortDimensions "1" + SignalType "real" + } + Block { + BlockType ArgOut + Port "1" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "double" + LockScale off + PortDimensions "1" + SignalType "real" + } + Block { + BlockType Constant + Value "1" + VectorParams1D on + SamplingMode "Sample based" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit from 'Constant value'" + LockScale off + SampleTime "inf" + FramePeriod "inf" + PreserveConstantTs off + } + Block { + BlockType FunctionCaller + FunctionPrototype "y=f(x)" + SampleTime "-1" + } + Block { + BlockType KnobBlock + LabelPosition "Top" + ShowInitialText on + ScaleMin "0" + ScaleMax "100" + TickInterval "auto" + ScaleType "Linear" + } + Block { + BlockType Scope + DefaultConfigurationName "Simulink.scopes.TimeScopeBlockCfg" + } + Block { + BlockType SubSystem + ShowPortLabels "FromPortIcon" + Permissions "ReadWrite" + PermitHierarchicalResolution "All" + TreatAsAtomicUnit off + MinAlgLoopOccurrences off + ScheduleAs "Sample time" + SystemSampleTime "-1" + RTWSystemCode "Auto" + RTWFcnNameOpts "Auto" + RTWFileNameOpts "Auto" + FunctionInterfaceSpec "void_void" + FunctionWithSeparateData off + MatchGraphicalInterface off + RTWMemSecFuncInitTerm "Inherit from model" + RTWMemSecFuncExecute "Inherit from model" + RTWMemSecDataConstants "Inherit from model" + RTWMemSecDataInternal "Inherit from model" + RTWMemSecDataParameters "Inherit from model" + SimViewingDevice off + ActiveForDiff off + DataTypeOverride "UseLocalSettings" + DataTypeOverrideAppliesTo "AllNumericTypes" + MinMaxOverflowLogging "UseLocalSettings" + Opaque off + MaskHideContents off + SFBlockType "NONE" + Variant off + VariantControlMode "Expression" + GeneratePreprocessorConditionals off + AllowZeroVariantControls off + PropagateVariantConditions off + TreatAsGroupedWhenPropagatingVariantConditions on + ContentPreviewEnabled off + IsWebBlock off + IsInjectorSS off + Latency "0" + AutoFrameSizeCalculation off + IsWebBlockPanel off + } + Block { + BlockType Sum + IconShape "round" + Inputs "++" + CollapseMode "All dimensions" + CollapseDim "1" + InputSameDT off + AccumDataTypeStr "Inherit: Inherit via internal rule" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit via internal rule" + LockScale off + RndMeth "Floor" + SaturateOnIntegerOverflow off + SampleTime "-1" + } + Block { + BlockType Switch + Criteria "u2 >= Threshold" + Threshold "0" + InputSameDT on + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: Inherit via internal rule" + LockScale off + RndMeth "Floor" + SaturateOnIntegerOverflow on + ZeroCross on + SampleTime "-1" + AllowDiffInputSizes off + } + Block { + BlockType TriggerPort + TriggerType "rising" + IsSimulinkFunction off + FunctionVisibility "global" + Variant off + GeneratePreprocessorConditionals off + StatesWhenEnabling "inherit" + PropagateVarSize "During execution" + ShowOutputPort off + OutputDataType "auto" + SampleTimeType "triggered" + SampleTime "1" + ZeroCross on + DisallowConstTsAndPrmTs off + InitialTriggerSignalState "compatibility (no trigger on first evaluation)" + PortDimensions "-1" + TriggerSignalSampleTime "-1" + OutMin "[]" + OutMax "[]" + OutDataTypeStr "Inherit: auto" + Interpolate on + } + Block { + BlockType UnitDelay + InitialCondition "0" + InputProcessing "Elements as channels (sample based)" + SampleTime "1" + StateMustResolveToSignalObject off + CodeGenStateStorageClass "Auto" + HasFrameUpgradeWarning off + } + } + System { + Name "Demo_Example_With_SF" + Location [-7, 0, 967, 1047] + Open on + PortBlocksUseCompactNotation off + SetExecutionDomain off + ExecutionDomainType "Deduce" + ModelBrowserVisibility on + ModelBrowserWidth 200 + ScreenColor "white" + PaperOrientation "landscape" + PaperPositionMode "auto" + PaperType "usletter" + PaperUnits "inches" + TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] + TiledPageScale 1 + ShowPageBoundaries off + ZoomFactor "122" + ReportName "simulink-default.rpt" + SIDHighWatermark "127" + SimulinkSubDomain "Simulink" + Block { + BlockType KnobBlock + Name "Knob" + SID "102" + Position [245, 231, 355, 346] + ZOrder 209 + ShowName off + BindingPersistence "DataTag1" + } + Block { + BlockType KnobBlock + Name "Knob1" + SID "103" + Position [245, 341, 355, 456] + ZOrder 210 + ShowName off + BindingPersistence "DataTag2" + } + Block { + BlockType Scope + Name "c_Sensor_Trip_1" + SID "100" + Ports [1] + Position [870, 274, 900, 306] + ZOrder 207 + ScopeSpecificationString "Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extm" + "gr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('S" + "ources','WiredSimulink',true),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('Mi" + "nYLimReal','-0.125','MaxYLimReal','1.125','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','1.125','LegendVis" + "ibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.68627450980" + "3922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.0666666666666667;0.0745098039215686 0.623529411764" + "706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.831372549019608 0.0745098039215686;0.717647058823" + "529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863],'Title','%'," + "'LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'f_Sensor_Trip_1'}},'ShowCo" + "ntent',true,'Placement',1)},'DisplayPropertyDefaults',struct('MinYLimReal','-0.125','MaxYLimReal','1.125','YLabe" + "lReal','','MinYLimMag','0.00000','MaxYLimMag','1.125','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMa" + "gPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'Color" + "Order',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717" + "647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1" + " 0.0745098039215686 0.650980392156863])),extmgr.Configuration('Tools','Plot Navigation',true),extmgr.Configurati" + "on('Tools','Measurements',true,'Version','2020a')),'Version','2020a','Position',[2342 271 560 420])" + NumInputPorts "1" + Floating off + } + Block { + BlockType Scope + Name "c_Sensor_Trip_2" + SID "101" + Ports [1] + Position [870, 379, 900, 411] + ZOrder 208 + ScopeSpecificationString "Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extm" + "gr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('S" + "ources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain" + "',true,'SerializedDisplays',{struct('MinYLimReal','-1.00000','MaxYLimReal','1.00000','YLabelReal','','MinYLimMag" + "','0.00000','MaxYLimMag','1.00000','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'Axes" + "Color',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.06666" + "66666666667;0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.8313" + "72549019608 0.0745098039215686;0.717647058823529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686" + " 0.650980392156863],'Title','%','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines" + "',1,'LineNames',{{'f_Sensor_Trip_2'}},'ShowContent',true,'Placement',1)},'DisplayPropertyDefaults',struct('MinYL" + "imReal','-1.00000','MaxYLimReal','1.00000','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','1.00000','Legend" + "Visibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.68627450" + "9803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.4117647058" + "82353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.83137254" + "9019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863])),extmgr.Configuration" + "('Tools','Plot Navigation',true),extmgr.Configuration('Tools','Measurements',true,'Version','2020a')),'Version'," + "'2020a','Position',[2902 270 560 420])" + NumInputPorts "1" + Floating off + } + Block { + BlockType FunctionCaller + Name "f_Sensor_Trip_1" + SID "90" + Ports [1, 1] + Position [485, 251, 795, 329] + ZOrder 199 + FunctionPrototype "c_Sensor_Trip_i = f_Sensor_Trip_i(m_Sensor_Signal_i)" + InputArgumentSpecifications "int16(1)" + OutputArgumentSpecifications "boolean(1)" + } + Block { + BlockType FunctionCaller + Name "f_Sensor_Trip_2" + SID "92" + Ports [1, 1] + Position [485, 356, 795, 434] + ZOrder 200 + FunctionPrototype "c_Sensor_Trip_i = f_Sensor_Trip_i(m_Sensor_Signal_i)" + InputArgumentSpecifications "int16(1)" + OutputArgumentSpecifications "boolean(1)" + } + Block { + BlockType SubSystem + Name "f_Sensor_Trip_i" + SID "6" + Ports [0, 0, 0, 1] + Position [500, 121, 770, 199] + ZOrder 181 + RequestExecContextInheritance off + ContentPreviewEnabled on + System { + Name "f_Sensor_Trip_i" + Location [-7, 0, 967, 1047] + Open on + PortBlocksUseCompactNotation off + SetExecutionDomain off + ExecutionDomainType "Deduce" + ModelBrowserVisibility on + ModelBrowserWidth 200 + ScreenColor "white" + PaperOrientation "landscape" + PaperPositionMode "auto" + PaperType "usletter" + PaperUnits "inches" + TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] + TiledPageScale 1 + ShowPageBoundaries off + ZoomFactor "110" + SimulinkSubDomain "Simulink" + Block { + BlockType TriggerPort + Name "f_Sensor_Trip_i" + SID "86" + Ports [] + Position [-23, -170, -3, -150] + ZOrder 293 + TriggerType "function-call" + IsSimulinkFunction on + FunctionName "f_Sensor_Trip_i" + FunctionVisibility "scoped" + VariantControl "Variant" + StatesWhenEnabling "held" + PortDimensions "1" + } + Block { + BlockType UnitDelay + Name "Delay" + SID "13" + Position [65, -32, 100, 2] + ZOrder 282 + SampleTime "-1" + HasFrameUpgradeWarning on + Port { + PortNumber 1 + Name "prev_Sensor_Tripped" + } + } + Block { + BlockType Sum + Name "Sum" + SID "23" + Ports [2, 1] + Position [-190, -25, -170, -5] + ZOrder 288 + Inputs "|+-" + AccumDataTypeStr "int16" + Port { + PortNumber 1 + Name "Signal-Setpoint" + } + } + Block { + BlockType Sum + Name "Sum1" + SID "26" + Ports [2, 1] + Position [-165, 60, -145, 80] + ZOrder 291 + AccumDataTypeStr "int16" + Port { + PortNumber 1 + Name "Signal-Setpoint+Hys" + } + } + Block { + BlockType Switch + Name "Switch" + SID "20" + Position [-40, -35, 10, 5] + ZOrder 285 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Switch + Name "Switch1" + SID "25" + Position [-40, 50, 10, 90] + ZOrder 290 + InputSameDT off + OutDataTypeStr "boolean" + SaturateOnIntegerOverflow off + } + Block { + BlockType Constant + Name "e_NotTripped" + SID "27" + Position [-280, 160, -215, 190] + ZOrder 292 + Value "e_NotTripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "e_Tripped" + SID "24" + Position [-275, -85, -225, -55] + ZOrder 289 + Value "e_Tripped" + OutDataTypeStr "boolean" + } + Block { + BlockType Constant + Name "k_Hys" + SID "19" + Position [-265, 95, -235, 125] + ZOrder 284 + Value "k_Hys" + OutDataTypeStr "int16" + } + Block { + BlockType Constant + Name "k_Setpoint" + SID "93" + Position [-280, 37, -225, 63] + ZOrder 297 + Value "k_Setpoint" + OutDataTypeStr "int16" + } + Block { + BlockType ArgIn + Name "m_Sensor_Signal_i" + SID "87" + Position [-415, -25, -235, -5] + ZOrder 294 + OutDataTypeStr "int16" + ArgumentName "m_Sensor_Signal_i" + } + Block { + BlockType ArgOut + Name "c_Sensor_Trip_i" + SID "89" + Position [185, -22, 340, -8] + ZOrder 296 + OutDataTypeStr "boolean" + ArgumentName "c_Sensor_Trip_i" + } + Line { + ZOrder 9 + SrcBlock "m_Sensor_Signal_i" + SrcPort 1 + DstBlock "Sum" + DstPort 1 + } + Line { + Name "Signal-Setpoint" + ZOrder 10 + SrcBlock "Sum" + SrcPort 1 + Points [10, 0] + Branch { + ZOrder 26 + Labels [1, 1] + DstBlock "Switch" + DstPort 2 + } + Branch { + ZOrder 19 + DstBlock "Sum1" + DstPort 1 + } + } + Line { + ZOrder 11 + SrcBlock "e_Tripped" + SrcPort 1 + Points [160, 0; 0, 40] + DstBlock "Switch" + DstPort 1 + } + Line { + ZOrder 12 + SrcBlock "Switch" + SrcPort 1 + DstBlock "Delay" + DstPort 1 + } + Line { + Name "prev_Sensor_Tripped" + ZOrder 13 + SrcBlock "Delay" + SrcPort 1 + Points [19, 0] + Branch { + ZOrder 17 + Labels [2, 1] + Points [0, 47; -188, 0; 0, 23] + DstBlock "Switch1" + DstPort 1 + } + Branch { + ZOrder 16 + DstBlock "c_Sensor_Trip_i" + DstPort 1 + } + } + Line { + ZOrder 14 + SrcBlock "Switch1" + SrcPort 1 + Points [15, 0; 0, -30; -111, 0; 0, -40] + DstBlock "Switch" + DstPort 3 + } + Line { + ZOrder 20 + SrcBlock "k_Hys" + SrcPort 1 + Points [75, 0] + DstBlock "Sum1" + DstPort 2 + } + Line { + Name "Signal-Setpoint+Hys" + ZOrder 22 + Labels [1, 1] + SrcBlock "Sum1" + SrcPort 1 + DstBlock "Switch1" + DstPort 2 + } + Line { + ZOrder 24 + SrcBlock "e_NotTripped" + SrcPort 1 + Points [149, 0; 0, -90] + DstBlock "Switch1" + DstPort 3 + } + Line { + ZOrder 37 + SrcBlock "k_Setpoint" + SrcPort 1 + Points [40, 0] + DstBlock "Sum" + DstPort 2 + } + } + } + Block { + BlockType Constant + Name "m_Sensor_Signal_1" + SID "95" + Position [405, 275, 435, 305] + ZOrder 202 + Value "38.8339106241862" + OutDataTypeStr "int16" + } + Block { + BlockType Constant + Name "m_Sensor_Signal_2" + SID "99" + Position [405, 380, 435, 410] + ZOrder 206 + Value "66.0880839029948" + OutDataTypeStr "int16" + } + Line { + ZOrder 41 + SrcBlock "f_Sensor_Trip_1" + SrcPort 1 + DstBlock "c_Sensor_Trip_1" + DstPort 1 + } + Line { + ZOrder 42 + SrcBlock "f_Sensor_Trip_2" + SrcPort 1 + DstBlock "c_Sensor_Trip_2" + DstPort 1 + } + Line { + ZOrder 38 + SrcBlock "m_Sensor_Signal_1" + SrcPort 1 + DstBlock "f_Sensor_Trip_1" + DstPort 1 + } + Line { + ZOrder 40 + SrcBlock "m_Sensor_Signal_2" + SrcPort 1 + DstBlock "f_Sensor_Trip_2" + DstPort 1 + } + } +} +MatData { + NumRecords 3 + DataRecord { + Tag DataTag0 + Data " %)30 . 8 ( 8 ( @ % \" $ $ 0 % 0 !@ $ , 3F%M90" + " 5F%L=64 X ! !@ @ $ 4 ( 0 P ! ! , 95].;W147!E7P . " + "2 8 ( #0 % \" 8 ! 0 & & -T\" 0 $ # 0 X P " + "!@ @ $ 4 ( ! ! #@ # & \" 0 !0 @ " + " $ $ . , 8 ( ! % \" 0 0 X P !@" + " @ $ 4 ( ! ! #@ (@ & \" D !0 @ ! 6 " + " $ @ %@ 4E- X !( !@ @ \" 4 ( 0 $ ! 4 ! % 0 " + " 4 !-0T]3 X " + } + DataRecord { + Tag DataTag2 + Data " %)30 . F 8 ( $0 ! $ ! !-0T]3 0 !P !3:6UU;&EN:RY(34DN4&%R86U3;W5" + "R8V5);F9O X !( !@ @ - 4 ( !@ $ ! 8 8 W0( ! 0 $ " + " \" #@ )@( & \" D !0 @ ! : @ $ @ &@( 4E- X #(!P !@ @ " + " \" 4 ( 0 $ ! 4 ! % 0 4 !-0T]3 X \" !P !@ @ 1 $ " + " 0 $ $U#3U,! #0 $9I;&577!E7P . " + "2 8 ( #0 % \" 8 ! 0 & & -T\" 0 $ # 0 X P " + "!@ @ $ 4 ( ! ! #@ # & \" 0 !0 @ " + " $ $ . , 8 ( ! % \" 0 0 X P !@" + " @ $ 4 ( ! ! #@ (@ & \" D !0 @ ! 6 " + " $ @ %@ 4E- X !( !@ @ \" 4 ( 0 $ ! 4 ! % 0 " + " 4 !-0T]3 X " + } +}