# Map design point values LPCMap.defaults = {} LPCMap.defaults['alphaMap'] = 0.0 LPCMap.defaults['NcMap'] = 1.00 LPCMap.defaults['PR'] = 1.969 LPCMap.defaults['RlineMap'] = 2.150 LPCMap.RlineStall = 1.0 LPCMap.alphaMap = np.array([0.000, 90.000]) LPCMap.NcMap = np.array([ 0.300, 0.400, 0.500, 0.600, 0.700, 0.750, 0.800, 0.850, 0.900, 0.950, 1.000, 1.050, 1.100, 1.150 ]) LPCMap.RlineMap = np.array([ 1.000, 1.200, 1.400, 1.600, 1.800, 2.000, 2.200, 2.400, 2.600, 2.800, 3.000 ]) LPCMap.WcMap = np.array([[[ 17.907, 19.339, 20.749, 22.136, 23.498, 24.833, 26.141, 27.420, 28.669, 29.887, 31.011 ], [ 24.951, 26.742, 28.485, 30.177, 31.815, 33.397, 34.921, 36.385, 37.788, 39.128, 40.405 ], [ 32.682, 34.715, 36.662, 38.520, 40.286, 41.958, 43.533, 45.011, 46.390, 47.669, 48.848 ], [
"""Python version of HBTF Fan map from NPSS""" FanMap = MapData() # Map design point values FanMap.defaults = {} FanMap.defaults['alphaMap'] = 0.0 FanMap.defaults['NcMap'] = 1.0 FanMap.defaults['PR'] = 1.39 FanMap.defaults['RlineMap'] = 2.00 FanMap.RlineStall = 1.0 FanMap.alphaMap = np.array([0.000, 5.000]) FanMap.NcMap = np.array([0.500, 0.600, 0.700, 0.800, 0.900, 0.950, 1.000, 1.050, 1.100]) FanMap.RlineMap = np.array([1.000, 1.250, 1.500, 1.750, 2.000, 2.250, 2.500, 2.750, 3.000, 3.200, 3.250, 3.500]) FanMap.WcMap = np.array([[[1104.3380, 1247.2229, 1384.7280, 1514.7731, 1635.3656, 1742.0557, 1829.9553, 1866.5565, 1866.5565, 1866.5565, 1866.5565, 1866.5565], [1369.0782, 1519.3645, 1661.7891, 1793.9161, 1913.4485, 2012.9872, 2084.3818, 2125.0225, 2126.4814, 2126.4814, 2126.4814, 2126.4814], [1644.4929, 1791.9211, 1929.5121, 2054.8865, 2165.8337, 2252.1497, 2302.7083, 2315.6926, 2315.6926, 2315.6926, 2315.6926, 2315.6926], [1919.7177, 2054.9785, 2179.5896, 2291.5830, 2389.1497, 2460.2048, 2491.7344, 2493.1619, 2493.1619, 2493.1619, 2493.1619, 2493.1619], [2191.8401, 2304.7476, 2407.9941, 2500.2908, 2580.4556, 2636.5833, 2655.9902, 2655.9902, 2655.9902, 2655.9902, 2655.9902, 2655.9902], [2324.3926, 2422.7034, 2512.5652, 2593.0525, 2663.3154, 2712.5415, 2729.2681, 2729.2681, 2729.2681, 2729.2681, 2729.2681, 2729.2681], [2446.8806, 2530.6360, 2607.3428, 2676.3726, 2737.1450, 2780.9336, 2798.5239, 2798.8225, 2798.8225, 2798.8225, 2798.8225, 2798.8225], [2564.0947, 2632.0720, 2694.6523, 2751.4587, 2802.1399, 2840.2256, 2858.9136, 2860.8069, 2860.8069, 2860.8069, 2860.8069, 2860.8069], [2675.1184, 2726.3958, 2774.0383, 2817.8599, 2857.6853, 2889.2947, 2908.2825, 2914.2979, 2914.2979, 2914.2979, 2914.2979, 2914.2979]], [[ 883.6700, 1019.1972, 1150.5194, 1275.3372, 1391.4280, 1494.5356, 1580.0111, 1639.0737, 1639.0737, 1639.0737, 1639.0737, 1639.0737], [1103.0485, 1250.1055, 1390.6215, 1521.7380, 1640.7301, 1740.2568, 1812.2133, 1853.6100, 1860.6985, 1860.6985, 1860.6985, 1860.6985], [1336.1071, 1487.0300, 1629.0968, 1759.2498, 1874.6134, 1964.5132, 2017.2321, 2030.5022, 2030.5022, 2030.5022, 2030.5022, 2030.5022], [1576.8409, 1724.1096, 1860.7565, 1983.9010, 2090.8706, 2168.0376, 2200.6162, 2201.4871, 2201.4871, 2201.4871, 2201.4871, 2201.4871], [1821.3027, 1957.1122, 2081.6206, 2192.4666, 2287.4802, 2351.2808, 2368.0996, 2368.0996, 2368.0996, 2368.0996, 2368.0996, 2368.0996],
"""Python version of axi-5.map Compressor map from NPSS""" AXI5 = MapData() # Map design point values AXI5.defaults = {} AXI5.defaults['alphaMap'] = 0.0 AXI5.defaults['NcMap'] = 1.00 AXI5.defaults['PRmap'] = 5.2000 AXI5.defaults['RlineMap'] = 2.000 AXI5.RlineStall = 1.0 AXI5.alphaMap = np.array([0.000, 90.000]) AXI5.NcMap = np.array( [0.400, 0.500, 0.600, 0.700, 0.800, 0.900, 0.950, 1.000, 1.050, 1.100]) # , 4.8430, 5.1909, 5.5289, 5.8564, 6.1729, 6.4780, 6.7714, 7.0525, 7.3212]) AXI5.RlineMap = np.array( [1.000, 1.200, 1.400, 1.600, 1.800, 2.000, 2.200, 2.400, 2.600]) AXI5.WcMap = np.array([[[ 4.8430, 5.1909, 5.5289, 5.8564, 6.1729, 6.4780, 6.7714, 7.0525, 7.3212 ], [ 6.8115, 7.1360, 7.4477, 7.7462, 8.03130, 8.30260, 8.56000, 8.80330, 9.03230 ], [ 8.9765, 9.2855, 9.5780, 9.8535, 10.1121, 10.3536, 10.5781, 10.7855, 10.9760 ], [ 11.0367, 11.4245, 11.7795, 12.1017, 12.3913, 12.6485, 12.8738, 13.0679, 13.2314 ], [ 14.5914, 15.1491, 15.6401, 16.0650, 16.4249, 16.7213, 16.9563, 17.1322, 17.2515
NCP01 = MapData() # Map design point values NCP01.defaults = {} NCP01.defaults['alphaMap'] = 0.0 # Unscaled map design point vane angle NCP01.defaults[ 'NcMap'] = 1.0 # Unscaled map design point corrected speed. Max eff point at 100% speed NCP01.defaults[ 'RlineMap'] = 2.0 # Unscaled map design point Rline. Max eff point at 100% speed NCP01.RlineStall = 1.0 # Rline at stall # Values along map axes NCP01.alphaMap = np.array([0.0, 90.0]) NCP01.NcMap = np.array( [0.5, 0.6, 0.7, 0.8, 0.85, 0.9, 0.95, 1.0, 1.05, 1.1, 1.15]) NCP01.RlineMap = np.array( [1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0, 3.2]) # Create map arrays #Nc_data, alpha_data, Rline_data = np.meshgrid(Nc_vals, alpha_vals, Rline_vals, sparse=False) NCP01.WcMap = np.array( [[[ 1129.0825, 1258.8474, 1382.1909, 1498.6384, 1607.7749, 1709.2917, 1802.8665, 1888.3794, 1965.6499, 2034.6738, 2095.4690, 2148.1226 ], [ 1396.9045, 1546.6948, 1685.6306, 1813.0896, 1928.5979, 2031.8818, 2122.7800, 2201.2161, 2267.4148, 2321.6023, 2364.1392, 2395.5188 ], [ 1636.3572, 1816.0977, 1977.3179, 2119.2051, 2241.3333, 2343.6414,