2

Are there any way to disable to write components related to Economics through OpenStudio API?

I am trying to run energy simulation through Honeybee interface.
However, I got following error. When I investigated and asked in ladybug forum, it seems that OpenStudio API write Constuction, not Construction (missing r). This is the problem. Since economic evaluation is not critical for my study, are there any way to disable writing economic calculation related component? By doing this, I can avoid error below.

** Severe  ** <root>[ComponentCost:LineItem][Exterior Roof_TakeOff][line_item_type] - "Constuction" - Failed to match against any enum values.
katsuya.obara's avatar
2.1k
katsuya.obara
asked 2018-07-18 19:47:38 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-07-18 20:06:31 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

The measure fails because of line 80 in this BCL measure "SetOutputTableToIPUnits" where "construction" is misspelled. [EDIT: Measure now fixed on BCL].

    string_objects <<"
    ComponentCost:LineItem,
    #{used_construction_name}_TakeOff,  !-Name
    ,                                   !-Type
    Constuction,                        !-Line Item Type
    #{used_construction_name},          !-Item Name
    ,                                   !-Object End Use Key
    ,                                   !-Cost per Each {$}
    .0000000001;                        !-Cost per Area {$/m2}
    "

It's not relevant to the measure and seems like it was left in from hastily copied measure code.

Lesson - be careful about downloading measures on BCL if they don't have unit tests. Measures under the NREL and UnmetHours organizations are on GitHub and have testing/uploading procedures, so those are more likely to work consistently.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2018-07-18 22:43:04 -0500, updated 2018-07-19 13:12:50 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments