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

mapascual's profile - activity

2024-04-03 01:59:52 -0500 commented question District Heating Water not found in report measures

Thank you. I also think it is the same problem.

2024-04-02 11:10:59 -0500 asked a question District Heating Water not found in report measures

District Heating Water not found in report measures I am testing the OpenstudioApp 1.7.1-rc1 and I have noticed that the

2023-07-11 04:35:34 -0500 edited answer Do both OpenStudio Zones and Spaces need to be Convex

You can simulate convex zones, but the solar distribution algorithm should be Minimal Shadowing, Full Exterior or FullEx

2023-07-11 02:47:27 -0500 received badge  Rapid Responder (source)
2023-07-11 02:47:27 -0500 answered a question Do both OpenStudio Zones and Spaces need to be Convex

You can simulate convex zones, but the solar distribution algorithm should be Minimal Shadowing, Full Exterior or FullEx

2023-07-10 00:50:13 -0500 commented question Outside Reveal Depth field not working in OS:WindowProperty:FrameAndDivider

Thank you Denis!

2023-07-08 06:02:33 -0500 asked a question Outside Reveal Depth field not working in OS:WindowProperty:FrameAndDivider

Outside Reveal Depth field not working in OS:WindowProperty:FrameAndDivider It seems that the field "Outside Reveal Dept

2023-05-06 03:29:14 -0500 marked best answer OS:FuelFactors not translated to FuelFactors in idf file

I am trying to modify the default FuelFactors in openstudio. I have written a tool using openstudio sdk. It seems to be working fine in the .osm (it introduces OS:FuelFactors object in the .osm) but when I run the simulation the equivalent instance in the energyPlus file (FuelFactors,) is missing.

in.osm

OS:FuelFactors,
  {a5c0b3bc-3c4c-4c77-b3f6-5b88a61b9c45}, !- Handle
  Electricity,                            !- Existing Fuel Resource Name
  1.954,                                  !- Source Energy Factor {J/J}
  ,                                       !- Source Energy Schedule Name
  91.9444444444444,                       !- CO2 Emission Factor {g/MJ}
  ,                                       !- CO2 Emission Factor Schedule Name
  0.0420616,                              !- CO Emission Factor {g/MJ}
  ,                                       !- CO Emission Factor Schedule Name
  0.00139858,                             !- CH4 Emission Factor {g/MJ}
  ,                                       !- CH4 Emission Factor Schedule Name
  0.410753,                               !- NOx Emission Factor {g/MJ}
  ,                                       !- NOx Emission Factor Schedule Name
  0.00241916,                             !- N2O Emission Factor {g/MJ}
  ,                                       !- N2O Emission Factor Schedule Name
  0.865731,                               !- SO2 Emission Factor {g/MJ}
  ,                                       !- SO2 Emission Factor Schedule Name
  0.0295827,                              !- PM Emission Factor {g/MJ}
  ,                                       !- PM Emission Factor Schedule Name
  0.018045,                               !- PM10 Emission Factor {g/MJ}
  ,                                       !- PM10 Emission Factor Schedule Name
  0.0115377,                              !- PM2.5 Emission Factor {g/MJ}
  ,                                       !- PM2.5 Emission Factor Schedule Name
  0.00110837,                             !- NH3 Emission Factor {g/MJ}
  ,                                       !- NH3 Emission Factor Schedule Name
  0.00372332,                             !- NMVOC Emission Factor {g/MJ}
  ,                                       !- NMVOC Emission Factor Schedule Name
  3.36414e-06,                            !- Hg Emission Factor {g/MJ}
  ,                                       !- Hg Emission Factor Schedule Name
  0,                                      !- Pb Emission Factor {g/MJ}
  ,                                       !- Pb Emission Factor Schedule Name
  2.10074,                                !- Water Emission Factor {L/MJ}
  ,                                       !- Water Emission Factor Schedule Name
  0,                                      !- Nuclear High Level Emission Factor {g/MJ}
  ,                                       !- Nuclear High Level Emission Factor Schedule Name
  0;                                      !- Nuclear Low Level Emission Factor {m3/MJ}

