Exemple #1
0
                          ],
                          [
                              2.2764, 2.2510, 2.2248, 2.1978, 2.1701, 2.1416,
                              2.1118, 2.0801, 2.0464, 2.0108, 1.9735
                          ],
                          [
                              2.3771, 2.3664, 2.3557, 2.3448, 2.3339, 2.3229,
                              2.3118, 2.3004, 2.2887, 2.2768, 2.2646
                          ],
                          [
                              2.4343, 2.4365, 2.4387, 2.4409, 2.4430, 2.4452,
                              2.4473, 2.4495, 2.4516, 2.4538, 2.4559
                          ]]])

#LPCMap.Nc_data, LPCMap.alpha_data, LPCMap.Rline_data = np.meshgrid(LPCMap.Nc_vals, LPCMap.alpha_vals, LPCMap.Rline_vals, sparse=False)
LPCMap.Npts = LPCMap.NcMap.size

LPCMap.units = {}
LPCMap.units['NcMap'] = 'rpm'
LPCMap.units['WcMap'] = 'lbm/s'

# format for new regular grid interpolator:

LPCMap.param_data = []
LPCMap.output_data = []

LPCMap.param_data.append({
    'name': 'alphaMap',
    'values': LPCMap.alphaMap,
    'default': 0,
    'units': None
Exemple #2
0
          44.636, 44.746, 44.846, 44.937, 45.020, 45.097, 45.167, 45.232,
          45.291, 45.345, 45.395, 45.486
      ],
      [
          43.553, 43.780, 43.977, 44.150, 44.302, 44.437, 44.556, 44.655,
          44.744, 44.825, 44.898, 44.965, 45.027, 45.083, 45.134, 45.182,
          45.227, 45.267, 45.304, 45.371
      ],
      [
          43.920, 44.081, 44.219, 44.339, 44.444, 44.538, 44.621, 44.694,
          44.755, 44.811, 44.861, 44.907, 44.949, 44.987, 45.022, 45.054,
          45.084, 45.112, 45.138, 45.183
      ]]])

#LPTMap.Np_data, LPTMap.alpha_data, LPTMap.PR_data = np.meshgrid(LPTMap.Nc_vals, LPTMap.alpha_vals, LPTMap.PR_vals, sparse=False)
LPTMap.Npts = LPTMap.NpMap.size

LPTMap.units = {}
LPTMap.units['NpMap'] = 'rpm'
LPTMap.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

LPTMap.param_data = []
LPTMap.output_data = []

LPTMap.param_data.append({
    'name': 'alphaMap',
    'values': LPTMap.alphaMap,
    'default': 1.0,
    'units': None
Exemple #3
0
  [1.9360, 1.9056, 1.8662, 1.8184, 1.7625, 1.6991, 1.6190, 1.5142, 1.3887, 1.2471, 1.0944, 1.0000],
  [2.0507, 2.0158, 1.9729, 1.9223, 1.8645, 1.8000, 1.7201, 1.6176, 1.4958, 1.3584, 1.2098, 1.0546]],
  [[1.0423, 1.0412, 1.0393, 1.0367, 1.0333, 1.0292, 1.0234, 1.0151, 1.0043, 1.0000, 1.0000, 1.0000],
  [1.0760, 1.0738, 1.0704, 1.0658, 1.0600, 1.0530, 1.0434, 1.0297, 1.0122, 1.0000, 1.0000, 1.0000],
  [1.1215, 1.1180, 1.1127, 1.1055, 1.0965, 1.0856, 1.0707, 1.0497, 1.0228, 1.0000, 1.0000, 1.0000],
  [1.1789, 1.1738, 1.1660, 1.1555, 1.1423, 1.1266, 1.1052, 1.0753, 1.0374, 1.0000, 1.0000, 1.0000],
  [1.2494, 1.2422, 1.2312, 1.2167, 1.1986, 1.1771, 1.1481, 1.1078, 1.0572, 1.0000, 1.0000, 1.0000],
  [1.3353, 1.3253, 1.3105, 1.2910, 1.2669, 1.2384, 1.2002, 1.1476, 1.0822, 1.0056, 1.0000, 1.0000],
  [1.4411, 1.4282, 1.4088, 1.3830, 1.3512, 1.3136, 1.2632, 1.1942, 1.1088, 1.0101, 1.0000, 1.0000],
  [1.5724, 1.5561, 1.5313, 1.4982, 1.4572, 1.4088, 1.3440, 1.2556, 1.1472, 1.0233, 1.0000, 1.0000],
  [1.7323, 1.7101, 1.6785, 1.6379, 1.5888, 1.5318, 1.4572, 1.3572, 1.2358, 1.0982, 1.0000, 1.0000],
  [1.9360, 1.9056, 1.8662, 1.8184, 1.7625, 1.6991, 1.6190, 1.5142, 1.3887, 1.2471, 1.0944, 1.0000],
  [2.0507, 2.0158, 1.9729, 1.9223, 1.8645, 1.8000, 1.7201, 1.6176, 1.4958, 1.3584, 1.2098, 1.0546]]])

