Model { Name "VapPress" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Thu Sep 13 22:55:12 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Fri Sep 14 22:56:27 2001" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "VapPress" Location [438, 107, 774, 247] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [35, 55, 65, 85] Value "80" } Block { BlockType Display Name "Display" Ports [1, 0, 0, 0, 0] Position [195, 55, 285, 85] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SubSystem Name "VaporPressure" Ports [1, 1, 0, 0, 0] Position [100, 46, 155, 94] ForegroundColor "blue" BackgroundColor "cyan" ShowPortLabels on MaskDescription "Vapor Pressure(P) from Antoine Equation Consta" "nts (A, B, C) and Temperature(T)" MaskHelp "Input: Temperature(T)\nOutput: VaporPressure(P)" "\nParameters: Antoine Equation Constants (A, B, C)\nln P = A - B/(T+C)" MaskPromptString "A|B|C" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskVariables "A=@1;B=@2;C=@3;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "14.5463|2940.46|237.22" System { Name "VaporPressure" Location [4, 84, 800, 582] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "T" Position [120, 68, 150, 82] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Antoine Contstants: A,B,C" Position [25, 24, 145, 46] Value "[A, B, C]" } Block { BlockType Fcn Name "AntoineEquation" Position [225, 51, 305, 79] ForegroundColor "orange" Expr "exp(u[1] - u[2]/(u[3] + u[4]))" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 47, 200, 83] ForegroundColor "blue" BackgroundColor "magenta" ShowName off Inputs "2" DisplayOption "none" } Block { BlockType Outport Name "P" Position [330, 58, 360, 72] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Antoine Contstants: A,B,C" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "AntoineEquation" DstPort 1 } Line { SrcBlock "AntoineEquation" SrcPort 1 DstBlock "P" DstPort 1 } Line { SrcBlock "T" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "VaporPressure" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "VaporPressure" DstPort 1 } } }