in.idf

FuelFactors is not present in the in.idf file

Any clues? Thanks for your attention.

2023-05-06 03:29:08 -0500 commented answer OS:FuelFactors not translated to FuelFactors in idf file

Thank you very much. Now it work!!!

2023-05-03 08:59:16 -0500 asked a question OS:FuelFactors not translated to FuelFactors in idf file

OS:FuelFactors not translated to FuelFactors in idf file I am trying to modify the default FuelFactors in openstudio. I

2023-05-03 08:59:14 -0500 asked a question OS:FuelFactors not translated to FuelFactors in idf file

OS:FuelFactors not translated to FuelFactors in idf file I am trying to modify the default FuelFactors in openstudio. I

2022-09-12 01:59:26 -0500 marked best answer Problem in openstudio measure in 3.4

I an having problems with a measure that used to work fine in openstudio app 2.9 but now in some cases is failing in 3.4.

the problem appears when I call the uFactor method of a subsurface object from a measure. For example, when i call

window.uFactor

I get the the following error:

Result: Fail
Error: Error creating prepared statement: SELECT Value from TabularDataWithStrings
WHERE ReportName = 'EnvelopeSummary'
AND ReportForString = 'Entire Facility'
AND TableName = 'Exterior Fenestration
AND ColumnName = 'Glass U-Factor'
AND Units='W/m2-K'
AND RowId = ?; with error code 1, extended code 1, errmsg: near "Glass": syntax error
C:/Users/EFINOV~1/AppData/Local/Temp/osmodel-1662883600-0/resources/measures/verificacion_ctehe1_2019/measure.rb:1370:in `uFactor'

There are a few funny things: - It never fails in a ruby script inside sketchup - In an openstudio measure fails in some cases. I guess it depends on the glass construction name or the construction set name, but after several tries with different names I couldn't reach any conclution.

Any ideas?

Thanks

2022-09-12 01:58:27 -0500 answered a question Problem in openstudio measure in 3.4

I have found a work arround. I have noticed that at the begginig of the run method there is no problem getting the uFact

2022-09-12 01:58:27 -0500 received badge  Rapid Responder (source)
2022-09-12 01:52:48 -0500 commented answer Problem in openstudio measure in 3.4

Just to point it out, in the error message, in the prepared statement there is a missing ' after Exterior Fenestration.

2022-09-12 01:29:11 -0500 commented answer Problem in openstudio measure in 3.4

Thanks for your answer. In my case it is a self made reporting measure for verifying compliance with energy efficiency s

2022-09-11 04:48:47 -0500 received badge  Rapid Responder (source)
2022-09-11 04:48:47 -0500 answered a question CTF calculation convergence problem for Construction

CTF calculations find problems when dealing with large massive layers, as it is your case. I would recomend to reduce th

2022-09-11 04:31:19 -0500 edited question Problem in openstudio measure in 3.4

Problem in openstudio measure in 3.4 I an having problems with a measure that used to work fine in openstudio app 2.9 bu

2022-09-11 04:30:21 -0500 asked a question Problem in openstudio measure in 3.4

Problem in openstudio measure in 3.4 I an having problems with a measure that use to worki fine in openstudio app 2.9 bu

2022-06-17 04:29:09 -0500 commented answer Disk use in openstudio server

Thanks for your answer. It is a local deployment. We have tried stopping all the containers and prune every thing but w

2022-06-14 04:22:11 -0500 asked a question Disk use in openstudio server

Disk use in openstudio server We have started an openstudio server (v3.4) on a 16 cores Ubuntu 18.04 system. Everything

2021-08-14 06:00:44 -0500 marked best answer Possible bug in TimeStep in Openstudio 2.9.0

I have just notice that parameter Timestep in the OpenStudio settings is not being used in the simulation. For example, if I choose 6, this step is ok in the .osm file:

OS:Timestep,
  {210f49e8-ab04-4b81-b6fd-0fac6eeadcbc}, !- Handle
  6;                                      !- Number of Timesteps per Hour

But in the in.idf file it will always remain 4:

Timestep,
  4;                                      !- Number of Timesteps per Hour

Am I missing something?

I need to modify this value because I am using custom weather data with subhourly values. I guess the only workaround is to write a energyplus measure to modify this value.

2021-08-14 06:00:24 -0500 received badge  Rapid Responder (source)
2021-08-14 06:00:24 -0500 answered a question Possible bug in TimeStep in Openstudio 2.9.0

Thank you very much for your comments. You were right. I was also using a tariff measure that was changing the timestep.

2021-08-13 07:44:59 -0500 edited question Possible bug in TimeStep in Openstudio 2.9.0

Possible bug in TimeStep in Openstudio 2.9.0 I have just notice that parameter Timestep in the OpenStudio settings is no

2021-08-13 07:43:14 -0500 asked a question Possible bug in TimeStep in Openstudio 2.9.0

Possible bug in TimeStep in Openstudio 2.9.0 I have just notice that parameter Timestep in the OpenStudio settings is no

2020-08-29 02:08:22 -0500 answered a question How to merge two different open studio models into one single open studio model?

I use to solve these problems with the sketchup tool: "paste in place". I open a new sketchup application instance, cut

2020-08-17 10:07:50 -0500 marked best answer AdditionalProperties

I have noticed that OpenStudio 2.5 includes a new class: OpenStudio::Model::AdditionalProperties

I am trying to write some userscripts and measures and it would be very helpful to use this objet. The problem is I dont know how to create this object and how to assign it to the openstudio models.

Can anybody provide a simple use example?

2020-05-18 11:34:30 -0500 commented answer change zone equipment priority order

Thanks Matthew. I use to edit the osm file and look for the OS:ZoneHVAC:EquipmentList and manually change the order. I w

2020-05-18 11:31:49 -0500 marked best answer change zone equipment priority order

Is it possible to change the zone equipment priority order from the Openstudio-app?

2020-05-18 02:58:15 -0500 asked a question change zone equipment priority order

change zone equipment priority order Is it possible to change the zone equipment priority order from the Openstudio-app?

2020-05-15 11:30:11 -0500 commented question Openstudio measure needs to access system variables

Ruby: 2.2.6p396 OpenStudioApp: v2.9.0

2020-05-15 05:21:53 -0500 asked a question Openstudio measure needs to access system variables

Openstudio measure needs to access system variables I am writing a measure that requires executing an external program.

2020-05-14 09:35:50 -0500 marked best answer Problems getting ScheduleRuleset value

I am writing an Openstudio measure that needs to access the values defined in a schedule defined by "ScheduleRuleset" with different rules. I have written something like this:

sch = model.getScheduleRulsetByName("Schedule name").get
start_date = OpenStudio::Date.new(OpenStudio::MonthOfYear.new("Jan"), 1)
end_date = OpenStudio::Date.new(OpenStudio::MonthOfYear.new("Dec"), 31)

I have the following problems:

  • sch.getDaySchedules(start_date, end_date) always returns the default day (although there are other rules defined for these days)
  • sch.getActiveRuleIndices(start_date, end_date) always returns an array filled with -1 (no valid rule for this day).

What am I doing wrong? Is there another way to get the schedule values?

2020-05-14 07:07:49 -0500 commented answer Problems getting ScheduleRuleset value

Sorry for my previous poor research. It is the same problem, but the solution given, didn't work for me. I continue the

2020-05-14 07:06:28 -0500 answered a question Define scheduleRuleset by measure

Sorry it didn't work for me. I am trying to get the values of schedule that is defined using the OpenStudioApp (v2.9) an

2020-05-14 06:00:32 -0500 commented question Contradiction between cooling load and u- value of glass

You could check if the outside temperature is lower than the thermal zone temperature.