⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 code_mult.ans.desc

📁 多学科优化软件isight培训教程初级pdf有很详细的例子讲解
💻 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 AeroWingIntxt
                FileType: standard
                TemplateFile: "AeroWingInTemp.dat"
                InputFile: "AeroWingIn.txt"
                Parameters
                    WingSpan WingArea
                Instructions
                    find "b     = " ignore 
                    write $WingSpan as "%7.3f"
                    find "Swing = " ignore 
                    replace word with $WingArea
                End Instructions
            End FileDescription AeroWingIntxt

            FileDescription AeroFuseIntxt
                FileType: standard
                TemplateFile: "AeroFuseInTemp.dat"
                InputFile: "AeroFuseIn.txt"
                Parameters
                    FuseLength FuseDia
                Instructions
                    find "Lfuse = " ignore 
                    replace word with $FuseLength 
                    find "Dfuse = " ignore 
                    replace word with $FuseDia as "%9.5f"
                End Instructions
            End FileDescription AeroFuseIntxt
        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: "../../Programs/aeromult.exe"
            ElapseTime: 5m
            Prologue
                WriteInputSpecs: AeroWingIntxt
                                 AeroFuseIntxt
            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_mult.ans.db" Mode: overwrite
        DataLookUp: "code_mult.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 + -