{
 "contract_version": 2,
 "facility": {
  "facility_id": "r1-03-0182",
  "level": "site",
  "parent_hub_id": null,
  "name": "Valero Refining Texas Lp \u2014 Texas City",
  "kind": "refinery",
  "operator_reg": null,
  "status": "accepted",
  "provenance": "yaml",
  "superseded_by": null
 },
 "geo": {
  "lat": 29.3838,
  "lon": -94.9027,
  "geo_precision": "site",
  "geo_source": "eia_refinery_layer",
  "county": null
 },
 "counts": {
  "n_lines": 31,
  "n_filers": 2,
  "n_counterparties": 1,
  "first_period": "2025-01",
  "last_period": "2026-05",
  "bbl_12m_in": 0.0,
  "bbl_12m_out": 56211979.0,
  "gross_12m_in": 0.0,
  "gross_12m_out": 56211979.0
 },
 "aliases": [
  {
   "registration": "03-0117",
   "filer_name": "ENTERPRISE CRUDE PIPELINE",
   "raw_facility": "Texas City",
   "alias_norm": "TEXAS CITY",
   "n_lines": 15,
   "barrels": 49029559.0,
   "first_period": "2025-01",
   "last_period": "2026-05",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-0129",
   "filer_name": "MAGELLAN PIPELINE",
   "raw_facility": "Texas City Refinery",
   "alias_norm": "TEXAS CITY REFINERY",
   "n_lines": 7,
   "barrels": 14452773.0,
   "first_period": "2025-01",
   "last_period": "2026-05",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-0129",
   "filer_name": "MAGELLAN PIPELINE",
   "raw_facility": "Texas City Refine",
   "alias_norm": "TEXAS CITY REFINERY",
   "n_lines": 6,
   "barrels": 12002516.0,
   "first_period": "2025-07",
   "last_period": "2026-02",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-0129",
   "filer_name": "MAGELLAN PIPELINE",
   "raw_facility": "Texas Cily Refine",
   "alias_norm": "TEXAS CILY REFINERY",
   "n_lines": 1,
   "barrels": 2481821.0,
   "first_period": "2025-08",
   "last_period": "2025-08",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-0117",
   "filer_name": "ENTERPRISE CRUDE PIPELINE",
   "raw_facility": "",
   "alias_norm": "",
   "n_lines": 1,
   "barrels": 2313721.0,
   "first_period": "2025-02",
   "last_period": "2025-02",
   "method": "r1_rule",
   "status": "accepted"
  },
  {
   "registration": "03-0117",
   "filer_name": "ENTERPRISE CRUDE PIPELINE",
   "raw_facility": "City",
   "alias_norm": "CITY",
   "n_lines": 1,
   "barrels": 644365.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": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3181875.0,
   "n_lines": 1
  },
  {
   "period": "2025-01",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2402160.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery Texas City",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2313721.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery Texas",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 644365.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2398764.0,
   "n_lines": 1
  },
  {
   "period": "2025-03",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2864659.0,
   "n_lines": 1
  },
  {
   "period": "2025-04",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2808723.0,
   "n_lines": 1
  },
  {
   "period": "2025-05",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2932431.0,
   "n_lines": 1
  },
  {
   "period": "2025-05",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2538770.0,
   "n_lines": 1
  },
  {
   "period": "2025-06",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2627308.0,
   "n_lines": 1
  },
  {
   "period": "2025-07",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3430384.0,
   "n_lines": 1
  },
  {
   "period": "2025-07",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2951025.0,
   "n_lines": 1
  },
  {
   "period": "2025-08",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3171878.0,
   "n_lines": 1
  },
  {
   "period": "2025-08",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2481821.0,
   "n_lines": 1
  },
  {
   "period": "2025-09",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2557294.0,
   "n_lines": 1
  },
  {
   "period": "2025-10",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3104877.0,
   "n_lines": 1
  },
  {
   "period": "2025-10",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2175461.0,
   "n_lines": 1
  },
  {
   "period": "2025-11",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4331852.0,
   "n_lines": 1
  },
  {
   "period": "2025-11",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1828539.0,
   "n_lines": 1
  },
  {
   "period": "2025-12",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4127800.0,
   "n_lines": 1
  },
  {
   "period": "2025-12",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1535740.0,
   "n_lines": 1
  },
  {
   "period": "2026-01",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2959417.0,
   "n_lines": 1
  },
  {
   "period": "2026-01",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1373616.0,
   "n_lines": 1
  },
  {
   "period": "2026-02",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2041194.0,
   "n_lines": 1
  },
  {
   "period": "2026-02",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 954457.0,
   "n_lines": 1
  },
  {
   "period": "2026-03",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3605643.0,
   "n_lines": 1
  },
  {
   "period": "2026-03",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1185784.0,
   "n_lines": 1
  },
  {
   "period": "2026-04",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3163754.0,
   "n_lines": 1
  },
  {
   "period": "2026-04",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 2686881.0,
   "n_lines": 1
  },
  {
   "period": "2026-05",
   "side": "D",
   "registration": "03-0117",
   "named_party": "Valero Refinery",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4677764.0,
   "n_lines": 1
  },
  {
   "period": "2026-05",
   "side": "D",
   "registration": "03-0129",
   "named_party": "Valero Refning",
   "id_key": "R1:03-0182",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 1866798.0,
   "n_lines": 1
  }
 ],
 "handoffs": [
  {
   "period": "2025-01",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5584035.0
  },
  {
   "period": "2025-02",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 3,
   "bbl": 5356850.0
  },
  {
   "period": "2025-03",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 2864659.0
  },
  {
   "period": "2025-04",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 2808723.0
  },
  {
   "period": "2025-05",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5471201.0
  },
  {
   "period": "2025-06",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 2627308.0
  },
  {
   "period": "2025-07",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6381409.0
  },
  {
   "period": "2025-08",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5653699.0
  },
  {
   "period": "2025-09",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 2557294.0
  },
  {
   "period": "2025-10",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5280338.0
  },
  {
   "period": "2025-11",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6160391.0
  },
  {
   "period": "2025-12",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5663540.0
  },
  {
   "period": "2026-01",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 4333033.0
  },
  {
   "period": "2026-02",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 2995651.0
  },
  {
   "period": "2026-03",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 4791427.0
  },
  {
   "period": "2026-04",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 5850635.0
  },
  {
   "period": "2026-05",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 2,
   "bbl": 6544562.0
  }
 ],
 "method_mix": [
  {
   "method": "r1_rule",
   "status": "accepted",
   "n_lines": 31,
   "bbl": 80924755.0,
   "pct_bbl": 100.0
  }
 ],
 "throughput": [
  {
   "period": "2025-01",
   "gross_in": 0.0,
   "gross_out": 5584035.0,
   "bbl_in": 0.0,
   "bbl_out": 5584035.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": 5356850.0,
   "bbl_in": 0.0,
   "bbl_out": 5356850.0,
   "n_in": 0.0,
   "n_out": 3.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-03",
   "gross_in": 0.0,
   "gross_out": 2864659.0,
   "bbl_in": 0.0,
   "bbl_out": 2864659.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": 2808723.0,
   "bbl_in": 0.0,
   "bbl_out": 2808723.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-05",
   "gross_in": 0.0,
   "gross_out": 5471201.0,
   "bbl_in": 0.0,
   "bbl_out": 5471201.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": 2627308.0,
   "bbl_in": 0.0,
   "bbl_out": 2627308.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-07",
   "gross_in": 0.0,
   "gross_out": 6381409.0,
   "bbl_in": 0.0,
   "bbl_out": 6381409.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": 5653699.0,
   "bbl_in": 0.0,
   "bbl_out": 5653699.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": 2557294.0,
   "bbl_in": 0.0,
   "bbl_out": 2557294.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": 5280338.0,
   "bbl_in": 0.0,
   "bbl_out": 5280338.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": 6160391.0,
   "bbl_in": 0.0,
   "bbl_out": 6160391.0,
   "n_in": 0.0,
   "n_out": 2.0,
   "filers_in": 0.0,
   "filers_out": 2.0
  },
  {
   "period": "2025-12",
   "gross_in": 0.0,
   "gross_out": 5663540.0,
   "bbl_in": 0.0,
   "bbl_out": 5663540.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": 4333033.0,
   "bbl_in": 0.0,
   "bbl_out": 4333033.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": 2995651.0,
   "bbl_in": 0.0,
   "bbl_out": 2995651.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": 4791427.0,
   "bbl_in": 0.0,
   "bbl_out": 4791427.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": 5850635.0,
   "bbl_in": 0.0,
   "bbl_out": 5850635.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": 6544562.0,
   "bbl_in": 0.0,
   "bbl_out": 6544562.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-0129",
   "period": "2025-01"
  },
  {
   "registration": "03-0129",
   "period": "2025-02"
  },
  {
   "registration": "03-0129",
   "period": "2025-05"
  },
  {
   "registration": "03-0129",
   "period": "2025-07"
  },
  {
   "registration": "03-0129",
   "period": "2025-08"
  },
  {
   "registration": "03-0129",
   "period": "2025-09"
  },
  {
   "registration": "03-0129",
   "period": "2025-10"
  },
  {
   "registration": "03-0129",
   "period": "2025-11"
  },
  {
   "registration": "03-0129",
   "period": "2025-12"
  },
  {
   "registration": "03-0129",
   "period": "2026-01"
  },
  {
   "registration": "03-0129",
   "period": "2026-02"
  },
  {
   "registration": "03-0129",
   "period": "2026-03"
  },
  {
   "registration": "03-0129",
   "period": "2026-04"
  },
  {
   "registration": "03-0129",
   "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": "VALERO REFINING CO TEXAS LP|TEXAS CITY",
   "company_name": "VALERO REFINING CO TEXAS LP",
   "site": "TEXAS CITY",
   "nameplate_bpcd": 225000,
   "relation": "primary"
  }
 ]
}
