{
  "openapi": "3.0.1",
  "info": {
    "title": "Heat Transfer Calculator: Heat Exchangers, Insulation, U-Values",
    "description": "Heat exchanger rating and sizing (effectiveness-NTU, LMTD and F, steam and refrigerants), pipe and tank insulation heat loss and thickness (ASTM C680), and wall U-values (ISO 6946). JSON in, numbers and charts out. For AI agents.",
    "version": "0.1",
    "x-build-id": "p163qc3CDt6ZLEPcL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jumblemog~heat-transfer-calculator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jumblemog-heat-transfer-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/jumblemog~heat-transfer-calculator/runs": {
      "post": {
        "operationId": "runs-sync-jumblemog-heat-transfer-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/jumblemog~heat-transfer-calculator/run-sync": {
      "post": {
        "operationId": "run-sync-jumblemog-heat-transfer-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "exchangers": {
            "title": "Heat exchangers",
            "type": "array",
            "description": "One exchanger per object: {\"type\": counterflow, parallel, shell and tube (with shells, or '1-2', '2-4'), crossflow, crossflow hot mixed, crossflow cold mixed, plate, double pipe; \"hot\" and \"cold\": {fluid (water, steam, air, natural gas, a refrigerant, ethylene glycol 30%, diesel, hydraulic oil ISO VG 46, ...), flow (2 kg/s, 120 l/min, 200 gpm, 5000 scfm, 800 lb/h), inlet, outlet, pressure, cp; condensing or boiling: true (or 'steam' with only a pressure) for a side at its saturation temperature}; U (and fouling), area, UA, duty}. Give UA (or U and area) and both flows to rate it: outlets and duty. Give one side's flow and temperatures (or the duty) to size it: UA, LMTD, F and the area for U (a typical-U range when U isn't given). With UA, leave one flow out and give an outlet to find that flow. A condensing or boiling side with no flow gets the flow needed."
          },
          "insulation": {
            "title": "Insulation",
            "type": "array",
            "description": "One pipe or flat surface per object: pipe ('4 in sch 40', 'DN100', '2 in type L copper') or outsideDiameter, or surface: 'flat' with orientation (vertical, top, bottom), height and area; processTemperature, ambientTemperature, location (indoor or outdoor) or wind, layers (['50 mm mineral wool', '1 in aerogel'] or [{material, thickness, k}]; materials: mineral wool, fiberglass, calcium silicate, cellular glass, elastomeric foam, PIR, PUR, phenolic, aerogel, perlite, XPS, EPS, polyethylene, ceramic fiber), jacket (aluminum, stainless, galvanized, PVC, all-service jacket, none) or emissivity, length. Set one layer's thickness to 'find' with maxSurfaceTemperature (or personnelProtection: true), maxHeatLoss ('50 W/m', '20 Btu/h·ft', a total) or relativeHumidity (cold surfaces) for the thinnest standard thickness. Optional: hoursPerYear, energyPrice ('0.05 per kWh', '$10 per MMBtu'), efficiency, fluid and flow for the temperature change along the pipe."
          },
          "walls": {
            "title": "Walls, roofs and floors",
            "type": "array",
            "description": "One construction per object: layers from inside to outside (or order: 'outside in') as text ('100 mm mineral wool', '102 mm brick', '25 mm air gap', 'ventilated cavity', 'R-13 batt', 'RSI 2.5', 'k 0.035 W/mK 120 mm') or {material, thickness, k, R, bridging: '15% softwood'}; position (wall, roof, floor); insideTemperature and outsideTemperature for the heat flow and temperatures; area; insideHumidity for the condensation check; targetU (or targetR) with one layer's thickness 'find' for the insulation needed."
          },
          "units": {
            "title": "Units",
            "enum": [
              "auto",
              "SI",
              "US"
            ],
            "type": "string",
            "description": "Units of bare numbers and of the results. Automatic picks US when most units written are US units.",
            "default": "auto"
          },
          "charts": {
            "title": "Draw charts",
            "type": "boolean",
            "description": "A T-Q diagram and effectiveness-NTU curves for each exchanger, heat loss and surface temperature against thickness for insulation, and the temperature profile and resistances of each wall.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}