4

How to specify loads by end-use in OpenStudio?

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

Brian C's avatar
560
Brian C
asked 2016-06-28 17:09:54 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-06-28 17:53:42 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2016-06-29 00:30:08 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments