1

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

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?

HoussemYounes's avatar
271
HoussemYounes
asked 2023-03-20 10:45:31 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-03-28 10:23:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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)

HoussemYounes's avatar
271
HoussemYounes
answered 2023-03-24 08:52:25 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments