b92a9d6bc5437898b194c9246b96420207cf4f9f,trunk/SUAVE/Methods/Performance/V_h_diagram.py,,V_h_diagram,#,22

Before Change


    // Specify Mach Number Range

    if supersonic:
        mach_range  = np.linspace(0, 3., num = grid_points, endpoint=False)
    else:
        mach_range  = np.linspace(0, 1., num = grid_points, endpoint=False)

    excess_power = np.zeros((grid_points, grid_points))


    for alt_idx in range(grid_points):

        atmo_data = atmo.compute_values(alt_range[alt_idx])

        for mach_idx in range(grid_points):

            V = mach_range[mach_idx] * atmo_data.speed_of_sound

            excess_power[mach_idx, alt_idx] = V[T / W - V * 0.02 / (W / S) - load_factor ** 2 * (K / V) * (W / S)]

    mach_space, alt_space = np.meshgrid(mach_range, alt_range)

After Change


    // Initialize Excess Power and Climb Rate

    excess_power = np.zeros((grid_points, grid_points))
    climb_rate = np.zeros((grid_points, grid_points))


    for alt_idx in range(grid_points):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: suavecode/SUAVE
Commit Name: b92a9d6bc5437898b194c9246b96420207cf4f9f
Time: 2020-12-23
Author: jtrentsmart@gmail.com
File Name: trunk/SUAVE/Methods/Performance/V_h_diagram.py
Class Name:
Method Name: V_h_diagram


Project Name: cesium-ml/cesium
Commit Name: 19fbae4ea6092bfc69e4f828febbd15f72365311
Time: 2016-11-10
Author: brettnaul@gmail.com
File Name: cesium/features/cadence_features.py
Class Name:
Method Name: delta_t_hist


Project Name: eriklindernoren/PyTorch-GAN
Commit Name: fc9e5824ad7bd3094f5012dc6fc3d2348481a2f4
Time: 2019-04-02
Author: eriklindernoren@live.se
File Name: implementations/bicyclegan/bicyclegan.py
Class Name:
Method Name: sample_images