{
 "contract_version": 2,
 "facility": {
  "facility_id": "r1-03-0228",
  "level": "site",
  "parent_hub_id": null,
  "name": "Phillips 66 \u2014 Sweeny",
  "kind": "refinery",
  "operator_reg": null,
  "status": "accepted",
  "provenance": "yaml",
  "superseded_by": null
 },
 "geo": {
  "lat": 29.0402,
  "lon": -95.6941,
  "geo_precision": "site",
  "geo_source": "eia_refinery_layer",
  "county": null
 },
 "counts": {
  "n_lines": 31,
  "n_filers": 2,
  "n_counterparties": 2,
  "first_period": "2025-01",
  "last_period": "2026-05",
  "bbl_12m_in": 0.0,
  "bbl_12m_out": 66324389.0,
  "gross_12m_in": 0.0,
  "gross_12m_out": 66324389.0
 },
 "aliases": [
  {
   "registration": "03-0117",
   "filer_name": "ENTERPRISE CRUDE PIPELINE",
   "raw_facility": "Sweeny",
   "alias_norm": "SWEENY",
   "n_lines": 15,
   "barrels": 76833920.0,
   "first_period": "2025-01",
   "last_period": "2026-05",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-1538",
   "filer_name": "ENBRIDGE HOLDINGS GRAY OAK",
   "raw_facility": "Central Junction to Sweeny Ref",
   "alias_norm": "CENTRAL JUNCTION TO SWEENY REFINERY",
   "n_lines": 10,
   "barrels": 15518845.0,
   "first_period": "2025-01",
   "last_period": "2026-05",
   "method": "r1_name",
   "status": "accepted"
  },
  {
   "registration": "03-1538",
   "filer_name": "ENBRIDGE HOLDINGS GRAY OAK",
   "raw_facility": "Central Junction to Sweeny Ref 20/12in",
   "alias_norm": "CENTRAL JUNCTION TO SWEENY REFINERY 20 12IN",
   "n_lines": 3,
   "barrels": 5594630.0,
   "first_period": "2025-05",
   "last_period": "2026-03",
   "method": "r1_name",
   "status": "accepted"
  },
  {
   "registration": "03-1538",
   "filer_name": "ENBRIDGE HOLDINGS GRAY OAK",
   "raw_facility": "unction to Sweeny Ref",
   "alias_norm": "UNCTION TO SWEENY REFINERY",
   "n_lines": 1,
   "barrels": 2637593.0,
   "first_period": "2025-06",
   "last_period": "2025-06",
   "method": "r1_name",
   "status": "accepted"
  },
  {
   "registration": "03-1538",
   "filer_name": "ENBRIDGE HOLDINGS GRAY OAK",
   "raw_facility": "Central unction to Sweeny Ref",
   "alias_norm": "CENTRAL UNCTION TO SWEENY REFINERY",
   "n_lines": 1,
   "barrels": 1929801.0,
   "first_period": "2025-07",
   "last_period": "2025-07",
   "method": "r1_name",
   "status": "accepted"
  },
  {
   "registration": "03-0117",
   "filer_name": "ENTERPRISE CRUDE PIPELINE",
   "raw_facility": "",
   "alias_norm": "",
   "n_lines": 1,
   "barrels": 300260.0,
   "first_period": "2025-02",
   "last_period": "2025-02",
   "method": "r1_rule",
   "status": "accepted"
  }
 ],
 "monthly": [
  {
   "period": "2025-01",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1593207.0,
   "n_lines": 1
  },
  {
   "period": "2025-01",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2849276.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company Sweeny",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 300260.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Compan",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2380379.0,
   "n_lines": 1
  },
  {
   "period": "2025-03",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4785403.0,
   "n_lines": 1
  },
  {
   "period": "2025-04",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5834805.0,
   "n_lines": 1
  },
  {
   "period": "2025-04",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Compan",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2417435.0,
   "n_lines": 1
  },
  {
   "period": "2025-05",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5377171.0,
   "n_lines": 1
  },
  {
   "period": "2025-05",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2770221.0,
   "n_lines": 1
  },
  {
   "period": "2025-06",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5544910.0,
   "n_lines": 1
  },
  {
   "period": "2025-06",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company Central",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2637593.0,
   "n_lines": 1
  },
  {
   "period": "2025-07",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5750142.0,
   "n_lines": 1
  },
  {
   "period": "2025-07",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1929801.0,
   "n_lines": 1
  },
  {
   "period": "2025-08",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5516788.0,
   "n_lines": 1
  },
  {
   "period": "2025-08",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1510170.0,
   "n_lines": 1
  },
  {
   "period": "2025-09",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1571570.0,
   "n_lines": 1
  },
  {
   "period": "2025-10",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4925245.0,
   "n_lines": 1
  },
  {
   "period": "2025-10",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1426354.0,
   "n_lines": 1
  },
  {
   "period": "2025-11",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3542000.0,
   "n_lines": 1
  },
  {
   "period": "2025-12",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 6073405.0,
   "n_lines": 1
  },
  {
   "period": "2025-12",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Compan",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1339030.0,
   "n_lines": 1
  },
  {
   "period": "2026-01",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 6020100.0,
   "n_lines": 1
  },
  {
   "period": "2026-01",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Compan",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 960069.0,
   "n_lines": 1
  },
  {
   "period": "2026-02",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4392662.0,
   "n_lines": 1
  },
  {
   "period": "2026-02",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Compan",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 928472.0,
   "n_lines": 1
  },
  {
   "period": "2026-03",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 6232621.0,
   "n_lines": 1
  },
  {
   "period": "2026-03",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1314239.0,
   "n_lines": 1
  },
  {
   "period": "2026-04",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5763692.0,
   "n_lines": 1
  },
  {
   "period": "2026-04",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1160666.0,
   "n_lines": 1
  },
  {
   "period": "2026-05",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Phillips 66 Company",
   "id_key": "R1:03-0228",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 5481769.0,
   "n_lines": 1
  },
  {
   "period": "2026-05",
   "side": "D",
   "registration": "03-1538",
   "named_party": "Phillips 66 Company",
   "id_key": "T1:10-1026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 485594.0,
   "n_lines": 1
  }
 ],
 "handoffs": [
  {
   "period": "2025-01",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 4442483.0
  },
  {
   "period": "2025-02",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 2680639.0
  },
  {
   "period": "2025-03",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4785403.0
  },
  {
   "period": "2025-04",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 8252240.0
  },
  {
   "period": "2025-05",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 8147392.0
  },
  {
   "period": "2025-06",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 8182503.0
  },
  {
   "period": "2025-07",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 7679943.0
  },
  {
   "period": "2025-08",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 7026958.0
  },
  {
   "period": "2025-09",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 1571570.0
  },
  {
   "period": "2025-10",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6351599.0
  },
  {
   "period": "2025-11",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 3542000.0
  },
  {
   "period": "2025-12",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 7412435.0
  },
  {
   "period": "2026-01",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6980169.0
  },
  {
   "period": "2026-02",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5321134.0
  },
  {
   "period": "2026-03",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 7546860.0
  },
  {
   "period": "2026-04",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6924358.0
  },
  {
   "period": "2026-05",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5967363.0
  }
 ],
 "method_mix": [
  {
   "method": "r1_rule",
   "status": "accepted",
   "n_lines": 16,
   "bbl": 77134180.0,
   "pct_bbl": 75.0223
  },
  {
   "method": "r1_name",
   "status": "accepted",
   "n_lines": 15,
   "bbl": 25680869.0,
   "pct_bbl": 24.9777
  }
 ],
 "throughput": [
  {
   "period": "2025-01",
   "gross_in": 0.0,
   "gross_out": 4442483.0,
   "bbl_in": 0.0,
   "bbl_out": 4442483.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-02",
   "gross_in": 0.0,
   "gross_out": 2680639.0,
   "bbl_in": 0.0,
   "bbl_out": 2680639.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-03",
   "gross_in": 0.0,
   "gross_out": 4785403.0,
   "bbl_in": 0.0,
   "bbl_out": 4785403.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-04",
   "gross_in": 0.0,
   "gross_out": 8252240.0,
   "bbl_in": 0.0,
   "bbl_out": 8252240.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-05",
   "gross_in": 0.0,
   "gross_out": 8147392.0,
   "bbl_in": 0.0,
   "bbl_out": 8147392.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-06",
   "gross_in": 0.0,
   "gross_out": 8182503.0,
   "bbl_in": 0.0,
   "bbl_out": 8182503.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-07",
   "gross_in": 0.0,
   "gross_out": 7679943.0,
   "bbl_in": 0.0,
   "bbl_out": 7679943.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-08",
   "gross_in": 0.0,
   "gross_out": 7026958.0,
   "bbl_in": 0.0,
   "bbl_out": 7026958.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-09",
   "gross_in": 0.0,
   "gross_out": 1571570.0,
   "bbl_in": 0.0,
   "bbl_out": 1571570.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-10",
   "gross_in": 0.0,
   "gross_out": 6351599.0,
   "bbl_in": 0.0,
   "bbl_out": 6351599.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-11",
   "gross_in": 0.0,
   "gross_out": 3542000.0,
   "bbl_in": 0.0,
   "bbl_out": 3542000.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-12",
   "gross_in": 0.0,
   "gross_out": 7412435.0,
   "bbl_in": 0.0,
   "bbl_out": 7412435.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2026-01",
   "gross_in": 0.0,
   "gross_out": 6980169.0,
   "bbl_in": 0.0,
   "bbl_out": 6980169.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2026-02",
   "gross_in": 0.0,
   "gross_out": 5321134.0,
   "bbl_in": 0.0,
   "bbl_out": 5321134.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2026-03",
   "gross_in": 0.0,
   "gross_out": 7546860.0,
   "bbl_in": 0.0,
   "bbl_out": 7546860.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2026-04",
   "gross_in": 0.0,
   "gross_out": 6924358.0,
   "bbl_in": 0.0,
   "bbl_out": 6924358.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2026-05",
   "gross_in": 0.0,
   "gross_out": 5967363.0,
   "bbl_in": 0.0,
   "bbl_out": 5967363.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  }
 ],
 "throughput_rule": "gross_* is every line as filed. bbl_* counts a matched handoff once, from the delivering side, with the filer's own and its parent group's transfers left out -- the figure to sum across facilities",
 "source_filings": [
  {
   "registration": "03-0117",
   "period": "2025-01"
  },
  {
   "registration": "03-0117",
   "period": "2025-02"
  },
  {
   "registration": "03-0117",
   "period": "2025-03"
  },
  {
   "registration": "03-0117",
   "period": "2025-04"
  },
  {
   "registration": "03-0117",
   "period": "2025-05"
  },
  {
   "registration": "03-0117",
   "period": "2025-06"
  },
  {
   "registration": "03-0117",
   "period": "2025-07"
  },
  {
   "registration": "03-0117",
   "period": "2025-08"
  },
  {
   "registration": "03-0117",
   "period": "2025-10"
  },
  {
   "registration": "03-0117",
   "period": "2025-11"
  },
  {
   "registration": "03-0117",
   "period": "2025-12"
  },
  {
   "registration": "03-0117",
   "period": "2026-01"
  },
  {
   "registration": "03-0117",
   "period": "2026-02"
  },
  {
   "registration": "03-0117",
   "period": "2026-03"
  },
  {
   "registration": "03-0117",
   "period": "2026-04"
  },
  {
   "registration": "03-0117",
   "period": "2026-05"
  },
  {
   "registration": "03-1538",
   "period": "2025-01"
  },
  {
   "registration": "03-1538",
   "period": "2025-02"
  },
  {
   "registration": "03-1538",
   "period": "2025-04"
  },
  {
   "registration": "03-1538",
   "period": "2025-05"
  },
  {
   "registration": "03-1538",
   "period": "2025-06"
  },
  {
   "registration": "03-1538",
   "period": "2025-07"
  },
  {
   "registration": "03-1538",
   "period": "2025-08"
  },
  {
   "registration": "03-1538",
   "period": "2025-09"
  },
  {
   "registration": "03-1538",
   "period": "2025-10"
  },
  {
   "registration": "03-1538",
   "period": "2025-12"
  },
  {
   "registration": "03-1538",
   "period": "2026-01"
  },
  {
   "registration": "03-1538",
   "period": "2026-02"
  },
  {
   "registration": "03-1538",
   "period": "2026-03"
  },
  {
   "registration": "03-1538",
   "period": "2026-04"
  },
  {
   "registration": "03-1538",
   "period": "2026-05"
  }
 ],
 "cannot": [
  {
   "field": "a throughput from any one filer's lines",
   "why": "a handoff between two held filers is on both returns. `throughput` counts it once, from the delivering side, and leaves self and intra-group lines out; `monthly` keeps every line as filed, so summing it states the same barrel twice",
   "unblocked_by": "nothing \u2014 it is what the form asks two companies to do"
  },
  {
   "field": "a coordinate for a facility with no accepted override",
   "why": "the geocoder writes proposals (t1_geo_proposal) and nothing else; a pin is an inference and only a human moves one into config/t1_facilities.yaml geo_overrides (DECISIONS.md 2.19)",
   "unblocked_by": "an accepted geo_override naming its source"
  },
  {
   "field": "a facility for an unresolved string",
   "why": "a raw facility string never becomes a node on its own; it reaches one only through the alias table or a valid R-1 id. Unresolved lines are in t1_facility_review, not here",
   "unblocked_by": "an alias in config/t1_facilities.yaml"
  },
  {
   "field": "a barrel's route inside a system",
   "why": "the T-1 loses routing inside a filer's system; tracing would be proportional mixing labelled as observation (spec \u00a710.6)",
   "unblocked_by": "nothing in this family"
  }
 ],
 "eia": [
  {
   "key": "PHILLIPS 66 COMPANY|SWEENY",
   "company_name": "PHILLIPS 66 COMPANY",
   "site": "SWEENY",
   "nameplate_bpcd": 277000,
   "relation": "primary"
  }
 ]
}
