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

How to specify loads by end-use in OpenStudio?

asked 2016-06-28 17:09:54 -0500

Brian C's avatar

updated 2016-06-28 17:53:42 -0500

Hello,

I would like to learn how to specify load definitions by end-use within OpenStudio. For example, I have created process lighting definitions that I would like to see under Interior Lighting (process) not bundled under Interior Lighting. Same goes for electric equipment definitions for elevators, cooking equipment, etc. as all electric equipment is bundled under receptacle equipment.

Is this possible within OpenStudio platform? Can you do this by editing .osm file? How would you do this in the .idf if needed?

Thank you, Brian

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-06-29 00:30:08 -0500

The OpenStudio application doesn't expose it, but there are API methods for lights and equipment (instances) to set and get the end use subcategory. Here is a link to the lights API documentation. Below is an example usage as it would apppear in a measure.

# change enduse sub category of lights
model.getLightss.each do |light|
  if light.name.to_s.include?("Desk")
    light.setEndUseSubcategory("Task")
    runner.registerInfo("The new enduse sub-category for #{light.name} is #{light.endUseSubcategory}")
  end
end

Here is what the resulting OSM object would look like

OS:Lights, {ab047e2e-298a-4311-a213-44111fe90ed3}, !- Handle
Desk Lamp, !- Name
{1a33b605-f1b5-40b1-a8fa-57781ad953af}, !- Lights Definition Name
{f120bd53-be8c-4b30-8e87-e13a20cffeb8}, !- Space or SpaceType Name
, !- Schedule Name
, !- Fraction Replaceable
, !- Multiplier
Task; !- End-Use Subcategory

edit flag offensive delete link more

Comments

@David Goldwasser why is it that when I edit the OS:Lights object directly in the .osm file, I am unable to open the file again in OS Application by getting the following error: "Model with Version 1.11.0 IDD is not valid to draft stictness level"

Task

Brian C's avatar Brian C  ( 2016-06-29 11:43:14 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

Stats

Asked: 2016-06-28 17:09:54 -0500

Seen: 329 times

Last updated: Jun 29 '16