Model { Name "wasserkraftwerk" Version 7.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.49" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" Created "Fri Oct 30 14:22:08 2009" Creator "bryana" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "drifter77_PC" ModifiedDateFormat "%" LastModifiedDate "Wed Nov 11 22:25:42 2009" RTWModifiedTimeStamp 179879100 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" 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 BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.5.1" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 2 Version "1.5.1" StartTime "0.0" StopTime "1000" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "0.1" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-4" SolverMode "Auto" Solver "ode23tb" SolverName "ode23tb" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" SignalSizeVariationType "Allow only fixed size" } Simulink.DataIOCC { $ObjectID 3 Version "1.5.1" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.5.1" Array { Type "Cell" Dimension 4 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off EnforceIntegerDowncast on ExpressionFolding on EnableMemcpy on MemcpyThreshold 64 ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.5.1" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" BlockIODiagnostic "none" } Simulink.HardwareCC { $ObjectID 6 Version "1.5.1" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.5.1" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.SFSimCC { $ObjectID 8 Version "1.5.1" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimUseLocalCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.5.1" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off RTWCompilerOptimization "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.5.1" Array { Type "Cell" Dimension 17 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 11 Version "1.5.1" Array { Type "Cell" Dimension 16 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition " [ 37, 204, 917, 834 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "fixdt(1,16,0)" ConRadixGroup "Use specified scaling" OutScaling "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType FromWorkspace VariableName "simulink_input" SampleTime "-1" Interpolate on ZeroCross off OutputAfterFinalValue "Extrapolation" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType Signum ZeroCross on SampleTime "-1" } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } } System { Name "wasserkraftwerk" Location [196, 416, 1143, 892] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Mux Name "Mux" Ports [9, 1] Position [965, 86, 980, 444] ShowName off Inputs "9" DisplayOption "bar" } Block { BlockType Scope Name "Scope" Ports [1] Position [935, 14, 965, 46] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData1" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [1] Position [1020, 49, 1050, 81] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1] Position [1040, 134, 1070, 166] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData3" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1] Position [1020, 189, 1050, 221] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData4" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType SubSystem Name "Signal Builder1" Tag "STV Subsys" Ports [0, 1] Position [40, 225, 235, 305] CopyFcn "sigbuilder_block('copy');" DeleteFcn "sigbuilder_block('delete');" LoadFcn "sigbuilder_block('load');" ModelCloseFcn "sigbuilder_block('modelClose');" PreSaveFcn "sigbuilder_block('preSave');" StartFcn "sigbuilder_block('start');" StopFcn "sigbuilder_block('stop');" NameChangeFcn "sigbuilder_block('namechange');" ClipboardFcn "sigbuilder_block('clipboard');" OpenFcn "sigbuilder_block('open',[39 264.75 960 393.75 ]);" CloseFcn "sigbuilder_block('close');" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents on MaskType "Sigbuilder block" MaskDescription "Sigbuilder GUI" MaskInitialization "if ~strcmp(get_param(bdroot,'SimulationStatus'),'stopped') tuvar = sigbuilder_block('ma" "skInit'); end" MaskDisplay "text(1,5,'')\ntext(1,4,'Open valve to 0.5 at t=0')\ntext(1,3,'Open valve to 1 at t=300');\nte" "xt(1,2,'Close valve to 0.5 at t=500');\ntext(1,1,'Close valve slowly to 0.01 at t=750')\ntext(1,0,'')" MaskIconFrame on MaskIconOpaque off MaskIconRotate "port" MaskIconUnits "autoscale" System { Name "Signal Builder1" Location [202, 82, 1278, 989] Open off 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 "100" Block { BlockType Demux Name "Demux" Tag "STV Demux" Ports [1, 1] Position [150, 34, 160, 606] Outputs "1" } Block { BlockType FromWorkspace Name "FromWs" Tag "STV FromWs" Position [30, 300, 115, 350] VariableName "tuvar" SampleTime "0" SigBuilderData "DataTag0" VnvData "DataTag1" } Block { BlockType Outport Name "u" Tag "STV Outport" Position [280, 30, 300, 40] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Demux" SrcPort 1 Points [50, 0; 0, -285] DstBlock "u" DstPort 1 } Line { SrcBlock "FromWs" SrcPort 1 Points [5, 0; 0, -5] DstBlock "Demux" DstPort 1 } } } Block { BlockType SubSystem Name "Wasserkraftwerk" Ports [1, 9] Position [345, 82, 765, 448] DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskDisplay "image(imread('plant.png'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" Port { PortNumber 1 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "h_W" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "p_F" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "V_flw_T" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 5 Name "V_flw_F" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 6 Name "omega" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 7 Name "U_NET" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 8 Name "I" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 9 Name "P" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "Wasserkraftwerk" Location [252, 372, 1247, 755] Open off ModelBrowserVisibility on ModelBrowserWidth 256 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "u" Position [895, 48, 925, 62] Orientation "left" BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name " " Position [730, 360, 760, 390] Orientation "left" Value "p_0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name " 1" Position [965, 365, 995, 395] Orientation "left" Value "0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "Drehmoment Generator" Ports [1, 1] Position [1005, 414, 1060, 476] Orientation "left" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Drehmoment Generator" Location [236, 462, 1608, 998] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "I" Position [110, 103, 140, 117] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [220, 90, 285, 130] Gain "kappa" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_G" Position [360, 103, 390, 117] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "I" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "T_G" DstPort 1 } } } Block { BlockType SubSystem Name "Drehmoment Ventil/Turbine" Ports [3, 1] Position [845, 213, 900, 277] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Drehmoment Ventil/Turbine" Location [229, 243, 1241, 643] Open on ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "w" Position [65, 58, 95, 72] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "A_V" Position [70, 278, 100, 292] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "v_V" Position [70, 228, 100, 242] BackgroundColor "green" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain1" Position [250, 244, 370, 286] Gain "rho*d_Turb" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [190, 44, 295, 86] Gain "0.5*d_Turb" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [190, 247, 220, 278] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [495, 157, 525, 188] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [380, 57, 400, 88] ShowName off Inputs "-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_T" Position [610, 168, 640, 182] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "w" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "v_V" SrcPort 1 Points [30, 0] Branch { Points [5, 0; 0, 20] DstBlock "Product" DstPort 1 } Branch { Points [0, -90; 230, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "A_V" SrcPort 1 Points [30, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0; 0, 90] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [65, 0; 0, -85] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "T_T" DstPort 1 } } } Block { BlockType SubSystem Name "Druck Komp./Ventil" Ports [1, 1] Position [615, 219, 670, 281] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Druck Komp./Ventil" Location [236, 462, 1608, 998] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "V" Position [45, 83, 75, 97] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain1" Position [255, 57, 465, 123] Gain "1/(sigma_0 * l_F*pi*d_F^2/4)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [125, 80, 145, 100] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "delta V" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [605, 85, 625, 105] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "V_O" Position [30, 154, 125, 216] Value "l_F*pi*d_F^2/4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "p_stat" Position [520, 150, 580, 190] Value "rho*g*h_W0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "p_F" Position [755, 88, 785, 102] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "V" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "V_O" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "p_F" DstPort 1 } Line { SrcBlock "p_stat" SrcPort 1 Points [0, -70] DstBlock "Sum1" DstPort 2 } Line { Name "delta V" Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum1" DstPort 1 } } } Block { BlockType SubSystem Name "Druck Schloss/Fallrohr" Ports [1, 1] Position [325, 204, 380, 266] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Druck Schloss/Fallrohr" Location [449, 292, 1204, 752] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "h_W" Position [125, 248, 155, 262] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" Position [120, 175, 150, 205] Value "h_W0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [245, 196, 380, 254] Gain "rho*g" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [180, 215, 200, 235] ShowName off IconShape "round" Inputs "-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "p_W" Position [440, 218, 470, 232] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "p_W" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 Points [35, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "h_W" SrcPort 1 Points [30, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "Fallrohr" Ports [2, 1] Position [420, 219, 475, 281] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Fallrohr" Location [236, 462, 1608, 998] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "p_W" Position [100, 103, 130, 117] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "p_F" Position [110, 168, 140, 182] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sum Name "Add" Ports [3, 1] Position [560, 108, 590, 262] Inputs "++-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Constant" Position [370, 156, 450, 214] Value "g*h_W0/l_F" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [270, 106, 365, 164] Gain "1/(rho*l_F)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [400, 357, 550, 413] Orientation "left" Gain "lambda_F/(2*d_F)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [650, 170, 680, 200] InitialCondition "v_F_IC" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [680, 340, 710, 370] Orientation "left" Operator "square" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [620, 367, 650, 398] Orientation "left" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Signum Name "Sign" Position [710, 405, 740, 435] Orientation "left" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [205, 125, 225, 145] ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "v_F" Position [815, 178, 845, 192] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Sign" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "p_W" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "p_F" SrcPort 1 Points [70, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Add" DstPort 1 } Line { Labels [2, 0] SrcBlock "Gain1" SrcPort 1 Points [-15, 0; 0, -150] DstBlock "Add" DstPort 3 } Line { SrcBlock "Add" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { DstBlock "v_F" DstPort 1 } Branch { Points [0, 120] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [30, 0] DstBlock "Sign" DstPort 1 } } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [0, 20] DstBlock "Product" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Add" DstPort 2 } } } Block { BlockType SubSystem Name "Generator" Ports [1, 2] Position [1060, 249, 1115, 311] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Generator" Location [322, 310, 1076, 793] Open off ModelBrowserVisibility on ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "w" Position [65, 318, 95, 332] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "1/L_tot" Position [325, 306, 440, 344] Gain "1/(L_G+L_N)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain" Position [125, 307, 190, 343] Gain "kappa" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [575, 207, 605, 253] Gain "R_N" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [730, 95, 760, 125] ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [495, 310, 525, 340] InitialCondition "I_IC" } Block { BlockType Gain Name "L_net" Position [470, 182, 510, 268] Gain "L_N" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "R_tot" Position [255, 392, 360, 428] Orientation "left" Gain "R_G+R_N" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [230, 315, 250, 335] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [640, 155, 660, 175] ShowName off IconShape "round" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "U_NET" Position [825, 103, 855, 117] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" Position [670, 318, 700, 332] BackgroundColor "magenta" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Integrator" SrcPort 1 Points [30, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, 85] DstBlock "R_tot" DstPort 1 } Branch { DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "w" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/L_tot" DstPort 1 } Line { SrcBlock "1/L_tot" SrcPort 1 Points [10, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { DstBlock "L_net" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "U_NET" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [0, -40] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "R_tot" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [25, 0; 0, -55] DstBlock "Gain2" DstPort 1 } Line { SrcBlock "L_net" SrcPort 1 Points [35, 0; 0, -85] DstBlock "Sum1" DstPort 1 } } } Block { BlockType Constant Name "Hoehe Res." Position [15, 220, 45, 250] Value "h_R" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "Kompressibilitaet" Ports [3, 1] Position [510, 219, 565, 281] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Kompressibilitaet" Location [433, 403, 931, 703] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "A_V" Position [115, 128, 145, 142] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "v_F" Position [115, 58, 145, 72] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "v_V" Position [115, 173, 145, 187] BackgroundColor "green" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [185, 46, 280, 84] Gain "pi*d_F^2/4" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [380, 50, 410, 80] InitialCondition "V_F_IC" } Block { BlockType Product Name "Product" Ports [2, 1] Position [200, 142, 230, 173] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [300, 55, 320, 75] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "V" Position [445, 58, 475, 72] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "v_F" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "A_V" SrcPort 1 Points [15, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "v_V" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [75, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "V" DstPort 1 } } } Block { BlockType Product Name "Leistung" Ports [2, 1] Position [1155, 262, 1185, 293] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Postition" Ports [1, 1] Position [725, 24, 780, 86] Orientation "left" BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Postition" Location [433, 403, 931, 703] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "u" Position [110, 103, 140, 117] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [235, 95, 265, 125] InitialCondition "x_IC" LimitOutput on UpperSaturationLimit "1" LowerSaturationLimit "0" } Block { BlockType Outport Name "x" Position [360, 103, 390, 117] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "u" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "x" DstPort 1 } } } Block { BlockType Scope Name "Scope1" Ports [1] Position [335, 369, 365, 401] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData5" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1] Position [700, 454, 730, 486] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1] Position [895, 379, 925, 411] Floating off Location [561, 376, 885, 615] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData6" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope4" Ports [1] Position [965, 149, 995, 181] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData7" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope5" Ports [1] Position [905, 444, 935, 476] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData8" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType SubSystem Name "Tunnel" Ports [2, 1] Position [105, 219, 160, 281] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Tunnel" Location [523, 317, 1232, 781] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "h_R" Position [75, 58, 105, 72] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "h_W" Position [75, 103, 105, 117] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [215, 45, 260, 85] Gain "g/l_T" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [170, 215, 370, 255] Orientation "left" Gain "lambda_T/(2*d_T)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [445, 50, 475, 80] InitialCondition "v_T_IC" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [540, 245, 570, 275] Orientation "left" Operator "square" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [420, 217, 450, 248] Orientation "left" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Signum Name "Sign" Position [530, 175, 560, 205] Orientation "left" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [145, 55, 165, 75] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [290, 55, 310, 75] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "v_T" Position [655, 58, 685, 72] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "h_R" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "h_W" SrcPort 1 Points [45, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [110, 0] Branch { DstBlock "v_T" DstPort 1 } Branch { Points [0, 120] Branch { Points [0, 5] DstBlock "Sign" DstPort 1 } Branch { Points [0, 75] DstBlock "Math\nFunction" DstPort 1 } } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Sign" SrcPort 1 Points [-30, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [-35, 0; 0, -20] DstBlock "Product" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 Points [0, -130; 135, 0] DstBlock "Sum1" DstPort 2 } } } Block { BlockType SubSystem Name "Turbine" Ports [2, 1] Position [955, 229, 1010, 291] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Turbine" Location [27, 211, 1243, 663] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "T_T" Position [110, 103, 140, 117] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "T_G" Position [115, 178, 145, 192] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [255, 89, 340, 131] Gain "1/Theta" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [370, 94, 400, 126] InitialCondition "omega_IC" } Block { BlockType Scope Name "Scope1" Ports [1] Position [450, 154, 480, 186] Floating off Location [59, 390, 383, 629] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData9" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1] Position [350, 164, 380, 196] Floating off Location [188, 390, 512, 629] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData10" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [195, 100, 215, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "w" Position [435, 103, 465, 117] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "T_T" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "T_G" SrcPort 1 Points [55, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [5, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { Points [-15, 0] DstBlock "Scope2" DstPort 1 } } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0] Branch { DstBlock "w" DstPort 1 } Branch { Points [0, 60] DstBlock "Scope1" DstPort 1 } } } } Block { BlockType SubSystem Name "Ventil" Ports [3, 2] Position [720, 218, 775, 282] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Ventil" Location [99, 247, 1111, 647] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x" Position [105, 73, 135, 87] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "p_F" Position [105, 258, 135, 272] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "p_0" Position [110, 323, 140, 337] BackgroundColor "green" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [190, 65, 220, 95] Gain "2" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [350, 63, 410, 97] Gain "A_V0" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [235, 272, 285, 308] Gain "2/rho" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain3" Position [400, 275, 460, 305] Gain "c_d" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [205, 125, 235, 155] Operator "square" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [320, 275, 350, 305] Operator "sqrt" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [265, 70, 285, 90] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [175, 280, 195, 300] ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "A_V" Position [605, 73, 635, 87] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "v_V" Position [605, 283, 635, 297] BackgroundColor "magenta" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "x" SrcPort 1 Points [20, 0] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 60] DstBlock "Math\nFunction" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [35, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "A_V" DstPort 1 } Line { SrcBlock "p_F" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "p_0" SrcPort 1 Points [40, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Math\nFunction1" DstPort 1 } Line { SrcBlock "Math\nFunction1" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "v_V" DstPort 1 } } } Block { BlockType SubSystem Name "Wasserschloss" Ports [2, 3] Position [205, 207, 275, 273] BackgroundColor "cyan" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Wasserschloss" Location [412, 667, 1359, 1367] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "v_F" Position [60, 158, 90, 172] BackgroundColor "green" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "v_T" Position [65, 228, 95, 242] BackgroundColor "green" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "A_F" Position [125, 149, 260, 181] Gain "d_F^2/4*pi" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "A_T" Position [130, 219, 265, 251] Gain "d_T^2/4*pi" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Add" Ports [2, 1] Position [770, 192, 800, 223] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain" Position [590, 345, 720, 375] Gain "lambda_W" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [300, 182, 370, 218] Gain "1/A_W" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [425, 285, 455, 315] Operator "square" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [510, 342, 540, 373] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Signum Name "Sign" Position [430, 390, 460, 420] } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [260, 190, 280, 210] ShowName off IconShape "round" Inputs "-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "h_W~" Ports [1, 1] Position [450, 185, 480, 215] InitialCondition "h_W_IC" } Block { BlockType Outport Name "h_W" Position [850, 203, 880, 217] BackgroundColor "magenta" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "V_flw_T" Position [285, 293, 315, 307] BackgroundColor "orange" NamePlacement "alternate" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "V_flw_T1" Position [300, 58, 330, 72] BackgroundColor "orange" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "v_T" SrcPort 1 DstBlock "A_T" DstPort 1 } Line { SrcBlock "v_F" SrcPort 1 DstBlock "A_F" DstPort 1 } Line { SrcBlock "A_F" SrcPort 1 Points [5, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Points [0, -100] DstBlock "V_flw_T1" DstPort 1 } } Line { SrcBlock "A_T" SrcPort 1 Points [0, -5] Branch { DstBlock "Sum" DstPort 2 } Branch { DstBlock "V_flw_T" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [25, 0] Branch { DstBlock "h_W~" DstPort 1 } Branch { Points [0, 95] Branch { Points [0, 5] DstBlock "Math\nFunction" DstPort 1 } Branch { Points [0, 110] DstBlock "Sign" DstPort 1 } } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [15, 0; 0, 50] DstBlock "Product" DstPort 1 } Line { SrcBlock "Sign" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Product" DstPort 2 } Line { SrcBlock "h_W~" SrcPort 1 DstBlock "Add" DstPort 1 } Line { SrcBlock "Add" SrcPort 1 DstBlock "h_W" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [30, 0] DstBlock "Add" DstPort 2 } } } Block { BlockType Outport Name "x" Position [615, 113, 645, 127] Orientation "left" BackgroundColor "orange" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "h_W" Position [215, 418, 245, 432] BackgroundColor "orange" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "p_F" Position [415, 463, 445, 477] BackgroundColor "orange" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "V_flw_T" Position [245, 348, 275, 362] Orientation "left" BackgroundColor "orange" Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "V_flw_F" Position [195, 318, 225, 332] Orientation "left" BackgroundColor "orange" Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "omega" Position [910, 113, 940, 127] BackgroundColor "orange" Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "U_NET" Position [1150, 153, 1180, 167] BackgroundColor "orange" Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" Position [1100, 488, 1130, 502] BackgroundColor "orange" Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "P" Position [1220, 273, 1250, 287] BackgroundColor "orange" Port "9" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Hoehe Res." SrcPort 1 DstBlock "Tunnel" DstPort 1 } Line { SrcBlock "Tunnel" SrcPort 1 Points [10, 0; 0, 10] DstBlock "Wasserschloss" DstPort 2 } Line { SrcBlock "Wasserschloss" SrcPort 1 Points [10, 0] Branch { Points [20, 0] DstBlock "Druck Schloss/Fallrohr" DstPort 1 } Branch { Points [15, 0; 0, 155; -100, 0] Branch { Points [-115, 0] DstBlock "Tunnel" DstPort 2 } Branch { Points [-5, 0] DstBlock "h_W" DstPort 1 } } } Line { SrcBlock "Druck Schloss/Fallrohr" SrcPort 1 DstBlock "Fallrohr" DstPort 1 } Line { SrcBlock "Fallrohr" SrcPort 1 Points [5, 0] Branch { DstBlock "Kompressibilitaet" DstPort 2 } Branch { Points [0, -95; -295, 0] DstBlock "Wasserschloss" DstPort 1 } } Line { SrcBlock "Kompressibilitaet" SrcPort 1 DstBlock "Druck Komp./Ventil" DstPort 1 } Line { SrcBlock "Druck Komp./Ventil" SrcPort 1 Points [15, 0] Branch { DstBlock "Ventil" DstPort 2 } Branch { Points [0, 125; -275, 0] Branch { Points [-10, 0] DstBlock "Fallrohr" DstPort 2 } Branch { Points [-15, 0] DstBlock "p_F" DstPort 1 } } } Line { SrcBlock "Ventil" SrcPort 1 Points [0, 10; 15, 0] Branch { DstBlock "Drehmoment Ventil/Turbine" DstPort 2 } Branch { Points [0, -55; -300, 0] DstBlock "Kompressibilitaet" DstPort 1 } } Line { SrcBlock "Drehmoment Ventil/Turbine" SrcPort 1 Points [15, 0] Branch { DstBlock "Turbine" DstPort 1 } Branch { Points [-40, 0] DstBlock "Scope3" DstPort 1 } } Line { SrcBlock "Turbine" SrcPort 1 Points [0, 20; 15, 0] Branch { DstBlock "Generator" DstPort 1 } Branch { Points [0, -90; -90, 0] Branch { Points [-50, 0] Branch { Points [-60, 0] DstBlock "Drehmoment Ventil/Turbine" DstPort 1 } Branch { Points [0, -70] DstBlock "omega" DstPort 1 } } Branch { Points [0, -25] DstBlock "Scope4" DstPort 1 } } } Line { SrcBlock "Generator" SrcPort 2 Points [5, 0] Branch { Points [5, 0; 0, 150; -45, 0] Branch { DstBlock "Drehmoment Generator" DstPort 1 } Branch { DstBlock "I" DstPort 1 } } Branch { Points [0, -10] DstBlock "Leistung" DstPort 2 } } Line { SrcBlock "Ventil" SrcPort 2 Points [20, 0] Branch { DstBlock "Drehmoment Ventil/Turbine" DstPort 3 } Branch { Points [0, 175; -130, 0] Branch { Points [-180, 0; 0, -170] DstBlock "Kompressibilitaet" DstPort 3 } Branch { Points [0, 30] DstBlock "Scope2" DstPort 1 } } } Line { SrcBlock "Generator" SrcPort 1 Points [5, 0] Branch { Points [0, -105] DstBlock "U_NET" DstPort 1 } Branch { Points [0, 5] DstBlock "Leistung" DstPort 1 } } Line { SrcBlock "Leistung" SrcPort 1 DstBlock "P" DstPort 1 } Line { SrcBlock "Wasserschloss" SrcPort 2 Points [0, 5; 15, 0; 0, 110; -5, 0] Branch { DstBlock "V_flw_T" DstPort 1 } Branch { Points [0, 30] DstBlock "Scope1" DstPort 1 } } Line { SrcBlock "Wasserschloss" SrcPort 3 Points [5, 0; 0, 65] DstBlock "V_flw_F" DstPort 1 } Line { SrcBlock " " SrcPort 1 Points [-30, 0; 0, -105] DstBlock "Ventil" DstPort 3 } Line { SrcBlock "u" SrcPort 1 DstBlock "Postition" DstPort 1 } Line { SrcBlock "Postition" SrcPort 1 Points [-15, 0; 0, 65] Branch { DstBlock "Ventil" DstPort 1 } Branch { DstBlock "x" DstPort 1 } } Line { SrcBlock " 1" SrcPort 1 Points [-20, 0] DstBlock "Turbine" DstPort 2 } Line { SrcBlock "Drehmoment Generator" SrcPort 1 Points [-55, 0; 0, -10; -55, 0] DstBlock "Scope5" DstPort 1 } } } Block { BlockType ToWorkspace Name "structur with time" Position [1020, 250, 1080, 280] VariableName "sim_daten" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Structure With Time" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "structur with time" DstPort 1 } Line { Name "x" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 1 Points [150, 0] Branch { DstBlock "Mux" DstPort 1 } Branch { DstBlock "Scope" DstPort 1 } } Line { Name "h_W" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 2 Points [175, 0] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [0, -80] DstBlock "Scope1" DstPort 1 } } Line { Name "p_F" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 3 Points [160, 0] Branch { DstBlock "Mux" DstPort 3 } Branch { Points [0, -35] DstBlock "Scope2" DstPort 1 } } Line { Name "V_flw_T" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 4 Points [160, 0] Branch { DstBlock "Mux" DstPort 4 } Branch { Points [0, -20] DstBlock "Scope3" DstPort 1 } } Line { Name "V_flw_F" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 5 DstBlock "Mux" DstPort 5 } Line { Name "omega" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 6 DstBlock "Mux" DstPort 6 } Line { Name "U_NET" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 7 DstBlock "Mux" DstPort 7 } Line { Name "I" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 8 DstBlock "Mux" DstPort 8 } Line { Name "P" Labels [1, 1] SrcBlock "Wasserkraftwerk" SrcPort 9 DstBlock "Mux" DstPort 9 } Line { SrcBlock "Signal Builder1" SrcPort 1 DstBlock "Wasserkraftwerk" DstPort 1 } } } MatData { NumRecords 2 DataRecord { Tag DataTag1 Data " %)30 . R , 8 ( @ % \" $ ! 0 % 0 $0 $ #, =F5R:6" "9Y0FQK4&%T:', !V97)I9GE\";&M(86YD;&5S '9N=DUG 86-T:79E1W)O=7 !R97%$:7-P4')C;G0 &)L:T1" "I P 8 ( @ % \" $ ! 0 % 0 # $ !4 9W)I9%" "-E='1I;F< 8VAA;FYE;', 87AE

4U" "A> &-O;&]R !L:6YE4W1Y;&4 ;&EN95=I9'1H &QA8F5L !O=71);F1E> 86QL6$1A=&$ &%L;%E$871A . " " L 8 ( !@ % \" $ 0 0 ) @ X#\\ #@/P P" "') # _ X X !@ @ & 4 ( 0 $ ! D (" " . . 8 ( !@ % \" $ ! 0 ) \" #@ # &" " \" 8 !0 @ $ \"0 . , 8 ( !@ % \" " " 0 ) X !( !@ @ & 4 ( 0 , ! D 8 0C[HV:SZZC\\ " " #@ # & \" 0 !0 @ ! 0 $ $ ! \"T . . 8 (" " !@ % \" $ ! 0 ) \" /@_#@ # & \" 0 !0 @ " "! 0 $ $ ! '4 . . 8 ( !@ % \" $ ! 0 ) \" " " / _#@ . & \" $ !0 @ ! 0 $ #@ + & \" 8 !0 @ " "! $ $ \"0 ( . _ X#\\ ,!R0 P') #(C<#T*M[\\,UZ-P/0JWOP . L $ 8 ( @ % \" $ " " ! 0 % 0 \"P $ W 8VAA;FYE;', !Y3&EM &QA8F5L4&]S ;&%B96Q( !L86)E;%!A=&-H " " . . 8 ( !@ % \" $ ! 0 ) \" / _#@ $ & \" 8 " " !0 @ ! @ $ \"0 ! !S0HWPURFWOW-\"C?#7*;>_#@ # & \" 0 !0 @" " ! @ $ $ \" %1, . . 8 ( !@ % \" $ ! 0 ) \" " " \" !)I #@ #@ & \" 8 !0 @ ! 0 $ \"0 @ ! #270 X !H 0 !@ " " @ \" 4 ( 0 $ ! 4 ! ) 0 \"0 !D:7-P5&EM90!D:7-P36]D90!M:6Y4:6UE !M87A4:" "6UE #@ $ & \" 8 !0 @ ! @ $ \"0 ! 1D-)N!+B&0-S?6B+WWXA #@ " "#@ & \" 8 !0 @ ! 0 $ \"0 @ #P/PX X !@ @ & " " 4 ( 0 $ ! D ( . . 8 ( !@ % \" $ ! 0 " " ) \" 0(] #@ ( ! & \" ( !0 @ ! 0 $ !0 $ X ! . &" "%C=&EV941I_#->C<#T*M[\\ " " #@ $@ & \" T !0 @ & 0 $ !@ !@ #= @ $ ! " "P $ . 2 8 ( #0 % \" 8 ! 0 & & -T\" 0 $ \" " " @ X X !@ @ & 4 ( 0 $ ! D ( \\#\\. T 0 8 ( " " 0 % \" 0 ! 0 . . 8 ( @ % \" $ 0 % 0 " " 0 $ #@ $ ! & \" ( !0 @ ! 0 $ !0 $ D ! ) $YA;64 " "%A$871A %E$871A %5S97)$871A . , 8 ( ! % \" 0 0 " " X P !@ @ & 4 ( ! D #@ # & \" 8 !0 " " @ $ \"0 . , 8 ( !@ % \" 0 ) " " X !H 0 !@ @ \" 4 ( 0 $ ! 4 ! - 0 #0 !.86UE 4VEG;F%L" "