Two Way


This route is used for two way interpolation of manufacturer's capacities at the indoor and outdoor design conditions.

Example:
My summer outdoor design is 92° dry-bulb and my indoor design is 63° wet-bulb
  • The manufacturer's published indoor data is 67° and 62° wet-bulb, so interpolation is needed to calculate the capacity at 63° wet-bulb
  • The manufacturer's published outdoor data is 85° and 95° dry-bulb, so interpolation is needed to calculate the capacity at 92° dry-bulb.
  • Route:

    POST https://hvacmath.com/api/v1/interpolate

    JSON Input Example:

    • aboveDesign
      The manufacturer's capacity above the indoor and outdoor design conditions.
    • belowDesign
      The manufacturer's capacity below the indoor and outdoor design conditions.
    • designInfo
      The design information for the project.
    • houseLoad
      The house load for the project at design conditions.
    • manufacturerAdjustments
      Optional adjustments multipliers to the manufacturer's capacity.
    • systemType
      The system type for the interpolation.
    • {
        "designInfo" : {
          "elevation" : 0,
          "summer" : {
            "indoorHumidity" : 50,
            "indoorTemperature" : 75,
            "outdoorTemperature" : 90
          },
          "winter" : {
            "outdoorTemperature" : 5
          }
        },
        "houseLoad" : {
          "cooling" : {
            "sensible" : 13894,
            "total" : 17872
          },
          "heating" : 49667
        },
        "route" : {
          "cooling" : {
            "twoWay" : {
              "aboveDesign" : {
                "aboveWetBulb" : {
                  "capacity" : {
                    "sensible" : 15937,
                    "total" : 24828
                  },
                  "cfm" : 800,
                  "indoorTemperature" : 75,
                  "indoorWetBulb" : 67,
                  "outdoorTemperature" : 95
                },
                "belowWetBulb" : {
                  "capacity" : {
                    "sensible" : 19078,
                    "total" : 23046
                  },
                  "cfm" : 800,
                  "indoorTemperature" : 75,
                  "indoorWetBulb" : 62,
                  "outdoorTemperature" : 95
                }
              },
              "belowDesign" : {
                "aboveWetBulb" : {
                  "capacity" : {
                    "sensible" : 16330,
                    "total" : 25986
                  },
                  "cfm" : 800,
                  "indoorTemperature" : 75,
                  "indoorWetBulb" : 67,
                  "outdoorTemperature" : 85
                },
                "belowWetBulb" : {
                  "capacity" : {
                    "sensible" : 19605,
                    "total" : 24029
                  },
                  "cfm" : 800,
                  "indoorTemperature" : 75,
                  "indoorWetBulb" : 62,
                  "outdoorTemperature" : 85
                }
              },
              "manufacturerAdjustments" : {
                "airToAir" : {
                  "heating" : 1,
                  "sensible" : 1,
                  "total" : 1
                }
              }
            }
          }
        },
        "systemType" : {
          "airToAir" : {
            "climate" : "mildWinterOrLatentLoad",
            "compressor" : "variableSpeed",
            "type" : "heatPump"
          }
        }
      }

      JSON Output Example:

      {
        "failures" : [
          "Oversizing total failure"
        ],
        "isFailed" : true,
        "result" : {
          "cooling" : {
            "altitudeDerating" : {
              "airToAir" : {
                "heating" : 1,
                "sensible" : 1,
                "total" : 1
              }
            },
            "capacityAsPercentOfLoad" : {
              "latent" : 115.6,
              "sensible" : 139,
              "total" : 133.8
            },
            "excessLatent" : 618,
            "finalCapacityAtDesign" : {
              "sensible" : 19318,
              "total" : 23915
            },
            "interpolatedCapacity" : {
              "sensible" : 18700,
              "total" : 23915
            },
            "sizingLimits" : {
              "oversizing" : {
                "cooling" : {
                  "latent" : 150,
                  "total" : 130
                }
              },
              "undersizing" : {
                "cooling" : {
                  "latent" : 90,
                  "sensible" : 90,
                  "total" : 90
                }
              }
            }
          }
        }
      }

      Validation Errors

      The following is an example of errors if the inputs are not appropriate.

      Two Way Request Errors:
      General:
      (aboveDesign.below, designInfo.summer).indoorTemperature: Above design below indoor temperature should be less than the summer design indoor temperature.
      (belowDesign.below, designInfo.summer).indoorTemperature: Below design below indoorTemperature should be less than the summer design indoor temperature.
      
      Above Design:
      aboveDesign.above.indoorWetBulb: Above indoor wet-bulb should be greater than 63°.
      aboveDesign.(above, below).indoorWetBulb: Above indoor wet-bulb should be greater than below design indoor wet-bulb.
      aboveDesign.above.cfm: Cfm should be greater than 0.
      aboveDesign.above.indoorTemperature: Indoor temperature should be greater than 0.
      aboveDesign.above.capacity.total: Total capacity should be greater than 0
      aboveDesign.above.capacity.sensible: Sensible capacity should be greater than 0
      aboveDesign.below.cfm: Cfm should be greater than 0.
      aboveDesign.below.indoorTemperature: Indoor temperature should be greater than 0.
      aboveDesign.below.capacity.total: Total capacity should be greater than 0
      aboveDesign.below.capacity.sensible: Sensible capacity should be greater than 0
      
      Below Design:
      belowDesign.above.indoorWetBulb: Above indoor wet-bulb should be greater than 63°.
      belowDesign.(above, below).indoorWetBulb: Above indoor wet-bulb should be greater than below design indoor wet-bulb.
      belowDesign.above.cfm: Cfm should be greater than 0.
      belowDesign.above.indoorTemperature: Indoor temperature should be greater than 0.
      belowDesign.above.capacity.total: Total capacity should be greater than 0
      belowDesign.above.capacity.sensible: Sensible capacity should be greater than 0
      belowDesign.below.cfm: Cfm should be greater than 0.
      belowDesign.below.indoorTemperature: Indoor temperature should be greater than 0.
      belowDesign.below.capacity.total: Total capacity should be greater than 0
      belowDesign.below.capacity.sensible: Sensible capacity should be greater than 0