#LPCmap.Nc_data, LPCmap.alpha_data, LPCmap.Rline_data = np.meshgrid(LPCmap.Nc_vals, LPCmap.alpha_vals, LPCmap.Rline_vals, sparse=False)
LPCmap.Npts = LPCmap.NcMap.size

LPCmap.units = {}
LPCmap.units['NcMap'] = 'rpm'
LPCmap.units['WcMap'] = 'lbm/s'

# format for new regular grid interpolator:

LPCmap.param_data = []
LPCmap.output_data = []

LPCmap.param_data.append({'name': 'alphaMap', 'values': LPCmap.alphaMap,
                          'default': 0, 'units': None})
LPCmap.param_data.append({'name': 'NcMap', 'values': LPCmap.NcMap,
                          'default': 1.1, 'units': 'rpm'})
LPCmap.param_data.append({'name': 'RlineMap', 'values': LPCmap.RlineMap,
Exemple #4
0
      [2.4783, 2.4610, 2.4214, 2.3602, 2.2787, 2.1784, 2.0579, 1.9167, 1.7585],
      [2.9457, 2.9160, 2.8640, 2.7907, 2.6972, 2.5851, 2.4528, 2.2995, 2.1288],
      [3.4221, 3.4045, 3.3514, 3.2639, 3.1441, 2.9945, 2.8132, 2.5998, 2.3609],
      [4.0790, 4.0961, 4.0527, 3.9500, 3.7915, 3.5820, 3.3193, 3.0047, 2.6517],
      [4.8443, 5.0097, 5.0468, 4.9535, 4.7350, 4.4035, 3.9581, 3.4109, 2.8024],
      [5.2659, 5.4656, 5.5180, 5.4201, 5.1776, 4.8046, 4.3011, 3.6821, 2.9960],
      [5.9603, 5.8925, 5.7804, 5.6258, 5.4313, 5.2000, 4.9289, 4.6166, 4.2701],
      [6.2935, 6.1874, 6.0632, 5.9218, 5.7642, 5.5914, 5.4014, 5.1930, 4.9678],
      [6.4390, 6.3324, 6.2162, 6.0908, 5.9568, 5.8145, 5.6627, 5.5004,
       5.3284]]])

AXI5.units = {}
AXI5.units['NcMap'] = 'rpm'
AXI5.units['WcMap'] = 'lbm/s'

AXI5.Npts = AXI5.NcMap.size

# format for new regular grid interpolator:

AXI5.param_data = []
AXI5.output_data = []

AXI5.param_data.append({
    'name': 'alphaMap',
    'values': AXI5.alphaMap,
    'default': 0,
    'units': None
})
AXI5.param_data.append({
    'name': 'NcMap',
    'values': AXI5.NcMap,
Exemple #5
0
          30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337,
          30.337, 30.337, 30.337, 30.337
      ],
      [
          29.856, 29.948, 30.013, 30.059, 30.091, 30.113, 30.128, 30.139,
          30.145, 30.149, 30.150, 30.150, 30.150, 30.150, 30.150, 30.150,
          30.150, 30.150, 30.150, 30.150
      ],
      [
          29.799, 29.870, 29.920, 29.955, 29.979, 29.997, 30.009, 30.017,
          30.023, 30.026, 30.028, 30.029, 30.029, 30.029, 30.029, 30.029,
          30.029, 30.029, 30.029, 30.029
      ]]])

#HPTmap.Np_data, HPTmap.alpha_data, HPTmap.PR_data = np.meshgrid(HPTmap.Nc_vals, HPTmap.alpha_vals, HPTmap.PR_vals, sparse=False)
HPTmap.Npts = HPTmap.NpMap.size

HPTmap.units = {}
HPTmap.units['NpMap'] = 'rpm'
HPTmap.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

HPTmap.param_data = []
HPTmap.output_data = []

HPTmap.param_data.append({
    'name': 'alphaMap',
    'values': HPTmap.alphaMap,
    'default': 1,
    'units': None
Exemple #6
0
          30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337,
          30.337, 30.337, 30.337, 30.337
      ],
      [
          29.856, 29.948, 30.013, 30.059, 30.091, 30.113, 30.128, 30.139,
          30.145, 30.149, 30.150, 30.150, 30.150, 30.150, 30.150, 30.150,
          30.150, 30.150, 30.150, 30.150
      ],
      [
          29.799, 29.870, 29.920, 29.955, 29.979, 29.997, 30.009, 30.017,
          30.023, 30.026, 30.028, 30.029, 30.029, 30.029, 30.029, 30.029,
          30.029, 30.029, 30.029, 30.029
      ]]])

#HPTMap.Np_data, HPTMap.alpha_data, HPTMap.PR_data = np.meshgrid(HPTMap.Nc_vals, HPTMap.alpha_vals, HPTMap.PR_vals, sparse=False)
HPTMap.Npts = HPTMap.NpMap.size

HPTMap.units = {}
HPTMap.units['NpMap'] = 'rpm'
HPTMap.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

HPTMap.param_data = []
HPTMap.output_data = []

HPTMap.param_data.append({
    'name': 'alphaMap',
    'values': HPTMap.alphaMap,
    'default': 1,
    'units': None
Exemple #7
0
  [1.1002, 1.1010, 1.0994, 1.0955, 1.0892, 1.0807, 1.0702, 1.0578, 1.0436, 1.0278, 1.0102],
  [1.1593, 1.1606, 1.1584, 1.1527, 1.1434, 1.1307, 1.1149, 1.0964, 1.0753, 1.0517, 1.0258],
  [1.2313, 1.2363, 1.2353, 1.2283, 1.2154, 1.1968, 1.1730, 1.1449, 1.1125, 1.0764, 1.0366],
  [1.3042, 1.3232, 1.3306, 1.3261, 1.3100, 1.2825, 1.2450, 1.1992, 1.1457, 1.0854, 1.0193],
  [1.3479, 1.3775, 1.3917, 1.3901, 1.3728, 1.3402, 1.2944, 1.2376, 1.1708, 1.0956, 1.0133],
  [1.3935, 1.4356, 1.4581, 1.4602, 1.4420, 1.4040, 1.3488, 1.2797, 1.1982, 1.1065, 1.0068],
  [1.4654, 1.5127, 1.5381, 1.5409, 1.5209, 1.4789, 1.4178, 1.3413, 1.2513, 1.1501, 1.0406],
  [1.5830, 1.6221, 1.6408, 1.6386, 1.6155, 1.5723, 1.5116, 1.4367, 1.3492, 1.2512, 1.1448],
  [1.7258, 1.7494, 1.7565, 1.7469, 1.7208, 1.6787, 1.6229, 1.5555, 1.4778, 1.3912, 1.2969],
  [1.8381, 1.8472, 1.8432, 1.8260, 1.7960, 1.7537, 1.7006, 1.6386, 1.5684, 1.4910, 1.4073],
  [1.9316, 1.9312, 1.9197, 1.8973, 1.8642, 1.8209, 1.7687, 1.7091, 1.6427, 1.5702, 1.4923],
  [2.0237, 2.0149, 1.9970, 1.9704, 1.9352, 1.8918, 1.8414, 1.7850, 1.7231, 1.6562, 1.5848],
  [2.1043, 2.0885, 2.0659, 2.0366, 2.0008, 1.9588, 1.9114, 1.8595, 1.8033, 1.7433, 1.6797]]])

#FanMap.Nc_data, FanMap.alpha_data, FanMap.Rline_data = np.meshgrid(FanMap.Nc_vals, FanMap.alpha_vals, FanMap.Rline_vals, sparse=False)
FanMap.Npts = FanMap.NcMap.size

FanMap.units = {}
FanMap.units['NcMap'] = 'rpm'
FanMap.units['WcMap'] = 'lbm/s'


# format for new regular grid interpolator:

FanMap.param_data = []
FanMap.output_data = []

FanMap.param_data.append({'name': 'alphaMap', 'values': FanMap.alphaMap,
                          'default': 0, 'units': None})
FanMap.param_data.append({'name': 'NcMap', 'values': FanMap.NcMap,
                          'default': 0.99, 'units': 'rpm'})
Exemple #8
0
      ],
      [
          26.6962, 26.0933, 25.4175, 24.6733, 23.8656, 22.9999, 22.0495,
          20.9930, 19.8436, 18.6163, 17.3267
      ],
      [
          27.6439, 27.0687, 26.4522, 25.7969, 25.1052, 24.3798, 23.6033,
          22.7614, 21.8600, 20.9058, 19.9057
      ],
      [
          28.4663, 27.9667, 27.4460, 26.9054, 26.3460, 25.7690, 25.1640,
          24.5225, 23.8472, 23.1399, 22.4038
      ]]])

#HPCmap.Nc_data, HPCmap.alpha_data, HPCmap.Rline_data = np.meshgrid(HPCmap.Nc_vals, HPCmap.alpha_vals, HPCmap.Rline_vals, sparse=False)
HPCmap.Npts = HPCmap.NcMap.size

HPCmap.units = {}
HPCmap.units['NcMap'] = 'rpm'
HPCmap.units['WcMap'] = 'lbm/s'

# format for new regular grid interpolator:

HPCmap.param_data = []
HPCmap.output_data = []

HPCmap.param_data.append({
    'name': 'alphaMap',
    'values': HPCmap.alphaMap,
    'default': 0,
    'units': None
Exemple #9
0
          30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337, 30.337,
          30.337, 30.337, 30.337, 30.337
      ],
      [
          29.856, 29.948, 30.013, 30.059, 30.091, 30.113, 30.128, 30.139,
          30.145, 30.149, 30.150, 30.150, 30.150, 30.150, 30.150, 30.150,
          30.150, 30.150, 30.150, 30.150
      ],
      [
          29.799, 29.870, 29.920, 29.955, 29.979, 29.997, 30.009, 30.017,
          30.023, 30.026, 30.028, 30.029, 30.029, 30.029, 30.029, 30.029,
          30.029, 30.029, 30.029, 30.029
      ]]])

#HPT1269.Np_data, HPT1269.alpha_data, HPT1269.PR_data = np.meshgrid(HPT1269.Nc_vals, HPT1269.alpha_vals, HPT1269.PR_vals, sparse=False)
HPT1269.Npts = HPT1269.NpMap.size

HPT1269.units = {}
HPT1269.units['NpMap'] = 'rpm'
HPT1269.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

HPT1269.param_data = []
HPT1269.output_data = []

HPT1269.param_data.append({
    'name': 'alphaMap',
    'values': HPT1269.alphaMap,
    'default': 1.0,
    'units': None
Exemple #10
0
  [ 4.0747,  3.9616,  3.8233,  3.6619,  3.4798,  3.2796,  3.0571,  2.8099,  2.5440,  2.2658,  1.9823],
  [ 4.9841,  4.8498,  4.6905,  4.5081,  4.3049,  4.0832,  3.8384,  3.5674,  3.2756,  2.9689,  2.6534],
  [ 5.6533,  5.5043,  5.3270,  5.1237,  4.8968,  4.6490,  4.3749,  4.0710,  3.7434,  3.3985,  3.0431],
  [ 6.6069,  6.4375,  6.2327,  5.9950,  5.7277,  5.4339,  5.1073,  4.7434,  4.3501,  3.9355,  3.5084],
  [ 8.1407,  7.9453,  7.6950,  7.3939,  7.0466,  6.6587,  6.2206,  5.7270,  5.1907,  4.6255,  4.0459],
  [ 9.9036,  9.6826,  9.3874,  9.0231,  8.5960,  8.1135,  7.5633,  6.9385,  6.2570,  5.5381,  4.8019],
  [10.6503, 10.4133, 10.0994,  9.7137,  9.2627,  8.7539,  8.1744,  7.5166,  6.7986,  6.0402,  5.2618],
  [11.3117, 11.0497, 10.7272, 10.3482,  9.9174,  9.4403,  8.9052,  8.3043,  7.6502,  6.9563,  6.2370],
  [11.9341, 11.6599, 11.3401, 10.9776, 10.5759, 10.1384,  9.6555,  9.1197,  8.5390,  7.9223,  7.2789],
  [12.3279, 12.0811, 11.8131, 11.5251, 11.2183, 10.8940, 10.5466, 10.1712,  9.7705,  9.3472,  8.9045],
  [12.8281, 12.6098, 12.3814, 12.1431, 11.8957, 11.6395, 11.3715, 11.0885, 10.7917, 10.4821, 10.1607],
  [13.2984, 13.1308, 12.9593, 12.7839, 12.6048, 12.4222, 12.2345, 12.0405, 11.8404, 11.6343, 11.4228],
  [13.9406, 13.9123, 13.8840, 13.8556, 13.8272, 13.7988, 13.7703, 13.7417, 13.7130, 13.6842, 13.6554]]])

#HPCMap.Nc_data, HPCMap.alpha_data, HPCMap.Rline_data = np.meshgrid(HPCMap.Nc_vals, HPCMap.alpha_vals, HPCMap.Rline_vals, sparse=False)
HPCMap.Npts = HPCMap.NcMap.size

HPCMap.units = {}
HPCMap.units['NcMap'] = 'rpm'
HPCMap.units['WcMap'] = 'lbm/s'

# format for new regular grid interpolator:

HPCMap.param_data = []
HPCMap.output_data = []

HPCMap.param_data.append({'name': 'alphaMap', 'values': HPCMap.alphaMap,
                          'default': 0, 'units': None})
HPCMap.param_data.append({'name': 'NcMap', 'values': HPCMap.NcMap,
                          'default': 0.976, 'units': 'rpm'})
HPCMap.param_data.append({'name': 'RlineMap', 'values': HPCMap.RlineMap,
Exemple #11
0
          149.822, 149.852, 149.872, 149.885, 149.894, 149.898, 149.899,
          149.899, 149.899, 149.899, 149.899, 149.899, 149.899
      ],
      [
          145.352, 145.680, 145.905, 146.061, 146.169, 146.244, 146.293,
          146.324, 146.339, 146.344, 146.344, 146.344, 146.344, 146.344,
          146.344, 146.344, 146.344, 146.344, 146.344, 146.344
      ],
      [
          140.863, 141.131, 141.310, 141.428, 141.503, 141.547, 141.567,
          141.569, 141.569, 141.569, 141.569, 141.569, 141.569, 141.569,
          141.569, 141.569, 141.569, 141.569, 141.569, 141.569
      ]]])

#LPTmap.Np_data, LPTmap.alpha_data, LPTmap.PR_data = np.meshgrid(LPTmap.Nc_vals, LPTmap.alpha_vals, LPTmap.PR_vals, sparse=False)
LPTmap.Npts = LPTmap.NpMap.size

LPTmap.units = {}
LPTmap.units['NpMap'] = 'rpm'
LPTmap.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

LPTmap.param_data = []
LPTmap.output_data = []

