📄 code_batch.ans.desc
字号:
MDOLVersion: 6.0
CompilerOptions: warn
Task Task1
TaskHeader Task1
Version: 1.0
Evaluation: single
ControlMode: user
RunCounter: 1
BoundsPolicy: adjustvalue
CheckPoint: unknown
End TaskHeader Task1
Inputs Task1
Parameter: WingSpan Type: real InitialValue: 22.72
Parameter: WingArea Type: real InitialValue: 117.3
Parameter: FuseLength Type: real InitialValue: 32.6
Parameter: FuseDia Type: real InitialValue: 4.85
End Inputs Task1
Outputs Task1
Parameter: SurfAreaFuse Type: real
Parameter: WetArea Type: real
Parameter: LoD Type: real
End Outputs Task1
SimCode AeroCode
InputFiles AeroCode
FileDescription AeroIntxt
FileType: standard
TemplateFile: "AeroInTemp.dat"
InputFile: "AeroIn.txt"
Parameters
WingSpan WingArea FuseLength FuseDia
Instructions
find "b = " ignore
write $WingSpan as "%7.3f"
find "Swing = " ignore
replace word with $WingArea
find "Lfuse = " ignore
replace word with $FuseLength
find "Dfuse = " ignore
replace word with $FuseDia as "%9.5f"
End Instructions
End FileDescription AeroIntxt
End InputFiles AeroCode
OutputFiles AeroCode
FileDescription AeroOuttxt
FileType: standard
OutputFile: "AeroOut.txt"
Parameters
SurfAreaFuse WetArea LoD
Instructions
find "Surface Area of the Fuselage = " ignore
read SurfAreaFuse as "%g"
provide $SurfAreaFuse
find "Wetted Area of the Aircraft = " ignore
read WetArea as "%g"
provide $WetArea
find "Lift/Drag of the Aircraft = " ignore
read LoD as "%g"
provide $LoD
End Instructions
End FileDescription AeroOuttxt
End OutputFiles AeroCode
SimCodeProcess AeroCode
Program: "./aero.bat"
ElapseTime: 5m
Prologue
WriteInputSpecs: AeroIntxt
Epilogue
ReadOutputSpecs: AeroOuttxt
Execution: "$Program"
End SimCodeProcess AeroCode
End SimCode AeroCode
TaskProcess Task1
Control: [
AeroCode
]
End TaskProcess Task1
Optimization Task1
PotentialVariables:
WingSpan WingArea FuseLength FuseDia
Variables:
WingSpan WingArea FuseLength FuseDia
VariableScaling
Parameter: WingSpan ScaleFactor: 1.0
Parameter: WingArea ScaleFactor: 1.0
Parameter: FuseLength ScaleFactor: 1.0
Parameter: FuseDia ScaleFactor: 1.0
PotentialObjectives:
WingSpan WingArea FuseLength FuseDia SurfAreaFuse WetArea LoD
# PLAN TO BE CONFIGURED BY ADVISOR:
OptimizePlan PriorityRankedPlan
Control: [
]
End Optimization Task1
TaskPlan Task1
Control: [
PriorityRankedPlan
]
End TaskPlan Task1
DataStorage Task1
Restore: no
DataLog: "code_batch.ans.db" Mode: overwrite
DataLookUp: "code_batch.ans.db"
MatchMode: Exact
Levels: all
StoreGradRuns: yes
StoreApproxRuns: yes
End DataStorage Task1
End Task Task1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -