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

ZoneHVAC:Baseboard:RadiantConvective:Water and Missing required property 'outlet_node_name' error in C#

asked 2023-04-15 07:58:32 -0600

updated 2023-04-24 05:49:34 -0600

Hello to all friends I am using C# language for simulation. I understood using the ZoneHVACBaseboardRadiantConvectiveWater class to simulate the radiator system. Also, in order to complete the simulation, by reading the tutorial, I realized that I need to define a Node class:

this.HeatingNode = new OpenStudio.Node(Model);
this.HeatingNode.setName("HeatingNode");

I also have PlanLoop class:

this.HeatingPlantLoop = new OpenStudio.PlantLoop(Model);
this.HeatingPlantLoop.setName("HeatingPlantLoop");
this.HeatingPlantLoop.setFluidType("Water");                               
this.HeatingPlantLoop.setMaximumLoopTemperature(85);
this.HeatingPlantLoop.setMinimumLoopTemperature(75);
this.HeatingPlantLoop.addSupplyBranchForComponent(this.HeatingNode);

and a BoilerHotWater class:

this.BoilerHotWater=new OpenStudio.BoilerHotWater(Model);
this.BoilerHotWater.setName("BoilerHotwater");
this.BoilerHotWater.setNominalThermalEfficiency(0.8);
this.BoilerHotWater.setFuelType("NaturalGas");
this.BoilerHotWater.setSizingFactor(1);
this.BoilerHotWater.setMaximumPartLoadRatio(1.1);
this.BoilerHotWater.setWaterOutletUpperTemperatureLimit(100);
this.BoilerHotWater.addToNode(this.HeatingNode);

But when I start calculations, I encounter these errors:

** Severe  ** <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_name'.
** Severe  ** <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_object_type'.
** Severe  ** <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_schedule_name'.
** Severe  ** <root>[ZoneHVAC:Baseboard:RadiantConvective:Water][Zone HVAC Baseboard Radiant Convective Water 1] - Missing required property 'inlet_node_name'.
** Severe  ** <root>[ZoneHVAC:Baseboard:RadiantConvective:Water][Zone HVAC Baseboard Radiant Convective Water 1] - Missing required property 'outlet_node_name'.

Thank you for helping me. As it is clear in the codes, I assigned the nodes to the plantloop and boilerhotwater classes, but it still gives the node error.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-04-16 08:04:57 -0600

Never create Nodes manually.

You need to add the heating coil to the demand side of a PlantLoop instead.

Example: https://github.com/NREL/OpenStudio-re...

 zoneHVACBaseboardRadiantConvectiveWater = OpenStudio::Model::ZoneHVACBaseboardRadiantConvectiveWater.new(model)
baseboard_coil = zoneHVACBaseboardRadiantConvectiveWater.heatingCoil
hotWaterPlant.addDemandBranchForComponent(baseboard_coil)
zoneHVACBaseboardRadiantConvectiveWater.addToThermalZone(story_1_core_thermal_zone)
edit flag offensive delete link more

Comments

thanks a lot Can you help me with these errors?

Masoud's avatar Masoud  ( 2023-04-16 09:27:21 -0600 )edit
  • Severe * <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_name'. * Severe * <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_object_type'. * Severe * <root>[PlantEquipmentOperationSchemes][HeatingPlantLoop(2) Operation Schemes] - Missing required property 'control_scheme_1_schedule_name'. * Severe * <root>
Masoud's avatar Masoud  ( 2023-04-16 09:27:28 -0600 )edit
1

Add your boiler on a supply side branch. A pump on the supply inlet node. And a setpointmanager scheduled on the supply outlet node.

Julien Marrec's avatar Julien Marrec  ( 2023-04-16 10:58:10 -0600 )edit
1

https://github.com/NREL/OpenStudio-re... and line 56-57 (except with a boilerHotWater) for an example

Julien Marrec's avatar Julien Marrec  ( 2023-04-16 10:58:57 -0600 )edit

in the second example written for guidance, the temperature of hot water and its value is considered equal to 24. This value is at least 65 to 70 for hot water.

Masoud's avatar Masoud  ( 2023-04-18 05:57:59 -0600 )edit

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: 2023-04-15 07:58:32 -0600

Seen: 155 times

Last updated: Apr 24 '23