def map_plots(prob, pt): comp_names = ['comp'] comp_full_names = [f'{pt}.{c}' for c in comp_names] pyc.plot_compressor_maps(prob, comp_full_names) turb_names = ['turb'] turb_full_names = [f'{pt}.{c}' for c in turb_names] pyc.plot_turbine_maps(prob, turb_full_names)
def map_plots(prob, pt): comp_names = ['fan'] comp_full_names = [f'{pt}.{c}' for c in comp_names] pyc.plot_compressor_maps(prob, comp_full_names)