Library { Name "ftldynamics" Version 4.00 LibraryLinkDisplay "none" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar off StatusBar off BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Sat Jul 07 17:00:05 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Mon Dec 10 22:00:07 2001" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" Profile off SimulationMode "normal" RTWRetainRTWFile off RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeLogAll on BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "ftldynamics" Location [319, 168, 852, 522] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Fluid Transmission Line\nSubsystem" Ports [2, 2] Position [30, 27, 220, 83] BackgroundColor "cyan" AncestorBlock "FLUIDSYS/Fluid Transmission Line\nSubsystem" FontName "Verdana" FontSize 14 FontAngle "italic" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Fluid Transmission Line Model" MaskDescription " This multiport block represents a transmissi" "on line of the following causality.\n |Qa| | G1 " " -G2 | |Pc|\n | | =(1/zo)* | | | |\n " " |Qb| | G2 -G3 | |Ps|\n Where, the preferred inputs" " are transfer function (TF) objects of G1, G2 and G3 with numerical gain, zo." MaskPromptString "LTI model of G1:|LTI model of G2:|LTI model of " "G3:|Gain, zo:" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "G1=@1;G2=@2;G3=@3;zo=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "|||" MaskVariableAliases ",,," System { Name "Fluid Transmission Line\nSubsystem" Location [267, 181, 882, 584] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Ps" Position [25, 43, 55, 57] Port "1" Interpolate on } Block { BlockType Inport Name "Pc" Position [25, 133, 55, 147] Port "2" Interpolate on } Block { BlockType Gain Name "GAIN \n1/Zo" Position [440, 206, 495, 264] BackgroundColor "green" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "1/zo" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain \n1/Zo" Position [440, 22, 495, 78] BackgroundColor "green" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "1/zo" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "LTI Model of\n G2" Ports [1, 1] Position [145, 217, 240, 253] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" SourceBlock "cstblocks/LTI System" SourceType "LTI Block" sys "G2" IC "[0]" } Block { BlockType Reference Name "LTI model of\n G1" Ports [1, 1] Position [145, 32, 240, 68] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" SourceBlock "cstblocks/LTI System" SourceType "LTI Block" sys "G1" IC "[0]" } Block { BlockType Reference Name "LTI model of\n G2" Ports [1, 1] Position [145, 122, 240, 158] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" SourceBlock "cstblocks/LTI System" SourceType "LTI Block" sys "G2" IC "[0]" } Block { BlockType Reference Name "LTI model of\n G3" Ports [1, 1] Position [145, 307, 240, 343] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" SourceBlock "cstblocks/LTI System" SourceType "LTI Block" sys "G3" IC "[0]" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [345, 40, 365, 60] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [345, 225, 365, 245] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Qa" Position [520, 43, 550, 57] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Qb" Position [520, 228, 550, 242] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Pc" SrcPort 1 Points [15, 0] Branch { Points [0, 185] DstBlock "LTI model of\n G3" DstPort 1 } Branch { DstBlock "LTI model of\n G2" DstPort 1 } } Line { SrcBlock "Ps" SrcPort 1 Points [50, 0] Branch { Points [0, 185] DstBlock "LTI Model of\n G2" DstPort 1 } Branch { DstBlock "LTI model of\n G1" DstPort 1 } } Line { SrcBlock "LTI Model of\n G2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "LTI model of\n G2" SrcPort 1 Points [110, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "GAIN \n1/Zo" SrcPort 1 DstBlock "Qb" DstPort 1 } Line { SrcBlock "Gain \n1/Zo" SrcPort 1 DstBlock "Qa" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "GAIN \n1/Zo" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain \n1/Zo" DstPort 1 } Line { SrcBlock "LTI model of\n G3" SrcPort 1 Points [110, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "LTI model of\n G1" SrcPort 1 DstBlock "Sum" DstPort 1 } } } Block { BlockType SubSystem Name "Gas\nT-Connector \n" Ports [3, 1] Position [35, 137, 110, 293] BackgroundColor "darkGreen" FontName "Verdana" FontSize 14 FontAngle "italic" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Load Capacitance model" MaskPromptString "Specific Heat Ratio, v:|Internal Tank Volume, V" ":|Kinemetic Viscosity, viz:|Internal radius, r:|Initial Condition, Pt(0):" MaskStyleString "edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "||||" MaskEnableString "on,on,on,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVariables "heat_ratio=@1;Volume=@2;viz=@3;r=@4;IC=@5;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "||||0" MaskVariableAliases ",,,," System { Name "Gas\nT-Connector \n" Location [12, 52, 1032, 750] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Qin" Position [80, 143, 110, 157] Port "1" Interpolate on } Block { BlockType Inport Name "Qout1" Position [80, 243, 110, 257] Port "2" Interpolate on } Block { BlockType Inport Name "Qout2" Position [80, 348, 110, 362] Port "3" Interpolate on } Block { BlockType Gain Name "Gain\nr^2/viz3" Position [290, 173, 330, 227] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "r^2/viz" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [535, 171, 585, 219] BackgroundColor "yellow" FontName "Verdana" FontSize 14 FontAngle "italic" ExternalReset "none" InitialConditionSource "internal" InitialCondition "IC" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Constant Name "Patm" Position [690, 116, 775, 164] Orientation "left" FontName "Verdana" FontSize 14 FontAngle "italic" Value "101325" VectorParams1D on } Block { BlockType Product Name "Product" Ports [2, 1] Position [470, 92, 500, 123] FontName "Verdana" FontSize 14 FontAngle "italic" Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Specific Heat /\nInt. Volume1" Position [385, 173, 430, 227] BackgroundColor "cyan" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "heat_ratio/Volume" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [185, 190, 205, 210] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [240, 190, 260, 210] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [630, 130, 650, 150] Orientation "up" ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Pt" Position [745, 228, 775, 242] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Patm" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] Branch { Points [30, 0] DstBlock "Sum4" DstPort 1 } Branch { Points [0, 40] DstBlock "Pt" DstPort 1 } } Line { SrcBlock "Sum4" SrcPort 1 Points [0, -60; -190, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Qout2" SrcPort 1 Points [135, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain\nr^2/viz3" DstPort 1 } Line { SrcBlock "Qin" SrcPort 1 Points [55, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Qout1" SrcPort 1 Points [80, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain\nr^2/viz3" SrcPort 1 DstBlock "Specific Heat /\nInt. Volume1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Specific Heat /\nInt. Volume1" SrcPort 1 Points [15, 0; 0, -85] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] DstBlock "Integrator" DstPort 1 } } } Block { BlockType SubSystem Name "Gas Capacitance\nSubsystem" Ports [2, 1] Position [280, 193, 390, 302] BackgroundColor "yellow" FontName "Verdana" FontSize 14 FontAngle "italic" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Gas Capacitance model" MaskPromptString "Specific Heat Ratio, v:|Internal Tank Volume, V" ":|Kinemetic Viscosity, viz:|Internal radius, r:|Initial Condition, Pt(0)" MaskStyleString "edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "||||" MaskEnableString "on,on,on,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVariables "heat_ratio=@1;Volume=@2;viz=@3;r=@4;IC=@5;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "||||0" MaskVariableAliases ",,,," System { Name "Gas Capacitance\nSubsystem" Location [244, 160, 911, 596] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Qin" Position [15, 178, 45, 192] Port "1" Interpolate on } Block { BlockType Inport Name "Qout" Position [15, 278, 45, 292] Port "2" Interpolate on } Block { BlockType Gain Name "Gain\nr^2/viz" Position [150, 208, 190, 262] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "r^2/viz" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [395, 211, 445, 259] BackgroundColor "yellow" FontName "Verdana" FontSize 14 FontAngle "italic" ExternalReset "none" InitialConditionSource "internal" InitialCondition "IC" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Constant Name "Patm" Position [550, 156, 635, 204] Orientation "left" FontName "Verdana" FontSize 14 FontAngle "italic" Value "101325" VectorParams1D on } Block { BlockType Product Name "Product" Ports [2, 1] Position [330, 132, 360, 163] FontName "Verdana" FontSize 14 FontAngle "italic" Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Specific Heat /\nInt. Volume" Position [245, 208, 290, 262] BackgroundColor "cyan" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "heat_ratio/Volume" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 225, 115, 245] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [490, 170, 510, 190] Orientation "up" ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Pt" Position [605, 268, 635, 282] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -60; -190, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] Branch { Points [0, 40] DstBlock "Pt" DstPort 1 } Branch { Points [30, 0] DstBlock "Sum1" DstPort 1 } } Line { SrcBlock "Patm" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Specific Heat /\nInt. Volume" SrcPort 1 Points [15, 0; 0, -80] DstBlock "Product" DstPort 2 } Line { SrcBlock "Qin" SrcPort 1 Points [30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Qout" SrcPort 1 Points [55, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain\nr^2/viz" DstPort 1 } Line { SrcBlock "Gain\nr^2/viz" SrcPort 1 DstBlock "Specific Heat /\nInt. Volume" DstPort 1 } } } Block { BlockType SubSystem Name "Liquid\nT-Connector" Ports [3, 1] Position [140, 136, 215, 294] BackgroundColor "green" FontName "Verdana" FontSize 14 FontAngle "italic" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Load Capacitance model" MaskPromptString "Liquid Capacitance, C:|Kinematic viscosity, viz" ":|Inside radious, r:|Initial Condition, Pt(0):" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "C=@1;viz=@2;r=@3;Pt=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "|||0" MaskVariableAliases ",,," System { Name "Liquid\nT-Connector" Location [427, 146, 970, 583] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Qin" Position [100, 168, 130, 182] Port "1" Interpolate on } Block { BlockType Inport Name "Qout1" Position [100, 268, 130, 282] Port "2" Interpolate on } Block { BlockType Inport Name "Qout2" Position [100, 373, 130, 387] Port "3" Interpolate on } Block { BlockType Gain Name "Gain\nr^2/viz3" Position [310, 198, 350, 252] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "r^2/viz" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [525, 201, 575, 249] BackgroundColor "yellow" FontName "Verdana" FontSize 14 FontAngle "italic" ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Gain Name "Specific Heat /\nInt. Volume1" Position [405, 198, 450, 252] BackgroundColor "cyan" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "heat_ratio/Volume" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [205, 215, 225, 235] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [260, 215, 280, 235] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [670, 180, 690, 200] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "initial condition" Position [405, 107, 455, 153] FontName "Verdana" FontSize 14 FontAngle "italic" Value "Pt" VectorParams1D on } Block { BlockType Outport Name "Pt" Position [780, 183, 810, 197] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Qout2" SrcPort 1 Points [135, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain\nr^2/viz3" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Qin" SrcPort 1 Points [55, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Qout1" SrcPort 1 Points [80, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain\nr^2/viz3" SrcPort 1 DstBlock "Specific Heat /\nInt. Volume1" DstPort 1 } Line { SrcBlock "initial condition" SrcPort 1 Points [135, 0; 0, 60] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Pt" DstPort 1 } Line { SrcBlock "Specific Heat /\nInt. Volume1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [100, 0] DstBlock "Sum3" DstPort 2 } } } Block { BlockType SubSystem Name "Liquid Capacitance\nSubsystem " Ports [2, 1] Position [280, 13, 390, 122] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Liquid Capacitance model" MaskPromptString "Liquid Capacitance, C:|Kinematic viscosity, viz" ":|Inside radious, r:|Initial Condition, Pt(0):" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "C=@1;viz=@2;r=@3;Po=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "|||0" MaskVariableAliases ",,," System { Name "Liquid Capacitance\nSubsystem " Location [425, 144, 930, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Qin" Position [20, 173, 50, 187] Port "1" Interpolate on } Block { BlockType Inport Name "Qout" Position [20, 273, 50, 287] Port "2" Interpolate on } Block { BlockType Gain Name "GAIN\nC\n" Position [220, 203, 265, 257] BackgroundColor "cyan" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "1/C" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "GAIN\nr^2/viz" Position [150, 203, 190, 257] BackgroundColor "lightBlue" FontName "Verdana" FontSize 14 FontAngle "italic" Gain "r^2/viz" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [305, 206, 355, 254] BackgroundColor "yellow" FontName "Verdana" FontSize 14 FontAngle "italic" ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [90, 220, 110, 240] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [380, 160, 400, 180] ShowName off FontName "Verdana" FontSize 14 FontAngle "italic" IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "initial \ncondition\nPt(0)" Position [130, 57, 180, 103] FontName "Verdana" FontSize 14 FontAngle "italic" Value "Po" VectorParams1D on } Block { BlockType Outport Name "Pt" Position [450, 163, 480, 177] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Integrator" SrcPort 1 Points [30, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "GAIN\nC\n" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Pt" DstPort 1 } Line { SrcBlock "initial \ncondition\nPt(0)" SrcPort 1 Points [65, 0; 0, 90] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "GAIN\nr^2/viz" DstPort 1 } Line { SrcBlock "GAIN\nr^2/viz" SrcPort 1 DstBlock "GAIN\nC\n" DstPort 1 } Line { SrcBlock "Qout" SrcPort 1 Points [45, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Qin" SrcPort 1 Points [20, 0] DstBlock "Sum" DstPort 1 } } } } }