NREL / resstock

Highly granular modeling of residential building stocks at national, regional, and local scales using OpenStudio/EnergyPlus.
https://resstock.nrel.gov
Other
103 stars 51 forks source link

Assign detailed schedules using the lookup #1166

Open joseph-robertson opened 7 months ago

joseph-robertson commented 7 months ago

Pull Request Description

Adds ResStockArguments arguments:

Update ResStockArguments measure to populate schedules_filepaths based on the contents of these new arguments. Update an arbitrary Battery option to assign battery_schedule. Only the testing project samples battery options.

Checklist

Not all may apply:

joseph-robertson commented 7 months ago

This PR has identified a bug in how OS-HPXML calculates detailed utility bills for homes with modeled batteries. ~The fix is here: https://github.com/NREL/OpenStudio-HPXML/pull/1554.~

The fix is here: https://github.com/NREL/OpenStudio-HPXML/pull/1555.

shorowit commented 7 months ago

Seems unlikely that you could ever use a single schedule across all buildings in the housing stock. Maybe it should be like detailed utility rates, where you can point to files based on a specified parameter?

joseph-robertson commented 7 months ago

Seems unlikely that you could ever use a single schedule across all buildings in the housing stock. Maybe it should be like detailed utility rates, where you can point to files based on a specified parameter?

Yeah, I thought about that too. I think the idea in using the options_lookup, is that the schedule could differ by option for a given parameter. That's essentially the same approach used for detailed utility rates, except that the mapping is pulled out into its own lookup so as to support multiple scenarios.

shorowit commented 7 months ago

True, I guess you can always create a new TSV parameter for use in options_lookup to ensure you apply the desired schedule to a given building.

joseph-robertson commented 1 week ago

Now that https://github.com/NREL/OpenStudio-HPXML/pull/1555 has been merged, we can think about how to support assigning detailed schedules to dwelling units in the housing stock. Ideas we have so far: