{
  "version": 2,
  "project_kind": "terminal_drawing",
  "name": "Synthetic panel and protection handoff example",
  "wires": [
    {
      "id": "W01",
      "from": "Q1:T1",
      "to": "M1:L1"
    }
  ],
  "voltage_drop": {
    "voltage_v": 208,
    "length_km": 0.1,
    "cases": [
      {
        "case": "running",
        "current_a": 40,
        "coefficient_v_per_a_km": 1,
        "upstream_drop_v": 0,
        "limit_percent": 3
      },
      {
        "case": "starting",
        "current_a": 100,
        "coefficient_v_per_a_km": 1,
        "upstream_drop_v": 0,
        "limit_percent": 8
      }
    ]
  },
  "panel": {
    "id": "PANEL",
    "slots": 72,
    "circuits": [
      {
        "id": "C1",
        "label": "Power supply",
        "slot": 1,
        "phases": [
          "A"
        ],
        "va": 100
      },
      {
        "id": "C2",
        "label": "Fan",
        "slot": 2,
        "phases": [
          "B"
        ],
        "va": 200
      },
      {
        "id": "C3",
        "label": "Heater",
        "slot": 3,
        "phases": [
          "C"
        ],
        "va": 300
      }
    ]
  },
  "iec_network": {
    "buses": [
      {
        "id": "HV",
        "nominal_kv": 20
      },
      {
        "id": "LV",
        "nominal_kv": 0.4
      },
      {
        "id": "FEEDER-END",
        "nominal_kv": 0.4
      }
    ],
    "fault_bus": "FEEDER-END",
    "voltage_factor": 1.1,
    "connections": [
      {
        "id": "PW01",
        "from": "U1:OUT",
        "to": "HV:BUS",
        "closed": true
      },
      {
        "id": "PW02",
        "from": "HV:BUS",
        "to": "T1:PRI",
        "closed": true
      },
      {
        "id": "PW03",
        "from": "T1:SEC",
        "to": "LV:BUS",
        "closed": true
      },
      {
        "id": "PW04",
        "from": "LV:BUS",
        "to": "F1:IN",
        "closed": true
      },
      {
        "id": "PW05",
        "from": "F1:OUT",
        "to": "FEEDER-END:BUS",
        "closed": true
      }
    ],
    "duty_ratings": [
      {
        "id": "DUTY-LOW",
        "bus": "FEEDER-END",
        "initial_rms_ka": 8,
        "peak_ka": 13
      },
      {
        "id": "DUTY-HIGH",
        "bus": "FEEDER-END",
        "initial_rms_ka": 10,
        "peak_ka": 16
      },
      {
        "id": "DUTY-PARTIAL",
        "bus": "FEEDER-END",
        "initial_rms_ka": 9
      }
    ],
    "equipment_ids": [
      "U1",
      "T1",
      "F1"
    ]
  },
  "time_duty": {
    "bus": "FEEDER-END",
    "equipment_id": "DUTY-LOW",
    "clearing_curve": [
      [
        4,
        0.4
      ],
      [
        16,
        0.025
      ]
    ],
    "withstand_seconds": 0.1,
    "withstand_ka": 10
  },
  "devices_ids": [
    "PANEL",
    "Q1",
    "M1"
  ],
  "equipment_roster": {
    "PANEL": {
      "scope": "control",
      "record": {
        "id": "PANEL",
        "kind": "panel",
        "sheet": 1,
        "terminals": [
          "A",
          "B",
          "C",
          "N"
        ]
      }
    },
    "Q1": {
      "scope": "control",
      "record": {
        "id": "Q1",
        "kind": "terminal_block",
        "sheet": 1,
        "terminals": [
          "T1"
        ]
      }
    },
    "M1": {
      "scope": "control",
      "record": {
        "id": "M1",
        "kind": "terminal_block",
        "sheet": 1,
        "terminals": [
          "L1"
        ]
      }
    },
    "U1": {
      "scope": "iec",
      "record": {
        "id": "U1",
        "kind": "utility",
        "short_circuit_mva": 250,
        "r_over_x": 0.1
      }
    },
    "T1": {
      "scope": "iec",
      "record": {
        "id": "T1",
        "kind": "transformer",
        "rated_mva": 1,
        "rated_primary_kv": 20,
        "rated_secondary_kv": 0.4,
        "vk_percent": 6,
        "vkr_percent": 1
      }
    },
    "F1": {
      "scope": "iec",
      "record": {
        "id": "F1",
        "kind": "feeder",
        "length_km": 0.1,
        "r_ohm_per_km": 0.2,
        "x_ohm_per_km": 0.08
      }
    }
  }
}