LPTmap.param_data.append({
    'name': 'alphaMap',
    'values': LPTmap.alphaMap,
    'default': 1.0,
    'units': None
Exemple #12
0
          149.822, 149.852, 149.872, 149.885, 149.894, 149.898, 149.899,
          149.899, 149.899, 149.899, 149.899, 149.899, 149.899
      ],
      [
          145.352, 145.680, 145.905, 146.061, 146.169, 146.244, 146.293,
          146.324, 146.339, 146.344, 146.344, 146.344, 146.344, 146.344,
          146.344, 146.344, 146.344, 146.344, 146.344, 146.344
      ],
      [
          140.863, 141.131, 141.310, 141.428, 141.503, 141.547, 141.567,
          141.569, 141.569, 141.569, 141.569, 141.569, 141.569, 141.569,
          141.569, 141.569, 141.569, 141.569, 141.569, 141.569
      ]]])

#LPT2269.Np_data, LPT2269.alpha_data, LPT2269.PR_data = np.meshgrid(LPT2269.Nc_vals, LPT2269.alpha_vals, LPT2269.PR_vals, sparse=False)
LPT2269.Npts = LPT2269.NpMap.size
LPT2269.units = {}
LPT2269.units['NpMap'] = 'rpm'
LPT2269.units['WpMap'] = 'lbm/s'

# format for new regular grid interpolator:

LPT2269.param_data = []
LPT2269.output_data = []

LPT2269.param_data.append({
    'name': 'alphaMap',
    'values': LPT2269.alphaMap,
    'default': 1.0,
    'units': None
})
Exemple #13
0
                          [2.6763, 2.9474, 3.1087, 3.1461, 3.0564,
                              2.8474, 2.5297, 2.1261, 1.6760],
                          [3.0338, 3.2416, 3.3490, 3.3485, 3.2401,
                              3.0314, 2.7305, 2.3538, 1.9309],
                          [3.5470, 3.5566, 3.5254, 3.4543, 3.3449,
                              3.2000, 3.0207, 2.8093, 2.5717],
                          [3.7752, 3.7298, 3.6683, 3.5912, 3.4994,
                              3.3935, 3.2737, 3.1402, 2.9944],
                          [3.8744, 3.8211, 3.7601, 3.6915, 3.6159, 3.5334, 3.4440, 3.3476, 3.2447]]])


AXI3_2.units = {}
AXI3_2.units['NcMap'] = 'rpm'
AXI3_2.units['WcMap'] = 'lbm/s'

AXI3_2.Npts = AXI3_2.NcMap.size

# format for new regular grid interpolator:

AXI3_2.param_data = []
AXI3_2.output_data = []

AXI3_2.param_data.append({'name': 'alphaMap', 'values': AXI3_2.alphaMap,
                          'default': 0, 'units': None})
AXI3_2.param_data.append({'name': 'NcMap', 'values': AXI3_2.NcMap,
                          'default': 1.0, 'units': 'rpm'})
AXI3_2.param_data.append({'name': 'RlineMap', 'values': AXI3_2.RlineMap,
                          'default': 2.0, 'units': None})

AXI3_2.output_data.append({'name': 'WcMap', 'values': AXI3_2.WcMap,
                           'default': np.mean(AXI3_2.WcMap), 'units': 'lbm/s'})
Exemple #14
0
                         ],
                         [
                             1.6748, 1.6655, 1.6538, 1.6399, 1.6238, 1.6054,
                             1.5852, 1.5633, 1.5399, 1.5150, 1.4886, 1.4608
                         ],
                         [
                             1.7224, 1.7122, 1.7008, 1.6882, 1.6744, 1.6595,
                             1.6434, 1.6266, 1.6089, 1.5904, 1.5711, 1.5510
                         ]]])

NCP01.units = {}
NCP01.units['NcMap'] = 'rpm'
NCP01.units['WcMap'] = 'lbm/s'

# Get number of points in map
NCP01.Npts = NCP01.NcMap.size

# format for new regular grid interpolator:

NCP01.param_data = []
NCP01.output_data = []

NCP01.param_data.append({
    'name': 'alphaMap',
    'values': NCP01.alphaMap,
    'default': 0,
    'units': None
})
NCP01.param_data.append({
    'name': 'NcMap',
    'values': NCP01.NcMap,