# segment.throttle = 0.0
    #
    # # segment.process.iterate.conditions.weights = update_weights_sprayer
    # segment.sprayer_rate = 0 * Units['kg/s']
    # segment.aerosol_mass_initial = 0. * Units.kg
    #
    # # add to misison
    # mission.append_segment(segment)


    return mission


# ----------------------------------------------------------------------
#   Call Main
# ----------------------------------------------------------------------

if __name__ == '__main__':
    import vehicles
    import analyses

    vehicles = vehicles.setup()
    analyses = analyses.setup(vehicles)
    missions = setup(analyses)

    vehicles.finalize()
    analyses.finalize()
    missions.finalize()

    missions.base.evaluate()
Ejemplo n.º 2
0
    segment.descent_rate = 3.0 * Units['m/s']
    segment.mach_end = 0.24
    segment.mach_start = 0.3

    # append to mission
    mission.append_segment(segment)

    #------------------------------------------------------------------
    ###         Reserve mission completed
    #------------------------------------------------------------------

    return mission


# ----------------------------------------------------------------------
#   Call Main
# ----------------------------------------------------------------------

if __name__ == '__main__':
    import vehicles
    import analyses

    vehicles = vehicles.setup()
    analyses = analyses.setup(vehicles)
    missions = setup(analyses)

    vehicles.finalize()
    analyses.finalize()
    missions.finalize()

    missions.base.evaluate()