Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

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

asked 2018-07-18 19:47:38 -0600

katsuya.obara's avatar

updated 2018-07-18 20:06:31 -0600

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.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-07-18 22:43:04 -0600

updated 2018-07-19 13:12:50 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-07-18 19:47:38 -0600

Seen: 86 times

Last updated: Jul 19 '18