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

Openstudio not recognizing PlantComponent:UserDefined as a heating/cooling device

asked 2023-03-20 10:45:31 -0600

HoussemYounes's avatar

updated 2023-03-28 10:23:38 -0600

PlantComponentUserDefined is used to model a custom hydronic heating system. The component is added through a measure. The problem seems to be that the ComponentType for this object is set to BOTH (ComponentType::BOTH) in the source code. Whenever default schemes are created in the translation to IDF, the new component is not added and its scheme defaults to Uncontrolled. I know that this can be resolved by defining the PlantEquipmentOperation:HeatingLoad object when the measure is added and specify the order of heating equipment in the PlantEquipmentList, however I would like to ideally hide this from the user to avoid the user having to specify all the equipment priorities. Ideally the custom object can just be added like another boiler for example. I know if the scheme is not defined explicitely the result is that it won't turn on. Is there way to specify this attribute (ComponentType) through the SDK ? In other words, a way of telling E+ that this component is meant for heating? Or it's absolutely necessary to have the scheme defined in the measure?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-24 08:52:25 -0600

HoussemYounes's avatar

I find that this is the portion of the source code for plant equipment operation schemes responsible for this.

case openstudio::IddObjectType::OS_PlantComponent_UserDefined:
{
  return ComponentType::BOTH;
}

Is there a way to have the componentType being recognized based on the plantloop looptype or the plantloadingmode for the PCUD object ( for example if the loading mode is set to MeetsLoadWithNominalCapacityHiOutLimit then the componenttype is set to heating)

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

2 followers

Stats

Asked: 2023-03-20 10:45:31 -0600

Seen: 75 times

Last updated: Mar 24 '23