1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "exchangers": [
10 {
11 "title": "Hydraulic oil cooler",
12 "type": "shell and tube",
13 "hot": {
14 "fluid": "hydraulic oil ISO VG 46",
15 "flow": "120 l/min",
16 "inlet": "65 C",
17 "outlet": "45 C",
18 },
19 "cold": {
20 "fluid": "water",
21 "flow": "60 l/min",
22 "inlet": "25 C",
23 },
24 "U": "350 W/m2K",
25 },
26 {
27 "title": "Steam water heater",
28 "type": "shell and tube",
29 "hot": {
30 "fluid": "steam",
31 "pressure": "3 barg",
32 },
33 "cold": {
34 "fluid": "water",
35 "flow": "20 m3/h",
36 "inlet": "15 C",
37 "outlet": "80 C",
38 },
39 "U": "1500 W/m2K",
40 "fouling": "0.0002 m2K/W",
41 },
42 {
43 "title": "Plate exchanger rating",
44 "type": "plate",
45 "hot": {
46 "fluid": "water",
47 "flow": "10 m3/h",
48 "inlet": "80 C",
49 },
50 "cold": {
51 "fluid": "ethylene glycol 30%",
52 "flow": "8 m3/h",
53 "inlet": "10 C",
54 },
55 "U": "4000 W/m2K",
56 "area": "2.5 m2",
57 },
58 ],
59 "insulation": [
60 {
61 "title": "Steam line",
62 "pipe": "4 in sch 40 steel",
63 "processTemperature": "180 C",
64 "ambientTemperature": "10 C",
65 "location": "outdoor",
66 "layers": ["50 mm mineral wool"],
67 "jacket": "aluminum",
68 "length": "150 m",
69 "energyPrice": "0.05 per kWh",
70 "efficiency": "85%",
71 },
72 {
73 "title": "Chilled water condensation check",
74 "pipe": "2 in type L copper",
75 "processTemperature": "6 C",
76 "ambientTemperature": "30 C",
77 "relativeHumidity": "80%",
78 "layers": [{
79 "material": "elastomeric foam",
80 "thickness": "find",
81 }],
82 },
83 {
84 "title": "Tank wall",
85 "surface": "flat",
86 "height": "4 m",
87 "area": "60 m2",
88 "processTemperature": "250 C",
89 "ambientTemperature": "25 C",
90 "layers": [{
91 "material": "mineral wool",
92 "thickness": "find",
93 }],
94 "jacket": "aluminum",
95 "maxSurfaceTemperature": "50 C",
96 },
97 ],
98 "walls": [
99 {
100 "title": "Cavity wall",
101 "layers": [
102 "13 mm plaster",
103 "100 mm lightweight block",
104 "100 mm mineral wool batt",
105 "50 mm air gap",
106 "102 mm brick",
107 ],
108 "insideTemperature": "20 C",
109 "outsideTemperature": "-5 C",
110 "area": "80 m2",
111 "insideHumidity": "60%",
112 },
113 {
114 "title": "2x4 stud wall",
115 "layers": [
116 "0.5 in drywall",
117 {
118 "material": "fiberglass batt",
119 "thickness": "3.5 in",
120 "bridging": "15% softwood",
121 },
122 "0.5 in OSB",
123 "R-1 siding",
124 ],
125 "insideTemperature": "70 F",
126 "outsideTemperature": "10 F",
127 },
128 {
129 "title": "Roof to U 0.15",
130 "position": "roof",
131 "layers": [
132 "15 mm plasterboard",
133 {
134 "material": "PIR",
135 "thickness": "find",
136 },
137 "18 mm plywood",
138 ],
139 "targetU": "0.15 W/m2K",
140 },
141 ],
142}
143
144
145run = client.actor("jumblemog/heat-transfer-calculator").call(run_input=run_input)
146
147
148print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
149for item in client.dataset(run.default_dataset_id).iterate_items():
150 print(item)
151
152