Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
 
(175 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Work In progress ==
== Work In progress ==


* Labels on wires. Will be draggable for positioning and can be used primarily to number (reference) individual wires. In controls wiring these would be the id tags on wires.
**Draggable to any point along wire
**Include a wire colour indicator
**Is it possible to optionally have two labels, with one at each end?
* Menu for editing wire colour, width, arrows and type (solid/dashed/dotted).  Can you have a green/yellow (earth) dashed line?
*Port colours updated to a fuller list to match scale.
* Ports currently have a side, an order, and a colour (color). Wiki page to include JSON that describes ports in more detail, adding attributes. These can include a port type (''portType'') as well as compatible port types (''compatibleWith'') used to check wires are wired to compatible ports (so you can't wire a 24V to a GND without raising a warning).
* Add a sidebar palette with standard devices. 
** Slider categories for electrical, mechanical etc.
** Should be able to load custom palettes from wiki page JSON


[[File:Concons1.png|frameless|100px|right]]
<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiring23.html?id=wiring1&palette=heatweb_sensors.json&height=800px" />
<iframe key="wiki" align="right" width="90%" height="1500" level="" path="/gojs/samples/wiring2.html?id=wiring1" />


<pre id="wiring1" style="display:none">
 
{ "class": "GraphLinksModel",
<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiringParse1.html?id=wiring1" />
 
 
<div class="diagramlist">
 
* [https://hwwiki.ddns.net/ui/wiring/wiring14/QmYBpFVpNe5AeURNaJakt9y8z6CizZrhHDLuKpYLvo9jDv Basic]
 
 
</div>
 
<pre id="wiringPalette1" style="display:none">
[
    {
        "key": "node",
        "name": "BEMS Hat",
        "href": "https://hwwiki.ddns.net/",
        "fill": "palegreen",
        "image": "/images/c/c1/C2a.svg",
        "signalTypes": [
            {
                "id": "GND",
                "name": "Ground"
            },
            {
                "id": "NTC",
                "name": "NTC 10K Thermistor"
            },
            {
                "id": "NTC1K",
                "name": "NTC 1K Thermistor"
            },
            {
                "id": "NTC10K",
                "name": "NTC 10K Thermistor"
            },
            {
                "id": "10K",
                "name": "0-10K Resistance"
            },
            {
                "id": "1K",
                "name": "0-1K Resistance"
            }
        ],
        "leftArray": [
            {
                "portId": "TH8GND",
                "block": "TH8",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH8 Ground"
            },
            {
                "portId": "TH8",
                "block": "TH8",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH8 Signal",
                "channel": "8"
            },
            {
                "portId": "TH7GND",
                "block": "TH7",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH7 Ground"
            },
            {
                "portId": "TH7",
                "block": "TH7",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH7 Signal",
                "channel": "7"
            },
            {
                "portId": "TH6GND",
                "block": "TH6",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH6 Ground"
            },
            {
                "portId": "TH6",
                "block": "TH6",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH6 Signal",
                "channel": "6"
            },
            {
                "portId": "TH5GND",
                "block": "TH5",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH5 Ground"
            },
            {
                "portId": "TH5",
                "block": "TH5",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH5 Signal",
                "channel": "5"
            },
            {
                "portId": "IN4GND",
                "block": "IN4",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "IN4 Ground"
            },
            {
                "portId": "IN4",
                "block": "IN4",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN4 Signal",
                "channel": "4"
            },
            {
                "portId": "IN3GND",
                "block": "IN3",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN3",
                "block": "IN3",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN3 Signal",
                "channel": "3"
            },
            {
                "portId": "IN2GND",
                "block": "IN2",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN2",
                "block": "IN2",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN2 Signal",
                "channel": "2"
            },
            {
                "portId": "IN1GND",
                "block": "IN1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN1",
                "block": "IN1",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN1 Signal",
                "channel": "1"
            },
            {
                "portId": "TH4GND",
                "block": "TH4",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH4 Ground"
            },
            {
                "portId": "TH4",
                "block": "TH4",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH1 Signal",
                "channel": "4"
            },
            {
                "portId": "TH3GND",
                "block": "TH3",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH3 Ground"
            },
            {
                "portId": "TH3",
                "block": "TH3",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH3 Signal",
                "channel": "3"
            },
            {
                "portId": "TH2GND",
                "block": "TH2",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH2 Ground"
            },
            {
                "portId": "TH2",
                "block": "TH2",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH2 Signal",
                "channel": "2"
            },
            {
                "portId": "TH1GND",
                "block": "TH1",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH1 Ground"
            },
            {
                "portId": "TH1",
                "block": "TH1",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH1 Signal",
                "channel": "1"
            }
        ],
        "topArray": [
            {
                "portColor": "#ffc900",
                "portId": "top01",
                "figure": "Output"
            },
            {
                "portColor": "#ffc900",
                "portId": "top02",
                "figure": "Output"
            },
            {
                "portColor": "#ffc900",
                "portId": "top03",
                "figure": "Output"
            },
            {
                "portId": "top1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "top2",
                "portColor": "#e88600",
                "figure": "Input"
            },
            {
                "portId": "top3",
                "portColor": "#000002",
                "figure": "Input"
            },
            {
                "portColor": "#ffffff",
                "portId": "top4"
            },
            {
                "portColor": "#ffffff",
                "portId": "top5"
            }
        ],
        "bottomArray": [
            {
                "portColor": "#000000",
                "portId": "pin25",
                "figure": "Output"
            },
            {
                "portId": "D1",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D1",
                "channel": "1"
            },
            {
                "portId": "pin27",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D2",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D2",
                "channel": "2"
            },
            {
                "portId": "pin29",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D3",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D3",
                "channel": "3"
            },
            {
                "portId": "pin31",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D4",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D4",
                "channel": "4"
            },
            {
                "portId": "pin33",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P1",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P1",
                "channel": "1"
            },
            {
                "portId": "pin35",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P2",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P2",
                "channel": "2"
            },
            {
                "portId": "pin37",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P3",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P3",
                "channel": "3"
            },
            {
                "portId": "pin39",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P4",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P4",
                "channel": "4"
            },
            {
                "portId": "R1NO",
                "portColor": "#ff8abd",
                "figure": "Output",
                "signalTypes": [
                    "SW_NO"
                ],
                "name": "Relay 1 N/O",
                "channel": "1"
            },
            {
                "portId": "R1COM",
                "portColor": "#bf6ae3",
                "figure": "Input",
                "signalTypes": [
                    "SW_COM",
                    "SW_C"
                ],
                "name": "Relay 1 Common",
                "channel": "1"
            },
            {
                "portId": "R1NC",
                "portColor": "#ffa3a3",
                "figure": "Output",
                "signalTypes": [
                    "SW_NC"
                ],
                "name": "Relay 1 N/C",
                "channel": "1"
            },
            {
                "portId": "R2NO",
                "portColor": "#ff8abd",
                "figure": "Output",
                "signalTypes": [
                    "SW_NO"
                ],
                "name": "Relay 2 N/O",
                "channel": "2"
            },
            {
                "portId": "R2COM",
                "portColor": "#bf6ae3",
                "figure": "Input",
                "signalTypes": [
                    "SW_COM",
                    "SW_C"
                ],
                "name": "Relay 2 Common",
                "channel": "2"
            },
            {
                "portId": "R2NC",
                "portColor": "#ffa3a3",
                "figure": "Output",
                "signalTypes": [
                    "SW_NC"
                ],
                "name": "Relay 2 N/C",
                "channel": "2"
            }
        ],
        "rightArray": [
            {
                "portColor": "#000000",
                "portId": "pin47",
                "figure": "Circle"
            },
            {
                "portColor": "#888891",
                "figure": "Circle",
                "portId": "RS485A1",
                "signalTypes": [
                    "RS485A",
                    "RS485+",
                    "MODBUS+"
                ],
                "name": "RS485 Positive 1",
                "channel": "1"
            },
            {
                "portId": "RS485B1",
                "portColor": "#888890",
                "figure": "Circle",
                "signalTypes": [
                    "RS485B",
                    "RS485-",
                    "MODBUS-"
                ],
                "name": "RS485 Negative 1",
                "channel": "1"
            },
            {
                "portId": "right3",
                "portColor": "#000000",
                "figure": "Circle"
            },
            {
                "portColor": "#888889",
                "figure": "Circle",
                "portId": "RS485A2",
                "signalTypes": [
                    "RS485A",
                    "RS485+",
                    "MODBUS+"
                ],
                "name": "RS485 Positive 2",
                "channel": "2"
            },
            {
                "portId": "RS485B2",
                "portColor": "#888888",
                "figure": "Circle",
                "signalTypes": [
                    "RS485B",
                    "RS485-",
                    "MODBUS-"
                ],
                "name": "RS485 Negative 2",
                "channel": "2"
            },
            {
                "portId": "right6",
                "portColor": "#ddddba",
                "figure": "Circle",
                "signalTypes": [
                    "MBUS",
                    "MBUS+"
                ],
                "name": "M-Bus",
                "channel": "1"
            },
            {
                "portId": "right7",
                "portColor": "#ddddbb",
                "figure": "Circle",
                "signalTypes": [
                    "MBUS",
                    "MBUS-"
                ],
                "name": "M-Bus",
                "channel": "1"
            },
            {
                "portId": "OUT4",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT4",
                "channel": "4"
            },
            {
                "portId": "right9",
                "block": "OUT4",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT3",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT3",
                "channel": "3"
            },
            {
                "portId": "right11",
                "block": "OUT3",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT2",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT2",
                "channel": "2"
            },
            {
                "portId": "right13",
                "block": "OUT2",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT1",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT1",
                "channel": "1"
            },
            {
                "portId": "right15",
                "block": "OUT1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OD4",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD4",
                "channel": "4"
            },
            {
                "portId": "right17",
                "block": "OD4",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD3",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OUT3",
                "channel": "3"
            },
            {
                "portId": "right19",
                "block": "OD3",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD2",
                "block": "OD2",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD2",
                "channel": "2"
            },
            {
                "portId": "right21",
                "block": "OD2",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD1",
                "block": "OD1",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD1",
                "channel": "1"
            },
            {
                "portId": "right23",
                "block": "OD1",
                "portColor": "#ff0000",
                "figure": "Output"
            }
        ],
        "loc": "429.90625 -103.375",
        "size": "231 250.5",
        "thickness": 2,
        "color": "palegreen"
    },
    {
        "name": "Pulsed Flow Sensor",
        "fill": "#dbf6cb",
        "pulsesPerLitre": "520",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pulse",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "PULSE",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        265,
                        30
                    ]
                ],
                "mapUnits": [
                    "pulse/s",
                    "ltr/min"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "FS",
        "size": "82.107421875 53",
        "loc": "58.15625 -164.375"
    },
    {
        "name": "Timeclock",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right0",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "switch",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "timer",
        "size": "78.78515625 47",
        "loc": "-15.84375 -332.375"
    },
    {
        "name": "Room Thermostat",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "swgnd",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "swin",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "roomstat",
        "size": "78.78515625 47",
        "loc": "70.15625 -246.375"
    },
    {
        "name": "Switch",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "switch",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            },
            {
                "portId": "swin",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "switch",
        "size": "69 47",
        "loc": "67.0625 -80.5"
    },
    {
        "name": "Pressure + Temp Sensor",
        "range": "6 bar",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pressure",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        6
                    ]
                ],
                "mapUnits": [
                    "V",
                    "bar"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "RPS",
        "size": "88 55",
        "loc": "217.0625 -46.5"
    },
    {
        "name": "DP + Temp Sensor",
        "range": "300 kPa",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pressure",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        300
                    ]
                ],
                "mapUnits": [
                    "V",
                    "kPa"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "DPS",
        "size": "88 55",
        "loc": "300.15625 -157.375"
    },
    {
        "name": "Flow + Temp Sensor",
        "range": "4-30 lpm",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "flow",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        40
                    ]
                ],
                "mapUnits": [
                    "V",
                    "ltr/min"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "VFS",
        "size": "88 55",
        "loc": "314.15625 -257.375"
    },
    {
        "name": "12VDC Power",
        "buttonArray": [
            {
                "href": "https://hwwiki.ddns.net/",
                "color": "#000000",
                "fill": "#0000ff",
                "figure": "ElectricalHazard"
            }
        ],
        "fill": "#ebebeb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#e88600",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000002",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "12VDC22",
        "size": "67 76",
        "loc": "709.4688121714489 -308.66453398276076",
        "figure": "Procedure",
        "color": "#000000",
        "thickness": 1,
        "notes": "",
        "textColor": "#484848"
    },
    {
        "name": "24VDC Power",
        "buttonArray": [
            {
                "href": "https://hwwiki.ddns.net/",
                "color": "#000000",
                "fill": "#0000ff",
                "figure": "ElectricalHazard"
            }
        ],
        "fill": "#ebebeb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000002",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "24VDC",
        "size": "67 76",
        "loc": "709.4688121714489 -308.66453398276076",
        "figure": "Procedure",
        "color": "#000000",
        "thickness": 1,
        "notes": "",
        "textColor": "#484848"
    },
    {
        "name": "24vac Power",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000001",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "24VAC",
        "size": "90 50",
        "loc": "487.0625 -121.5"
    },
    {
        "name": "NTC Pipe Sensor",
        "make": "Regin",
        "model": "",
        "signalTypes": [
            {
                "signalType": "GND",
                "name": "Ground"
            },
            {
                "signalType": "NTC10K",
                "name": "Resistance",
                "map": [
                    [
                        97.006,
                        -20
                    ],
                    [
                        72.911,
                        -15
                    ],
                    [
                        72.911,
                        -10
                    ],
                    [
                        42.317,
                        -5
                    ],
                    [
                        32.651,
                        0
                    ],
                    [
                        25.395,
                        5
                    ],
                    [
                        19.903,
                        10
                    ],
                    [
                        15.714,
                        15
                    ],
                    [
                        12.493,
                        20
                    ],
                    [
                        10,
                        25
                    ],
                    [
                        8.056,
                        30
                    ],
                    [
                        6.53,
                        35
                    ],
                    [
                        5.325,
                        40
                    ],
                    [
                        4.367,
                        45
                    ],
                    [
                        3.601,
                        50
                    ],
                    [
                        2.985,
                        55
                    ],
                    [
                        2.467,
                        60
                    ],
                    [
                        2.082,
                        65
                    ],
                    [
                        1.752,
                        70
                    ],
                    [
                        1.256,
                        80
                    ],
                    [
                        0.916,
                        90
                    ],
                    [
                        0.678,
                        100
                    ],
                    [
                        0.51,
                        110
                    ],
                    [
                        0.388,
                        120
                    ]
                ],
                "mapUnits": [
                    "kΩ",
                    "°C"
                ]
            }
        ],
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "gnd",
                "signalType": "GND",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "temperature",
                "signalType": "NTC10K",
                "portColor": "#00ff00",
                "signalTypes": [
                    "#00ff00",
                    "#ffff00"
                ],
                "figure": "Output"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "ntcr",
        "size": "71 60",
        "loc": "-367.11802446081305 -610.2306403768238",
        "color": "#000000",
        "thickness": 1,
        "showKey": true,
        "notes": "",
        "textColor": "#484848",
        "avoidable": true,
        "topicDevice": "",
        "topicKey": ""
    },
    {
        "name": "Heat Meter",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ddddba",
                "figure": "Circle"
            },
            {
                "portId": "left1",
                "portColor": "#ddddbb",
                "figure": "Circle"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "meter",
        "size": "67 54",
        "loc": "364.15625 23.625"
    },
    {
        "name": "Modbus Master",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#888891",
                "figure": "Circle"
            },
            {
                "portId": "left1",
                "portColor": "#888890",
                "figure": "Circle"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "modbus1",
        "size": "67 54",
        "loc": "493.15625 17.625"
    },
    {
        "name": "Control Valve (Modbus)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "top2",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "top3",
                "portColor": "#000000",
                "signalTypes": [
                    "#000001",
                    "#000000"
                ],
                "figure": "Input"
            },
            {
                "portId": "top0",
                "portColor": "#888888",
                "figure": "Circle"
            },
            {
                "portId": "top1",
                "portColor": "#888889",
                "figure": "Circle"
            }
        ],
        "bottomArray": [],
        "key": "valve",
        "size": "96 59",
        "loc": "-84.84375 16.625"
    },
    {
        "name": "Control Valve (0-10V)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "position",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ],
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ]
            },
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "power24v",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "bottomArray": [],
        "key": "valve2",
        "size": "96 59",
        "loc": "67.15625 43.625"
    },
    {
        "name": "Control Valve (Hybrid)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "position",
                "portColor": "#ffff00",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "power24v",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "signalTypes": [
                    "#000000",
                    "#000001"
                ],
                "figure": "Input"
            },
            {
                "portId": "top0",
                "portColor": "#888888",
                "figure": "Circle"
            },
            {
                "portId": "top1",
                "portColor": "#888889",
                "figure": "Circle"
            }
        ],
        "bottomArray": [],
        "key": "valve3",
        "size": "96 59",
        "loc": "677.0625 54.5"
    },
    {
        "name": "Control Valve (PWM)",
        "fill": "#cfe4f7",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "setpoint",
                "portColor": "#40aceb",
                "signalTypes": [
                    "#40aceb"
                ],
                "figure": "Input",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            },
            {
                "portId": "position",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            }
        ],
        "bottomArray": [],
        "key": "valve4",
        "size": "90 52",
        "loc": "678.15625 -38.375"
    },
    {
        "name": "Pump (PWM)",
        "fill": "#cfe4f7",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "top2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "setpoint",
                "portColor": "#40aceb",
                "signalTypes": [
                    "#40aceb"
                ],
                "figure": "Input",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            },
            {
                "portId": "speed",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            }
        ],
        "bottomArray": [],
        "key": "pump",
        "size": "57.3212890625 52",
        "loc": "668.0625 -156.5"
    },
    {
        "name": "Pump (0-10V)",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "speed",
                "portColor": "#ffff00",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "bottomArray": [],
        "key": "pump2",
        "size": "57.3212890625 52",
        "loc": "669.15625 -268.375"
    },
    {
        "name": "Sticky Note",
        "fill": "#ffffff00",
        "background": "/images/thumb/3/3f/Sticky.png/597px-Sticky.png",
        "leftArray": [],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "note",
        "size": "150 150"
    }
]
</pre>
 
 
<pre class="wikidiagram" id="New" style="display:none">
{ "class": "GraphLinksModel",
  "copiesArrays": true,
  "copiesArrayObjects": true,
  "linkFromPortIdProperty": "fromPort",
  "linkToPortIdProperty": "toPort",
  "nodeDataArray": [],
  "linkDataArray": []}
