rrplot 1.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cycleplot/__init__.py +22 -0
- rrplot/__init__.py +29 -0
- rrplot/_primitives.py +26 -0
- rrplot/core.py +519 -0
- rrplot/hvac.py +305 -0
- rrplot/part.py +40 -0
- rrplot/parts.py +834 -0
- rrplot/registry.py +213 -0
- rrplot/scene.py +255 -0
- rrplot/scene_renderer.py +137 -0
- rrplot/style.py +74 -0
- rrplot/svgparts.py +230 -0
- rrplot/templates/evi_ftvi.json +460 -0
- rrplot/templates/evi_intermediate.json +424 -0
- rrplot/templates/ftvi.json +323 -0
- rrplot/templates/heat_pump.json +24 -0
- rrplot/templates/heat_pump_receiver.json +27 -0
- rrplot/templates/reversible_heat_pump_cooling.json +456 -0
- rrplot/templates/reversible_heat_pump_heating.json +456 -0
- rrplot/templates/vrf_multisplit_cooling.json +1153 -0
- rrplot/templates/vrf_multisplit_evi_heating.json +1320 -0
- rrplot-1.3.0.dist-info/METADATA +275 -0
- rrplot-1.3.0.dist-info/RECORD +26 -0
- rrplot-1.3.0.dist-info/WHEEL +5 -0
- rrplot-1.3.0.dist-info/licenses/LICENSE +21 -0
- rrplot-1.3.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "四通阀热泵(制热)",
|
|
4
|
+
"page": {
|
|
5
|
+
"width": 1100,
|
|
6
|
+
"height": 760
|
|
7
|
+
},
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "comp",
|
|
11
|
+
"type": "compressor",
|
|
12
|
+
"title": "压缩机",
|
|
13
|
+
"x": 220,
|
|
14
|
+
"y": 450,
|
|
15
|
+
"params": {
|
|
16
|
+
"r": 42,
|
|
17
|
+
"style": "圆形"
|
|
18
|
+
},
|
|
19
|
+
"rotation": 0
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "reversing",
|
|
23
|
+
"type": "four_way_valve",
|
|
24
|
+
"title": "四通换向阀",
|
|
25
|
+
"x": 480,
|
|
26
|
+
"y": 250,
|
|
27
|
+
"params": {
|
|
28
|
+
"r": 32,
|
|
29
|
+
"mark": false
|
|
30
|
+
},
|
|
31
|
+
"rotation": 0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "indoor",
|
|
35
|
+
"type": "heat_exchanger",
|
|
36
|
+
"title": "室内换热器",
|
|
37
|
+
"x": 760,
|
|
38
|
+
"y": 160,
|
|
39
|
+
"params": {
|
|
40
|
+
"w": 200,
|
|
41
|
+
"h": 60,
|
|
42
|
+
"shape": "rect_x",
|
|
43
|
+
"orient": "h"
|
|
44
|
+
},
|
|
45
|
+
"rotation": 0
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "outdoor",
|
|
49
|
+
"type": "heat_exchanger",
|
|
50
|
+
"title": "室外换热器",
|
|
51
|
+
"x": 760,
|
|
52
|
+
"y": 600,
|
|
53
|
+
"params": {
|
|
54
|
+
"w": 200,
|
|
55
|
+
"h": 60,
|
|
56
|
+
"shape": "rect_x",
|
|
57
|
+
"orient": "h"
|
|
58
|
+
},
|
|
59
|
+
"rotation": 0
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "filter",
|
|
63
|
+
"type": "filter",
|
|
64
|
+
"title": "过滤器",
|
|
65
|
+
"x": 960,
|
|
66
|
+
"y": 240,
|
|
67
|
+
"params": {
|
|
68
|
+
"w": 48,
|
|
69
|
+
"h": 26,
|
|
70
|
+
"stub": 10,
|
|
71
|
+
"n": 7
|
|
72
|
+
},
|
|
73
|
+
"rotation": 90
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "eev",
|
|
77
|
+
"type": "expansion_valve",
|
|
78
|
+
"title": "EEV",
|
|
79
|
+
"x": 960,
|
|
80
|
+
"y": 390,
|
|
81
|
+
"params": {
|
|
82
|
+
"r": 10,
|
|
83
|
+
"orient": "v"
|
|
84
|
+
},
|
|
85
|
+
"rotation": 0
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "separator",
|
|
89
|
+
"type": "separator_utube",
|
|
90
|
+
"title": "气液分离器",
|
|
91
|
+
"x": 263.5,
|
|
92
|
+
"y": 610,
|
|
93
|
+
"params": {
|
|
94
|
+
"w": 100,
|
|
95
|
+
"h": 110,
|
|
96
|
+
"stub": 14,
|
|
97
|
+
"flip": true
|
|
98
|
+
},
|
|
99
|
+
"rotation": 0
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"junctions": [],
|
|
103
|
+
"edges": [
|
|
104
|
+
{
|
|
105
|
+
"id": "discharge",
|
|
106
|
+
"source": {
|
|
107
|
+
"nodeId": "comp",
|
|
108
|
+
"portId": "top"
|
|
109
|
+
},
|
|
110
|
+
"target": {
|
|
111
|
+
"nodeId": "reversing",
|
|
112
|
+
"portId": "exhaust"
|
|
113
|
+
},
|
|
114
|
+
"vertices": [
|
|
115
|
+
[
|
|
116
|
+
220,
|
|
117
|
+
100
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
480,
|
|
121
|
+
100
|
|
122
|
+
]
|
|
123
|
+
],
|
|
124
|
+
"head": true,
|
|
125
|
+
"headAt": [
|
|
126
|
+
0.55
|
|
127
|
+
],
|
|
128
|
+
"width": 1.8,
|
|
129
|
+
"color": "#111111",
|
|
130
|
+
"linestyle": "solid"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "indoor-gas",
|
|
134
|
+
"source": {
|
|
135
|
+
"nodeId": "reversing",
|
|
136
|
+
"portId": "condenser"
|
|
137
|
+
},
|
|
138
|
+
"target": {
|
|
139
|
+
"nodeId": "indoor",
|
|
140
|
+
"portId": "left"
|
|
141
|
+
},
|
|
142
|
+
"vertices": [
|
|
143
|
+
[
|
|
144
|
+
600,
|
|
145
|
+
250
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
600,
|
|
149
|
+
160
|
|
150
|
+
]
|
|
151
|
+
],
|
|
152
|
+
"head": true,
|
|
153
|
+
"headAt": [
|
|
154
|
+
0.55
|
|
155
|
+
],
|
|
156
|
+
"width": 1.8,
|
|
157
|
+
"color": "#111111",
|
|
158
|
+
"linestyle": "solid"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "outdoor-gas",
|
|
162
|
+
"source": {
|
|
163
|
+
"nodeId": "outdoor",
|
|
164
|
+
"portId": "left"
|
|
165
|
+
},
|
|
166
|
+
"target": {
|
|
167
|
+
"nodeId": "reversing",
|
|
168
|
+
"portId": "evaporator"
|
|
169
|
+
},
|
|
170
|
+
"vertices": [
|
|
171
|
+
[
|
|
172
|
+
480,
|
|
173
|
+
600
|
|
174
|
+
]
|
|
175
|
+
],
|
|
176
|
+
"head": true,
|
|
177
|
+
"headAt": [
|
|
178
|
+
0.55
|
|
179
|
+
],
|
|
180
|
+
"width": 1.8,
|
|
181
|
+
"color": "#111111",
|
|
182
|
+
"linestyle": "solid"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "indoor-liquid",
|
|
186
|
+
"source": {
|
|
187
|
+
"nodeId": "indoor",
|
|
188
|
+
"portId": "right"
|
|
189
|
+
},
|
|
190
|
+
"target": {
|
|
191
|
+
"nodeId": "filter",
|
|
192
|
+
"portId": "in"
|
|
193
|
+
},
|
|
194
|
+
"vertices": [
|
|
195
|
+
[
|
|
196
|
+
960,
|
|
197
|
+
160
|
|
198
|
+
]
|
|
199
|
+
],
|
|
200
|
+
"head": true,
|
|
201
|
+
"headAt": [
|
|
202
|
+
0.55
|
|
203
|
+
],
|
|
204
|
+
"width": 1.8,
|
|
205
|
+
"color": "#111111",
|
|
206
|
+
"linestyle": "solid"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "filter-eev",
|
|
210
|
+
"source": {
|
|
211
|
+
"nodeId": "filter",
|
|
212
|
+
"portId": "out"
|
|
213
|
+
},
|
|
214
|
+
"target": {
|
|
215
|
+
"nodeId": "eev",
|
|
216
|
+
"portId": "in"
|
|
217
|
+
},
|
|
218
|
+
"vertices": [],
|
|
219
|
+
"head": true,
|
|
220
|
+
"headAt": [
|
|
221
|
+
0.55
|
|
222
|
+
],
|
|
223
|
+
"width": 1.8,
|
|
224
|
+
"color": "#111111",
|
|
225
|
+
"linestyle": "solid"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "outdoor-liquid",
|
|
229
|
+
"source": {
|
|
230
|
+
"nodeId": "eev",
|
|
231
|
+
"portId": "out"
|
|
232
|
+
},
|
|
233
|
+
"target": {
|
|
234
|
+
"nodeId": "outdoor",
|
|
235
|
+
"portId": "right"
|
|
236
|
+
},
|
|
237
|
+
"vertices": [
|
|
238
|
+
[
|
|
239
|
+
960,
|
|
240
|
+
600
|
|
241
|
+
]
|
|
242
|
+
],
|
|
243
|
+
"head": true,
|
|
244
|
+
"headAt": [
|
|
245
|
+
0.55
|
|
246
|
+
],
|
|
247
|
+
"width": 1.8,
|
|
248
|
+
"color": "#111111",
|
|
249
|
+
"linestyle": "solid"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "suction-in",
|
|
253
|
+
"source": {
|
|
254
|
+
"nodeId": "reversing",
|
|
255
|
+
"portId": "suction"
|
|
256
|
+
},
|
|
257
|
+
"target": {
|
|
258
|
+
"nodeId": "separator",
|
|
259
|
+
"portId": "in"
|
|
260
|
+
},
|
|
261
|
+
"vertices": [
|
|
262
|
+
[
|
|
263
|
+
360,
|
|
264
|
+
250
|
|
265
|
+
],
|
|
266
|
+
[
|
|
267
|
+
360,
|
|
268
|
+
500
|
|
269
|
+
],
|
|
270
|
+
[
|
|
271
|
+
300,
|
|
272
|
+
500
|
|
273
|
+
]
|
|
274
|
+
],
|
|
275
|
+
"head": true,
|
|
276
|
+
"headAt": [
|
|
277
|
+
0.55
|
|
278
|
+
],
|
|
279
|
+
"width": 1.8,
|
|
280
|
+
"color": "#111111",
|
|
281
|
+
"linestyle": "solid"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "suction",
|
|
285
|
+
"source": {
|
|
286
|
+
"nodeId": "separator",
|
|
287
|
+
"portId": "out"
|
|
288
|
+
},
|
|
289
|
+
"target": {
|
|
290
|
+
"nodeId": "comp",
|
|
291
|
+
"portId": "bottom"
|
|
292
|
+
},
|
|
293
|
+
"vertices": [],
|
|
294
|
+
"head": true,
|
|
295
|
+
"headAt": [
|
|
296
|
+
0.55
|
|
297
|
+
],
|
|
298
|
+
"width": 1.8,
|
|
299
|
+
"color": "#111111",
|
|
300
|
+
"linestyle": "solid"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"labels": [
|
|
304
|
+
{
|
|
305
|
+
"id": "mode-heading",
|
|
306
|
+
"text": "四通阀热泵 · 制热工况",
|
|
307
|
+
"x": 550,
|
|
308
|
+
"y": 42,
|
|
309
|
+
"size": 18,
|
|
310
|
+
"ha": "center",
|
|
311
|
+
"boxed": false,
|
|
312
|
+
"color": "#111111"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "label-comp",
|
|
316
|
+
"text": "压缩机",
|
|
317
|
+
"x": -70,
|
|
318
|
+
"y": 0,
|
|
319
|
+
"size": 14,
|
|
320
|
+
"ha": "right",
|
|
321
|
+
"boxed": false,
|
|
322
|
+
"color": "#111111",
|
|
323
|
+
"nodeId": "comp"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "label-reversing",
|
|
327
|
+
"text": "四通换向阀",
|
|
328
|
+
"x": 110,
|
|
329
|
+
"y": 85,
|
|
330
|
+
"size": 14,
|
|
331
|
+
"ha": "center",
|
|
332
|
+
"boxed": false,
|
|
333
|
+
"color": "#111111",
|
|
334
|
+
"nodeId": "reversing"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "label-indoor",
|
|
338
|
+
"text": "室内换热器\n(冷凝器)",
|
|
339
|
+
"x": 0,
|
|
340
|
+
"y": -65,
|
|
341
|
+
"size": 14,
|
|
342
|
+
"ha": "center",
|
|
343
|
+
"boxed": false,
|
|
344
|
+
"color": "#111111",
|
|
345
|
+
"nodeId": "indoor"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "label-outdoor",
|
|
349
|
+
"text": "室外换热器\n(蒸发器)",
|
|
350
|
+
"x": 0,
|
|
351
|
+
"y": -65,
|
|
352
|
+
"size": 14,
|
|
353
|
+
"ha": "center",
|
|
354
|
+
"boxed": false,
|
|
355
|
+
"color": "#111111",
|
|
356
|
+
"nodeId": "outdoor"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"id": "label-filter",
|
|
360
|
+
"text": "过滤器",
|
|
361
|
+
"x": 0,
|
|
362
|
+
"y": -55,
|
|
363
|
+
"size": 13,
|
|
364
|
+
"ha": "left",
|
|
365
|
+
"boxed": false,
|
|
366
|
+
"color": "#111111",
|
|
367
|
+
"nodeId": "filter"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"id": "label-eev",
|
|
371
|
+
"text": "EEV",
|
|
372
|
+
"x": 25,
|
|
373
|
+
"y": 0,
|
|
374
|
+
"size": 13,
|
|
375
|
+
"ha": "left",
|
|
376
|
+
"boxed": false,
|
|
377
|
+
"color": "#111111",
|
|
378
|
+
"nodeId": "eev"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": "label-separator",
|
|
382
|
+
"text": "气液分离器",
|
|
383
|
+
"x": 0,
|
|
384
|
+
"y": 88,
|
|
385
|
+
"size": 14,
|
|
386
|
+
"ha": "center",
|
|
387
|
+
"boxed": false,
|
|
388
|
+
"color": "#111111",
|
|
389
|
+
"nodeId": "separator"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"id": "port-d",
|
|
393
|
+
"text": "D",
|
|
394
|
+
"x": -14,
|
|
395
|
+
"y": -48,
|
|
396
|
+
"size": 12,
|
|
397
|
+
"ha": "right",
|
|
398
|
+
"boxed": true,
|
|
399
|
+
"color": "#111111",
|
|
400
|
+
"nodeId": "reversing"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"id": "port-c",
|
|
404
|
+
"text": "C",
|
|
405
|
+
"x": 48,
|
|
406
|
+
"y": -16,
|
|
407
|
+
"size": 12,
|
|
408
|
+
"ha": "left",
|
|
409
|
+
"boxed": true,
|
|
410
|
+
"color": "#111111",
|
|
411
|
+
"nodeId": "reversing"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"id": "port-e",
|
|
415
|
+
"text": "E",
|
|
416
|
+
"x": 14,
|
|
417
|
+
"y": 48,
|
|
418
|
+
"size": 12,
|
|
419
|
+
"ha": "left",
|
|
420
|
+
"boxed": true,
|
|
421
|
+
"color": "#111111",
|
|
422
|
+
"nodeId": "reversing"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"id": "port-s",
|
|
426
|
+
"text": "S",
|
|
427
|
+
"x": -48,
|
|
428
|
+
"y": 16,
|
|
429
|
+
"size": 12,
|
|
430
|
+
"ha": "right",
|
|
431
|
+
"boxed": true,
|
|
432
|
+
"color": "#111111",
|
|
433
|
+
"nodeId": "reversing"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"id": "valve-state",
|
|
437
|
+
"text": "阀内连通:D→C,E→S",
|
|
438
|
+
"x": 720,
|
|
439
|
+
"y": 400,
|
|
440
|
+
"size": 13,
|
|
441
|
+
"ha": "center",
|
|
442
|
+
"boxed": false,
|
|
443
|
+
"color": "#111111"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"id": "mode-note",
|
|
447
|
+
"text": "室内放热 · 室外吸热",
|
|
448
|
+
"x": 720,
|
|
449
|
+
"y": 450,
|
|
450
|
+
"size": 13,
|
|
451
|
+
"ha": "center",
|
|
452
|
+
"boxed": false,
|
|
453
|
+
"color": "#111111"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
}
|