{
  "release_sha256": "56c689d8dda8b9064b7969c6c6d69f0bc825d27c6db6507dacc302c1818f5559",
  "project": {
    "version": 2,
    "name": "Synthetic data center AC example",
    "project_kind": "terminal_drawing",
    "wires": [],
    "ac_network": {
      "base_mva": 1,
      "buses": [
        {
          "id": "B0",
          "number": 1,
          "name": "Utility",
          "kind": 3,
          "p": 0,
          "q": 0,
          "setpoint": 1,
          "reference_voltage": 1,
          "reference_angle": 0,
          "shunt": [
            0,
            0
          ]
        },
        {
          "id": "B1",
          "number": 2,
          "name": "Switchboard",
          "kind": 0,
          "p": 0,
          "q": 0,
          "setpoint": 1,
          "reference_voltage": 1,
          "reference_angle": 0,
          "shunt": [
            0,
            0
          ]
        },
        {
          "id": "B2",
          "number": 3,
          "name": "Transformer secondary",
          "kind": 0,
          "p": 0,
          "q": 0,
          "setpoint": 1,
          "reference_voltage": 1,
          "reference_angle": 0,
          "shunt": [
            0,
            0
          ]
        },
        {
          "id": "B3",
          "number": 4,
          "name": "UPS input / IT aggregate",
          "kind": 0,
          "p": -0.32,
          "q": -0.08,
          "setpoint": 1,
          "reference_voltage": 1,
          "reference_angle": 0,
          "shunt": [
            0,
            0
          ]
        },
        {
          "id": "B4",
          "number": 5,
          "name": "Cooling panel",
          "kind": 0,
          "p": -0.18,
          "q": -0.07,
          "setpoint": 1,
          "reference_voltage": 1,
          "reference_angle": 0,
          "shunt": [
            0,
            0
          ]
        }
      ],
      "connections": [
        {
          "id": "SERVICE-FROM",
          "closed": true,
          "from": "SERVICE:FROM",
          "to": "B0:BUS"
        },
        {
          "id": "SERVICE-TO",
          "closed": true,
          "from": "SERVICE:TO",
          "to": "B1:BUS"
        },
        {
          "id": "TX-FROM",
          "closed": true,
          "from": "TX:FROM",
          "to": "B1:BUS"
        },
        {
          "id": "TX-TO",
          "closed": true,
          "from": "TX:TO",
          "to": "B2:BUS"
        },
        {
          "id": "IT-FEED-FROM",
          "closed": true,
          "from": "IT-FEED:FROM",
          "to": "B2:BUS"
        },
        {
          "id": "IT-FEED-TO",
          "closed": true,
          "from": "IT-FEED:TO",
          "to": "B3:BUS"
        },
        {
          "id": "COOLING-FEED-FROM",
          "closed": true,
          "from": "COOLING-FEED:FROM",
          "to": "B2:BUS"
        },
        {
          "id": "COOLING-FEED-TO",
          "closed": true,
          "from": "COOLING-FEED:TO",
          "to": "B4:BUS"
        }
      ],
      "equipment_ids": [
        "SERVICE",
        "TX",
        "IT-FEED",
        "COOLING-FEED"
      ]
    },
    "n_1_summarize_islands": true,
    "n_1_solve_islands": true,
    "devices_ids": [
      "service"
    ],
    "equipment_roster": {
      "service": {
        "scope": "control",
        "record": {
          "id": "service",
          "kind": "utility",
          "sheet": 1,
          "terminals": [
            "L1"
          ]
        }
      },
      "SERVICE": {
        "scope": "ac",
        "record": {
          "id": "SERVICE",
          "number": 1,
          "kind": "branch",
          "r_pu": 0.002,
          "x_pu": 0.012,
          "rating_mva": 1,
          "tap": 1,
          "shift_deg": 0,
          "charging_pu": 0
        }
      },
      "TX": {
        "scope": "ac",
        "record": {
          "id": "TX",
          "number": 2,
          "kind": "branch",
          "r_pu": 0.008,
          "x_pu": 0.045,
          "rating_mva": 1,
          "tap": 1,
          "shift_deg": 0,
          "charging_pu": 0
        }
      },
      "IT-FEED": {
        "scope": "ac",
        "record": {
          "id": "IT-FEED",
          "number": 3,
          "kind": "branch",
          "r_pu": 0.015,
          "x_pu": 0.02,
          "rating_mva": 1,
          "tap": 1,
          "shift_deg": 0,
          "charging_pu": 0
        }
      },
      "COOLING-FEED": {
        "scope": "ac",
        "record": {
          "id": "COOLING-FEED",
          "number": 4,
          "kind": "branch",
          "r_pu": 0.025,
          "x_pu": 0.025,
          "rating_mva": 1,
          "tap": 1,
          "shift_deg": 0,
          "charging_pu": 0
        }
      }
    },
    "topology_restoration": {
      "source_bus_ids": [
        "B0"
      ],
      "end_hour": 1,
      "groups": {
        "IT": {
          "bus_id": "B3",
          "customers": 1
        },
        "Cooling": {
          "bus_id": "B4",
          "customers": 1
        }
      },
      "load_kw_by_group": {
        "IT": 320,
        "Cooling": 180
      },
      "snapshots": [
        {
          "at_hour": 0.25,
          "branch_states": {
            "IT-FEED": false
          }
        },
        {
          "at_hour": 0.375,
          "branch_states": {
            "SERVICE": false
          }
        },
        {
          "at_hour": 0.5,
          "branch_states": {
            "IT-FEED": true
          }
        },
        {
          "at_hour": 0.625,
          "branch_states": {
            "SERVICE": true
          }
        }
      ]
    }
  },
  "result": {
    "scope": "Offline source reachability and customer interruption accounting",
    "snapshots": [
      {
        "at_hour": 0,
        "unserved_groups": []
      },
      {
        "at_hour": 0.25,
        "unserved_groups": [
          "IT"
        ]
      },
      {
        "at_hour": 0.375,
        "unserved_groups": [
          "Cooling",
          "IT"
        ]
      },
      {
        "at_hour": 0.5,
        "unserved_groups": [
          "Cooling",
          "IT"
        ]
      },
      {
        "at_hour": 0.625,
        "unserved_groups": []
      }
    ],
    "derived_events": [
      [
        0.25,
        "IT",
        false
      ],
      [
        0.375,
        "Cooling",
        false
      ],
      [
        0.625,
        "Cooling",
        true
      ],
      [
        0.625,
        "IT",
        true
      ]
    ],
    "accounting": {
      "energy_not_served_kwh": 165.0,
      "unserved_load_intervals": [
        {
          "start_hour": 0.25,
          "end_hour": 0.375,
          "unserved_kw": 320.0
        },
        {
          "start_hour": 0.375,
          "end_hour": 0.625,
          "unserved_kw": 500.0
        }
      ],
      "hours_with_unserved_load": 0.375,
      "peak_unserved_load_kw": 500.0,
      "study": "Offline outage and restoration accounting",
      "restorations": [
        {
          "group": "Cooling",
          "at_hour": 0.625,
          "duration_hours": 0.25
        },
        {
          "group": "IT",
          "at_hour": 0.625,
          "duration_hours": 0.375
        }
      ],
      "active_interruptions_at_horizon": {},
      "customer_interruptions": 2,
      "peak_customers_without_service": 2,
      "customer_outage_timeline": [
        {
          "at_hour": 0.25,
          "customers_without_service": 1
        },
        {
          "at_hour": 0.375,
          "customers_without_service": 2
        },
        {
          "at_hour": 0.625,
          "customers_without_service": 0
        }
      ],
      "customers_without_service_at_horizon": 0,
      "customer_hours": 0.625,
      "by_group": {
        "IT": {
          "customer_interruptions": 1,
          "customer_hours": 0.375,
          "interruption_energy": [
            {
              "start_hour": 0.25,
              "end_hour": 0.625,
              "restored": true,
              "energy_not_served_kwh": 120.0
            }
          ],
          "energy_not_served_kwh": 120.0
        },
        "Cooling": {
          "customer_interruptions": 1,
          "customer_hours": 0.25,
          "interruption_energy": [
            {
              "start_hour": 0.375,
              "end_hour": 0.625,
              "restored": true,
              "energy_not_served_kwh": 45.0
            }
          ],
          "energy_not_served_kwh": 45.0
        }
      },
      "customers_affected": 2,
      "indices": {
        "saifi": 1.0,
        "saidi_hours": 0.3125,
        "caidi_hours": 0.3125
      }
    }
  },
  "independent_energy_kwh": {
    "IT": 120,
    "Cooling": 45
  }
}
