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

dalin_si's profile - activity

2023-06-01 12:23:44 -0500 received badge  Notable Question (source)
2023-06-01 12:23:44 -0500 received badge  Popular Question (source)
2019-04-25 12:55:35 -0500 marked best answer why the cloned object type changed using the ruby bindings

Hi I want to clone a exist boiler in model by using ruby binding, but after that, I find the modeloject type is diferent, so that I can not add this boiler into a plantloop. how do I change the copy one's object type?

irb(main):115:0> new_boiler = model.getBoilerHotWaters[0].clone(model)
=> #<OpenStudio::Model::ModelObject:0x0000000395a738 @__swigtype__="_p_openstudio__model__ModelObject">
irb(main):116:0> hot_water_loop = model.getPlantLoops[0]
=> #<OpenStudio::Model::PlantLoop:0x0000000390be58 @__swigtype__="_p_openstudio__model__PlantLoop">
irb(main):117:0> hot_water_loop.addSupplyBranchForComponent(new_boiler)
TypeError: Expected argument 1 of type openstudio::model::HVACComponent, but got OpenStudio::Model::ModelObject #<OpenStudio::Model::ModelObje...
        in SWIG method 'addSupplyBranchForComponent'
        from (irb):117:in `addSupplyBranchForComponent'
        from (irb):117
        from C:/Ruby200-x64/bin/irb:12:in `<main>'

the new_boiler is OpenStudio::Model::ModelObject, but the original one is:

irb(main):118:0> model.getBoilerHotWaters[0]
=> #<OpenStudio::Model::BoilerHotWater:0x00000003850ec8 @__swigtype__="_p_openstudio__model__BoilerHotWater">
2018-01-03 09:49:01 -0500 marked best answer how to model ACCU (Air Cooled Condensing Unit) in openstudio

HI, maybe it is a stupid question, but what's the difference between AHU and ACCU, and how to I model a ACCU in openstudio? thanks!

2017-12-21 14:14:30 -0500 edited question how to model ACCU (Air Cooled Condensing Unit) in openstudio

how to model ACCU (Air Cooled Condensing Unit) in openstudio HI, maybe it is a stupid question, but what's the differenc

2017-12-21 14:14:06 -0500 asked a question how to model ACCU (Air Cooled Condensing Unit) in openstudio

how to model ACCU (Air Cooled Condensing Unit) in openstudio HI, Whats the difference between AHU and ACCU, and how to I

2017-11-15 13:04:18 -0500 asked a question Report ASHRAE 62.1 with single zone system in openstudio

Report ASHRAE 62.1 with single zone system in openstudio Hi All, I want to export the report about Report ASHRAE 62.1 f

2017-07-13 09:17:38 -0500 edited question any heat exchanger can transfer heat from steam to water?

is any heat exchanger can transfer heat from steam to water? Hi I simulated a building with steam boiler, and want to tr

2017-07-12 20:12:24 -0500 asked a question any heat exchanger can transfer heat from steam to water?

is any heat exchanger can transfer heat from steam to water? Hi I simulated a building with steam boiler, and want to tr

2017-06-02 13:02:36 -0500 asked a question Can I simulate the cycling process of a boiler?

Can I simulate the cycling process of a boiler? Hi, for now I want to simulate boilers with different turn down ratio, b

2017-04-25 11:59:00 -0500 asked a question do I need to multiply the outdoor air flow rate according to zone multiplier?

do I need to multiply the outdoor air flow rate according to zone multiplier? Hi, if one zone need 32 cfm outdoor air, s

2017-04-14 15:48:01 -0500 commented answer How to simulate the fresh air in each apartment provided from corridor?

Thanks, but in this way, how can I guarantee there have enough fresh air in each apartment? (because I only can set flow rate from corridor, rather than fresh air flow rate)

2017-04-14 14:16:16 -0500 asked a question How to simulate the fresh air in each apartment provided from corridor?

Hi, I got a building with one RTU which provide fresh air to corridor, and each apartment fresh air also provided through a door undercut from corridor. I just wonder how can I simulate a vent between each apartment and corridor by openstudio?

2017-03-13 13:22:28 -0500 commented answer How to sum the zone output:variable in energyPlus

is that key_name for name of each PTHP?

2017-03-13 09:51:24 -0500 commented answer How to sum the zone output:variable in energyPlus

Also, seems like I can't type a variable output in custom meter, otherwise, following warning would come up: * Warning * Meter:Custom="PTHP1", invalid Output Variable or Meter Name 1="ZONE PACKAGE TERMINAL HEAT PUMP ELECTRIC ENERGY". * ~~~ * ...will not be shown with the Meter results.

2017-03-13 09:17:28 -0500 commented answer How to sum the zone output:variable in energyPlus

Thank you, but the only meter I can got is Zone Package Terminal Heat Pump Electric Energy, this one variable for all zones, how do I get each zone PTHP electric meter? is that means each key name for Zone Package Terminal Heat Pump Electric Energy should be a space name?

2017-03-10 14:53:48 -0500 asked a question How to sum the zone output:variable in energyPlus

I have a CHP case, and I want to track the electric consumption excluded each apartment, so in Meter:CustomDecrement I exclude each apartment zone electric meter (such as:Electricity:Zone:1-LOFT ZN). however, I notice that these kind of electric meter don't include its HVAC (PTPH in each apartment). From rdd and mdd file, I only can find Zone Package Terminal Heat Pump Electric Energy, but it is a variable which have each zone PTHP result, rather than sum.

So I just wonder is there have any method to get the electric energy of all PTHP in output:variable or output:meter. So I can exclude it from total electric consumption (Electricity:Facility)

2017-03-10 14:43:56 -0500 commented question Heating Consumption is too small in ClimateZone4A

Thank you taylor

2017-03-06 09:36:18 -0500 received badge  Critic (source)
2017-03-03 17:21:24 -0500 asked a question How can I simulate a CoilDX with a vary air flow

Hi! I'm simulating a Apartment equipped with PTHP. These devices have a vary rated air volume flow rate.

** Severe  ** Sizing: Coil:Cooling:DX:SingleSpeed "1-LOFT ZN PTHP CLGCOIL": Rated air volume flow rate per watt of rated total cooling capacity is out of range.
   **   ~~~   ** Min Rated Vol Flow Per Watt=[4.027E-005], Rated Vol Flow Per Watt=[9.787E-005], Max Rated Vol Flow Per Watt=[6.041E-005]. See Input Output Reference Manual for valid range.
   ** Severe  ** Sizing: Coil:Heating:DX:SingleSpeed 1-LOFT ZN PTHP HTGCOIL: Rated air volume flow rate per watt of rated total heating capacity is out of range.
   **   ~~~   ** Min Rated Vol Flow Per Watt=[4.027E-005], Rated Vol Flow Per Watt=[8.700E-005], Max Rated Vol Flow Per Watt=[6.041E-005]. See Input-Output Reference Manual for valid range.
   ** Severe  ** Sizing: Coil:Cooling:DX:SingleSpeed "1-N APARTMENT 1 ZN PTHP CLGCOIL": Rated air volume flow rate per watt of rated total cooling capacity is out of range.
   **   ~~~   ** Min Rated Vol Flow Per Watt=[4.027E-005], Rated Vol Flow Per Watt=[3.380E-005], Max Rated Vol Flow Per Watt=[6.041E-005]. See Input Output Reference Manual for valid range.
   ** Severe  ** Sizing: Coil:Heating:DX:SingleSpeed 1-N APARTMENT 1 ZN PTHP HTGCOIL: Rated air volume flow rate per watt of rated total heating capacity is out of range.
   **   ~~~   ** Min Rated Vol Flow Per Watt=[4.027E-005], Rated Vol Flow Per Watt=[3.004E-005], Max Rated Vol Flow Per Watt=[6.041E-005]. See Input-Output Reference Manual for valid range.

According to similar question: How can I simulate a CoolingCoilDX with a high air flow (rated air volume flow rate)? From my understanding is that if I give a value to those DX coil from their parents components (do not autosize), you can operate the coil "outside" the rated flow/capacity limits.However, after I change the PTHP input, rather than using autosizing, these error also occurred.

Any advice and suggestion?

2017-03-03 11:37:48 -0500 asked a question Heating Consumption is too small in ClimateZone4A

Hi, I model the baseline in OpenStudio according to ASHRAE 90.1 APP G for a apartment in NYC, the hvac system is PTAC. The heating consumption is too small to compare with cooling consumption (1:2 approx). According to the previous experience, the heating consumption is too low.

OSM file and simulation result are shown below:

model

image description

Does anyone can help me to figure out what's going on and diagnose the problem in this model?

2017-03-02 09:56:46 -0500 received badge  Enthusiast
2017-02-22 13:35:26 -0500 commented answer heating/cooling sequence error in OpenStudio

@Kyle Benne is it a bug or not?

2017-02-22 12:12:42 -0500 answered a question heating/cooling sequence error in OpenStudio

Ok, I figured it out by myself

it is a error when OpenStudio export IDF file

for eaxmple:

I have equipment list like this:

image description

four equipment in list, but two exhaust fan shouldn't be listed in heating or cooling sequence. So when it export IDF file, it does skip two fans, but the index for the fourth equipment are export to IDF file:

image description

To figure it out, just put these two fan at the end of list, the index transferring should be fine.

2017-02-22 11:25:03 -0500 asked a question How to hard assign construction to surface by ruby

Hi, I want to set some adiabatic wall for my model, but after I set adiabatic walls, seems constructions for these surface can not be assigned from construction set, so I have to assign by myself (by ruby bindings). However, form the SDK documentation, there is no method for Surface to assign a single construction, does someone can help me to figure it out?

2017-02-21 16:15:29 -0500 asked a question heating/cooling sequence error in OpenStudio

Hi, I got a error shows below, I know it is cooling/heating priority disorder in EnergyPlus:

    ** Severe  ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList="APT-113(2BR) SUPER ZN EQUIPMENT LIST".
   **   ~~~   ** invalid Zone Equipment 2 Cooling Sequence=[4].
   **   ~~~   ** equipment sequence must be > 0 and <= number of equipments in the list.
   **   ~~~   ** only 3 in the list.
   ** Severe  ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList="APT-113(2BR) SUPER ZN EQUIPMENT LIST".
   **   ~~~   ** invalid Zone Equipment 2 Heating or No-Load Sequence=[4].
   **   ~~~   ** equipment sequence must be > 0 and <= number of equipments in the list.
   **   ~~~   ** only 3 in the list.
   ** Severe  ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList="APT-113(2BR) SUPER ZN EQUIPMENT LIST".
   **   ~~~   ** invalid Zone Equipment 3 Cooling Sequence=[5].
   **   ~~~   ** equipment sequence must be > 0 and <= number of equipments in the list.
   **   ~~~   ** only 3 in the list.
   ** Severe  ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList="APT-113(2BR) SUPER ZN EQUIPMENT LIST".
   **   ~~~   ** invalid Zone Equipment 3 Heating or No-Load Sequence=[5].
   **   ~~~   ** equipment sequence must be > 0 and <= number of equipments in the list.
   **   ~~~   ** only 3 in the list.
   ** Warning ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList = APT-113(2BR) SUPER ZN EQUIPMENT LIST
   **   ~~~   ** ...zero assignments for Zone Equipment Cooling Sequence=2, apparent gap in sequence assignments in this equipment list.
   ** Warning ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList = APT-113(2BR) SUPER ZN EQUIPMENT LIST
   **   ~~~   ** ...zero assignments for Zone Equipment Heating or No-Load Sequence=2, apparent gap in sequence assignments in this equipment list.
   ** Warning ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList = APT-113(2BR) SUPER ZN EQUIPMENT LIST
   **   ~~~   ** ...zero assignments for Zone Equipment Cooling Sequence=3, apparent gap in sequence assignments in this equipment list.
   ** Warning ** GetZoneEquipmentData1: ZoneHVAC:EquipmentList = APT-113(2BR) SUPER ZN EQUIPMENT LIST
   **   ~~~   ** ...zero assignments for Zone Equipment Heating or No-Load Sequence=3, apparent gap in sequence assignments in this equipment list.

However, I don't know how to fix that in openstudio. when I check it in ruby, seems it's fine:

irb(main):031:0> zone = model.getThermalZoneByName('APT-113(2BR) SUPER ZN').get
=> #<OpenStudio::Model::ThermalZone:0x000000034a7b28 @__swigtype__="_p_openstudio__model__ThermalZone">
irb(main):032:0> zone.equipmentInHeatingOrder
=> [#<OpenStudio::Model::ModelObject:0x0000000375f168 @__swigtype__="_p_openstudio__model__ModelObject">, #<OpenStudio::Model::ModelObject:0x0000000375f0c8 @__swigtype__="_p_openstudio__model__ModelObject">, #<OpenStudio::Model::ModelObject:0x0000000375efb0 @__swigtype__="_p_openstudio__model__ModelObject">, #<OpenStudio::Model::ModelObject:0x0000000375ef10 @__swigtype__="_p_openstudio__model__ModelObject">]
irb(main):033:0> zone.equipmentInHeatingOrder[0]
=> #<OpenStudio::Model::ModelObject:0x00000005cb4800 @__swigtype__="_p_openstudio__model__ModelObject">
irb(main):034:0> zone.equipmentInHeatingOrder[0].name.get
=> "Apt-113(2BR) Super Zn WSHP"
irb(main):035:0> zone.equipmentInHeatingOrder[1].name.get
=> "Apt-113(2BR) Super Kitchen EF"
irb(main):036:0> zone.equipmentInHeatingOrder[2].name.get
=> "Apt-113(2BR) Super Bathroom EF"
irb(main):037:0> zone.equipmentInHeatingOrder[3].name.get
=> "Apt-113(2BR) Super Zn Undercut Door"

so any suggestions?

2017-02-17 14:41:30 -0500 commented answer How to add a controller to a hot water loop

Sorry for that, because I got heating and cooling consumption which have huge difference, so I just wonder why. Lack of controller was one of my consideration, but now I don't think that is the reason. sorry for that again.

2017-02-17 09:15:42 -0500 commented answer How to add a controller to a hot water loop

@Julien Marrec Hi, the model shown in first pic is built by you, so would you please tell me how do you add these coils to plant loop with controllers?