{
  "name": "ResStock modeling pipeline: stages, files and measures",
  "description": "Cross-walk of the ResStock workflow stages to the files, measures and tools involved, compiled from the project's architecture documentation, the GitHub README and the Department of Energy project page.",
  "page": "https://casrai.org/guides/resstock",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-29T11:15:00Z",
  "temporalCoverage": null,
  "spatialCoverage": "United States",
  "columns": [
    {
      "name": "Stage",
      "unit": "",
      "description": ""
    },
    {
      "name": "File, measure or tool",
      "unit": "",
      "description": ""
    },
    {
      "name": "Role",
      "unit": "",
      "description": ""
    },
    {
      "name": "Source",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Stage": "Housing characteristics",
      "File, measure or tool": "project_national/housing_characteristics/*.tsv",
      "Role": "Conditional probability distributions describing the housing stock",
      "Source": "GitHub README; DOE ResStock page"
    },
    {
      "Stage": "Sampling",
      "File, measure or tool": "resources/run_sampling.rb to buildstock.csv",
      "Role": "Draws a set of homes; each datapoint reads one row",
      "Source": "Documentation: ResStock Architecture"
    },
    {
      "Stage": "Option mapping",
      "File, measure or tool": "resources/options_lookup.tsv",
      "Role": "Maps characteristic and upgrade options to OpenStudio measure arguments",
      "Source": "GitHub README; Architecture page"
    },
    {
      "Stage": "Upgrade definition",
      "File, measure or tool": "Project YAML; ApplyUpgrade measure",
      "Role": "Defines an upgrade scenario; optional, not applied to baselines",
      "Source": "GitHub README; Architecture page"
    },
    {
      "Stage": "Model building",
      "File, measure or tool": "BuildExistingModel, HPXMLtoOpenStudio, UpgradeCosts",
      "Role": "Builds the dwelling model before simulation",
      "Source": "Documentation: ResStock Architecture"
    },
    {
      "Stage": "Dwelling description",
      "File, measure or tool": "BuildResidentialHPXML, BuildResidentialScheduleFile",
      "Role": "Creates an HPXML file and stochastic occupancy schedules",
      "Source": "Documentation: ResStock Architecture"
    },
    {
      "Stage": "Simulation",
      "File, measure or tool": "EnergyPlus",
      "Role": "Simulates each dwelling unit",
      "Source": "GitHub README"
    },
    {
      "Stage": "Reporting",
      "File, measure or tool": "ReportSimulationOutput, ReportUtilityBills",
      "Role": "Annual and optional timeseries output; utility bills",
      "Source": "Documentation: ResStock Architecture"
    },
    {
      "Stage": "Cleanup",
      "File, measure or tool": "ServerDirectoryCleanup",
      "Role": "Deletes EnergyPlus output unless retained; keeps in.idf and schedules CSV by default",
      "Source": "Documentation: ResStock Architecture"
    },
    {
      "Stage": "Large runs",
      "File, measure or tool": "buildstockbatch (v2.3.0+); workflow/run_analysis.rb for small tests",
      "Role": "Runs the workflow at scale or for small tests",
      "Source": "GitHub README"
    }
  ],
  "sources": [
    {
      "title": "ResStock documentation: ResStock Architecture",
      "url": "https://resstock.readthedocs.io/en/latest/basic_tutorial/resstock_architecture.html",
      "accessed": "2026-11-20"
    },
    {
      "title": "GitHub: NatLabRockies/resstock README",
      "url": "https://github.com/NatLabRockies/resstock",
      "accessed": "2026-11-20"
    },
    {
      "title": "U.S. Department of Energy: ResStock",
      "url": "https://www.energy.gov/eere/buildings/resstock",
      "accessed": "2026-11-20"
    }
  ]
}