</pre>
 
 
<pre class="wikidiagram" id="BEMS_Hat" style="display:none">
{ "class": "GraphLinksModel",
  "copiesArrays": true,
  "copiesArrayObjects": true,
  "linkFromPortIdProperty": "fromPort",
  "linkToPortIdProperty": "toPort",
  "nodeDataArray": [
{"key":"node","name":"BEMS Hat","fill":"palegreen","image":"/images/c/c1/C2a.svg","leftArray":[{"portId":"left0","portColor":"#000000","figure":"Output"},{"portId":"left1","portColor":"#00ff00","figure":"Input"},{"portId":"left2","portColor":"#000000","figure":"Output"},{"portId":"left3","portColor":"#00ff00","figure":"Input"},{"portId":"left4","portColor":"#000000","figure":"Output"},{"portId":"left5","portColor":"#00ff00","figure":"Input"},{"portId":"left6","portColor":"#000000","figure":"Output"},{"portId":"left7","portColor":"#00ff00","figure":"Input"},{"portId":"left8","portColor":"#000000","figure":"Output"},{"portId":"left9","portColor":"#fffffe","figure":"Input"},{"portId":"left10","portColor":"#000000","figure":"Output"},{"portId":"left11","portColor":"#fffffe","figure":"Input"},{"portId":"left12","portColor":"#000000","figure":"Output"},{"portId":"left13","portColor":"#fffffe","figure":"Input"},{"portId":"left14","portColor":"#000000","figure":"Output"},{"portId":"left15","portColor":"#fffffe","figure":"Input"},{"portId":"left16","portColor":"#000000","figure":"Output"},{"portId":"left17","portColor":"#00ff00","figure":"Input"},{"portId":"left18","portColor":"#000000","figure":"Output"},{"portId":"left19","portColor":"#00ff00","figure":"Input"},{"portId":"left20","portColor":"#000000","figure":"Output"},{"portId":"left21","portColor":"#00ff00","figure":"Input"},{"portId":"left22","portColor":"#000000","figure":"Output"},{"portId":"left23","portColor":"#00ff00","figure":"Input"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"bottom0","figure":"Output"},{"portId":"bottom1","portColor":"#00ffff","figure":"Input"},{"portId":"bottom2","portColor":"#000000","figure":"Output"},{"portId":"bottom3","portColor":"#00ffff","figure":"Input"},{"portId":"bottom4","portColor":"#000000","figure":"Output"},{"portId":"bottom5","portColor":"#00ffff","figure":"Input"},{"portId":"bottom6","portColor":"#000000","figure":"Output"},{"portId":"bottom7","portColor":"#00ffff","figure":"Input"},{"portId":"bottom8","portColor":"#000000","figure":"Output"},{"portId":"bottom9","portColor":"#40aceb","figure":"Input"},{"portId":"bottom10","portColor":"#000000","figure":"Output"},{"portId":"bottom11","portColor":"#40aceb","figure":"Input"},{"portId":"bottom12","portColor":"#000000","figure":"Output"},{"portId":"bottom13","portColor":"#40aceb","figure":"Input"},{"portId":"bottom14","portColor":"#000000","figure":"Output"},{"portId":"bottom15","portColor":"#40aceb","figure":"Input"},{"portId":"bottom16","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom17","portColor":"#bf6ae3","figure":"Input"},{"portId":"bottom18","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom19","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom20","portColor":"#bf6ae3","figure":"Input"},{"portId":"bottom21","portColor":"#bf6ae3","figure":"Output"}],"rightArray":[{"portColor":"#000000","portId":"right0","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"right1"},{"portId":"right2","portColor":"#888890","figure":"Circle"},{"portId":"right3","portColor":"#ff0000","figure":"Circle"},{"portId":"right4","portColor":"#888889","figure":"Circle"},{"portId":"right5","portColor":"#888888","figure":"Circle"},{"portId":"right6","portColor":"#ddddba","figure":"Circle"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle"},{"portId":"right8","portColor":"#ffff00","figure":"Output"},{"portId":"right9","portColor":"#000000","figure":"Output"},{"portId":"right10","portColor":"#ffff00","figure":"Output"},{"portId":"right11","portColor":"#000000","figure":"Output"},{"portId":"right12","portColor":"#ffff00","figure":"Output"},{"portId":"right13","portColor":"#000000","figure":"Output"},{"portId":"right14","portColor":"#ffff00","figure":"Output"},{"portId":"right15","portColor":"#000000","figure":"Output"},{"portId":"right16","portColor":"#40aceb","figure":"Output"},{"portId":"right17","portColor":"#ff0000","figure":"Output"},{"portId":"right18","portColor":"#40aceb","figure":"Output"},{"portId":"right19","portColor":"#ff0000","figure":"Output"},{"portId":"right20","portColor":"#40aceb","figure":"Output"},{"portId":"right21","portColor":"#ff0000","figure":"Output"},{"portId":"right22","portColor":"#40aceb","figure":"Output"},{"portId":"right23","portColor":"#ff0000","figure":"Output"}],"loc":"422.90625 -96.625","size":"231 252"},
{"name":"2 x RS485 Lines \nCan be used for:\nModbus Master\nModbus Slave\nBespoke Protocols\n\nUp to 32 devices\nper channel\n","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"RS485-1","size":"150 192","loc":"846.1009681339939 -274.12413793680145"},
{"name":"PWM Inputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM","size":"150 150","loc":"269.09599836203995 328.4165170864245"},
{"name":"NTC 10K\nThermister\nInputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"NTC10K","size":"150 150","loc":"-10.126289341254164 -274.4408940047374"},
{"name":"Universal Inputs\nCan take either:\nNTC1K\nNTC10K\n0-10V Input\n100Hz Pulsed Input\nVolt-Free Contact","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"note3","size":"150 173","loc":"-15.218237387098569 -101.97988160079979"},
{"name":"NTC 10K\nThermister\nInputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"NTC10K2","size":"150 150","loc":"-13.126289341254164 77.55910599526317"},
{"name":"100Hz Pulsed\nInputs, or\nVolt-Free \nContacts","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top1","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM2","size":"150 150","loc":"80.93639262733618 278.18541231692376"},
{"name":"Change-Over\nRelays\n10A 24V","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM22","size":"150 150","loc":"444.7811383931506 328.05557670240415"},
{"name":"M-Bus Master\nfor reading:\nHeat Meters\nCooling Meters\nWater Meters\nElectricity Meters","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"M-Bus","size":"150 157","loc":"842.1009681339939 -91.62413793680145"},
{"name":"0-10V \nOutputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"0-10V OUT","size":"150 115","loc":"838.1009681339939 57.375862063198554"},
{"name":"PWM Sinking \nOutputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"0-10V OUT2","size":"150 133","loc":"835.1009681339939 201.37586206319855"},
{"name":"24VDC Power\nwith Battery\nBackup, allows\nequipment to\nfail-safe\nduring power loss","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[],"key":"24VDC","size":"150 150","loc":"642.7422153763337 278.16008369747976"},
{"name":"The board is\npowered from\na 12VDC supply","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"12VDC","size":"150 150","loc":"517.7352528763336 -394.88991630252093"},
{"name":"5VDC Power\nwith Battery\nBackup","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"5VDC","size":"150 150","loc":"310.94221537633337 -392.7899163025209"},
{"name":"\nNext ...\n\nClick one of the\ndrawings below\n to open","buttonArray":[{"href":"wiring1","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard","text":"wiring1"},{"text":"wiring2","figure":"Cube1","href":"wiring2","color":"#000000","fill":"#0000ff"}],"fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"197 210","loc":"1157.2316612997972 -151.6310119035976"}
],
  "linkDataArray": [
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom9","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,407.15625,195.15828401687193,407.15625,124.625,407.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom11","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,428.15625,195.15828401687193,428.15625,140.625,428.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom13","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,449.15625,195.15828401687193,449.15625,156.625,449.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom15","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.1428363781917,470.15625,195.1428363781917,470.15625,172.625,470.15625,38.625],"dash":null,"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left1","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-206.875,276.15625,-206.875,298.15625,-206.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left3","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-185.875,260.15625,-185.875,298.15625,-185.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left5","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.13998032937292,-274.4408940047374,180.13998032937292,-164.875,244.15625,-164.875,298.15625,-164.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left7","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-143.875,228.15625,-143.875,298.15625,-143.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left9","points":[69.03176261290164,-101.97988160079976,83.03176261290164,-101.97988160079976,235.43892460760458,-101.97988160079976,235.43892460760458,-122.875,176.15625,-122.875,298.15625,-122.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left11","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,153.5940063064508,-101.97988160079976,153.5940063064508,-101.875,196.15625,-101.875,298.15625,-101.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left13","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,235.43892460760458,-101.97988160079976,235.43892460760458,-80.875,180.15625,-80.875,298.15625,-80.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left15","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,235.1633335842996,-101.97988160079976,235.1633335842996,-59.875,164.15625,-59.875,298.15625,-59.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left17","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.63998032937292,77.55910599526317,178.63998032937292,-38.875,240.15625,-38.875,298.15625,-38.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left19","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.51351659027998,77.55910599526317,178.51351659027998,-17.875,256.15625,-17.875,298.15625,-17.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left21","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.51351659027998,77.55910599526317,178.51351659027998,3.125,272.15625,3.125,298.15625,3.125],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left23","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.94981327789083,77.55910599526317,178.94981327789083,24.125,288.15625,24.125,298.15625,24.125],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom1","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,323.15625,154.34340869390252,323.15625,60.625,323.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom3","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,344.15625,154.34340869390252,344.15625,76.625,344.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom5","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.28020615846188,365.15625,154.28020615846188,365.15625,92.625,365.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom7","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,386.15625,154.34340869390252,386.15625,108.625,386.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom16","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,480.65625,225.80557670240415,480.65625,180.625,480.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom17","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,491.15625,225.80557670240415,491.15625,188.625,491.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom18","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,501.65625,225.80557670240415,501.65625,196.625,501.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom19","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,512.15625,233.80557670240415,512.15625,204.625,512.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom20","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,522.65625,233.80557670240415,522.65625,212.625,522.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom21","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,533.15625,233.80557670240415,533.15625,220.625,533.15625,38.625],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right2","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-196.375,577.65625,-196.375,547.65625,-196.375],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right1","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-206.875,569.65625,-206.875,547.65625,-206.875],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right4","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-175.375,593.65625,-175.375,547.65625,-175.375],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right5","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-164.875,601.65625,-164.875,547.65625,-164.875],"thickness":1},
{"from":"M-Bus","to":"node","fromPort":"left0","toPort":"right6","points":[757.8509681339939,-91.62413793680145,743.8509681339939,-91.62413793680145,740,-91.62413793680145,740,-154.375,693.65625,-154.375,547.65625,-154.375],"thickness":1},
{"from":"M-Bus","to":"node","fromPort":"left0","toPort":"right7","points":[757.8509681339939,-91.62413793680145,743.8509681339939,-91.62413793680145,740,-91.62413793680145,740,-143.875,685.65625,-143.875,547.65625,-143.875],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right8","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-133.375,677.65625,-133.375,547.65625,-133.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right22","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,13.625,565.65625,13.625,547.65625,13.625],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right20","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,-7.375,581.65625,-7.375,547.65625,-7.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right18","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,-28.375,597.65625,-28.375,547.65625,-28.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right16","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3474806266431,154.12586206319855,654.3474806266431,-49.375,613.65625,-49.375,547.65625,-49.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right10","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.9524651753852,57.375862063198554,699.9524651753852,-112.375,661.65625,-112.375,547.65625,-112.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right12","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-91.375,645.65625,-91.375,547.65625,-91.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right14","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-70.375,629.65625,-70.375,547.65625,-70.375],"thickness":1},
{"from":"node","to":"24VDC","fromPort":"right17","toPort":"top1","points":[547.65625,-38.875,605.65625,-38.875,616.4922153763337,-38.875,616.4922153763337,66.51754184873988,616.4922153763337,171.91008369747976,616.4922153763337,193.91008369747976],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right19","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,-17.875,603.0742326881668,-17.875,589.65625,-17.875,547.65625,-17.875],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right21","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,3.125,595.0742326881668,3.125,573.65625,3.125,547.65625,3.125],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right23","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,24.125,587.0742326881668,24.125,557.65625,24.125,547.65625,24.125],"thickness":1},
{"from":"12VDC","to":"node","fromPort":"bottom0","toPort":"top2","points":[517.7352528763336,-310.63991630252093,517.7352528763336,-296.63991630252093,517.7352528763336,-267.1264907226567,428.15625,-267.1264907226567,428.15625,-265.875,428.15625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top03","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.2074581512604,407.15625,-264.2074581512604,407.15625,-261.875,407.15625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top02","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.03566558446875,396.65625,-264.03566558446875,396.65625,-253.875,396.65625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top01","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.03566558446875,386.15625,-264.03566558446875,386.15625,-245.875,386.15625,-231.875],"thickness":1}
]}
</pre>
 
<pre class="wikidiagram" id="wiring1" style="display:none">
{ "class": "GraphLinksModel",
   "copiesArrays": true,
   "copiesArrays": true,
   "copiesArrayObjects": true,
   "copiesArrayObjects": true,
Line 22: Line 1,865:
   "linkToPortIdProperty": "toPort",
   "linkToPortIdProperty": "toPort",
   "nodeDataArray": [
   "nodeDataArray": [
{"key":"C1","name":"Unit One","image":"/images/1/11/Pcbbg1.png","loc":"-25.574964750701383 196.3160717356572","leftArray":[{"portId":"left0","portColor":"#000000"},{"portId":"left1","portColor":"#00ff00"},{"portId":"left2","portColor":"#000000"},{"portId":"left3","portColor":"#00ff00"},{"portId":"left4","portColor":"#000000"},{"portId":"left5","portColor":"#00ff00"},{"portId":"left6","portColor":"#000000"},{"portId":"left7","portColor":"#00ff00"},{"portId":"left8","portColor":"#000000"},{"portId":"left9","portColor":"#ffff00"},{"portId":"left10","portColor":"#000000"},{"portId":"left11","portColor":"#ffff00"},{"portId":"left12","portColor":"#000000"},{"portId":"left13","portColor":"#ffff00"},{"portId":"left14","portColor":"#000000"},{"portId":"left15","portColor":"#ffff00"},{"portId":"left16","portColor":"#000000"},{"portId":"left17","portColor":"#00ff00"},{"portId":"left18","portColor":"#000000"},{"portId":"left19","portColor":"#00ff00"},{"portId":"left20","portColor":"#000000"},{"portId":"left21","portColor":"#00ff00"},{"portId":"left22","portColor":"#000000"},{"portId":"left23","portColor":"#00ff00"}],"topArray":[{"portColor":"#ff9800","portId":"top0"},{"portId":"top1","portColor":"#000000"},{"portId":"top2","portColor":"#ffcc00"},{"portId":"top3","portColor":"#000000"}],"bottomArray":[{"portColor":"#000000","portId":"bottom0"},{"portId":"bottom1","portColor":"#00ffff"},{"portId":"bottom2","portColor":"#000000"},{"portId":"bottom3","portColor":"#00ffff"},{"portId":"bottom4","portColor":"#000000"},{"portId":"bottom5","portColor":"#00ffff"},{"portId":"bottom6","portColor":"#000000"},{"portId":"bottom7","portColor":"#00ffff"},{"portId":"bottom8","portColor":"#000000"},{"portId":"bottom9","portColor":"#40aceb"},{"portId":"bottom10","portColor":"#000000"},{"portId":"bottom11","portColor":"#40aceb"},{"portId":"bottom12","portColor":"#000000"},{"portId":"bottom13","portColor":"#40aceb"},{"portId":"bottom14","portColor":"#000000"},{"portId":"bottom15","portColor":"#40aceb"},{"portId":"bottom16","portColor":"#bf6ae3"},{"portId":"bottom17","portColor":"#bf6ae3"},{"portId":"bottom18","portColor":"#bf6ae3"},{"portId":"bottom19","portColor":"#bf6ae3"},{"portId":"bottom20","portColor":"#bf6ae3"},{"portId":"bottom21","portColor":"#bf6ae3"}],"rightArray":[{"portColor":"#000000","portId":"right0"},{"portColor":"#888888","portId":"right1"},{"portId":"right2","portColor":"#888888"},{"portId":"right3","portColor":"#000000"},{"portId":"right4","portColor":"#888888"},{"portId":"right5","portColor":"#888888"},{"portId":"right6","portColor":"#ddddbb"},{"portId":"right7","portColor":"#ddddbb"},{"portId":"right8","portColor":"#8827e7"},{"portId":"right9","portColor":"#000000"},{"portId":"right10","portColor":"#8827e7"},{"portId":"right11","portColor":"#000000"},{"portId":"right12","portColor":"#8827e7"},{"portId":"right13","portColor":"#000000"},{"portId":"right14","portColor":"#8827e7"},{"portId":"right15","portColor":"#000000"},{"portId":"right16","portColor":"#0000ff"},{"portId":"right17","portColor":"#ff0000"},{"portId":"right18","portColor":"#0000ff"},{"portId":"right19","portColor":"#ff0000"},{"portId":"right20","portColor":"#0000ff"},{"portId":"right21","portColor":"#ff0000"},{"portId":"right22","portColor":"#0000ff"},{"portId":"right23","portColor":"#ff0000"}]},
{"name":"12VDC Power","attributes":{"title":"ppppp"},"buttonArray":[{"href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard"},{"text":"Open","href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff"}],"fill":"#ebebeb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC22","size":"67 103","loc":"658.4688121714489 -491.16453398276076","figure":"Procedure","color":"#000000","thickness":1,"notes":"","textColor":"#484848","showKey":false,"avoidable":true},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC1","loc":"-551.1296205847993 23.48544088160405"},
{"key":"node","name":"BEMS Hat","href":"https://hwwiki.ddns.net/","fill":"palegreen","image":"/images/c/c1/C2a.svg","signalTypes":[{"id":"GND","name":"Ground"},{"id":"NTC","name":"NTC 10K Thermistor"},{"id":"NTC1K","name":"NTC 1K Thermistor"},{"id":"NTC10K","name":"NTC 10K Thermistor"},{"id":"10K","name":"0-10K Resistance"},{"id":"1K","name":"0-1K Resistance"}],"leftArray":[{"portId":"TH8GND","block":"TH8","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH8 Ground"},{"portId":"TH8","size": "15 25","block":"TH8","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH8 Signal","channel":"8"},{"portId":"TH7GND","block":"TH7","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH7 Ground"},{"portId":"TH7","block":"TH7","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH7 Signal","channel":"7"},{"portId":"TH6GND","block":"TH6","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH6 Ground"},{"portId":"TH6","block":"TH6","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH6 Signal","channel":"6"},{"portId":"TH5GND","block":"TH5","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH5 Ground"},{"portId":"TH5","block":"TH5","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH5 Signal","channel":"5"},{"portId":"IN4GND","block":"IN4","portColor":"#000000","figure":"Output"},{"portId":"IN4","block":"IN4","portColor":"#fffffe","figure":"Input"},{"portId":"IN3gng","block":"IN3","portColor":"#000000","figure":"Output"},{"portId":"IN3","block":"IN3","portColor":"#fffffe","figure":"Input"},{"portId":"IN2GND","block":"IN2","portColor":"#000000","figure":"Output"},{"portId":"IN2","block":"IN2","portColor":"#fffffe","figure":"Input"},{"portId":"IN1GND","block":"IN1","portColor":"#000000","figure":"Output"},{"portId":"IN1","block":"IN1","portColor":"#fffffe","figure":"Input"},{"portId":"TH4GND","block":"TH4","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH4 Ground"},{"portId":"TH4","block":"TH4","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"4"},{"portId":"TH3GND","block":"TH3","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH3 Ground"},{"portId":"TH3","block":"TH3","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH3 Signal","channel":"3"},{"portId":"TH2GND","block":"TH2","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH2 Ground"},{"portId":"TH2","block":"TH2","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH2 Signal","channel":"2"},{"portId":"TH1GND","block":"TH1","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH1 Ground"},{"portId":"TH1","block":"TH1","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"1"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"pin25","figure":"Output"},{"portId":"pin26","portColor":"#00ffff","figure":"Input"},{"portId":"pin27","portColor":"#000000","figure":"Output"},{"portId":"pin28","portColor":"#00ffff","figure":"Input"},{"portId":"pin29","portColor":"#000000","figure":"Output"},{"portId":"pin30","portColor":"#00ffff","figure":"Input"},{"portId":"pin31","portColor":"#000000","figure":"Output"},{"portId":"pin32","portColor":"#00ffff","figure":"Input"},{"portId":"pin33","portColor":"#000000","figure":"Output"},{"portId":"pin34","portColor":"#40aceb","figure":"Input"},{"portId":"pin35","portColor":"#000000","figure":"Output"},{"portId":"pin36","portColor":"#40aceb","figure":"Input"},{"portId":"pin37","portColor":"#000000","figure":"Output"},{"portId":"pin38","portColor":"#40aceb","figure":"Input"},{"portId":"pin39","portColor":"#000000","figure":"Output"},{"portId":"pin40","portColor":"#40aceb","figure":"Input"},{"portId":"pin41","portColor":"#ff8abd","figure":"Output"},{"portId":"pin42","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin43","portColor":"#ffa3a3","figure":"Output"},{"portId":"pin44","portColor":"#ff8abd","figure":"Output"},{"portId":"pin45","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin46","portColor":"#ffa3a3","figure":"Output"}],"rightArray":[{"portColor":"#000000","portId":"pin47","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"right1"},{"portId":"right2","portColor":"#888890","figure":"Circle"},{"portId":"right3","portColor":"#000000","figure":"Circle"},{"portId":"right4","portColor":"#888889","figure":"Circle"},{"portId":"right5","portColor":"#888888","figure":"Circle"},{"portId":"right6","portColor":"#ddddba","figure":"Circle"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle"},{"portId":"right8","portColor":"#ffff00","figure":"Output"},{"portId":"right9","portColor":"#000000","figure":"Output"},{"portId":"right10","portColor":"#ffff00","figure":"Output"},{"portId":"right11","portColor":"#000000","figure":"Output"},{"portId":"right12","portColor":"#ffff00","figure":"Output"},{"portId":"right13","portColor":"#000000","figure":"Output"},{"portId":"right14","portColor":"#ffff00","figure":"Output"},{"portId":"right15","portColor":"#000000","figure":"Output"},{"portId":"right16","portColor":"#40aceb","figure":"Output"},{"portId":"right17","portColor":"#ff0000","figure":"Output"},{"portId":"right18","portColor":"#40aceb","figure":"Output"},{"portId":"right19","portColor":"#ff0000","figure":"Output"},{"portId":"right20","portColor":"#40aceb","figure":"Output"},{"portId":"right21","portColor":"#ff0000","figure":"Output"},{"portId":"right22","portColor":"#40aceb","figure":"Output"},{"portId":"right23","portColor":"#ff0000","figure":"Output"}],"loc":"167.4931815938744 -414.85671689130277","size":"231 250.5","thickness":2,"color":"palegreen"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC2","loc":"-468.92462058479913 72.5251239611851"},
{"name":"NTC Pipe Sensor","make":"Regin","model":"","signalTypes":[{"signalType":"GND","name":"Ground"},{"signalType":"NTC10K","name":"Resistance","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"]}],"fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr23","size":"71 60","loc":"-246.22910844518805 -397.8973273885425","color":"#000000","thickness":1,"showKey":true,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"DHW","topicKey":"tCo"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC3","loc":"-552.1632829862677 117.56480704076617"},
{"name":"Pulsed Flow Sensor","fill":"#dbf6cb","pulsesPerLitre":"520","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#00ffff","signalTypes":["#00ffff","#fffffe"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"FS","size":"82.107421875 53","loc":"-279.84375 -147.71875","thickness":1,"color":"black"},
{"name":"Pulsed Flow\nSensor","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"FS1","loc":"-381.7961150175177 382.06480704076614"},
{"name":"Pump (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","figure":"Output"}],"bottomArray":[],"key":"pump","size":"57.3212890625 52","loc":"392.15625 50.28125"},
{"name":"Keep-Warm\nTimer ","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ebe3fc"},{"portId":"right1","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"timerDHW","loc":"-254 507.125"},
{"name":"Control Valve (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","figure":"Output"}],"bottomArray":[],"key":"valve4","size":"90 52","loc":"582.15625 -2.71875"}
{"name":"Room\nThermostat","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"stat","loc":"-253 439.125"},
{"name":"Pressure \nTemperature Sensor","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"},{"portId":"right0","portColor":"#6cafdb"},{"portId":"right3","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"RPS1","loc":"-433.137502668535 266.188369363003"},
{"name":"PWM \nControl Valve","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"valveCH","loc":"377.5244140625 316.125"},
{"name":"12v Power","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"power12","loc":"389 43.125"},
{"name":"Prepay Switch","leftArray":[{"portId":"left0","portColor":"#d6effc"},{"portId":"left1","portColor":"#eaeef8"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"prepay","loc":"238 536.125"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC4","loc":"-468.7532829862677 163.6673070407662"},
{"name":"PWM \nControl Valve","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"valveDHW","loc":"377.5244140625 393.125"},
{"name":"Heat Meter","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"meter","loc":"383 214.125"},
{"name":"Modbus\nto BMS","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"},{"portId":"left1","portColor":"#6cafdb"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"modbus1","loc":"395 121.125"},
{"name":"PWM \nPump","leftArray":[{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"pumpCH","loc":"396.5244140625 471.125"}
],
],
   "linkDataArray": [
   "linkDataArray": [
{"from":"NTC1","to":"C1","fromPort":"right0","toPort":"left0","points":[-508.78049949104934,18.48544088160405,-490.78049949104934,18.48544088160405,-265,18.48544088160405,-265,81.3160717356572,-157.57496475070138,81.3160717356572,-143.57496475070138,81.3160717356572]},
{"from":"12VDC22","to":"node","fromPort":"left0","toPort":"top2","points":[615.9688121714489,-496.41453398276076,601.9688121714489,-496.41453398276076,467.23099688266166,-496.41453398276076,467.23099688266166,-583.6067168913028,172.7431815938744,-583.6067168913028,172.7431815938744,-549.6067168913028]},
{"from":"NTC1","to":"C1","fromPort":"right1","toPort":"left1","points":[-508.78049949104934,28.48544088160405,-498.78049949104934,28.48544088160405,-279,28.48544088160405,-279,91.3160717356572,-165.57496475070138,91.3160717356572,-143.57496475070138,91.3160717356572]},
{"from":"12VDC22","to":"node","fromPort":"left2","toPort":"top3","points":[615.9688121714489,-485.91453398276076,593.9688121714489,-485.91453398276076,463.23099688266166,-485.91453398276076,463.23099688266166,-575.6067168913028,183.2431815938744,-575.6067168913028,183.2431815938744,-549.6067168913028]},
{"from":"C1","to":"NTC2","fromPort":"left2","toPort":"right0","points":[-143.57496475070138,101.3160717356572,-173.57496475070138,101.3160717356572,-296.0752321208753,101.3160717356572,-296.0752321208753,67.5251239611851,-406.57549949104913,67.5251239611851,-424.57549949104913,67.5251239611851]},
{"from":"node","to":"ntcr23","fromPort":"TH1GND","toPort":"gnd","points":[42.4931815938744,-304.60671689130277,-147.5068184061256,-304.60671689130277,-148,-304.60671689130277,-148,-403.1473273885425,-183.72910844518805,-403.1473273885425,-201.72910844518805,-403.1473273885425]},
{"from":"C1","to":"NTC2","fromPort":"left3","toPort":"right1","points":[-143.57496475070138,111.3160717356572,-181.57496475070138,111.3160717356572,-312.0752321208753,111.3160717356572,-312.0752321208753,77.5251239611851,-414.57549949104913,77.5251239611851,-424.57549949104913,77.5251239611851]},
{"from":"ntcr23","to":"node","fromPort":"temperature","toPort":"TH1","points":[-201.72910844518805,-392.6473273885425,-191.72910844518805,-392.6473273885425,-157.61796342565682,-392.6473273885425,-157.61796342565682,-294.10671689130277,-155.5068184061256,-294.10671689130277,42.4931815938744,-294.10671689130277]},
{"from":"C1","to":"NTC3","fromPort":"left4","toPort":"right0","points":[-143.57496475070138,121.3160717356572,-189.57496475070138,121.3160717356572,-354.69456332160956,121.3160717356572,-354.69456332160956,112.56480704076617,-491.81416189251775,112.56480704076617,-509.81416189251775,112.56480704076617]},
{"from":"FS","to":"node","fromPort":"right0","toPort":"pin26","points":[-229.7900390625,-137.21875,-199.7900390625,-137.21875,67.7431815938744,-137.21875,67.7431815938744,-197.66273344565138,67.7431815938744,-258.10671689130277,67.7431815938744,-280.10671689130277]},
{"from":"C1","to":"NTC3","fromPort":"left5","toPort":"right1","points":[-143.57496475070138,131.3160717356572,-197.57496475070138,131.3160717356572,-370.69456332160956,131.3160717356572,-370.69456332160956,122.56480704076617,-499.81416189251775,122.56480704076617,-509.81416189251775,122.56480704076617]},
{"from":"FS","to":"node","fromPort":"right1","toPort":"top03","points":[-229.7900390625,-158.21875,-215.7900390625,-158.21875,-74.6484287343128,-158.21875,-74.6484287343128,-579.6067168913028,151.7431815938744,-579.6067168913028,151.7431815938744,-549.6067168913028]},
{"from":"power12","to":"C1","fromPort":"left0","toPort":"top2","points":[338.7314453125,38.125,320.7314453125,38.125,-20.574964750701383,38.125,-20.574964750701383,44.2205358678286,-20.574964750701383,50.316071735657204,-20.574964750701383,68.3160717356572]},
{"from":"FS","to":"node","fromPort":"right2","toPort":"pin25","points":[-229.7900390625,-147.71875,-207.7900390625,-147.71875,57.2431815938744,-147.71875,57.2431815938744,-206.91273344565138,57.2431815938744,-266.10671689130277,57.2431815938744,-280.10671689130277]},
{"from":"power12","to":"C1","fromPort":"left3","toPort":"top3","points":[338.7314453125,48.125,328.7314453125,48.125,-10.574964750701383,48.125,-10.574964750701383,53.2205358678286,-10.574964750701383,58.316071735657204,-10.574964750701383,68.3160717356572]},
{"from":"pump","to":"node","fromPort":"top0","toPort":"pin34","points":[402.65625,15.03125,402.65625,-14.96875,402.65625,-56.537733445651384,151.7431815938744,-56.537733445651384,151.7431815938744,-174.10671689130277,151.7431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"bottom14","toPort":"left3","points":[9.425035249298617,324.3160717356572,9.425035249298617,390.3160717356572,205.9869316871493,390.3160717356572,205.9869316871493,331.125,279.548828125,331.125,317.548828125,331.125]},
{"from":"pump","to":"node","fromPort":"top1","toPort":"right22","points":[392.15625,15.03125,392.15625,-6.96875,392.15625,-304.60671689130277,351.3247157969372,-304.60671689130277,310.4931815938744,-304.60671689130277,292.4931815938744,-304.60671689130277]},
{"from":"C1","to":"valveCH","fromPort":"bottom15","toPort":"left2","points":[19.425035249298617,324.3160717356572,19.425035249298617,382.3160717356572,193,382.3160717356572,193,321.125,299.548828125,321.125,317.548828125,321.125]},
{"from":"pump","to":"node","fromPort":"top2","toPort":"pin33","points":[381.65625,15.03125,381.65625,1.03125,381.65625,-32.537733445651384,141.2431815938744,-32.537733445651384,141.2431815938744,-166.10671689130277,141.2431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"right23","toPort":"left1","points":[92.42503524929862,311.3160717356572,290.4250352492986,311.3160717356572,306.9869316871493,311.3160717356572,306.9869316871493,311.125,291.548828125,311.125,317.548828125,311.125]},
{"from":"valve4","to":"node","fromPort":"top0","toPort":"pin36","points":[592.65625,-37.96875,592.65625,-67.96875,592.65625,-99.03773344565138,172.7431815938744,-99.03773344565138,172.7431815938744,-190.10671689130277,172.7431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"right22","toPort":"left0","points":[92.42503524929862,301.3160717356572,282.4250352492986,301.3160717356572,298.9869316871493,301.3160717356572,298.9869316871493,301.125,283.548828125,301.125,317.548828125,301.125]},
{"from":"valve4","to":"node","fromPort":"top1","toPort":"right20","points":[582.15625,-37.96875,582.15625,-59.96875,582.15625,-325.60671689130277,454.3247157969372,-325.60671689130277,326.4931815938744,-325.60671689130277,292.4931815938744,-325.60671689130277]},
{"from":"FS1","to":"C1","fromPort":"right1","toPort":"bottom0","points":[-324.6501189237677,382.06480704076614,-302.6501189237677,382.06480704076614,-130.57496475070138,382.06480704076614,-130.57496475070138,360.19043938821164,-130.57496475070138,338.3160717356572,-130.57496475070138,324.3160717356572]},
{"from":"valve4","to":"node","fromPort":"top2","toPort":"pin35","points":[571.65625,-37.96875,571.65625,-51.96875,571.65625,-75.03773344565138,162.2431815938744,-75.03773344565138,162.2431815938744,-182.10671689130277,162.2431815938744,-280.10671689130277]}
{"from":"FS1","to":"C1","fromPort":"right2","toPort":"bottom1","points":[-324.6501189237677,392.06480704076614,-294.6501189237677,392.06480704076614,-120.57496475070138,392.06480704076614,-120.57496475070138,369.19043938821164,-120.57496475070138,346.3160717356572,-120.57496475070138,324.3160717356572]},
{"from":"stat","to":"C1","fromPort":"right1","toPort":"bottom2","points":[-199.10498046875,434.125,-185.10498046875,434.125,-110.57496475070138,434.125,-110.57496475070138,394.22053586782863,-110.57496475070138,354.3160717356572,-110.57496475070138,324.3160717356572]},
{"from":"stat","to":"C1","fromPort":"right2","toPort":"bottom3","points":[-199.10498046875,444.125,-177.10498046875,444.125,-100.57496475070138,444.125,-100.57496475070138,403.22053586782863,-100.57496475070138,362.3160717356572,-100.57496475070138,324.3160717356572]},
{"from":"C1","to":"timerDHW","fromPort":"bottom4","toPort":"right0","points":[-90.57496475070138,324.3160717356572,-90.57496475070138,370.3160717356572,-90.57496475070138,502.125,-137.8084784691007,502.125,-185.0419921875,502.125,-199.0419921875,502.125]},
{"from":"C1","to":"timerDHW","fromPort":"bottom5","toPort":"right1","points":[-80.57496475070138,324.3160717356572,-80.57496475070138,378.3160717356572,-80.57496475070138,512.125,-128.8084784691007,512.125,-177.0419921875,512.125,-199.0419921875,512.125]},
{"from":"C1","to":"prepay","fromPort":"bottom6","toPort":"left1","points":[-70.57496475070138,324.3160717356572,-70.57496475070138,454.3160717356572,-70.57496475070138,541.125,41.57286918714931,541.125,153.720703125,541.125,175.720703125,541.125]},
{"from":"C1","to":"prepay","fromPort":"bottom7","toPort":"left0","points":[-60.57496475070138,324.3160717356572,-60.57496475070138,446.3160717356572,-60.57496475070138,531.125,50.57286918714931,531.125,161.720703125,531.125,175.720703125,531.125]},
{"from":"NTC4","to":"C1","fromPort":"right0","toPort":"left6","points":[-426.4041618925177,158.6673070407662,-412.4041618925177,158.6673070407662,-334.9895633216096,158.6673070407662,-334.9895633216096,141.3160717356572,-289.5749647507014,141.3160717356572,-143.57496475070138,141.3160717356572]},
{"from":"NTC4","to":"C1","fromPort":"right1","toPort":"left7","points":[-426.4041618925177,168.6673070407662,-404.4041618925177,168.6673070407662,-326.9895633216096,168.6673070407662,-326.9895633216096,151.3160717356572,-281.5749647507014,151.3160717356572,-143.57496475070138,151.3160717356572]},
{"from":"FS1","to":"C1","fromPort":"right0","toPort":"top2","points":[-324.6501189237677,372.06480704076614,-310.6501189237677,372.06480704076614,-215.11254183723455,372.06480704076614,-215.11254183723455,38.316071735657204,-20.574964750701383,38.316071735657204,-20.574964750701383,68.3160717356572]},
{"from":"C1","to":"RPS1","fromPort":"left13","toPort":"right2","points":[-143.57496475070138,211.3160717356572,-233.57496475070138,211.3160717356572,-193,211.3160717356572,-193,261.188369363003,-329.25957298103503,261.188369363003,-351.25957298103503,261.188369363003]},
{"from":"valveDHW","to":"C1","fromPort":"left0","toPort":"right20","points":[317.548828125,378.125,303.548828125,378.125,257,378.125,257,281.3160717356572,126.42503524929862,281.3160717356572,92.42503524929862,281.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left1","toPort":"right21","points":[317.548828125,388.125,295.548828125,388.125,246,388.125,246,291.3160717356572,118.42503524929862,291.3160717356572,92.42503524929862,291.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left2","toPort":"bottom13","points":[317.548828125,398.125,287.548828125,398.125,209.9869316871493,398.125,209.9869316871493,398.3160717356572,-0.5749647507013833,398.3160717356572,-0.5749647507013833,324.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left3","toPort":"bottom12","points":[317.548828125,408.125,279.548828125,408.125,-10.574964750701383,408.125,-10.574964750701383,407.22053586782863,-10.574964750701383,406.3160717356572,-10.574964750701383,324.3160717356572]},
{"from":"C1","to":"RPS1","fromPort":"left14","toPort":"right0","points":[-143.57496475070138,221.3160717356572,-225.57496475070138,221.3160717356572,-182,221.3160717356572,-182,271.188369363003,-321.25957298103503,271.188369363003,-351.25957298103503,271.188369363003]},
{"from":"C1","to":"RPS1","fromPort":"left15","toPort":"right3","points":[-143.57496475070138,231.3160717356572,-217.57496475070138,231.3160717356572,-173,231.3160717356572,-173,281.188369363003,-313.25957298103503,281.188369363003,-351.25957298103503,281.188369363003]},
{"from":"C1","to":"RPS1","fromPort":"top0","toPort":"right1","points":[-40.57496475070138,68.3160717356572,-40.57496475070138,54.316071735657204,-243,54.316071735657204,-243,251.188369363003,-337.25957298103503,251.188369363003,-351.25957298103503,251.188369363003]},
{"from":"C1","to":"meter","fromPort":"right7","toPort":"left3","points":[92.42503524929862,151.3160717356572,230.42503524929862,151.3160717356572,285.0486992652743,151.3160717356572,285.0486992652743,219.125,307.67236328125,219.125,329.67236328125,219.125]},
{"from":"C1","to":"meter","fromPort":"right6","toPort":"left0","points":[92.42503524929862,141.3160717356572,238.42503524929862,141.3160717356572,293.0486992652743,141.3160717356572,293.0486992652743,209.125,315.67236328125,209.125,329.67236328125,209.125]},
{"from":"C1","to":"modbus1","fromPort":"right5","toPort":"left1","points":[92.42503524929862,131.3160717356572,146.42503524929862,131.3160717356572,260.2286309058993,131.3160717356572,260.2286309058993,131.125,342.0322265625,131.125,352.0322265625,131.125]},
{"from":"C1","to":"modbus1","fromPort":"right4","toPort":"left3","points":[92.42503524929862,121.3160717356572,138.42503524929862,121.3160717356572,252.2286309058993,121.3160717356572,252.2286309058993,121.125,334.0322265625,121.125,352.0322265625,121.125]},
{"from":"C1","to":"modbus1","fromPort":"right3","toPort":"left0","points":[92.42503524929862,111.3160717356572,130.42503524929862,111.3160717356572,244.2286309058993,111.3160717356572,244.2286309058993,111.125,326.0322265625,111.125,352.0322265625,111.125]},
{"from":"C1","to":"pumpCH","fromPort":"right18","toPort":"left1","points":[92.42503524929862,261.3160717356572,142.42503524929862,261.3160717356572,143,261.3160717356572,143,461.125,344.5244140625,461.125,358.5244140625,461.125]},
{"from":"C1","to":"pumpCH","fromPort":"bottom10","toPort":"left3","points":[-30.574964750701383,324.3160717356572,-30.574964750701383,422.3160717356572,-30.574964750701383,481.125,148.9747246558993,481.125,328.5244140625,481.125,358.5244140625,481.125]},
{"from":"C1","to":"pumpCH","fromPort":"bottom11","toPort":"left2","points":[-20.574964750701383,324.3160717356572,-20.574964750701383,414.3160717356572,-20.574964750701383,471.125,157.9747246558993,471.125,336.5244140625,471.125,358.5244140625,471.125]}
]}
]}
</pre>
</pre>


== Testing Frames ==
<iframe key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=testing.json&height=700px&palette=heatweb_sensors.json&border=none" />
<iframe is="frame1" name="frame2" key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=heatweb_morden_hall_1.json&height=700px&palette=heatweb_sensors.json&border=none" />
</pre>
==Testing 2==
<iframe key="wiki" align="right" width="100%" height="1100" level="" path="/gojs/samples/wiring18.html?id=wiringPalette1&palette=wiringPalette1&height=850px" />
<pre id="wiringPalette" style="display:none">
[
{"key":"CYL","name":"Buffer Store","textColor":"#000000","background":"/images/c/cd/Buffer1.jpg","leftArray":[{"portColor":"#ffffff","portId":"left0"},{"portColor":"#ffffff","portId":"left1"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"},{"portId":"left10","portColor":"#ffffff"},{"portId":"left11","portColor":"#ffffff"},{"portId":"left12","portColor":"#ffffff"},{"portId":"left13","portColor":"#ffffff"},{"portId":"left14","portColor":"#ffffff"},{"portId":"left15","portColor":"#ffffff"},{"portId":"left16","portColor":"#ffffff"},{"portId":"left17","portColor":"#ffffff"},{"portId":"left18","portColor":"#ffffff"},{"portId":"left19","portColor":"#2196f3"}],"topArray":[{"portColor":"#ffffff","portId":"top0"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ff0000"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"},{"portId":"top9","portColor":"#ffffff"},{"portId":"top10","portColor":"#ffffff"}],"bottomArray":[],"rightArray":[{"portColor":"#ffffff","portId":"right0"},{"portColor":"#ffffff","portId":"right1"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"}],"notes":"500 litre","size":"110 224"},
{"name":"","background":"/images/b/bd/Belimohead2.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#f6beb6"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#f6beb6"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#addff9"}],"key":"valve","size":"40 81","notes":""},
{"name":"Expansion\nVessel","background":"/images/9/9b/Flexcon.jpg","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#6cafdb"}],"key":"expVessel1","size":"82 142"},
{"name":"Radiators","background":"/images/2/2f/Rad.PNG","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#fae3d7"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#6cafdb"}],"topArray":[],"bottomArray":[],"key":"rads","size":"88 65","notes":""},
{"name":"Pump","background":"/images/5/56/Magna3h.jpg","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ff0000"}],"rightArray":[{"portId":"right4","portColor":"#ff0000"}],"topArray":[],"bottomArray":[],"key":"pump","notes":"Magna 3","size":"55 94"},
{"name":"","background":"/images/thumb/4/49/Qavh.png/437px-Qavh.png","color":"#ffffff","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#f6beb6"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"HP1","notes":"Mitsubishi Electric QAHV","size":"134 202"},
{"name":"","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"},{"portId":"bottom1","portColor":"#f6beb6"},{"portId":"bottom2","portColor":"#f6beb6"},{"portId":"bottom3","portColor":"#addff9"}],"key":"HIU1","notes":"SLIM HIU","size":"70 109","background":"/images/thumb/6/60/Slim2.jpg/380px-Slim2.jpg"},
{"name":"Taps","leftArray":[{"portId":"left0","portColor":"#f6beb6"}],"rightArray":[{"portId":"right1","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"DHW"},
{"name":"","background":"/images/4/40/Belimohead1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#f6beb6"},{"portId":"bottom1","portColor":"#ffffff"},{"portId":"bottom2","portColor":"#ffffff"},{"portId":"bottom3","portColor":"#ffffff"},{"portId":"bottom4","portColor":"#ffffff"},{"portId":"bottom5","portColor":"#ffffff"}],"key":"valveR","size":"74 40","notes":""},
{"name":"","background":"/images/a/a8/Hmfc.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"HM2","size":"43 57","notes":""},
{"name":"Fan Coil\nUnit","leftArray":[{"portId":"left0","portColor":"#40aceb"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#addff9"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"fanCoil1","size":"56.5546875 56"},
{"name":"","background":"/images/thumb/6/68/Pressureset1.png/485px-Pressureset1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#40aceb"},{"portId":"right1","portColor":"#40aceb"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"pressure","size":"111 137","notes":""},
{"name":"Mains","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"}],"key":"CWS2"},
{"name":"","color":"#ffffff","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"overflow","size":"41 40","notes":""},
{"name":"Side\nStream\nFilter","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#addff9"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"sideStream","size":"54 83"},
{"name":"Strainer","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"strainer1","size":"50 40"},
{"name":"","background":"/images/6/69/Schem_subst2.svg","color":"#ffffff00","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ff0000"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"},{"portId":"right20","portColor":"#ffffff"},{"portId":"right21","portColor":"#ffffff"},{"portId":"right22","portColor":"#ffffff"},{"portId":"right23","portColor":"#ffffff"},{"portId":"right24","portColor":"#ffffff"},{"portId":"right25","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right26","portColor":"#ffffff"},{"portId":"right27","portColor":"#ffffff"},{"portId":"right28","portColor":"#ffffff"},{"portId":"right29","portColor":"#ffffff"},{"portId":"right30","portColor":"#ffffff"},{"portId":"right31","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"subSt","notes":"Substation Twin Plate","size":"355 339"}
]
</pre>
<pre class="wikidiagram" id="wiring2" style="display:none">
{ "class": "GraphLinksModel",
  "copiesArrays": true,
  "copiesArrayObjects": true,
  "linkFromPortIdProperty": "fromPort",
  "linkToPortIdProperty": "toPort",
  "nodeDataArray": [
{"key":"CYL1","name":"Buffer Store","background":"/images/c/cd/Buffer1.jpg","loc":"-58.57496475070138 203.3160717356572","leftArray":[{"portColor":"#ffffff","portId":"left0"},{"portColor":"#ffffff","portId":"left1"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"},{"portId":"left10","portColor":"#ffffff"},{"portId":"left11","portColor":"#ffffff"},{"portId":"left12","portColor":"#ffffff"},{"portId":"left13","portColor":"#ffffff"},{"portId":"left14","portColor":"#ffffff"},{"portId":"left15","portColor":"#ffffff"},{"portId":"left16","portColor":"#ffffff"},{"portId":"left17","portColor":"#ffffff"},{"portId":"left18","portColor":"#ffffff"},{"portId":"left19","portColor":"#2196f3"}],"topArray":[{"portColor":"#ffffff","portId":"top0"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ff0000"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"},{"portId":"top9","portColor":"#ffffff"},{"portId":"top10","portColor":"#ffffff"}],"bottomArray":[],"rightArray":[{"portColor":"#ffffff","portId":"right0"},{"portColor":"#ffffff","portId":"right1"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"}],"notes":"500 litre","size":"110 224"},
{"name":"","background":"/images/b/bd/Belimohead2.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#f6beb6"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#f6beb6"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#addff9"}],"key":"loadV","loc":"-313.11505660615677 -13.45580347636087","size":"40 81","notes":""},
{"name":"Expansion\nVessel","background":"/images/9/9b/Flexcon.jpg","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#6cafdb"}],"key":"expVessel1","loc":"-387.7420000000001 348.43512499999997","size":"82 142"},
{"name":"Radiators","background":"/images/2/2f/Rad.PNG","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#fae3d7"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#6cafdb"}],"topArray":[],"bottomArray":[],"key":"radsUp","loc":"437.37607673710613 114.83087392550146","size":"88 65","notes":""},
{"name":"Pump","background":"/images/5/56/Magna3h.jpg","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ff0000"}],"rightArray":[{"portId":"right4","portColor":"#ff0000"}],"topArray":[],"bottomArray":[],"key":"pump1","loc":"232.81918799265725 -23.14732480293705","notes":"Magna 3","size":"55 94"},
{"name":"Radiators","background":"/images/2/2f/Rad.PNG","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#fae3d7"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"radsDown","loc":"439.87734729308363 195.60232426303855","size":"88 67"},
{"name":"Pump","background":"/images/5/56/Magna3h.jpg","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#40aceb"}],"rightArray":[{"portId":"right4","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"pumpB","loc":"-402 121.625","notes":"Integral to heat pump","size":"56 93"},
{"name":"","background":"/images/thumb/4/49/Qavh.png/437px-Qavh.png","color":"#ffffff","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#f6beb6"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"HP1","loc":"-605.7532829862678 -71.33269295923378","notes":"Mitsubishi Electric QAHV","size":"134 202"},
{"name":"","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"},{"portId":"bottom1","portColor":"#f6beb6"},{"portId":"bottom2","portColor":"#f6beb6"},{"portId":"bottom3","portColor":"#addff9"}],"key":"HIU1","loc":"578.8540219357686 -148.3675790015337","notes":"SLIM HIU","size":"70 109","background":"/images/thumb/6/60/Slim2.jpg/380px-Slim2.jpg"},
{"name":"Taps","leftArray":[{"portId":"left0","portColor":"#f6beb6"}],"rightArray":[{"portId":"right1","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"DHW","loc":"412.84535622317344 -194.69583288857453"},
{"name":"","background":"/images/4/40/Belimohead1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#f6beb6"},{"portId":"bottom1","portColor":"#ffffff"},{"portId":"bottom2","portColor":"#ffffff"},{"portId":"bottom3","portColor":"#ffffff"},{"portId":"bottom4","portColor":"#ffffff"},{"portId":"bottom5","portColor":"#ffffff"}],"key":"fanValve1","loc":"618 279.6875","size":"74 40","notes":""},
{"name":"","background":"/images/a/a8/Hmfc.png","color":"#ffffff","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#f6beb6"}],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"}],"key":"HM1","loc":"-181.5 198.421142578125","size":"43 55","notes":""},
{"key":"CYL2","name":"Buffer Store","background":"/images/c/cd/Buffer1.jpg","loc":"111.42503524929862 204.8160717356572","leftArray":[{"portColor":"#ffffff","portId":"left0"},{"portColor":"#ffffff","portId":"left1"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"},{"portId":"left10","portColor":"#ffffff"},{"portId":"left11","portColor":"#ffffff"},{"portId":"left12","portColor":"#ffffff"},{"portId":"left13","portColor":"#ffffff"},{"portId":"left14","portColor":"#ffffff"},{"portId":"left15","portColor":"#ffffff"},{"portId":"left16","portColor":"#ffffff"},{"portId":"left17","portColor":"#ffffff"},{"portId":"left18","portColor":"#ffffff"},{"portId":"left19","portColor":"#2196f3"}],"topArray":[{"portColor":"#ffffff","portId":"top0"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ff0000"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"},{"portId":"top9","portColor":"#ffffff"},{"portId":"top10","portColor":"#ffffff"}],"bottomArray":[],"rightArray":[{"portColor":"#ffffff","portId":"right0"},{"portColor":"#ffffff","portId":"right1"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"}],"notes":"500 litre","size":"110 225"},
{"name":"","background":"/images/a/a8/Hmfc.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"HM2","loc":"9.194132345967574 377.65025489731175","size":"43 57","notes":""},
{"name":"Fan Coil\nUnit","leftArray":[{"portId":"left0","portColor":"#40aceb"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#addff9"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"fanCoil1","loc":"512 430.125","size":"56.5546875 56"},
{"name":"","background":"/images/thumb/6/68/Pressureset1.png/485px-Pressureset1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#40aceb"},{"portId":"right1","portColor":"#40aceb"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"pressure","loc":"-627.02734375 420.625","size":"111 137","notes":""},
{"name":"Mains","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"}],"key":"CWS2","loc":"-530.7010038918336 313.7827582727574"},
{"name":"","color":"#ffffff","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"overflow","loc":"-494.5 455.859375","size":"41 40","notes":""},
{"name":"Side\nStream\nFilter","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#addff9"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"sideStream","loc":"83 480.956298828125","size":"54 83"},
{"name":"Strainer","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"strainer1","loc":"178.8662109375 377.6875","size":"50 40"},
{"name":"Mains","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"CWS22","loc":"417.7989961081664 -112.2172417272426","size":"45 40"},
{"name":"","background":"/images/a/a8/Hmfc.png","color":"#ffffff","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#f6beb6"}],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"}],"key":"HM12","loc":"593.5 34.421142578125","size":"43 55","notes":""}
],
  "linkDataArray": [
{"from":"pump1","to":"radsDown","fromPort":"right4","toPort":"left4","points":[268.31918799265725,-23.14732480293705,278.31918799265725,-23.14732480293705,300,-23.14732480293705,300,215.60232426303855,341.87734729308363,215.60232426303855,387.87734729308363,215.60232426303855]},
{"from":"pumpB","to":"HP1","fromPort":"left0","toPort":"right1","points":[-438,121.625,-452,121.625,-488.3766414931339,121.625,-488.3766414931339,-66.33269295923378,-520.7532829862678,-66.33269295923378,-530.7532829862678,-66.33269295923378]},
{"from":"loadV","to":"pumpB","fromPort":"bottom0","toPort":"right4","points":[-313.11505660615677,35.04419652363913,-313.11505660615677,49.04419652363913,-313.11505660615677,121.625,-332.55752830307836,121.625,-352,121.625,-366,121.625]},
{"from":"radsUp","to":"fanValve1","fromPort":"right4","toPort":"top0","points":[489.37607673710613,134.83087392550146,499.37607673710613,134.83087392550146,593,134.83087392550146,593,186.25918696275073,593,237.6875,593,251.6875]},
{"from":"radsDown","to":"radsUp","fromPort":"left4","toPort":"left4","points":[387.87734729308363,215.60232426303855,341.87734729308363,215.60232426303855,341.87734729308363,134.83087392550146,358.6267120150949,134.83087392550146,375.37607673710613,134.83087392550146,385.37607673710613,134.83087392550146]},
{"from":"CYL1","to":"HM1","fromPort":"left19","toPort":"bottom0","points":[-121.57496475070138,298.3160717356572,-287.5749647507014,298.3160717356572,-181.39807560168225,298.3160717356572,-181.39807560168225,243.921142578125,-181.5,243.921142578125,-181.5,233.921142578125]},
{"from":"HM1","to":"pumpB","fromPort":"top0","toPort":"right4","points":[-181.5,162.921142578125,-181.5,148.921142578125,-181.5,121.625,-268.75,121.625,-356,121.625,-366,121.625]},
{"from":"pump1","to":"CYL2","fromPort":"left0","toPort":"top5","points":[197.31918799265725,-23.14732480293705,187.31918799265725,-23.14732480293705,111.42503524929862,-23.14732480293705,111.42503524929862,5.584373466360077,111.42503524929862,34.316071735657204,111.42503524929862,84.3160717356572]},
{"from":"CYL2","to":"CYL1","fromPort":"left19","toPort":"top5","points":[48.42503524929862,299.8160717356572,-117.57496475070138,299.8160717356572,24,299.8160717356572,24,33.316071735657204,-58.57496475070138,33.316071735657204,-58.57496475070138,83.3160717356572]},
{"from":"HM2","to":"CYL1","fromPort":"left0","toPort":"left19","points":[-20.305867654032426,377.65025489731175,-34.305867654032426,377.65025489731175,-131.57496475070138,377.65025489731175,-131.57496475070138,337.9831633164845,-131.57496475070138,298.3160717356572,-121.57496475070138,298.3160717356572]},
{"from":"expVessel1","to":"CYL1","fromPort":"bottom0","toPort":"left19","points":[-387.7420000000001,427.43512499999997,-387.7420000000001,437.43512499999997,-219.15848237535073,437.43512499999997,-219.15848237535073,298.3160717356572,-131.57496475070138,298.3160717356572,-121.57496475070138,298.3160717356572]},
{"from":"fanValve1","to":"fanCoil1","fromPort":"bottom0","toPort":"right0","points":[593,307.6875,593,321.6875,593,410.125,577.638671875,410.125,562.27734375,410.125,548.27734375,410.125]},
{"from":"HM2","to":"sideStream","fromPort":"right0","toPort":"top0","points":[38.694132345967574,377.65025489731175,48.694132345967574,377.65025489731175,78,377.65025489731175,78,397.55327686271835,78,417.456298828125,78,431.456298828125]},
{"from":"sideStream","to":"HM2","fromPort":"top1","toPort":"right0","points":[88,431.456298828125,88,409.456298828125,88,377.65025489731175,68.34706617298379,377.65025489731175,48.694132345967574,377.65025489731175,38.694132345967574,377.65025489731175]},
{"from":"fanValve1","to":"strainer1","fromPort":"left0","toPort":"right0","points":[573,279.6875,563,279.6875,392.43310546875,279.6875,392.43310546875,377.6875,225.8662109375,377.6875,211.8662109375,377.6875]},
{"from":"fanCoil1","to":"strainer1","fromPort":"left0","toPort":"right0","points":[475.72265625,410.125,461.72265625,410.125,339.79443359375,410.125,339.79443359375,377.6875,221.8662109375,377.6875,211.8662109375,377.6875]},
{"from":"strainer1","to":"HM2","fromPort":"left0","toPort":"right0","points":[145.8662109375,377.6875,131.8662109375,377.6875,88.28017164173379,377.6875,88.28017164173379,377.65025489731175,48.694132345967574,377.65025489731175,38.694132345967574,377.65025489731175]},
{"from":"CWS22","to":"HIU1","fromPort":"right0","toPort":"bottom0","points":[448.2989961081664,-112.2172417272426,458.2989961081664,-112.2172417272426,513.0765090219675,-112.2172417272426,513.0765090219675,-71.8675790015337,563.8540219357686,-71.8675790015337,563.8540219357686,-85.8675790015337]},
{"from":"pump1","to":"HIU1","fromPort":"right4","toPort":"bottom2","points":[268.31918799265725,-23.14732480293705,282.31918799265725,-23.14732480293705,583.8540219357686,-23.14732480293705,583.8540219357686,-39.507451902235374,583.8540219357686,-55.8675790015337,583.8540219357686,-85.8675790015337]},
{"from":"DHW","to":"HIU1","fromPort":"left0","toPort":"bottom1","points":[384.84535622317344,-194.69583288857453,374.84535622317344,-194.69583288857453,374.84535622317344,-63.8675790015337,474.34968907947103,-63.8675790015337,573.8540219357686,-63.8675790015337,573.8540219357686,-85.8675790015337]},
{"from":"pressure","to":"overflow","fromPort":"right1","toPort":"top0","points":[-563.52734375,390.625,-497.52734375,390.625,-494.5,390.625,-494.5,402.2421875,-494.5,413.859375,-494.5,427.859375]},
{"from":"CWS2","to":"pressure","fromPort":"bottom0","toPort":"right0","points":[-530.7010038918336,341.7827582727574,-530.7010038918336,355.7827582727574,-530.7010038918336,380.625,-540.1141738209168,380.625,-549.52734375,380.625,-563.52734375,380.625]},
{"from":"pressure","to":"expVessel1","fromPort":"right8","toPort":"bottom0","points":[-563.52734375,460.625,-485.52734375,460.625,-484,460.625,-484,460.625,-387.7420000000001,460.625,-387.7420000000001,441.43512499999997,-387.7420000000001,427.43512499999997]},
{"from":"radsDown","to":"radsUp","fromPort":"right4","toPort":"right4","points":[491.87734729308363,215.60232426303855,537.8773472930836,215.60232426303855,537.8773472930836,134.83087392550146,518.6267120150949,134.83087392550146,499.37607673710613,134.83087392550146,489.37607673710613,134.83087392550146]},
{"from":"HIU1","to":"HM12","fromPort":"bottom3","toPort":"top0","points":[593.8540219357686,-85.8675790015337,593.8540219357686,-47.8675790015337,593.8540219357686,-15.47321821170435,593.5,-15.47321821170435,593.5,-11.078857421875,593.5,-1.078857421875]},
{"from":"HM12","to":"fanValve1","fromPort":"bottom0","toPort":"top0","points":[593.5,69.921142578125,593.5,83.921142578125,593.5,124.8043212890625,593,124.8043212890625,593,201.6875,593,251.6875]},
{"from":"DHW","to":"CWS22","fromPort":"right1","toPort":"right0","points":[440.84535622317344,-194.69583288857453,450.84535622317344,-194.69583288857453,462.2989961081664,-194.69583288857453,462.2989961081664,-153.45653730790855,462.2989961081664,-112.2172417272426,448.2989961081664,-112.2172417272426]},
{"from":"HP1","to":"loadV","fromPort":"right0","toPort":"left5","points":[-530.7532829862678,-76.33269295923378,-512.7532829862678,-76.33269295923378,-437.93416979621225,-76.33269295923378,-437.93416979621225,11.54419652363913,-395.11505660615677,11.54419652363913,-341.11505660615677,11.54419652363913]},
{"from":"loadV","to":"CYL2","fromPort":"right5","toPort":"top5","points":[-285.11505660615677,11.54419652363913,-275.11505660615677,11.54419652363913,111.42503524929862,11.54419652363913,111.42503524929862,20.930134129648167,111.42503524929862,30.316071735657204,111.42503524929862,84.3160717356572]}
]}
</pre>


== Images ==
[[File:C2.svg|none|thumb|Controller Layout]]
[[File:C2a.svg|none|thumb|Controller Layout]][[File:Rad.svg]]
[[Category:Calculators]]
[[Category:Calculators]]

Latest revision as of 09:51, 13 October 2022

Work In progress





Testing Frames

Testing 2


Images

Controller Layout
Controller Layout

Rad.svg