6. GridPath Data Toolkit

The GridPath Data Toolkit creates GridPath scenario inputs from raw data. It downloads public datasets — generator, balancing-authority, and hourly-operations data published via PUDL and by the EIA — loads them into a raw data database, and processes them into GridPath CSV input files: a project portfolio with capacities, operating characteristics, fuels, and availability, plus load zones, fuel prices, and a transmission topology, for a user-selected geographic footprint, study year, and level of aggregation. Users may also provide their own raw data and use the Toolkit to convert it to the GridPath CSV input format for use in building a GridPath scenario database. See The Data Toolkit Workflow for the end-to-end workflow.

The steps that generate stochastic, resource-adequacy-style inputs — temporal scenarios from weather draws, synchronous or Monte Carlo load, variable generation, and generator weather-derate profiles, hydro conditions, and thermal-outage availability iterations — are part of the GridPath RA Toolkit package and are documented on the GridPath RA Toolkit page. They run from the RA Toolkit’s own gridpath_run_ra_toolkit command and settings CSV, against the RA Toolkit’s own raw data database.

6.1. The Data Toolkit Workflow

Turning raw public data into GridPath scenario inputs is a sequence of steps in three phases:

  1. Obtain the raw data with the standalone download and convert commands: gridpath_get_pudl_data (and optionally gridpath_get_eia930a_data) downloads the source datasets, and gridpath_pudl_to_gridpath_raw converts them to the GridPath raw CSV format, selecting the data vintages to use.

  2. Build the raw data database: create it from the Data Toolkit’s schema, load the raw CSVs (plus your user_defined_* mapping CSVs) with the load_raw_data step, and patch the balancing-authority map (patch_eia_baa_codes, and apply_custom_zones if you define your own zones).

  3. Generate the GridPath input CSVs: decide the study scope, fleet, and aggregation settings, list the input-generating steps with those settings in a settings CSV, and run it with gridpath_run_data_toolkit. The resulting CSVs are then ported into a GridPath scenario database like any other GridPath CSV inputs (see Building the Database).

The steps of phases 2 and 3 can all run from the same settings CSV in one gridpath_run_data_toolkit invocation — steps run in the order they first appear in the file — or one at a time with its --single_step argument. The subsections below walk through the workflow in order; the sections after them are the reference documentation for the individual steps.

Note that the Data Toolkit generates a subset of the inputs a GridPath scenario needs — most notably, temporal scenarios and load profiles are not derived from these datasets and must come from elsewhere (provided directly by the user, or generated with the GridPath RA Toolkit).

6.1.1. Download the Raw Data

gridpath_get_pudl_data downloads the PUDL-published tables the Toolkit uses (EIA860/EIA860M generators, the EIA balancing-authority map, EIA930 hourly operations data, EIA AEO fuel price projections, and several data-quality reconciliation tables) as per-table Parquet files from a versioned PUDL release. gridpath_get_eia930a_data additionally downloads EIA’s annual generator-to-balancing-authority inventory (the EIA-930A workbook), which the project steps use by default to place each generator in the BA that actually operates it. See open_data_toolkit.raw_data.pudl.download_data_from_pudl and open_data_toolkit.raw_data.eia930a below for the details, including the data_metadata.csv trail each run leaves in its output directory.

6.1.2. Convert the Raw Data to GridPath CSVs

gridpath_pudl_to_gridpath_raw queries the downloaded Parquet files into the GridPath raw data CSVs. This step selects data vintages only — most importantly the EIA860 report date (eia860_report_date, defaulting to the latest available — normally PUDL’s reconstruction of the in-progress report year from EIA860M rather than an as-filed annual survey) — and deliberately does no other filtering: choices about operational status, region, and so on happen downstream in the input-generating steps, so the raw database holds the data as published. See open_data_toolkit.raw_data.pudl.pudl_to_gridpath_raw_data below for the vintage-selection details and the resulting files.

Note that the download and convert commands ask for confirmation before overwriting existing outputs — for headless runs, make sure the output files are absent.

6.1.3. Create and Load the Raw Data Database

Create the raw data database from the Data Toolkit’s own schema (a separate database from any GridPath scenario database):

>>> gridpath_run_data_toolkit --single_step create_database --database PATH/TO/RAW/DB --db_schema PATH/TO/GRIDPATH/open_data_toolkit/raw_data_db_schema.sql --omit_data

Then load the raw CSVs with the load_raw_data step (see open_data_toolkit.load_raw_data below), which reads a files_to_import.csv manifest mapping each CSV to its database table. Besides the converted PUDL/EIA files, the manifest is also how you load the user_defined_* mapping tables — the tables that encode your study’s interpretation of the raw data, which you provide as CSVs:

  • user_defined_eia_gridpath_key — maps each EIA prime mover/energy source combination to a GridPath operational type, capacity type, and technology, and optionally to an aggregate-project name (see the aggregation settings below); a unit whose combination has no row here is not included in the fleet;

  • user_defined_project_fuel_region_key and user_defined_eiaaeo_region_key — assign projects to fuel regions and fuel regions to EIA AEO fuel-price regions (the two vocabularies must match for the generated fuels to get prices);

  • user_defined_heat_rate_curve and user_defined_generic_fuel_intensities — heat-rate curve shapes and fuel carbon intensities;

  • user_defined_baa_overrides — optional manual generator-to-BA assignment overrides, taking precedence over both EIA-930A and EIA-860 (empty by default);

  • user_defined_unit_overrides — optional per-unit manual overrides for the project steps: force a unit into or out of the fleet, carve a plant into its own aggregate project, or override its load zone (empty by default; see open_data_toolkit.project.fleet.unit_overrides).

Warning

Loads append. Re-running load_raw_data for a file that is already loaded duplicates its rows, and loading a second EIA860 vintage duplicates every generator (no downstream step filters on the report date — aggregated capacities would silently double). Load each file once into a given database; to start over, recreate the database.

Right after loading, patch the balancing-authority map with the patch_eia_baa_codes step: it fills documented gaps in the source BA map that would otherwise silently drop real generators and interchange links from zone-filtered outputs (see open_data_toolkit.raw_data.patch_eia_baa_codes below; reruns are no-ops). If you plan to use your own load-zone definitions (the custom load-zone level below), also run the apply_custom_zones step (open_data_toolkit.raw_data.apply_custom_zones) to record your BA-to-zone mapping in the map. Both must run before any of the zone-consuming input-generating steps.

6.1.4. Choose the Study Scope, Fleet, and Aggregation

The input-generating steps share a set of settings that together decide what gets modeled. They apply, in order:

  1. Where (geographic scope) — footprint filters the raw data to the balancing authorities in the study footprint: an EIA930 region, an interconnect (the default is western), or all (no filter). Run gridpath_list_footprint_options to see the accepted values (see open_data_toolkit.list_footprint_options below). load_zone_level then sets the model’s spatial resolution within that footprint: one load zone per balancing authority (baa, the default), per EIA930 region (region), per interconnect (interconnect), per user-defined zone (custom, see apply_custom_zones above), or a single zone for the whole footprint (all). Projects, system load zones, and the transmission topology (one line per zone pair, built from the observed interchange) all follow this setting. ba_source selects which dataset places each generator in its BA — the EIA-930A operational inventory (the default, if loaded) or the EIA-860 survey-reported assignment.

  2. What (fleet selection) — study_year anchors the fleet: units operating and not retiring before the study year, plus not-yet-operational units expected online by it — minus units with a filed PLANNED retirement date before the study year’s end. The planned_inclusion, inactive_inclusion, include_retired, include_planned_retirements, exclude_commercial_industrial_sectors, include_net_metered, and require_plant_in_eia860_vintage settings widen or narrow this default window (how speculative a planned unit to admit; whether to count standby/out-of-service units, retired units, units planning to retire, net-metered units — excluded by default, since their output is by definition netted out of EIA-930-derived demand — the commercial/industrial “behind-the-meter” sectors, kept by default with a blanket opt-in exclusion — and optionally only plants present in a pinned EIA-860 annual vintage, for reproducing external fleet lists gated on a specific filing). The full narrative of these settings is in the portfolio step's documentation below.

  3. As what (aggregation) — by default every generator is its own GridPath project, named <plant_id_eia>__<generator_id>. The project_aggregation setting instead groups units into aggregate projects at the technology-load-zone level — for every technology (all) or only for technologies given an agg_project name in user_defined_eia_gridpath_key (agg_project_keyed, e.g. aggregate wind/solar/hydro and keep thermal units individual). The aggregation_dimensions setting splits aggregates finer by named unit characteristics (EIA technology description, vintage decade, storage duration, operational status, hybrid pairing), and the aggregation_level setting aggregates at a finer geographic level than the load zones (e.g. per-BA projects assigned to custom zones) — again see the portfolio step’s documentation for details. The hybrid dimension is special: it splits out the components of hybrid plants (e.g. Solar_Hybrid_CISO and Batteries_Hybrid_CISO next to the standalone Solar_CISO / Batteries_CISO), pairing a battery with a co-located solar/wind unit — or with the specific generators its EIA-860 energy-storage supplement filing says it directly supports, which can cross plant IDs — when BOTH components are in the study fleet; batteries the supplement flags as independent never pair. The supplement rides the standard download/convert/load chain into raw_data_eia860_energy_storage (annual-form-only, so pinned to an annual vintage like the solar table); with an empty table, pairing degrades to plant co-location only and the steps warn loudly. The hybrid_treatment setting decides whether paired components are COUPLED: the default keeps them independent, while power_output_group caps each hybrid’s combined output at its shared interconnection limit — the eia860_to_project_power_output_group_input_csvs step generates the group CSVs (EIA-860 collects no interconnection capacity, so the limit is a documented default with an override path) and the opchar step flips paired variable components to the curtailable gen_var.

Individual units can be pinned past all three stages with the optional user_defined_unit_overrides table — force a unit into or out of the fleet, carve a plant into its own aggregate project, or override its load zone (see open_data_toolkit.project.fleet.unit_overrides).

Because these settings decide which units become which projects, every project-level step must run with the SAME values — a portfolio aggregated one way and capacities another do not describe the same fleet, and nothing downstream reconciles them. All the project steps declare these settings through one shared helper, so their names, defaults, and meanings are identical wherever they appear, and gridpath_run_data_toolkit cross-checks that the values in the settings CSV agree (its --check_settings_consistency argument: warn by default, error, or off for a settings file that deliberately mixes, e.g. to build alternative subscenarios).

To see exactly what a given combination of settings selects before (or after) generating inputs, run the fleet_audit step with the same settings: it reports, unit by unit, each stage’s decision — resolved BA and load zone, each filter passed or failed, final project name — plus a units-and-MW waterfall of what each stage excluded (see open_data_toolkit.project.fleet.fleet_audit below). The audit also reports each in-fleet unit’s hybrid pairing (direct_support / co_located / empty) and each battery’s supplement coupling flags (storage_coupling: AC-coupled, DC-coupled, tightly DC-coupled, or independent) — the evidence base for how a study should treat hybrids.

6.1.5. Generate the GridPath Input CSVs

List the steps to run, with their settings, in a settings CSV with columns script, setting, value, script_true_false_arg, reverse_default_behavior — one row per setting, grouped by step; steps run in the order they first appear. Regular rows are passed to the step as --<setting> <value>. For a boolean flag, set script_true_false_arg to 1 and leave value empty: the bare --<setting> flag is passed if reverse_default_behavior is 1 and omitted if 0. For example:

script,setting,value,script_true_false_arg,reverse_default_behavior
create_database,database,./open_data_raw.db,,
create_database,db_schema,PATH/TO/GRIDPATH/open_data_toolkit/raw_data_db_schema.sql,,
create_database,omit_data,,1,1
load_raw_data,csv_location,./raw_data,,
load_raw_data,database,./open_data_raw.db,,
patch_eia_baa_codes,database,./open_data_raw.db,,
eia930_load_zone_input_csvs,database,./open_data_raw.db,,
eia930_load_zone_input_csvs,footprint,western,,
eia930_load_zone_input_csvs,load_zone_level,baa,,
...
eia860_to_project_portfolio_input_csvs,database,./open_data_raw.db,,
eia860_to_project_portfolio_input_csvs,study_year,2026,,
eia860_to_project_portfolio_input_csvs,footprint,western,,
eia860_to_project_portfolio_input_csvs,load_zone_level,baa,,
eia860_to_project_portfolio_input_csvs,project_aggregation,agg_project_keyed,,
eia860_to_project_portfolio_input_csvs,aggregation_dimensions,"technology_description,vintage_decade",,
eia860_to_project_portfolio_input_csvs,output_directory,./csvs_open_data/project/portfolios,,
...

Then:

>>> gridpath_run_data_toolkit --settings_csv PATH/TO/SETTINGS/CSV

The available steps (the script vocabulary, also the --single_step choices in the --help menu) are documented in the sections below. The database-building steps must come first, in the order given in the previous subsections; the input-generating steps are then independent of each other, except that manual_adjustments — the post-processing step that patches gaps in the generated CSVs (see open_data_toolkit.project.manual_adjustments below) — must run LAST.

Note

Steps parse only the settings they know and silently ignore the rest, so a typo’d setting name does not error — the step’s default quietly applies instead. This is what the orchestrator’s settings-consistency check (see the previous subsection) exists to catch for the settings that must agree across steps; spot-check any other setting you are not sure took effect (each step’s accepted settings are listed in its documentation below and in the corresponding command’s --help menu).

Each step writes standard GridPath subscenario input CSVs — named <subscenario_id>_<subscenario_name>.csv per its *_scenario_id and *_scenario_name settings — into its output_directory.

6.1.6. Build the GridPath Database

The generated CSVs are ordinary GridPath CSV inputs: point the database-building utilities at the directory layout the steps wrote (registered in a csv_structure.csv file) to load them into a GridPath scenario database, define scenarios, and run them. See Building the Database for that part of the process.

6.2. Obtaining Raw Data

6.2.1. PUDL

The Public Utility Data Liberation (PUDL) project collates publicly available data from a range of sources, and puts the data into a single database after cleaning, standardizing, and cross-linking the various datasets.

Download Datasets

To download data from PUDL, use the gridpath_get_pudl_data command. This will download the individual Parquet files for the PUDL tables GridPath uses — the EIA860 generator and plant tables plus the static generator entity table (per-generator attributes that don’t change year to year, e.g. the operating date), the EIA860M generator changelog (monthly updates, several months fresher than the annual EIA860 data), the EIA balancing-authority code table (the BA → region/interconnect map), the EIA AEO fuel price projections, the EIA930 hourly interchange data, the EIA930 hourly net generation by BA and energy source, the EIA930 hourly operations table (each BA’s net generation, interchange and demand), and the EIA923 monthly plant-level generation actuals (the last three support BA-level data-quality reconciliation), and the FERC-714 hourly planning-area demand with its annual respondent summary (an independent, FERC-jurisdictional record of each planning area’s load, for cross-checking the EIA930 demand data) — from a versioned PUDL data release on the PUDL AWS Open Data Registry endpoint (PUDL releases are also archived on Zenodo under concept DOI 10.5281/zenodo.3653158, but individual Parquet files are only available via the AWS endpoint). The full pudl.sqlite database is not needed by the GridPath Data Toolkit; if you also want a local copy for ad hoc exploration of other PUDL tables, pass –include_pudl_sqlite (a multi-GB download). See –help menu for options and defaults, e.g., download location, the PUDL release version, skipping datasets, etc.

Each successful download is recorded in a data_metadata.csv file in the download directory (timestamp, PUDL release version, source URL, GridPath version), along with the arguments each run was given. If a run leaves the directory holding files downloaded from more than one PUDL release (e.g., only some files were re-downloaded after a new release came out), a warning is printed and recorded in the metadata trail.

Convert to GridPath Raw Format

GridPath can currenlty utilize a subset of the downloaded PUDL data, including:

  • Form EIA-860: generator-level specific information about existing and planned generators

  • Form EIA-930: hourly operating data about the high-voltage bulk electric power grid in the Lower 48 states collected from the electricity balancing authorities (BAs) that operate the grid

  • EIA AEO Table 54 (Electric Power Projections by Electricity Market Module Region): fuel price forecasts

First, the data must be converted to the GridPath raw data CSV format. For the purpose, use the gridpath_pudl_to_gridpath_raw command.

This will query and process the per-table Parquet files downloaded in the previous step in order to create the following files in the user-specified raw data directory.

  • pudl_eia860_generators.csv

  • pudl_eia860_energy_storage.csv

  • pudl_eia860_plant_vintages.csv

  • pudl_eia860_solar.csv

  • pudl_eia860m_generators.csv

  • pudl_eia923_plant_fuel_generation.csv

  • pudl_eia930_hourly_interchange.csv

  • pudl_eia930_net_generation_by_fuel.csv

  • pudl_eia930_operations.csv

  • pudl_eia_baa_codes.csv

  • pudl_eiaaeo_fuel_prices.csv

Note the difference in how the two generator files handle data vintages. EIA860 is the full annual survey: one authoritative snapshot of the fleet per report year, so pudl_eia860_generators.csv is filtered to a single vintage here, via the eia860_report_date setting. Know which KIND of vintage you are selecting: report dates for completed years are actual annual filings (data_maturity = 'final'), while the LATEST report date — the default — is PUDL’s RECONSTRUCTION of the in-progress report year from EIA860M (data_maturity = 'monthly_update'): the fleet as EIA’s current monthly publication has it, relabeled to Jan 1 of the report year. Its January label is a year marker, not an information cutoff — the data is as fresh as the last EIA860M month PUDL ingested (verified Aug 2026: the monthly_update vintage matched EIA’s then-current 860M publication exactly, unit for unit), but the annual-form-only columns are NULL there, since no annual form has been filed yet.

EIA860M itself is EIA860’s monthly supplement — a lighter form tracking status changes between annual filings (new units entering service, retirements, slipped planned dates), which PUDL publishes as a changelog: one row per generator per change, valid from report_date until valid_until_date. Its dates are FILING dates: a snapshot reconstructed “as of” a report date is the fleet as EIA had PUBLISHED it by that month, not the fleet physically operating on that date — units come online one to a few months before the filing that first reports them (the event date is the separate generator_operating_date column). By default pudl_eia860m_generators.csv holds each generator’s LATEST changelog entry — the latest available fleet snapshot, matching the default of the downstream eia860m_as_of_date setting (the latest report date in the data). With the eia860m_full_changelog setting, the full changelog is kept instead, and downstream Data Toolkit steps can then reconstruct the fleet as of any month via eia860m_as_of_date — e.g., set it to the report_date column written here to align EIA860M-based inputs with the typically older EIA860 vintage (with the default latest-only data, earlier as-of dates would instead silently drop any generator whose last change came after them). Either way, keep the valid_until_date column intact: the downstream as-of filter uses it to exclude generators that VANISHED from EIA’s monthly files without ever filing a retirement (their last row says operating forever; 330 units / 6.5 GW nationally as of Aug 2026, some of them plant-ID remaps whose capacity would otherwise be double counted). The two forms’ status-code vocabularies differ: the annual form collapses under-construction statuses into ‘CO’, while EIA860M reports the granular ‘U’/’V’/’TS’ codes.

Besides the identifiers, status, capacity, and date columns the downstream steps filter on, the generator CSVs carry generator-type columns usable as aggregation dimensions (EIA’s technology_description, PUDL’s simplified fuel_type_code_pudl, multi-fuel capability flags, carbon capture, sector/cogen identification, ownership, and — via PUDL’s static generator entity table — the generator operating date and CHP flag). Columns only reported on the full annual EIA860 form are NULL when the selected report date is a monthly_update vintage (the latest rows, which are EIA860M-derived). The eia860_annual_detail_report_date setting fills that gap without giving up freshness: the fleet stays at the selected (latest) vintage while those columns are backfilled per generator from a pinned as-filed vintage, leaving NULLs only for generators too new to appear in it. The resulting CSV therefore mixes vintages — its report_date column is the fleet’s, and the metadata trail records the detail vintage.

pudl_eia860_solar.csv (the per-generator net-metering flags, from the EIA860 solar supplement) is likewise an annual-form-only dataset with no monthly_update vintage: the eia860_solar_report_date setting defaults to the latest (most recent annual) vintage, typically one report year behind a monthly_update fleet, and solar units newer than it are simply absent — see get_eia860_solar_data_from_pudl_parquet. pudl_eia860_energy_storage.csv (the per-battery direct-support links, coupling flags, and charge/discharge ratings from the EIA860 energy-storage supplement, the basis of the project steps’ hybrid pairing) works the same way via eia860_energy_storage_report_date — see get_eia860_energy_storage_data_from_pudl_parquet. pudl_eia860_plant_vintages.csv is the one exception to single-vintage selection: a (report_date, plant) index over EVERY EIA860 vintage (the vintage is the data dimension), so the project steps’ optional require_plant_in_eia860_vintage fleet filter can pin any annual filing — see get_eia860_plant_vintages_from_pudl_parquet.

This step selects data VINTAGES only (the EIA860 report date, defaulting to the latest available, the EIA860M latest-entries default vs the full changelog, and the EIA923 start year); any further filtering — operational status (e.g. retired units), region, etc. — deliberately happens downstream in the to-input-csvs Data Toolkit steps (e.g. their include_retired setting), so the raw database holds the data as published by PUDL. The one transformation beyond vintage selection: the EIA930 hourly net generation by energy source is aggregated to MONTHLY totals per BA and energy source here (BA-level reconciliation works with monthly/annual totals, and the hourly rows would make the raw CSV unmanageably large). For options, including the download and raw data directories, see the –help menu.

The settings used to create each file — including resolved defaults such as the EIA860 report date actually used — are recorded in a data_metadata.csv file in the raw data directory, along with the arguments the run was given and a copy of the download metadata of the PUDL files the run started from, so the full chain of how the raw data was obtained travels with the data.

6.2.2. EIA-930A

Download the EIA-930A Annual Balancing Authority Generator Inventory Report and convert it to the GridPath raw data CSV format with the gridpath_get_eia930a_data command.

EIA-930A is the authoritative plant/generator → operational-BA crosswalk: it collects, from each balancing authority, the inventory of generators the BA actually operates, reconciling the EIA-860 survey-reported BA assignments with the EIA-930 operational boundaries. EIA publishes it annually as an Excel workbook on the Hourly Electric Grid Monitor’s About page (EIA_930A_<year>_with layout.xlsx), with the submissions matched to EIA-860 Plant and Generator IDs where possible. It is not (as of July 2026) available via PUDL or the EIA API.

The workbook’s three data schedules are combined into one eia930a_generators.csv (loads into raw_data_eia930a_generators):

  • Schedule 2 — operating generators;

  • Schedule 3 — planned generators;

  • Schedule 4 — generators with a pseudo-tie or dynamic-scheduling relationship to other BAs (see the reported_on_schedule_2 and pseudo_tie_bas columns).

Generators the BA reported that could not be matched to EIA-860 IDs keep their BA-reported IDs in the *_eia930a columns instead.

Note

Reading the workbook uses duckdb’s excel extension, which duckdb downloads automatically on first use.

Usage

>>> gridpath_get_eia930a_data --download_directory PATH/TO/DOWNLOAD --raw_data_directory PATH/TO/RAW/DATA/CSVS

Settings

  • download_directory

  • raw_data_directory

  • data_year

6.3. Setting Up the Raw Data Database

6.3.1. Loading Raw Data

Load data into the GridPath raw data database. See the documentation of each GridPath Data Toolkit module for data prerequisites. Use the files_to_import.csv file to tell GridPath which CSV files should be loaded into which database table.

What this step does

This module is a generic bulk loader for raw CSV data into the GridPath database. It reads a file named files_to_import.csv located in the directory given by --csv_location. Each row of that file describes one CSV file: an import flag (whether the file should be loaded), the CSV filename (relative to --csv_location), and the database table the file should be loaded into.

The loader iterates over the CSV file rows and, for each row whose import flag is True, reads the corresponding CSV from --csv_location and appends its contents to the named database table (existing rows are preserved; data is inserted with if_exists="append"). Rows whose import flag is False are skipped.

This generic loader is used throughout the Data Toolkit workflow to populate raw_data tables (e.g., the EIA-860 generators and EIA-930 hourly interchange data and the user-defined mapping tables) that later Data Toolkit steps depend on. The RA Toolkit’s raw database has its own counterpart of this step (ra_toolkit.load_raw_data).

Usage

>>> python -m open_data_toolkit.load_raw_data --database PATH/TO/DATABASE --csv_location PATH/TO/CSV/DIRECTORY

Settings

  • database

  • csv_location

The --csv_location directory must contain a files_to_import.csv manifest with columns for the import flag, the CSV filename, and the destination database table, in that order.

6.3.2. BA Map Adjustments

Patch EIA BA Map

Fill documented source-data gaps in the raw_data_eia_baa_codes BA map (PUDL’s core_eia__codes_balancing_authorities). BAs with no value in a load-zone level’s map column are excluded from that level’s zones, and BAs missing from the map entirely drop out of the transmission topology — so these gaps silently remove real capacity and interchange links. The patched values were verified against EIA’s EIA-930 reference tables (July 2026):

  • GRID (Gridforce Energy Management; generation-only): the source has its interconnect (western) but no region — EIA’s reference tables say NW. Without the patch, its 930A-assigned units (~1.9 GW) drop out at the ‘region’ load-zone level.

  • AVRN (Avangrid Renewables; generation-only): region NW in the source, but no interconnect — western (Pacific Northwest).

  • GLHB (GridLiance, retired 2022; generation-only): region MIDW in the source, but no interconnect — eastern (Midwest).

  • SIKE (Sikeston Board of Municipal Utilities; generation-only, active since June 2025): missing from the source table entirely (it lags EIA), so its interchange links to AECI/MISO/SPA/SWPP silently drop out of the transmission topology. Inserted with EIA’s reference values (region MIDW, eastern interconnect).

The islanded Hawaii/Alaska BAs (HECO, GRIS, CEA) are deliberately NOT patched: they do not participate in EIA-930 at all, so leaving their region/interconnect empty correctly keeps them out of interchange-based footprints.

Updates only fill NULL columns and the SIKE row is only inserted if absent, so reruns are no-ops and a future PUDL release that fixes the source data takes precedence over the patch.

Run this step right after gridpath_load_raw_data and before any of the to-input-csvs steps — they all scope footprints and assign load zones through the map.

Usage
>>> gridpath_run_data_toolkit --single_step patch_eia_baa_codes --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

This module assumes the following raw input database table has been populated:

  • raw_data_eia_baa_codes

Settings
  • database

Apply Custom Zones

Fill the custom_zone column of the raw_data_eia_baa_codes BA map from a user-provided BA-to-zone CSV, enabling the custom load-zone level: any grouping of BAs into zones (e.g. a six-zone WECC bubble aggregation) instead of the map’s built-in EIA930 region/interconnect columns. All the load-zone-level machinery — project load zones and aggregated-project naming, the system load zones, the transmission topology (parallel BA pairs collapse into one line per custom-zone pair, intra-zone links drop), and the NULL-zone scope guard — then works at the custom level unchanged.

The CSV needs a BA-code column (baa or ba) and a zone column; other columns are ignored, except that rows with a non-empty eia930_subregion column (sub-BA detail, which a BA-level map cannot represent) are skipped with a note. Each run RESETS the column first, so the CSV is the complete mapping, reruns are idempotent, and switching zone maps is just re-running with a different CSV. BAs the CSV does not cover keep a NULL custom_zone and are excluded at the custom level (the consuming steps warn about in-footprint exclusions); CSV rows whose BA is not in the map — e.g. foreign external zones — are reported and skipped.

The step adds the custom_zone column to raw databases created before it existed, so no rebuild is needed.

Run this step after gridpath_load_raw_data (and gridpath_patch_eia_baa_codes) and before any to-input-csvs step that uses --load_zone_level custom.

Usage
>>> gridpath_run_data_toolkit --single_step apply_custom_zones --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

This module assumes the following raw input database table has been populated:

  • raw_data_eia_baa_codes

Settings
  • database

  • custom_zone_csv (path to the BA-to-zone CSV)

6.3.3. Footprint Options

List Footprint Options

List the values the data toolkit steps’ --footprint argument accepts: the distinct EIA930 regions and interconnects in the EIA balancing-authority map, each shown with its type and the number of BAs it covers, plus the special value all (no footprint filter). The steps accept either vocabulary without the user having to say which type they mean — this command shows the menu.

The BA map is read from the most-processed source available, so the options can be listed at any point in the workflow from right after the PUDL download onward:

  1. the raw_data_eia_baa_codes table of the raw database (after gridpath_load_raw_data);

  2. otherwise the pudl_eia_baa_codes.csv file in the raw-data directory (after gridpath_pudl_to_gridpath_raw);

  3. otherwise the core_eia__codes_balancing_authorities.parquet file in the PUDL download directory (after gridpath_get_pudl_data).

Usage
>>> gridpath_list_footprint_options --database PATH/TO/RAW/DB
Input prerequisites

Any ONE of the three sources above; the source used is reported in the output.

6.4. Generating Input CSVs

6.4.1. Load Zone Inputs

EIA 930 BAs

Create GridPath load_zone inputs (load_zone_scenario_id) based on BAs in Form EIA 930: one load zone per BA observed in the interchange data within the region, or — with the load_zone_level setting — one per EIA930 region or interconnect. The chosen level must match the one used for the project-level steps, and the user_defined_load_zone_units mapping (which assigns the system-load units to load zones) must use the same zone vocabulary.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_load_zone_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

This script depends on having loaded the Form EIA 930 hourly interchange data and the EIA balancing-authority map (in order to filter BAs and determine their load zones). It assumes the following raw input database tables have been populated:

  • raw_data_eia930_hourly_interchange

  • raw_data_eia_baa_codes

Settings
  • database

  • load_zone_level

  • lz_output_directory

  • load_zone_scenario_id

  • load_zone_scenario_name

  • lb_output_directory

  • load_balance_scenario_id

  • load_balance_scenario_name

  • allow_overgeneration

  • overgeneration_penalty_per_mw

  • allow_unserved_energy

  • unserved_energy_penalty_per_mwh

  • max_unserved_load_penalty_per_mw

  • avg_unserved_load_penalty_per_mwa

  • export_penalty_cost_per_mwh

  • unserved_energy_stats_threshold_mw

6.4.2. Project Inputs

The project-level steps below share the scope, fleet-selection, and aggregation settings described in The Data Toolkit Workflow and must be run with consistent values so they generate inputs for the same set of projects (the orchestrator cross-checks this by default, and the fleet-audit step reports what the settings selected). The open_data_toolkit.project.fleet package documentation below describes the four-stage pipeline these steps compose; the portfolio step’s documentation carries the full narrative of the individual settings.

The EIA860-based project steps all read whichever EIA860 data vintage was loaded into the raw database (the eia860_report_date chosen at convert time). Note that the latest available vintage — the convert step’s default — is normally PUDL’s reconstruction of the in-progress report year from EIA860M rather than an as-filed annual survey: fresher than any filed vintage, but with the annual-form-only columns NULL. The portfolio module below documents what that means and when to pin an as-filed vintage instead.

The EIA860(M) fleet pipeline: how raw generator rows become the set of GridPath projects a study models. Every eia860*_to_project_* step composes the same four stages, in this order, and this package holds one module per stage:

  1. BA assignment (open_data_toolkit.project.fleet.ba_assignment) — resolve each generator’s balancing authority: manual overrides, then the EIA-930A operational inventory, then the EIA-860 plant-reported value. Produces the generator relation everything else selects FROM.

  2. Geographic scope (open_data_toolkit.geographic_scope, which lives one level up because the system and transmission pipelines consume it too) — which BAs are in the study footprint, and what load zone each maps to at the chosen load-zone level.

  3. Fleet filters (open_data_toolkit.project.fleet.fleet_filters) — which units qualify: operational-status tiers, operating/retirement dates against the study year, behind-the-meter sectors. Its get_fleet_relation_sql() is the canonical FROM/JOIN/WHERE block the steps put a SELECT list on top of.

  4. Aggregation (open_data_toolkit.project.fleet.aggregation) — how the qualifying units are named, and thereby whether they are modeled individually or grouped into aggregate projects.

Cutting across the stages, open_data_toolkit.project.fleet.unit_overrides lets a study pin individual units past the automated decisions (the OPTIONAL user_defined_unit_overrides table, empty by default): force a unit into or out of the fleet, carve a plant into its own aggregate project, or override its load zone.

Two more modules support the steps rather than adding a stage: open_data_toolkit.project.fleet.step_common holds the scaffolding every step’s main runs (resolve settings, connect, run the scope checks and data-gap warnings), and open_data_toolkit.project.fleet.fleet_audit is the gridpath_fleet_audit step, which reports what these stages decided about every unit — the intermediate checkpoint between the raw data and the generated input CSVs.

Note that open_data_toolkit.project.project_data_filters_common, one level up, re-exports this package’s public names under their historical import path; it is the documented import surface for callers outside this repository and is kept deliberately.

Per-unit manual overrides: the user_defined_unit_overrides table lets a study force individual plants or generators into or out of the fleet and carve them into their own aggregations and load zones, overriding what the automated pipeline stages would decide. Like user_defined_baa_overrides, this module ships only the MECHANISM — the table is empty by default (a verified no-op) and the study’s rows are user data, loaded via the gridpath_load_raw_data manifest.

One row per plant/generator (generator_id ‘*’ = every generator at the plant; a generator-specific row wins over a ‘*’ row, per column), with three independent, nullable override columns:

  • include — 1 force-includes the unit (it bypasses the characteristic filters: status/retirement selection, the planned-date window, the behind-the-meter exclusion), 0 force-excludes it, NULL leaves membership to the filters. A force-included unit must still have a user_defined_eia_gridpath_key row (its capacity/operational types come from there) and still pass the geographic scope — a unit outside the footprint or without a load zone at the chosen level needs the BA map fixed (gridpath_patch_eia_baa_codes, the custom-zone CSV) or a user_defined_baa_overrides row, not include=1. Step-specific filters (an operational-type filter, the EIA860M as-of-date snapshot) also still apply.

  • aggregation — replaces the GEOGRAPHIC token in the unit’s aggregate project name (e.g. Hydro_Hoover instead of Hydro_WALC), carving the unit out of its map-derived aggregate. Whether the unit is aggregated at all remains governed by the project_aggregation mode and the key’s agg_project column — under mode ‘none’ every unit keeps its per-unit name and this column is inert.

  • load_zone — replaces the unit’s map-derived load zone in the project load-zone assignment (it does not change the unit’s BA, so the footprint scope still applies). The value must match the zone vocabulary of the study’s load-zone level — an override CSV written for one level does not transfer to another. A zone that exists only through overrides (a carve-out modeled as its own zone) will not be among the system zones the EIA930 load-zone step derives; the project-zone cross-check warns about it, and the zone must be added to the system side by hand.

The three columns compose per unit: e.g. an aggregation + load_zone pair carves a plant into its own aggregate in a specific zone, while include alone just pins membership. Every unit that ends up in one aggregated project must resolve to ONE load zone — check_one_zone_per_project enforces this where zones are written (the load-zones step) and audited.

The table is created empty on first use against a raw database that predates it (see ensure_unit_overrides_table), so existing databases keep working without a rebuild.

Fleet Audit

Report what the EIA860-based project pipeline decided about EVERY unit in the raw generator data for a given set of settings — the intermediate checkpoint between the raw data and the generated input CSVs. For each unit, the audit CSV (fleet_audit.csv in the output directory) shows:

  • the unit’s BA per source — EIA-860 as reported, its EIA-930A operational BAs, any manual override — and the RESOLVED BA the pipeline used (stage 0, see open_data_toolkit.project.fleet.ba_assignment), plus the load zone at the chosen level (with any per-unit load_zone override applied);

  • any per-unit overrides from user_defined_unit_overrides (override_include/override_aggregation/override_load_zone; see open_data_toolkit.project.fleet.unit_overrides) — the include override folds into the in_fleet verdict exactly as in the fleet relation the steps query;

  • pass/fail per selection stage: whether the unit’s prime mover/fuel has a user_defined_eia_gridpath_key row at all, the geographic footprint/zone filter (stage 1, open_data_toolkit.geographic_scope), and the characteristic filters — planned-date window, status/retirement, behind-the-meter — individually and combined (stage 2, open_data_toolkit.project.fleet.fleet_filters);

  • the final verdict (in_fleet) and, for in-fleet units, the project name the unit lands in under the aggregation settings (stage 3, open_data_toolkit.project.fleet.aggregation);

  • the hybrid columns: hybrid_pairing (why an in-fleet unit is a paired hybrid component — direct_support/co_located/empty; pairing is against in-fleet partners, so it follows the fleet-selection settings) and storage_coupling (the EIA860 energy-storage supplement’s coupling flags for batteries with a supplement row — the evidence base for how a study should treat hybrids);

  • the storage-energy columns: energy_storage_capacity_mwh as reported, and energy_mwh_source labeling where each storage unit’s energy capacity comes from under the default-storage-duration settings (filed/default_duration/missing — see open_data_toolkit.project.fleet.storage_durations; run the audit with the same default_battery_duration_hours/ default_pumped_storage_duration_hours values as the specified-capacity step so the labels describe the generated CSV).

A units/MW waterfall per stage is printed, and the audit CROSS-CHECKS its verdicts against the actual fleet relation the input-CSV steps query (get_fleet_relation_sql) — a mismatch is reported loudly and means this module has drifted from the pipeline.

Run it with the SAME settings as the project input-CSV steps (footprint, study year, fleet selection, ba_source, load-zone level, aggregation). The audit covers the EIA-860 annual table, whose loaded vintage it inherits — note that the latest vintage is PUDL’s EIA860M-derived reconstruction of the in-progress report year rather than an as-filed annual survey (see eia860_to_project_portfolio_input_csvs); the report_date column in the audit CSV records which vintage each unit came from. The EIA860M-based capacity step additionally applies an as-of-date snapshot filter not audited here.

Usage
>>> gridpath_fleet_audit --database PATH/TO/RAW/DB --output_directory PATH/TO/OUTPUT

or via the orchestrator:

>>> gridpath_run_data_toolkit --single_step fleet_audit --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

This module assumes the following raw input database tables have been populated:

  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • default_battery_duration_hours

  • default_pumped_storage_duration_hours

Form EIA 860 Project Portfolios

This module creates project portfolios from EIA 860 data.

The project capacity_types will be based on the data in the user_defined_eia_gridpath_key table.

All projects are disaggregated (one project per plant/generator) unless the project_aggregation setting is used: all aggregates ALL projects to the technology-load-zone level (see the load_zone_level setting), while agg_project_keyed aggregates only the technologies whose user_defined_eia_gridpath_key row has agg_project set (e.g. aggregate wind/solar/hydro, keep thermal units disaggregated) and keeps everything else as individual units. Aggregate names can be split finer with the aggregation_dimensions setting — a comma-separated list of named dimensions inserted between the technology and the load zone (e.g. technology_description,vintage_decade yields Gas_Natural_Gas_Fired_Combined_Cycle_1990s_CISO); dimensions with no value for a unit contribute nothing (e.g. with the duration dimension, storage aggregates become Batteries_4h_<zone> while non-storage names are unchanged). See AGGREGATION_DIMENSIONS in open_data_toolkit.project.fleet.aggregation for the menu: technology_description, vintage_decade, duration, status, hybrid.

The hybrid dimension splits out the components of hybrid plants — e.g. Solar_Hybrid_CISO and Batteries_Hybrid_CISO next to the standalone Solar_CISO / Batteries_CISO aggregates. A battery and a solar/wind unit pair when the battery’s EIA860 energy-storage supplement filing (raw_data_eia860_energy_storage) names the unit as directly supported (the primary evidence — it can cross plant IDs), or, failing that, when the two are co-located at one plant; batteries the supplement flags is_independent never pair. Pairing is evaluated against the STUDY FLEET: a component whose partner is excluded (not yet built by the study year, retired, filtered out) is not a hybrid component in that study, so the pairing follows the fleet-selection settings. With an empty supplement table (a raw database predating it), pairing silently degrades to plant co-location only and the steps warn loudly. The fleet audit reports each unit’s pairing and the supplement’s coupling flags (AC/DC/tightly-DC-coupled/independent) — the evidence base for how a study should treat hybrids.

By default aggregation happens at the load-zone level itself; the aggregation_level setting decouples the two, naming (and thereby aggregating) the aggregate projects at a FINER geographic level than the zones they are assigned to — e.g. load_zone_level custom with aggregation_level baa yields per-BA projects like Gas_CT_BPAT, each assigned its BA’s custom zone. The aggregation level must refine the load-zone level over the in-footprint BAs (every aggregated project must belong to exactly one load zone); the steps verify this against the BA map before querying and fail loudly otherwise.

All these settings must be set consistently across the project-level steps.

Individual units can additionally be pinned past the automated selection and aggregation with the OPTIONAL user_defined_unit_overrides table (empty by default — a no-op): force a unit into or out of the fleet, carve a plant into its own aggregate project (e.g. Hydro_Hoover), or override its load zone. See open_data_toolkit.project.fleet.unit_overrides for the semantics.

Note

Hybrid plants’ generation and storage components are separate projects (individual units, or — with the hybrid aggregation dimension — hybrid-component aggregates split from the standalone fleet). The hybrid_treatment setting decides whether they are COUPLED: ‘independent’ (the default) models them as unrelated projects; ‘power_output_group’ caps each hybrid’s combined output at its shared interconnection limit via GridPath’s power output groups — the eia860_to_project_power_output_group_input_csvs step generates the group CSVs (and documents the POI-limit assumption), and the opchar step flips paired variable components from gen_var_must_take to the curtailable gen_var. In an aggregated mode, a non-independent treatment requires the hybrid dimension (hybrid and standalone components must not share an aggregate); the setting must be consistent across the project-level steps. A merged gen_var_stor_hyb treatment (one project per hybrid, field-only charging) is designed but not implemented.

Project portfolios are created from whichever EIA860 data vintage was loaded into the raw database — the eia860_report_date chosen at convert time (gridpath_pudl_to_gridpath_raw_data), recorded in the report_date column of raw_data_eia860_generators. Know which KIND of vintage that is, because the convert step defaults to the LATEST one and the latest is normally not an annual filing at all:

  • completed report years are as-filed annual survey data (PUDL data_maturity final, or provisional for a recent year whose form has been released but not yet finalized);

  • the latest vintage is PUDL’s RECONSTRUCTION of the in-progress report year from EIA860M (data_maturity = 'monthly_update'): the fleet as EIA’s current monthly publication has it, relabeled to Jan 1 of that year. The Jan-1 label is a year marker, NOT an information cutoff — the data is as fresh as the last EIA860M month the PUDL release ingested (verified Aug 2026: it matched EIA’s then-current EIA860M publication unit for unit).

The reconstruction is a good default for the project steps: every column they read — status codes, capacities, operating/retirement dates, the sector name behind the exclude_commercial_industrial_sectors exclusion, and all the aggregation_dimensions columns — is populated there. What it lacks are the annual-form-only columns (minimum load, multi-fuel and carbon-capture flags, second energy source, ownership, cogen status), which no project step reads. If some other consumer needs those, prefer the convert step’s eia860_annual_detail_report_date setting, which backfills them from a pinned as-filed vintage while keeping this fresh fleet, over pinning an older vintage wholesale (which would model a staler fleet — measured Aug 2026: an as-filed portfolio one report year back differed from the current fleet by several hundred units in the western interconnect alone).

Warning

Do not mix vintages ACROSS steps — e.g. an old as-filed portfolio with capacities from a fresh eia860m_to_project_specified_capacity_input_csvs run. The portfolio defines the project universe, so newer generators are silently dropped rather than added, while portfolio projects the fresh snapshot no longer carries end up with no capacity at all (caught by gridpath_validate as a High-severity error). Loading two EIA860 vintages into one raw database is worse still: no step filters on report_date, so every generator appears twice and aggregated capacities silently double.

The user selects the footprint (determines the subset of generators to use) and the study year (determines which generators are in the fleet). By default the fleet consists of the units expected to be operational in the study year: operating units that don’t retire before the end of the study year, plus units already under construction (or with construction complete) whose planned operating date is on or before Jan 1 of the study year, minus units EIA expects to be gone by then: a unit still operating but with a filed PLANNED retirement date before the end of the study year is excluded by default (include_planned_retirements keeps such units instead — planned retirement dates are softer commitments than filed retirements, they slip and get withdrawn, so a study may choose not to trust them; units with no planned retirement date are always kept, and if the raw data predates the planned-retirement column entirely, a loud warning flags that the exclusion is doing nothing). Three more settings adjust this window. include_retired also keeps retired units (and drops the retirement-date window). planned_inclusion selects which not-yet-operational units count, always subject to the planned-operating-date window: the default under_construction; all, which additionally includes planned units on which construction has not started (a more speculative fleet — such units are more likely to slip or be cancelled); or none, which keeps only currently operating units. inactive_inclusion selects which existing-but-not-operating units count, cumulatively in order of how available they are: standby adds standby/backup units (available for service but not normally used); out_of_service_short_term also adds out-of-service units expected back in service within the next calendar year; all also adds long-term out-of-service units; the default none adds none of them.

Two more settings deal with generation whose output may already be NETTED OUT of the metered demand that EIA-930-derived load is built from — counting such units as supply alongside that load double-counts their energy. Net-metered units — those the EIA860 solar supplement (raw_data_eia860_solar) flags as operating under a net-metering agreement — are excluded by default: net metering is a billing arrangement at a retail meter that runs net, so the netting is definitional. include_net_metered opts them back in; units absent from the loaded solar table (all non-solar units, and solar units newer than its annual-only vintage) are always kept, and an empty table makes the exclusion a no-op (with a loud warning). exclude_commercial_industrial_sectors additionally drops ALL behind-the-meter-type units — the commercial/industrial EIA sectors (Commercial/Industrial CHP and Non-CHP), whose output typically serves onsite load. This blanket sector exclusion is OFF by default: the sector is an ownership-based PROXY for the netting, right for most of these units (measured July 2026: these sectors dominate the large-unit capacity absent from every BA’s EIA-930A Schedule 2 generation inventory) but wrong for the genuinely BA-metered exporting cogens it would also delete (measured Sep 2026, western 2030 fleet: of 4.6 GW of C&I-sector capacity, 2.0 GW IS listed in BA inventories). Where the sector-level answer is not good enough, resolve per unit — e.g. against EIA-930A Schedule 2 presence — and encode the outcome with user_defined_unit_overrides; units with no sector in the raw data cannot be classified and are always kept (with a loud warning when the exclusion is on).

Finally, require_plant_in_eia860_vintage (off by default) restricts the fleet to units whose PLANT exists in a pinned EIA860 annual filing (the raw_data_eia860_plant_vintages index) — for reproducing external fleet lists that gate on membership in a specific annual vintage, whose plant-level metadata they need for every unit. Be aware of what the gate costs: it drops exactly the plants EIA first listed after that filing — the newest tranche of the build pipeline, currently dominated by under-construction storage (measured western 2030, July-2026 860M fleet vs the 2025-01-01 vintage: 62 units / 2.0 GW) — and the cost grows with every EIA860M month. The test is plant-level, so new units at plants the vintage does contain still pass; a pinned date with no index rows would exclude everything, and the steps refuse to run against one. The same window (and the same settings) applies in all the EIA860(M)-based project steps and should be set consistently across them.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_portfolio_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • project_portfolio_scenario_id

  • project_portfolio_scenario_name

TODO: a merged gen_var_stor_hyb hybrid treatment (one project per

hybrid, field-only charging); the power_output_group treatment and the ‘hybrid’ aggregation dimension are implemented

Form EIA 860 Project Load Zones

This module creates project load zone input CSVs for a EIA860-based project portfolio based on the user-defined mapping in the user_defined_eia_gridpath_key table.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Per-unit load_zone overrides from user_defined_unit_overrides (see open_data_toolkit.project.fleet.unit_overrides) apply here, and the step verifies that every project resolves to exactly ONE load zone before writing the CSV — a violation (e.g. an aggregation carve-out whose units’ zones disagree) fails loudly rather than riding into the inputs as duplicate rows.

After writing the CSV, the step cross-checks the assigned zones against the system load zones that eia930_load_zone_input_csvs derives for the same footprint and load-zone level, and warns (even with quiet) about any project zone missing there — such projects would reference a load zone with no load balance and only fail later, at model load (e.g. islanded BAs like HECO that are in the BA map but never appear in the interchange data, with --footprint all --load_zone_level baa). The check is skipped if no EIA930 interchange data is loaded.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_load_zone_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • project_load_zone_scenario_id

  • project_load_zone_scenario_name

Form EIA 860 Project Availability

Create availability type CSV for a EIA860-based project portfolio. Availability types are set to ‘exogenous’ for all projects with no exogenous profiles specified (i.e., always available).

With seasonal_capacity_derates, seasonal capacity ratings are also written as monthly exogenous availability derates: EIA-860’s net summer and net winter capacity, expressed as fractions of nameplate capacity, become availability_derate_monthly values for the summer months (summer_months, default June–September, EIA’s net-summer demonstration window) and the winter months (winter_months, default December–February); the remaining months stay at nameplate. Each project with a seasonal rating that differs from nameplate gets a per-project CSV in the exogenous_monthly subdirectory of the output directory and its exogenous_availability_monthly_scenario_id filled in the main availability CSV; projects whose ratings match nameplate (or whose seasonal ratings are missing, which fall back to nameplate) carry no monthly derate. For aggregated projects the derate is capacity-weighted across the group’s units. Derates above 1 are kept (winter ratings above nameplate occur, e.g. for combustion turbines in cold, dense air).

By default, seasonal derates are only written for operational types whose seasonal capability is not already modeled elsewhere: variable generators (capacity-factor profiles) and hydro (energy budgets) are excluded, as is storage (seasonal ratings match nameplate). The excluded types can be changed with seasonal_derate_excluded_operational_types (an empty value derates every type).

Note

EIA’s net summer/winter ratings are net of station service while nameplate capacity is gross, so these derates also fold in auxiliary load — net dependable capacity, which is usually what dispatch against metered load wants. Don’t stack a separate auxiliary-load adjustment on top.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_availability_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • project_availability_scenario_id

  • project_availability_scenario_name

  • seasonal_capacity_derates

  • summer_months

  • winter_months

  • seasonal_derate_excluded_operational_types

  • exogenous_availability_monthly_scenario_id

  • exogenous_availability_monthly_scenario_name

Form EIA 860 Project Capacity

Create specified capacity CSV for a EIA860-based project portfolio.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Storage units with no EIA-reported energy capacity — common among planned and under-construction batteries — contribute no specified_stor_capacity_mwh, which silently understates an aggregated project whenever some (but not all) of its units are unrated. The default_battery_duration_hours and default_pumped_storage_duration_hours settings fill such units PER UNIT as duration × capacity_mw before aggregation (see open_data_toolkit.project.fleet.storage_durations); the run prints what was filled, and the fleet audit’s energy_mwh_source column shows the assumption per unit under the same settings.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_specified_capacity_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • default_battery_duration_hours

  • default_pumped_storage_duration_hours

  • project_specified_capacity_scenario_id

  • project_specified_capacity_scenario_name

Form EIA 860M Project Capacity

Create specified capacity CSV for a project portfolio based on EIA860M (monthly) data. This module mirrors eia860_to_project_specified_capacity_input_csvs but draws on the EIA860M generator changelog, which is updated monthly and is therefore several months fresher than the annual EIA860 data.

The changelog holds one row per generator per change, valid from report_date until valid_until_date. This module first reduces it to a snapshot of the fleet as of the eia860m_as_of_date setting: each generator’s latest changelog row on or before that date, provided the row was still valid then — generators that VANISHED from EIA’s monthly files without ever filing a retirement (their last row says operating forever, but EIA’s current publication no longer carries them) are excluded via valid_until_date. Note the as-of date is a FILING (report) date, not an event date: the snapshot is the fleet as EIA had PUBLISHED it by that month, and units come online one to a few months before the filing that first reports them, so an as-of snapshot slightly lags the fleet physically operating on that date (the event date is the generator_operating_date column, which the study-year window tests). The as-of date defaults to the latest report date in the changelog, so default settings yield the latest available snapshot — to approximately align with the typically older EIA860 vintage instead, set the as-of date to the report_date in raw_data_eia860_generators (approximately, because that vintage’s label is a year marker, not a filing cutoff — see the PUDL convert step’s docstring). The snapshot then gets the same study-year, region, and status filters as the EIA860 module — including the planned_inclusion setting’s status-code tiers: ‘U’/’V’ (under construction) and ‘TS’ (construction complete, not yet in commercial operation) at the default under_construction level, plus ‘P’/’L’/’T’/’OT’ (planned, construction not started) at all.

The project_aggregation and aggregation_dimensions settings also work as in the EIA860 modules (see the portfolio module description); the EIA860M changelog carries the columns every current aggregation dimension needs (a dimension needing a column it lacks would fail with a clear error). The default_battery_duration_hours and default_pumped_storage_duration_hours settings fill unrated storage units per unit, as in the EIA860 module (see open_data_toolkit.project.fleet.storage_durations).

Usage
>>> gridpath_run_data_toolkit --single_step eia860m_to_project_specified_capacity_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860m_generators

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • eia860m_as_of_date

  • default_battery_duration_hours

  • default_pumped_storage_duration_hours

  • project_specified_capacity_scenario_id

  • project_specified_capacity_scenario_name

Form EIA 860 Projects – Create CSV with Fixed Costs Set to Zero

Create fixed cost CSV for a EIA860-based project portfolio with fixed costs set to zero as fixed cost data are not available at this time. The CSV is necessary to create since fixed costs are currently a required GridPath input.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_fixed_cost_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • project_fixed_cost_scenario_id

  • project_fixed_cost_scenario_name

Form EIA 860 Projects User-Defined Operating Characteristics

Create opchar CSV for a EIA860-based project portfolio. Note that most of operating characteristics are user-defined in the user_defined_eia_gridpath_key table and will take default values until more detailed data are available.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_opchar_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • project_operational_chars_scenario_id

  • project_operational_chars_scenario_name

  • project_fuel_scenario_id

  • variable_generator_profile_scenario_id

  • hydro_operational_chars_scenario_id

Create the power-output-group input CSVs coupling each hybrid plant’s components under a shared interconnection (POI) limit — the power_output_group hybrid treatment (see the hybrid_treatment setting). Hybrid components stay separate projects (the solar/wind unit and the battery, or their hybrid-dimension aggregates); this step generates the two subscenario CSVs GridPath’s core project.operations.power_output_groups module consumes:

  • projects/ — group membership (inputs_project_power_output_groups, selected by project_power_output_group_scenario_id);

  • requirements/ — the per-period min/max on the group’s combined output (inputs_project_power_output_group_requirements, selected by project_power_output_group_requirement_scenario_id).

Hybrid components are paired exactly as in the hybrid aggregation dimension (direct-support links from the EIA860 energy-storage supplement, falling back to plant co-location; in-fleet partners only — see the portfolio step’s documentation), then clustered: units connected by co-location or by support links form one hybrid installation. In the disaggregated mode each cluster becomes its own group, named hybrid_<smallest plant id>; in an aggregated mode (which requires the hybrid aggregation dimension) the clusters in each geographic name token merge into one group per token, named hybrid_<token>, whose members are the hybrid aggregate projects and whose limit is the SUM of the member clusters’ POI limits — a documented relaxation (headroom can be reallocated across the token’s plants; per-plant groups are impossible once components are aggregated).

The POI limit is an assumption, not data: EIA-860 collects no point-of-interconnection capacity. The default rule (max_component) takes each cluster’s limit as max(total variable-component AC nameplate, total battery MW): the AC nameplate is each component’s inverter/turbine limit, and a shared POI cannot be smaller than the largest component that ever uses it alone. The sum rule instead writes the (non-binding) sum of both sides — pure plumbing until real limits replace it. Correct known limits by editing the generated requirements CSV.

The battery side’s MW basis is the hybrid_battery_mw_basis setting. The default, nameplate, uses the battery’s capacity_mw from the fleet (generators) table — the same number the capacity step writes as the member’s specified_capacity_mw, so the group limit and the member capacity agree by construction. discharge_rating instead uses the EIA-860 energy-storage supplement’s max_discharge_rate_mw where a row is filed (nameplate otherwise). The supplement is an annual-form-only table pinned to one (by default the latest annual) vintage by the convert step, typically a year behind the fleet table’s 860M-derived reconstruction of the in-progress year; its ratings can describe an earlier build stage of a battery that has since expanded, or carry filing errors, so discharge_rating mixes EIA-860 vintages within one scenario and can put a group’s cap BELOW its battery member’s own modeled capacity. Under either basis the step warns — regardless of quiet — for every hybrid battery whose filed discharge rating differs from its nameplate by more than 10 %, listing both values: those rows are the ones that need a human look.

Note

The group couples net output within [0, POI]. GridPath’s group minimum parameter is non-negative (default 0), so a grouped hybrid can never be a net load: the battery only charges from concurrent co-located generation — the ITC-era operating mode of most existing hybrids, and conservative for adequacy. POI-limited GRID charging is not expressible with the current model-side parameter domain.

Run this step only with hybrid_treatment power_output_group (it refuses otherwise): the same setting makes the opchar step flip paired variable components from gen_var_must_take to the curtailable gen_var, without which a plant whose variable component alone can exceed the POI makes the group constraint infeasible. Run it with the SAME shared settings as the other project-level steps — the member project names must match the portfolio’s exactly.

Usage

>>> gridpath_eia860_to_project_power_output_group_input_csvs --database PATH/TO/RAW/DB --output_directory PATH/TO/CSV/DIR

or via the orchestrator:

>>> gridpath_run_data_toolkit --single_step eia860_to_project_power_output_group_input_csvs --settings_csv PATH/TO/SETTINGS/CSV

Input prerequisites

This module assumes the following raw input database tables have been populated:

  • raw_data_eia860_generators

  • raw_data_eia860_energy_storage

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

Settings

  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • hybrid_poi_rule

  • hybrid_battery_mw_basis

  • project_power_output_group_scenario_id

  • project_power_output_group_scenario_name

  • project_power_output_group_requirement_scenario_id

  • project_power_output_group_requirement_scenario_name

Form EIA 860 Project Fuels

Create project fuels CSV for a EIA860-based project portfolio.

Each project’s fuel is named <generic_fuel>_<fuel_region>, with the fuel region taken from the user_defined_project_fuel_region_key table — an explicit per-project mapping the user provides (fuel regions in the EIA AEO can be more disaggregated than BAs, e.g. the CA South and North AEO regions vs the CISO BA, so a per-BA assignment is not always possible). Projects without a mapping are skipped (no fuel CSV is written for them); the fuel-region vocabulary must match user_defined_eiaaeo_region_key’s, which defines the fuels’ prices and characteristics.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_fuel_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

  • user_defined_project_fuel_region_key

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • project_fuel_scenario_id

  • project_fuel_scenario_name

Form EIA 860 Project Heat Rates (User-Defined by Tech)

Create project heat rate CSV for a EIA860-based project portfolio.

Note

Heat rates are user-specified and generic by technology. If you need more granular heat rates by, say, project, you would need to modify this module.

Note

The query in this module is consistent with the project selection from eia860_to_project_portfolio_input_csvs, which also documents what the EIA860 data vintage in the raw database means — in particular that the latest available vintage (the convert step’s default) is PUDL’s EIA860M-derived reconstruction of the in-progress report year, not an as-filed annual survey.

Usage
>>> gridpath_run_data_toolkit --single_step eia860_to_project_heat_rate_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

  • user_defined_heat_rate_curve

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • include_retired

  • planned_inclusion

  • inactive_inclusion

  • include_planned_retirements

  • exclude_commercial_industrial_sectors

  • include_net_metered

  • require_plant_in_eia860_vintage

  • ba_source

  • project_hr_scenario_id

  • project_hr_scenario_name

Manual Adjustments

The post-processing escape hatch of the project pipeline: patch gaps in the ALREADY-GENERATED project input CSVs that the raw data cannot fill. Run it after the other project-level steps, with the same shared settings (so its queries name the same projects the other steps generated). Two kinds of adjustment are made:

  • User-provided project files: per the instructions in the files_to_copy_csv file, copy an existing per-project input CSV to serve as another project’s inputs (e.g. give a project a neighbor’s hydro characteristics when it has none of its own). The copies are written next to the generated files, named <new_project>-<id>-<name>_MANUAL_copy_from_<copy_project>_<id>.csv so their provenance is visible.

  • Default storage durations: EIA860 reports no energy capacity for some storage units, which leaves specified_stor_capacity_mwh NULL in the generated specified-capacity CSV. This step fills those NULLs (only those — existing values are never overwritten) with duration × specified_capacity_mw, using the battery_duration and pumped_storage_duration settings for battery (BA) and pumped-storage (PS) prime movers respectively.

    Warning

    This patch is PROJECT-level and is superseded by the specified-capacity steps’ per-unit default_battery_duration_hours/ default_pumped_storage_duration_hours settings (see open_data_toolkit.project.fleet.storage_durations), which should be preferred. In an aggregated fleet, a project’s CSV value is NULL only when NO unit is rated; a project where SOME units are unrated has a positive-but-understated value this patch cannot see (the unit information is gone from the CSV), and filling a fully-NULL project as duration × the WHOLE project’s MW misstates it if any unit was rated at zero. The per-unit fill handles all of these; the two compose safely (this patch never touches non-NULL values).

Because its patches only ever update rows that already exist in the generated CSVs, this step deliberately queries a SUPERSET fleet (e.g. behind-the-meter units are always included, and it takes no fleet-selection settings of its own) — extra units in its queries are harmless, missing ones would silently leave gaps unpatched.

Usage
>>> gridpath_run_data_toolkit --single_step manual_adjustments --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia860_generators

  • user_defined_eia_gridpath_key

  • raw_data_eia_baa_codes

Settings
  • database

  • files_to_copy_csv

  • capacity_specified_directory

  • project_specified_capacity_scenario_id

  • project_specified_capacity_scenario_name

  • study_year

  • footprint

  • ba_source

  • load_zone_level

  • project_aggregation

  • aggregation_dimensions

  • aggregation_level

  • hybrid_treatment

  • battery_duration

  • pumped_storage_duration

Note

With the hybrid aggregation dimension, project names embed the hybrid pairing, which is evaluated against the fleet the FLEET-SELECTION settings choose. This step deliberately takes no fleet-selection settings (it patches a superset fleet), so its names use the pairing under the DEFAULT fleet selection — if the study’s other steps run with non-default fleet-selection settings AND the hybrid dimension, verify this step’s patches still hit their rows.

6.4.3. Fuel Inputs

EIA AEO Fuel Chars (User-Defined)

Create GridPath fuel chars inputs (fuel_scenario_id) for fuels in the EIA AEO. The fuel characteristics are user-defined.

Usage
>>> gridpath_run_data_toolkit --single_step eiaaeo_to_fuel_chars_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

Thios module assumes the following raw input database tables have been populated:

  • raw_data_eiaaeo_fuel_prices

  • user_defined_eia_gridpath_key

  • user_defined_generic_fuel_intensities

  • user_defined_eiaaeo_region_key

Settings
  • database

  • output_directory

  • model_case

  • report_year

  • fuel_scenario_id

  • fuel_scenario_name

EIA AEO Fuel Prices

Create GridPath fuel price inputs (fuel_scenario_id) based on the EIA AEO.

Warning

The user is reponsible for ensuring that all prices and costs in their model are in a consistent real currency year.

Usage
>>> gridpath_run_data_toolkit --single_step eiaaeo_fuel_price_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites

Thios module assumes the following raw input database tables have been populated:

  • raw_data_eiaaeo_fuel_prices

  • user_defined_eiaaeo_region_key

Settings
  • database

  • output_directory

  • model_case

  • report_year

  • fuel_price_id

6.4.4. Transmission Inputs

Form EIA 930 Transmission Portfolio

This module creates a transmission line portfolio input CSV for an EIA930-based transmission portfolio. The transmission capacity type is set “tx_spec” for all lines.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_to_transmission_portfolio_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia930_hourly_interchange

Settings
  • database

  • output_directory

  • footprint

  • load_zone_level

  • transmission_portfolio_scenario_id

  • transmission_portfolio_scenario_name

Form EIA 930 Tranmission Load Zones

Create load zone input CSV for a EIA930-based transmission portfolio.

Note

The query in this module is consistent with the transmission selection from eia930_to_transmission_portfolio_input_csvs.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_to_transmission_load_zone_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia930_hourly_interchange

Settings
  • database

  • output_directory

  • footprint

  • load_zone_level

  • transmission_load_zone_scenario_id

  • transmission_load_zone_scenario_name

Form EIA 930 Transmission Availability

Create availability type CSV for a EIA930-based project portfolio. Availability types are set to ‘exogenous’ for all transmission lines with no exogenous profiles specified (i.e., always available).

Note

The query in this module is consistent with the project selection from eia930_to_transmission_portfolio_input_csvs.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_to_transmission_availability_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia930_hourly_interchange

  • raw_data_eia_baa_codes

Settings
  • database

  • output_directory

  • footprint

  • load_zone_level

  • transmission_availability_scenario_id

  • transmission_availability_scenario_name

Form EIA 930 Transmission Capacity

Create specified capacity CSV for a EIA930-based transmission portfolio.

Note

The query in this module is consistent with the transmission selection from eia930_to_transmission_portfolio_input_csvs.

Warning

Only minimal, manual data cleaning has been conducted on this dataset. More robust processing is required for usability past the demo stage.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_to_transmission_specified_capacity_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia930_hourly_interchange

Settings
  • database

  • output_directory

  • study_year

  • footprint

  • load_zone_level

  • transmission_specified_capacity_scenario_id

  • transmission_specified_capacity_scenario_name

Form EIA 930 Transmission Opchar

This module creates transmission opchar input CSV for an EIA930-based transmission portfolio. The transmission operational type is set to “tx_simple” and the losses are set to 2% by default.

Usage
>>> gridpath_run_data_toolkit --single_step eia930_to_transmission_ochar_input_csvs --settings_csv PATH/TO/SETTINGS/CSV
Input prerequisites
This module assumes the following raw input database tables have been populated:
  • raw_data_eia930_hourly_interchange

Settings
  • database

  • output_directory

  • tx_simple_loss_factor

  • footprint

  • load_zone_level

  • transmission_operational_chars_scenario_id

  • transmission_operational_chars_scenario_name