{
  "version": 2,
  "name": "Utility-to-push-button trainer",
  "wires": [
    {
      "id": "W01",
      "from": "utility:L1",
      "to": "breaker:L1"
    },
    {
      "id": "W02",
      "from": "utility:L2",
      "to": "breaker:L2"
    },
    {
      "id": "W03",
      "from": "breaker:T1",
      "to": "transformer:P1"
    },
    {
      "id": "W04",
      "from": "breaker:T2",
      "to": "transformer:P2"
    },
    {
      "id": "W05",
      "from": "transformer:X1",
      "to": "stop:1"
    },
    {
      "id": "W06",
      "from": "stop:2",
      "to": "start:1"
    },
    {
      "id": "W07",
      "from": "start:1",
      "to": "aux:13"
    },
    {
      "id": "W08",
      "from": "start:2",
      "to": "aux:14"
    },
    {
      "id": "W09",
      "from": "start:2",
      "to": "coil:A1"
    },
    {
      "id": "W10",
      "from": "coil:A2",
      "to": "transformer:X2"
    }
  ],
  "events": [
    {
      "event": "idle",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": false
    },
    {
      "event": "start",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": true
    },
    {
      "event": "release start",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": false
    },
    {
      "event": "stop overrides start",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": true,
      "start_pressed": true
    },
    {
      "event": "release both",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": false
    },
    {
      "event": "restart",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": true
    },
    {
      "event": "utility loss",
      "utility_available": false,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": false
    },
    {
      "event": "utility returns",
      "utility_available": true,
      "breaker_closed": true,
      "stop_pressed": false,
      "start_pressed": false
    },
    {
      "event": "start with breaker open",
      "utility_available": true,
      "breaker_closed": false,
      "stop_pressed": false,
      "start_pressed": true
    }
  ],
  "ac_network": {
    "base_mva": 100.0,
    "buses": [
      {
        "name": "Bus 1     HV",
        "kind": 3,
        "p": 2.324,
        "q": -0.16899999999999998,
        "setpoint": 1.06,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.06,
        "reference_angle": 0.0,
        "id": "1",
        "number": 1
      },
      {
        "name": "Bus 2     HV",
        "kind": 2,
        "p": 0.183,
        "q": 0.297,
        "setpoint": 1.045,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.045,
        "reference_angle": -4.98,
        "id": "2",
        "number": 2
      },
      {
        "name": "Bus 3     HV",
        "kind": 2,
        "p": -0.9420000000000001,
        "q": 0.043999999999999984,
        "setpoint": 1.01,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.01,
        "reference_angle": -12.72,
        "id": "3",
        "number": 3
      },
      {
        "name": "Bus 4     HV",
        "kind": 0,
        "p": -0.478,
        "q": 0.039,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.019,
        "reference_angle": -10.33,
        "id": "4",
        "number": 4
      },
      {
        "name": "Bus 5     HV",
        "kind": 0,
        "p": -0.076,
        "q": -0.016,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.02,
        "reference_angle": -8.78,
        "id": "5",
        "number": 5
      },
      {
        "name": "Bus 6     LV",
        "kind": 2,
        "p": -0.11199999999999999,
        "q": 0.04699999999999999,
        "setpoint": 1.07,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.07,
        "reference_angle": -14.22,
        "id": "6",
        "number": 6
      },
      {
        "name": "Bus 7     ZV",
        "kind": 0,
        "p": 0.0,
        "q": 0.0,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.062,
        "reference_angle": -13.37,
        "id": "7",
        "number": 7
      },
      {
        "name": "Bus 8     TV",
        "kind": 2,
        "p": 0.0,
        "q": 0.174,
        "setpoint": 1.09,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.09,
        "reference_angle": -13.36,
        "id": "8",
        "number": 8
      },
      {
        "name": "Bus 9     LV",
        "kind": 0,
        "p": -0.295,
        "q": -0.166,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.19
        ],
        "reference_voltage": 1.056,
        "reference_angle": -14.94,
        "id": "9",
        "number": 9
      },
      {
        "name": "Bus 10    LV",
        "kind": 0,
        "p": -0.09,
        "q": -0.057999999999999996,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.051,
        "reference_angle": -15.1,
        "id": "10",
        "number": 10
      },
      {
        "name": "Bus 11    LV",
        "kind": 0,
        "p": -0.035,
        "q": -0.018000000000000002,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.057,
        "reference_angle": -14.79,
        "id": "11",
        "number": 11
      },
      {
        "name": "Bus 12    LV",
        "kind": 0,
        "p": -0.061,
        "q": -0.016,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.055,
        "reference_angle": -15.07,
        "id": "12",
        "number": 12
      },
      {
        "name": "Bus 13    LV",
        "kind": 0,
        "p": -0.135,
        "q": -0.057999999999999996,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.05,
        "reference_angle": -15.16,
        "id": "13",
        "number": 13
      },
      {
        "name": "Bus 14    LV",
        "kind": 0,
        "p": -0.149,
        "q": -0.05,
        "setpoint": 0.0,
        "shunt": [
          0.0,
          0.0
        ],
        "reference_voltage": 1.036,
        "reference_angle": -16.04,
        "id": "14",
        "number": 14
      }
    ],
    "connections": [
      {
        "id": "BR01-FROM",
        "from": "BR01:FROM",
        "to": "1:BUS",
        "closed": true
      },
      {
        "id": "BR01-TO",
        "from": "BR01:TO",
        "to": "2:BUS",
        "closed": true
      },
      {
        "id": "BR02-FROM",
        "from": "BR02:FROM",
        "to": "1:BUS",
        "closed": true
      },
      {
        "id": "BR02-TO",
        "from": "BR02:TO",
        "to": "5:BUS",
        "closed": true
      },
      {
        "id": "BR03-FROM",
        "from": "BR03:FROM",
        "to": "2:BUS",
        "closed": true
      },
      {
        "id": "BR03-TO",
        "from": "BR03:TO",
        "to": "3:BUS",
        "closed": true
      },
      {
        "id": "BR04-FROM",
        "from": "BR04:FROM",
        "to": "2:BUS",
        "closed": true
      },
      {
        "id": "BR04-TO",
        "from": "BR04:TO",
        "to": "4:BUS",
        "closed": true
      },
      {
        "id": "BR05-FROM",
        "from": "BR05:FROM",
        "to": "2:BUS",
        "closed": true
      },
      {
        "id": "BR05-TO",
        "from": "BR05:TO",
        "to": "5:BUS",
        "closed": true
      },
      {
        "id": "BR06-FROM",
        "from": "BR06:FROM",
        "to": "3:BUS",
        "closed": true
      },
      {
        "id": "BR06-TO",
        "from": "BR06:TO",
        "to": "4:BUS",
        "closed": true
      },
      {
        "id": "BR07-FROM",
        "from": "BR07:FROM",
        "to": "4:BUS",
        "closed": true
      },
      {
        "id": "BR07-TO",
        "from": "BR07:TO",
        "to": "5:BUS",
        "closed": true
      },
      {
        "id": "BR08-FROM",
        "from": "BR08:FROM",
        "to": "4:BUS",
        "closed": true
      },
      {
        "id": "BR08-TO",
        "from": "BR08:TO",
        "to": "7:BUS",
        "closed": true
      },
      {
        "id": "BR09-FROM",
        "from": "BR09:FROM",
        "to": "4:BUS",
        "closed": true
      },
      {
        "id": "BR09-TO",
        "from": "BR09:TO",
        "to": "9:BUS",
        "closed": true
      },
      {
        "id": "BR10-FROM",
        "from": "BR10:FROM",
        "to": "5:BUS",
        "closed": true
      },
      {
        "id": "BR10-TO",
        "from": "BR10:TO",
        "to": "6:BUS",
        "closed": true
      },
      {
        "id": "BR11-FROM",
        "from": "BR11:FROM",
        "to": "6:BUS",
        "closed": true
      },
      {
        "id": "BR11-TO",
        "from": "BR11:TO",
        "to": "11:BUS",
        "closed": true
      },
      {
        "id": "BR12-FROM",
        "from": "BR12:FROM",
        "to": "6:BUS",
        "closed": true
      },
      {
        "id": "BR12-TO",
        "from": "BR12:TO",
        "to": "12:BUS",
        "closed": true
      },
      {
        "id": "BR13-FROM",
        "from": "BR13:FROM",
        "to": "6:BUS",
        "closed": true
      },
      {
        "id": "BR13-TO",
        "from": "BR13:TO",
        "to": "13:BUS",
        "closed": true
      },
      {
        "id": "BR14-FROM",
        "from": "BR14:FROM",
        "to": "7:BUS",
        "closed": true
      },
      {
        "id": "BR14-TO",
        "from": "BR14:TO",
        "to": "8:BUS",
        "closed": true
      },
      {
        "id": "BR15-FROM",
        "from": "BR15:FROM",
        "to": "7:BUS",
        "closed": true
      },
      {
        "id": "BR15-TO",
        "from": "BR15:TO",
        "to": "9:BUS",
        "closed": true
      },
      {
        "id": "BR16-FROM",
        "from": "BR16:FROM",
        "to": "9:BUS",
        "closed": true
      },
      {
        "id": "BR16-TO",
        "from": "BR16:TO",
        "to": "10:BUS",
        "closed": true
      },
      {
        "id": "BR17-FROM",
        "from": "BR17:FROM",
        "to": "9:BUS",
        "closed": true
      },
      {
        "id": "BR17-TO",
        "from": "BR17:TO",
        "to": "14:BUS",
        "closed": true
      },
      {
        "id": "BR18-FROM",
        "from": "BR18:FROM",
        "to": "10:BUS",
        "closed": true
      },
      {
        "id": "BR18-TO",
        "from": "BR18:TO",
        "to": "11:BUS",
        "closed": true
      },
      {
        "id": "BR19-FROM",
        "from": "BR19:FROM",
        "to": "12:BUS",
        "closed": true
      },
      {
        "id": "BR19-TO",
        "from": "BR19:TO",
        "to": "13:BUS",
        "closed": true
      },
      {
        "id": "BR20-FROM",
        "from": "BR20:FROM",
        "to": "13:BUS",
        "closed": true
      },
      {
        "id": "BR20-TO",
        "from": "BR20:TO",
        "to": "14:BUS",
        "closed": true
      }
    ],
    "equipment_ids": [
      "BR01",
      "BR02",
      "BR03",
      "BR04",
      "BR05",
      "BR06",
      "BR07",
      "BR08",
      "BR09",
      "BR10",
      "BR11",
      "BR12",
      "BR13",
      "BR14",
      "BR15",
      "BR16",
      "BR17",
      "BR18",
      "BR19",
      "BR20"
    ]
  },
  "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
      }
    ],
    "equipment_ids": [
      "U1",
      "T1",
      "F1"
    ],
    "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
      }
    ]
  },
  "one_line": [
    {
      "groups": [
        "breaker",
        "utility"
      ],
      "wire_ids": [
        "W01",
        "W02"
      ]
    },
    {
      "groups": [
        "breaker",
        "transformer"
      ],
      "wire_ids": [
        "W03",
        "W04"
      ]
    },
    {
      "groups": [
        "control",
        "transformer"
      ],
      "wire_ids": [
        "W05",
        "W10"
      ]
    }
  ],
  "devices_ids": [
    "utility",
    "breaker",
    "transformer",
    "stop",
    "start",
    "aux",
    "coil"
  ],
  "equipment_roster": {
    "utility": {
      "scope": "control",
      "record": {
        "id": "utility",
        "kind": "utility",
        "terminals": [
          "L1",
          "L2"
        ],
        "sheet": 1
      }
    },
    "breaker": {
      "scope": "control",
      "record": {
        "id": "breaker",
        "kind": "breaker",
        "terminals": [
          "L1",
          "L2",
          "T1",
          "T2"
        ],
        "sheet": 1
      }
    },
    "transformer": {
      "scope": "control",
      "record": {
        "id": "transformer",
        "kind": "transformer",
        "terminals": [
          "P1",
          "P2",
          "X1",
          "X2"
        ],
        "sheet": 1
      }
    },
    "stop": {
      "scope": "control",
      "record": {
        "id": "stop",
        "kind": "stop",
        "terminals": [
          "1",
          "2"
        ],
        "sheet": 2
      }
    },
    "start": {
      "scope": "control",
      "record": {
        "id": "start",
        "kind": "start",
        "terminals": [
          "1",
          "2"
        ],
        "sheet": 2
      }
    },
    "aux": {
      "scope": "control",
      "record": {
        "id": "aux",
        "kind": "aux",
        "terminals": [
          "13",
          "14"
        ],
        "sheet": 2
      }
    },
    "coil": {
      "scope": "control",
      "record": {
        "id": "coil",
        "kind": "coil",
        "terminals": [
          "A1",
          "A2"
        ],
        "sheet": 2,
        "catalog_ref": {
          "id": "trainer-coil",
          "revision": 1
        }
      }
    },
    "BR01": {
      "scope": "ac",
      "record": {
        "id": "BR01",
        "number": 1,
        "kind": "branch",
        "r_pu": 0.01938,
        "x_pu": 0.05917,
        "charging_pu": 0.0528,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR02": {
      "scope": "ac",
      "record": {
        "id": "BR02",
        "number": 2,
        "kind": "branch",
        "r_pu": 0.05403,
        "x_pu": 0.22304,
        "charging_pu": 0.0492,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR03": {
      "scope": "ac",
      "record": {
        "id": "BR03",
        "number": 3,
        "kind": "branch",
        "r_pu": 0.04699,
        "x_pu": 0.19797,
        "charging_pu": 0.0438,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR04": {
      "scope": "ac",
      "record": {
        "id": "BR04",
        "number": 4,
        "kind": "branch",
        "r_pu": 0.05811,
        "x_pu": 0.17632,
        "charging_pu": 0.0374,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR05": {
      "scope": "ac",
      "record": {
        "id": "BR05",
        "number": 5,
        "kind": "branch",
        "r_pu": 0.05695,
        "x_pu": 0.17388,
        "charging_pu": 0.034,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR06": {
      "scope": "ac",
      "record": {
        "id": "BR06",
        "number": 6,
        "kind": "branch",
        "r_pu": 0.06701,
        "x_pu": 0.17103,
        "charging_pu": 0.0346,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR07": {
      "scope": "ac",
      "record": {
        "id": "BR07",
        "number": 7,
        "kind": "branch",
        "r_pu": 0.01335,
        "x_pu": 0.04211,
        "charging_pu": 0.0128,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR08": {
      "scope": "ac",
      "record": {
        "id": "BR08",
        "number": 8,
        "kind": "branch",
        "r_pu": 0.0,
        "x_pu": 0.20912,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.978,
        "shift_deg": 0.0
      }
    },
    "BR09": {
      "scope": "ac",
      "record": {
        "id": "BR09",
        "number": 9,
        "kind": "branch",
        "r_pu": 0.0,
        "x_pu": 0.55618,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.969,
        "shift_deg": 0.0
      }
    },
    "BR10": {
      "scope": "ac",
      "record": {
        "id": "BR10",
        "number": 10,
        "kind": "branch",
        "r_pu": 0.0,
        "x_pu": 0.25202,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.932,
        "shift_deg": 0.0
      }
    },
    "BR11": {
      "scope": "ac",
      "record": {
        "id": "BR11",
        "number": 11,
        "kind": "branch",
        "r_pu": 0.09498,
        "x_pu": 0.1989,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR12": {
      "scope": "ac",
      "record": {
        "id": "BR12",
        "number": 12,
        "kind": "branch",
        "r_pu": 0.12291,
        "x_pu": 0.25581,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR13": {
      "scope": "ac",
      "record": {
        "id": "BR13",
        "number": 13,
        "kind": "branch",
        "r_pu": 0.06615,
        "x_pu": 0.13027,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR14": {
      "scope": "ac",
      "record": {
        "id": "BR14",
        "number": 14,
        "kind": "branch",
        "r_pu": 0.0,
        "x_pu": 0.17615,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR15": {
      "scope": "ac",
      "record": {
        "id": "BR15",
        "number": 15,
        "kind": "branch",
        "r_pu": 0.0,
        "x_pu": 0.11001,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR16": {
      "scope": "ac",
      "record": {
        "id": "BR16",
        "number": 16,
        "kind": "branch",
        "r_pu": 0.03181,
        "x_pu": 0.0845,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR17": {
      "scope": "ac",
      "record": {
        "id": "BR17",
        "number": 17,
        "kind": "branch",
        "r_pu": 0.12711,
        "x_pu": 0.27038,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR18": {
      "scope": "ac",
      "record": {
        "id": "BR18",
        "number": 18,
        "kind": "branch",
        "r_pu": 0.08205,
        "x_pu": 0.19207,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR19": {
      "scope": "ac",
      "record": {
        "id": "BR19",
        "number": 19,
        "kind": "branch",
        "r_pu": 0.22092,
        "x_pu": 0.19988,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "BR20": {
      "scope": "ac",
      "record": {
        "id": "BR20",
        "number": 20,
        "kind": "branch",
        "r_pu": 0.17093,
        "x_pu": 0.34802,
        "charging_pu": 0.0,
        "rating_mva": 0.0,
        "tap": 0.0,
        "shift_deg": 0.0
      }
    },
    "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
      }
    }
  },
  "time_duty": {
    "bus": "FEEDER-END",
    "equipment_id": "DUTY-LOW",
    "clearing_curve": [
      [
        4,
        0.4
      ],
      [
        16,
        0.025
      ]
    ],
    "withstand_seconds": 0.1,
    "withstand_ka": 10
  },
  "coordination": {
    "required_margin_seconds": 0.2,
    "downstream_curve": [
      [
        4,
        0.4
      ],
      [
        16,
        0.025
      ]
    ],
    "upstream_curve": [
      [
        4,
        1.6
      ],
      [
        16,
        0.1
      ]
    ],
    "currents_ka": [
      4,
      8,
      16,
      20
    ]
  },
  "ampacity": {
    "load_a": 75,
    "correction_factor": ".93",
    "reference_ampacity_a": {
      "10": 61,
      "16": 79,
      "25": 101
    },
    "basis": "Schneider D1, copper XLPE, three loaded conductors; 30 C ground"
  },
  "cable_pull": {
    "segments": [
      {
        "id": "S1",
        "straight_m": 10
      },
      {
        "id": "B1",
        "radius_m": 0.5,
        "turn_rad": 1.5707963267948966
      },
      {
        "id": "S2",
        "straight_m": 30
      }
    ],
    "coefficient": 0.3,
    "unit_weight_n_per_m": 20,
    "initial_tension_n": 50
  },
  "dc_load_flow": {
    "source_voltage_v": 120,
    "loop_resistance_ohm": 1,
    "minimum_voltage_v": 90,
    "ampacity_a": 20,
    "load_resistance_ohm": 8,
    "source_current_limit_a": 12,
    "backup_source": {
      "primary_available": false,
      "voltage_v": 100,
      "internal_resistance_ohm": 1,
      "transfer_delay_s": 0.25,
      "elapsed_since_primary_loss_s": 0.125
    }
  },
  "dc_fault": {
    "source_v": 100,
    "loop_r_ohm": 2,
    "loop_l_h": 0.04,
    "times_seconds": [
      0,
      0.01,
      0.02,
      0.04,
      0.1
    ],
    "use_load_flow_initial_current": true,
    "clearing_seconds": 0.04,
    "withstand_a2s": 40,
    "interrupting_rating_a": 50,
    "source_role": "backup",
    "source_internal_r_ohm": 1
  },
  "telemetry": {
    "stale_after_s": 5,
    "freshness_checks_s": [
      23,
      24
    ],
    "records": [
      {
        "timestamp_s": 0,
        "energized": true,
        "quality": "good"
      },
      {
        "timestamp_s": 5,
        "energized": false,
        "quality": "bad"
      },
      {
        "timestamp_s": 10,
        "energized": false,
        "quality": "good"
      },
      {
        "timestamp_s": 8,
        "energized": true,
        "quality": "good"
      },
      {
        "timestamp_s": 18,
        "energized": true,
        "quality": "good"
      }
    ]
  },
  "restoration": {
    "customers_by_group": {
      "A": 30,
      "B": 20,
      "Uninterrupted": 50
    },
    "events": [
      [
        0,
        "A",
        false
      ],
      [
        0,
        "B",
        false
      ],
      [
        1,
        "A",
        true
      ],
      [
        3,
        "B",
        true
      ],
      [
        4,
        "A",
        false
      ],
      [
        5,
        "A",
        true
      ]
    ],
    "end_hour": 5
  },
  "four_wire": {
    "source_phase_voltage_v": 230,
    "phase_impedance_ohm": [
      0.18,
      0.08
    ],
    "neutral_impedance_ohm": [
      0.25,
      0.02
    ],
    "load_impedance_r_x_ohm": [
      [
        8.0,
        2.0
      ],
      [
        17.0,
        4.0
      ],
      [
        25.0,
        3.0
      ]
    ]
  },
  "harmonics": {
    "fundamental_voltage_v": 230,
    "inductance_h": 0.002,
    "shunt_resistance_ohm": 50,
    "injections_hz_a": [
      [
        150,
        0.2
      ],
      [
        250,
        0.1
      ]
    ],
    "capacitance_f": 0.0005628954646796543,
    "scan_hz": [
      50,
      51,
      52,
      53,
      54,
      55,
      56,
      57,
      58,
      59,
      60,
      61,
      62,
      63,
      64,
      65,
      66,
      67,
      68,
      69,
      70,
      71,
      72,
      73,
      74,
      75,
      76,
      77,
      78,
      79,
      80,
      81,
      82,
      83,
      84,
      85,
      86,
      87,
      88,
      89,
      90,
      91,
      92,
      93,
      94,
      95,
      96,
      97,
      98,
      99,
      100,
      101,
      102,
      103,
      104,
      105,
      106,
      107,
      108,
      109,
      110,
      111,
      112,
      113,
      114,
      115,
      116,
      117,
      118,
      119,
      120,
      121,
      122,
      123,
      124,
      125,
      126,
      127,
      128,
      129,
      130,
      131,
      132,
      133,
      134,
      135,
      136,
      137,
      138,
      139,
      140,
      141,
      142,
      143,
      144,
      145,
      146,
      147,
      148,
      149,
      150,
      151,
      152,
      153,
      154,
      155,
      156,
      157,
      158,
      159,
      160,
      161,
      162,
      163,
      164,
      165,
      166,
      167,
      168,
      169,
      170,
      171,
      172,
      173,
      174,
      175,
      176,
      177,
      178,
      179,
      180,
      181,
      182,
      183,
      184,
      185,
      186,
      187,
      188,
      189,
      190,
      191,
      192,
      193,
      194,
      195,
      196,
      197,
      198,
      199,
      200,
      201,
      202,
      203,
      204,
      205,
      206,
      207,
      208,
      209,
      210,
      211,
      212,
      213,
      214,
      215,
      216,
      217,
      218,
      219,
      220,
      221,
      222,
      223,
      224,
      225,
      226,
      227,
      228,
      229,
      230,
      231,
      232,
      233,
      234,
      235,
      236,
      237,
      238,
      239,
      240,
      241,
      242,
      243,
      244,
      245,
      246,
      247,
      248,
      249,
      250,
      251,
      252,
      253,
      254,
      255,
      256,
      257,
      258,
      259,
      260,
      261,
      262,
      263,
      264,
      265,
      266,
      267,
      268,
      269,
      270,
      271,
      272,
      273,
      274,
      275,
      276,
      277,
      278,
      279,
      280,
      281,
      282,
      283,
      284,
      285,
      286,
      287,
      288,
      289,
      290,
      291,
      292,
      293,
      294,
      295,
      296,
      297,
      298,
      299,
      300,
      301,
      302,
      303,
      304,
      305,
      306,
      307,
      308,
      309,
      310,
      311,
      312,
      313,
      314,
      315,
      316,
      317,
      318,
      319,
      320,
      321,
      322,
      323,
      324,
      325,
      326,
      327,
      328,
      329,
      330,
      331,
      332,
      333,
      334,
      335,
      336,
      337,
      338,
      339,
      340,
      341,
      342,
      343,
      344,
      345,
      346,
      347,
      348,
      349,
      350,
      351,
      352,
      353,
      354,
      355,
      356,
      357,
      358,
      359,
      360,
      361,
      362,
      363,
      364,
      365,
      366,
      367,
      368,
      369,
      370,
      371,
      372,
      373,
      374,
      375,
      376,
      377,
      378,
      379,
      380,
      381,
      382,
      383,
      384,
      385,
      386,
      387,
      388,
      389,
      390,
      391,
      392,
      393,
      394,
      395,
      396,
      397,
      398,
      399,
      400
    ]
  },
  "motor_start": {
    "inertia_kg_m2": 2,
    "viscous_coefficient": 0.5,
    "static_load_nm": 10,
    "rated_torque_nm": 100,
    "target_rad_s": 100,
    "voltages_pu": [
      1,
      0.8,
      0.7
    ]
  },
  "battery_duty": {
    "open_circuit_empty_v": 105,
    "open_circuit_full_v": 125,
    "internal_resistance_ohm": 0.1,
    "cutoff_v": 113,
    "candidates_ah": [
      40,
      60
    ],
    "profile_h_a": [
      [
        1,
        10
      ],
      [
        0.5,
        30
      ],
      [
        0.5,
        10
      ]
    ]
  },
  "first_swing": {
    "pm_pu": 0.8,
    "pre_fault_pmax_pu": 1.8,
    "post_fault_pmax_pu": 1.4,
    "h_seconds": 4.0,
    "frequency_hz": 60,
    "clearing_times_s": [
      0.19685508078002267,
      0.19885508078002267
    ]
  },
  "equipment_catalog": [
    {
      "id": "trainer-coil",
      "revision": 1,
      "source": "Synthetic revision fixture",
      "properties": {
        "rated_a": 10
      }
    },
    {
      "id": "trainer-coil",
      "revision": 2,
      "source": "Synthetic revision fixture",
      "properties": {
        "rated_a": 12
      }
    }
  ],
  "panel": {
    "id": "TEST-PANEL",
    "slots": 8,
    "circuits": [
      {
        "id": "C1",
        "slot": 1,
        "phases": [
          "A"
        ],
        "va": 800
      },
      {
        "id": "C2",
        "slot": 2,
        "phases": [
          "B"
        ],
        "va": 600
      },
      {
        "id": "C3",
        "slot": 3,
        "phases": [
          "C"
        ],
        "va": 500
      }
    ]
  },
  "dispatch": {
    "load_kw": 70,
    "sources": [
      {
        "id": "A",
        "capacity_kw": 50,
        "cost_per_kwh": 0.08
      },
      {
        "id": "B",
        "capacity_kw": 35,
        "cost_per_kwh": 0.13
      }
    ]
  },
  "switching": {
    "initial_state": {
      "normal": true,
      "tie": false
    },
    "interlocks": [
      [
        "normal",
        "tie"
      ]
    ],
    "requests": [
      {
        "device": "tie",
        "closed": true
      },
      {
        "device": "normal",
        "closed": false
      },
      {
        "device": "tie",
        "closed": true
      },
      {
        "device": "normal",
        "closed": true
      }
    ],
    "loads_kw": {
      "essential": 35,
      "process": 20,
      "discretionary": 15
    },
    "available_kw": 55,
    "shed_order": [
      "discretionary",
      "process"
    ]
  },
  "microgrid": {
    "initial_kwh": 24,
    "reserve_kwh": 10,
    "efficiency": 0.9,
    "essential_kw": 35,
    "profile": [
      {
        "interval_h": 0.25,
        "renewable_kw": 10
      },
      {
        "interval_h": 0.25,
        "renewable_kw": 25
      },
      {
        "interval_h": 0.25,
        "renewable_kw": 0
      }
    ]
  },
  "rail_traction": {
    "mass_kg": 80000,
    "target_speed_m_s": 20,
    "traction_efficiency": 0.9,
    "regeneration_efficiency": 0.7
  },
  "gis": {
    "features": [
      {
        "id": "asset-17",
        "asset_kind": "bus",
        "asset_id": "1",
        "coordinates": [
          -95.25,
          30.1
        ]
      },
      {
        "id": "feeder-1",
        "asset_kind": "branch",
        "asset_id": "BR01",
        "coordinates": [
          [
            -95.25,
            30.1
          ],
          [
            -95.23,
            30.12
          ]
        ]
      }
    ]
  },
  "branch_report_template": {
    "revision": 1,
    "power_unit": "kW",
    "columns": [
      "equipment_id",
      "from",
      "to",
      "from_mw",
      "from_mvar",
      "loss_mw"
    ]
  },
  "earth_electrode": {
    "rho_ohm_m": 100,
    "rod_length_m": 3,
    "rods": 2,
    "spacing_m": 15
  },
  "buried_thermal": {
    "ambient_c": 25,
    "self_k_m_per_w": 2,
    "mutual_k_m_per_w": 0.5,
    "r20_ohm_per_m": 0.0002,
    "alpha_per_c": 0.00393,
    "test_current_a": 100,
    "temperature_limit_c": 75,
    "active_cables": 2
  },
  "raceway": {
    "inner_diameter_mm": 50,
    "cable_groups": [
      {
        "count": 2,
        "diameter_mm": 20
      }
    ]
  },
  "dynamic_block": {
    "gain": 2,
    "time_constant_s": 0.5,
    "initial": 0,
    "time_s": [
      0,
      0.25,
      1,
      2,
      5
    ],
    "commands": [
      1,
      1,
      1,
      1
    ]
  }
}
