NREL / OCHRE

A Python-based building energy modeling (BEM) tool designed to model flexible loads in residential buildings
https://www.nrel.gov/grid/ochre.html
BSD 3-Clause "New" or "Revised" License
44 stars 7 forks source link

Bug: OCHRE asks for a cooling setpoint schedule when a ResStock building has no cooling #135

Closed JingWang-CUB closed 3 months ago

JingWang-CUB commented 3 months ago

I hit the exception error below when running ResStock models in OCHRE. This building has no cooling system so the hpxml file doesn't come with a weekday/weekend cooling setpoint schedule, but OCHRE is requiring it somehow. image image

mnblonsky commented 3 months ago

Are you specifying HVAC Cooling (or an ASHP or MSHP) in the dwelling_args? That's the only thing I can think of why this would happen.

JingWang-CUB commented 3 months ago

Right, we added the following in dwelling_args to force realistic behavior of HVAC and WH. If this has caused this issue, is there an easy fix for it? image

mnblonsky commented 3 months ago

Yeah, I would remove the 'HVAC Cooling' line. That should solve it. I guess it's a little tricky since you have to know in advance whether there's cooling or not. There's probably not a great way to know that unless you read the HPXML file first.

JingWang-CUB commented 3 months ago

I can read the HPXML file and determine if the building has cooling or not, or I can read the buildstock.csv. @jmaguire1 , thoughts?

jmaguire1 commented 3 months ago

@JingWang-CUB: Do you still need to parse in those arguments in the first place now that we decided on 2 minute timestep? We were doing that specifically to support 5 minute timesteps not defaulting to realistic controls, weren't we?

IF you do have to parse in whether cooling is present or not, I'd just do whatever's easier. Using HPXML is more flexible, but if you're already loading the buildstock.csv file then go with that.

JingWang-CUB commented 3 months ago

Removing the following arguments solved this issue. image