First time here? Check our help page!
4

Creating Custom Meters in OpenStudio

I am looking for a way to create a custom meter to meter the residential and commercial components of a building separately. I have seen ways to do this in EnergyPlus but have not found options to do it in OpenStudio or any Ruby measures that can do it. Is there a way to do this in OpenStudio?

Alex Bennett's avatar
327
Alex Bennett
asked 2016-01-12 13:25:55 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 13:02:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

3

This measure can be used to add a meter to an OpenStudio model.

macumber's avatar
12k
macumber
answered 2016-01-13 11:15:53 -0500
ljbrackney's avatar
3.8k
ljbrackney
updated 2016-01-13 12:57:31 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for your response! This works well at creating meters but I am having issues with combining multiple meters into one. For example I want to have 3 different thermal zones all under one meter. Using the AddMeter measure I am only able to create three separate meters, is it possible to make them as one?

Alex Bennett's avatar Alex Bennett (2016-01-13 13:48:56 -0500) edit
1

For that you want to create a CustomMeter. This object is not currently in the OpenStudio Model API so you will have to create it using an EnergyPlus measure.

macumber's avatar macumber (2016-01-13 14:35:48 -0500) edit
add a comment see more comments
1

The 'Custom Meter' Openstudio Measure on BCL does this. You define the variables or meters you want to include in a .csv file and pass the file path as an argument to the measure.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2019-10-31 19:28:23 -0500
edit flag offensive 0 remove flag delete link

Comments

Is this measure still being supported? I added it from the BCL it to a model in OS V2.9.1, and none of the input fields show up in the measure tab.

nsimhai's avatar nsimhai (2020-08-07 16:43:10 -0500) edit

this appears to be a bug in the measure. I'll put in a support issue for it.

mdahlhausen's avatar mdahlhausen (2020-08-24 13:41:23 -0500) edit

@mdahlhausen Was this ever corrected? I just opened the measure I downloaded from the BCl and had the same problem with non of the user inputs showing up. Any update or advice for a work around would be greatly appreciated.

stanman's avatar stanman (2021-03-31 14:43:35 -0500) edit

the measure is updated on GitHub - it needed a bit of refactoring to handle the newer OpenStudio versions

mdahlhausen's avatar mdahlhausen (2021-04-06 15:30:10 -0500) edit

@mdahlhausen I have been trying to get the 'Custom Meter' measure working on OpenStudio 1.2.0 (SDK 3.2.0) but my simulation always fails with "No file found at file path ..." for my .csv, no matter what I try. Do you have any insight on this issue? Thanks

mechyai's avatar mechyai (2021-08-15 22:57:48 -0500) edit
add a comment see more comments