Пример #1
0
from pycycle.maps.map_data import MapData
"""Python version of CFM56 LPC map from NPSS"""
LPCMap = MapData()

# 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,
Пример #2
0
from pycycle.maps.map_data import MapData


"""Python version of CFM56 LPC map from NPSS"""
LPCmap = MapData()

# Map design point values
LPCmap.defaults = {}
LPCmap.defaults['alphaMap'] = 0.0
LPCmap.defaults['NcMap'] = 1.100
LPCmap.defaults['PR'] = 1.800
LPCmap.defaults['RlineMap'] = 2.200
LPCmap.RlineStall = 1.0

LPCmap.alphaMap = np.array([0.000, 1.000])
LPCmap.NcMap = np.array([0.300, 0.400, 0.500, 0.600, 0.700, 0.800, 0.900, 1.000, 1.100, 1.200, 1.250])
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, 3.200]) 

LPCmap.WcMap = np.array([[[ 38.0744,  42.9399,  47.7510,  52.5016,  57.1863,  61.7994, 66.3359,  70.7905,  75.1584,  76.5663,  76.5663,  76.5663],
  [ 54.0383,  60.0388,  65.9233,  71.6816,  77.3038,  82.7808, 88.1038,  93.2648,  98.2565, 101.0545, 101.0545, 101.0545],
  [ 70.3200,  77.5153,  84.4949,  91.2421,  97.7419, 103.9805, 109.9459, 115.6273, 121.0156, 124.6409, 124.6409, 124.6409],
  [ 87.4860,  95.6896, 103.5393, 111.0128, 118.0907, 124.7566, 130.9971, 136.8019, 142.1633, 146.2312, 146.2312, 146.2312],
  [105.8588, 114.8071, 123.2285, 131.0978, 138.3948, 145.1045, 151.2169, 156.7268, 161.6340, 165.7319, 165.7319, 165.7319],
  [125.1164, 134.6062, 143.3572, 151.3454, 158.5548, 164.9773, 170.6127, 175.4677, 179.5554, 182.8951, 183.0717, 183.0717],
  [144.4910, 154.5703, 163.6243, 171.6346, 178.5959, 184.5149, 189.4099, 193.3090, 196.2491, 198.2745, 198.4155, 198.4155],
  [165.9141, 176.2228, 185.1849, 192.7986, 199.0806, 204.0644, 207.7979, 210.3410, 211.7638, 212.1506, 212.1506, 212.1506],
  [188.5677, 198.3532, 206.6834, 213.5745, 219.0613, 223.1942, 226.0370, 227.6647, 228.1611, 228.1611, 228.1611, 228.1611],
  [214.1402, 222.1943, 228.9021, 234.2963, 238.4220, 241.3359, 243.1030, 243.7959, 243.8124, 243.8124, 243.8124, 243.8124],
  [227.8569, 234.5820, 240.1193, 244.5040, 247.7802, 250.0000, 251.2213, 251.5216, 251.5216, 251.5216, 251.5216, 251.5216]],
  [[ 38.0744,  42.9399,  47.7510,  52.5016,  57.1863,  61.7994, 66.3359,  70.7905,  75.1584,  76.5663,  76.5663,  76.5663],
  [ 54.0383,  60.0388,  65.9233,  71.6816,  77.3038,  82.7808, 88.1038,  93.2648,  98.2565, 101.0545, 101.0545, 101.0545],
Пример #3
0
from pycycle.maps.map_data import MapData
"""Python version of CFM56 HPC map from NPSS"""
HPCmap = MapData()

# Map design point values
HPCmap.defaults = {}
HPCmap.defaults['alphaMap'] = 0.0
HPCmap.defaults['NcMap'] = 1.00
HPCmap.defaults['PR'] = 23.00
HPCmap.defaults['RlineMap'] = 2.0
HPCmap.RlineStall = 1.0

HPCmap.alphaMap = np.array([0.000, 90.000])
HPCmap.NcMap = np.array([
    0.500, 0.600, 0.700, 0.750, 0.800, 0.850, 0.900, 0.925, 0.950, 0.975,
    1.000, 1.025, 1.050
])
HPCmap.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
])

HPCmap.WcMap = np.array(
    [[[
        22.7411, 24.0487, 25.1548, 26.0615, 26.7738, 27.2992, 27.6470, 27.8286,
        27.8634, 27.8634, 27.8634
    ],
      [
          31.7548, 33.1181, 34.2670, 35.2054, 35.9397, 36.4783, 36.8308,
          37.0085, 37.0362, 37.0362, 37.0362
      ],
      [
Пример #4
0
import numpy as np

from pycycle.maps.map_data import MapData
"""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
                        ],
Пример #5
0
from pycycle.maps.map_data import MapData
"""Python version of npc01.map from NPSS"""
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
      ],