📄 combinedone.mdl
字号:
Model {
Name "combinedOne"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
InitFcn "powericon('psbinitsys',bdroot);"
Created "Fri Feb 01 14:25:08 2002"
Creator "munlock -all d:\\work\\myr12\\toolbox\\fuzzy\\fuzzy"
"\\mfedit.m"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "munlock -all d:\\work\\myr12\\toolbox\\fuzzy\\fuzzy"
"\\mfedit.m"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Mar 03 13:16:07 2002"
ModelVersionFormat "1.%<AutoIncrement:20>"
ConfigurationManager "None"
SimParamPage "Solver"
StartTime "0.0"
StopTime "inf"
SolverMode "Auto"
Solver "ode23tb"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
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 "Array"
LimitDataPoints on
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF 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
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType off
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 "combinedOne"
Location [425, 173, 1145, 580]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "ClimateControlSystem"
Ports [1, 1]
Position [365, 103, 565, 207]
FontName "Arial"
FontSize 14
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "ClimateControlSystem"
Location [254, 278, 1216, 795]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "81"
Block {
BlockType Inport
Name "Engine speed"
Position [795, 63, 825, 77]
FontName "Arial"
FontSize 14
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType SubSystem
Name "AC Control"
Ports [4, 1, 1]
Position [895, 51, 1055, 209]
BackgroundColor "green"
FontName "Arial"
FontSize 14
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "AC Control"
Location [210, 212, 907, 650]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Engine Speed"
Position [85, 258, 115, 272]
FontName "Arial"
FontSize 14
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Comp Torque"
Position [85, 303, 115, 317]
FontName "Arial"
FontSize 14
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Blower Speed prop"
Position [85, 348, 115, 362]
FontName "Arial"
FontSize 14
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Internal temp"
Position [85, 213, 115, 227]
FontName "Arial"
FontSize 14
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [230, 85, 250, 105]
StatesWhenEnabling "reset"
ShowOutputPort off
}
Block {
BlockType Gain
Name "Max flow rate"
Position [220, 340, 250, 370]
FontName "Arial"
FontSize 14
Gain "0.12"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [175, 266, 220, 299]
FontName "Arial"
FontSize 14
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [325, 276, 370, 309]
FontName "Arial"
FontSize 14
Inputs "*/"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [380, 210, 400, 230]
ShowName off
FontName "Arial"
FontSize 14
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Lookup
Name "Temp/enthalpy"
Position [240, 204, 265, 236]
FontName "Arial"
FontSize 14
InputValues "[220 230 240 250 260 270 280 285 290 29"
"5 300 305 310 315 320]"
OutputValues "[219.97 230.02 240.02 250.05 260.09 270"
".11 280.13 285.14 290.16 295.17 300.19 305.22 310.24 315.27 320.29]"
}
Block {
BlockType Gain
Name "efficiency"
Position [265, 270, 295, 300]
FontName "Arial"
FontSize 14
Gain "0.86"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Lookup
Name "enthalpy/Texit"
Position [445, 204, 470, 236]
FontName "Arial"
FontSize 14
InputValues "[219.97 230.02 240.02 250.05 260.09 270"
".11 280.13 285.14 290.16 295.17 300.19 305.22 310.24 315.27 320.29]"
OutputValues "[220 230 240 250 260 270 280 285 290 29"
"5 300 305 310 315 320]"
}
Block {
BlockType Outport
Name "Exit Temp (AC)"
Position [520, 213, 550, 227]
FontName "Arial"
FontSize 14
Port "1"
OutputWhenDisabled "reset"
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "enthalpy/Texit"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Temp/enthalpy"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Internal temp"
SrcPort 1
DstBlock "Temp/enthalpy"
DstPort 1
}
Line {
SrcBlock "enthalpy/Texit"
SrcPort 1
DstBlock "Exit Temp (AC)"
DstPort 1
}
Line {
SrcBlock "Max flow rate"
SrcPort 1
Points [55, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Blower Speed prop"
SrcPort 1
DstBlock "Max flow rate"
DstPort 1
}
Line {
SrcBlock "efficiency"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "efficiency"
DstPort 1
}
Line {
SrcBlock "Comp Torque"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Engine Speed"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Product"
DstPort 1
}
Annotation {
Position [77, 198]
FontName "Arial"
FontSize 14
}
Annotation {
Position [302, 94]
HorizontalAlignment "left"
Text "Heat Transfer Equation (from evaporator"
"):\n\ny.(w.Tcomp) = m_dot.(h4-h1)\n\ny = efficiency\nm_dot = mass flow rate\n"
"w = speed of the engine\nTcomp = compressor torque\nh4, h1 = enthalpy"
FontName "Arial"
FontSize 14
}
}
}
Block {
BlockType Constant
Name "Distribution "
Position [40, 12, 65, 38]
FontName "Arial"
FontSize 14
Value "1"
VectorParams1D on
}
Block {
BlockType Reference
Name "Distribution Request"
Ports [2, 1]
Position [135, 47, 165, 83]
NamePlacement "alternate"
FontName "Arial"
FontSize 14
SourceBlock "simulink3/Nonlinear/Manual Switch"
SourceType "Manual Switch"
sw "0"
action "0"
}
Block {
BlockType Constant
Name "Distribution1\n"
Position [40, 63, 65, 87]
FontName "Arial"
FontSize 14
Value "0"
VectorParams1D on
}
Block {
BlockType SubSystem
Name "External Temperature in Celcius"
Ports [0, 1]
Position [95, 412, 140, 458]
BackgroundColor "yellow"
FontName "Arial"
FontSize 14
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "variable"
MaskPromptString "Enter the external temperature"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "x=@1;"
MaskInitialization "set_param('combinedOne/ClimateControlSystem"
"/Interior Dynamics/Tcabin','InitialCondition',num2str(x+273))\nset_param('com"
"binedOne/ClimateControlSystem/External Temperature in Celcius/External Temp',"
"'Value',num2str(x))\n\n"
MaskDisplay "disp(x);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "18"
System {
Name "External Temperature in Celcius"
Location [314, 430, 658, 600]
Open off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -