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

yiyuan-jia's profile - activity

2022-09-23 14:07:43 -0500 edited answer Energy Plus simulation and compliance with ISO 13790 and 52016-1

ISO 13790 is a precedent version of ISO 52016. Many have tested and reported the percent differences of monthly aggrega

2022-07-30 07:26:33 -0500 asked a question Example of using openstudio-standards to create baseline model from proposed

Example of using openstudio-standards to create baseline model from proposed Anyone has an example of to work with opens

2022-07-20 10:06:26 -0500 received badge  Teacher (source)
2022-07-19 23:33:19 -0500 answered a question Energy Plus simulation and compliance with ISO 13790 and 52016-1

ISO 13790 is a precedent version of ISO 52016. Many have tested and reported the percent differences of monthly aggrega

2020-01-20 17:55:58 -0500 edited question Import a customized BSDF .xml file into LBNL Window

Import a customized BSDF .xml file into LBNL Window We have a shade product tested and acquired the BSDF data (in .xml)

2020-01-20 17:37:35 -0500 commented question Import a customized BSDF .xml file into LBNL Window

That's exactly what I'm looking for! Thanks a lot!

2020-01-20 17:25:52 -0500 commented question Import a customized BSDF .xml file into LBNL Window

Hi Andy, thanks for the reply. The BSDF data belongs to a client, not sure if we can share it without a permission. But

2020-01-20 16:49:58 -0500 edited question Import a customized BSDF .xml file into LBNL Window

Import a customized BSDF .xml file into Window We have a shade product tested and acquired the BSDF data (in .xml) from

2020-01-20 16:49:31 -0500 edited question Import a customized BSDF .xml file into LBNL Window

Import a customized BSDF .xml file into Window We have a shade product tested and acquired the BSDF data (in .xml) from

2020-01-20 16:49:29 -0500 edited question Import a customized BSDF .xml file into LBNL Window

Import a customized BSDF .xml file into Window We have a shade product tested and acquired the BSDF data (in .xml) from

2020-01-20 16:48:44 -0500 asked a question Import a customized BSDF .xml file into LBNL Window

Import a customized BSDF .xml file into Window We have a shade product tested and acquired the BSDF data (in .xml) from

2017-04-19 09:11:12 -0500 received badge  Enthusiast
2017-03-20 14:50:17 -0500 received badge  Commentator
2017-03-20 14:50:17 -0500 commented question Not meeting specified minimum air flow/design OA

Adam, thanks for your suggestion. It does not look like I had anything funny in the operation schedules, nor the zone sizing. Or maybe I misunderstood - were you referring to other objects? I guess to rephrase the question, are there any successful strategies/examples through/in which the min. air flows are controlled correctly?

2017-03-15 13:49:14 -0500 asked a question Not meeting specified minimum air flow/design OA

Created a simplified lab building model in EnergyPlus with high OA/total air change rate (6 ACH), however, the simulation results show actual airflow is not following specified air flow rate in EnergyPlus.

In this 4-zone lab building, I created 3 simple lab zones and one mechanical room. The minimum OA and minimum air flow for labs are 6 ACH according to the design (100% OA). I had entered 6 ACH in Sizing:Zone - Cooling Minimum Air Flow(converted to m3/s), AirTerminal:SingleDuct:VAV:Reheat, DesignSpecification:OutdoorAir objects, and followed this post, I assigned DesignSpecification:OutdoorAirobjects to AirTerminal:SingleDuct:VAV:Reheat, in order to enable OA-controlled ventilation.

The simulated ventilation rate hardly rises above 4 ACH for any of the lab spaces. Is there anything else I had missed to specify the min air flow? Could you please share your strategies to mandate the minimum air flow in EnergyPlus model for an air-flow-driven space.

Below are the zone areas and volumes in the format of Zone ID---area(m2)---volume(m3)

  • AGL1-DRKMM-001---174---743
  • AGL1-LABOR-003---223---951
  • AGL1-LCORR-002---140---595
  • AGL1-MECHE-004---58---248

The E+ Model: 4zoneLab.idf

2017-03-13 11:21:36 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

Problem resolved at eppy issue 147!

2017-03-10 13:12:16 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

Yeah, sure. Thanks for looking into this!

2017-03-10 11:30:21 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

Yeah sure, the previous error is resolved by commenting it out. Another one yet point to line 23, in <module>, "C:\Python27\Lib\site-packages\eppy\runner\run_functions.py" which is import multiprocessing as mp. The run_function.py is also called in modeleditor.py, so line 28 is reported.

2017-03-10 09:41:27 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

I just upgraded to the newest version. Now it's reporting line 22, which is also from py._log import warning.

2017-03-10 09:04:50 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

line 24 is from py._log import warning

2017-03-09 16:53:45 -0500 commented answer Issues when importing eppy in Ghpython editor of Grasshopper

Thanks for the heads-up. There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled". It seems working well afterward to import eppy, however, I still can't import "modeleditor" under eppy, please see the updated post for the error code. Thanks in advance!

2017-03-07 23:00:01 -0500 asked a question Issues when importing eppy in Ghpython editor of Grasshopper

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?


There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled".

It seems working well afterward to import eppyin the ghpython editor, however, I still can't import "modeleditor" under eppy, when I do from eppy import modeleditor, the error shows:

Runtime error (InvalidOperationException): Unsupported param dictionary type: IronPython.Runtime.PythonDictionary
Traceback:
  line 44, in initpkg, "C:\Python27\Lib\site-packages\py\_apipkg.py"
  line 19, in <module>, "C:\Python27\Lib\site-packages\py\__init__.py"
  line 24, in <module>, "C:\Python27\Lib\site-packages\eppy\modeleditor.py"
  line 4, in script
2017-03-02 15:50:05 -0500 received badge  Autobiographer
2016-04-12 18:08:38 -0500 marked best answer Set up the Ruby environment with RVM or rbenv in Mac

Hello, I'm new to Ruby and OpenStudio measure development. I have a question upon how to set up the environment of OpenStudio library for Ruby in Mac.

Currently I'm running Ruby through rvm(Ruby Version Manager) which is a stand alone ruby directory so that I won't mess up with the System Ruby. Here's what I did: First I ran gem install openstudio to get the library installed. After that I ran require "openstudio" in the IRB, the error message prints:

LoadError: cannot load such file -- openstudioutilitiescore

My ruby version in the rvm is 2.0.0p643 and OpenStudio v. 1.7.5.

Any help would be appreciated!

-----------------------------------------------------------------------------------------------------------------------------------------------------

Thanks David.

Here is what I did after:

I created the openstudio.rb file with the content:

require '/Applications/OpenStudio 1.7.5/Ruby/openstudio.rb'

And then saved it to:

/Users/my_user_name/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/

Then I uninstalled the openstudio package (which I install with gem earlier)

I tried to run require "openstudio" again in the irb.

The reports prints:

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of.

-- Control frame information ----------------------------------------------- c:0027 p:-17572663487022 s:0124 e:000123 TOP [FINISH] c:0026 p:---- s:0122 e:000121 CFUNC :require c:0025 p:0113 s:0118 e:000117 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/siteruby/2.0.0/rubygems/coreext/kernelrequire.rb:54 c:0024 p:0476 s:0108 e:000107 TOP /Applications/OpenStudio 1.7.5/Ruby/openstudio.rb:86 [FINISH] c:0023 p:---- s:0102 e:000101 CFUNC :require c:0022 p:0113 s:0098 e:000097 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/siteruby/2.0.0/rubygems/coreext/kernelrequire.rb:54 c:0021 p:0007 s:0088 e:000087 TOP /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/siteruby/openstudio.rb:1 [FINISH] c:0020 p:---- s:0086 e:000085 CFUNC :require c:0019 p:0113 s:0082 e:000081 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/siteruby/2.0.0/rubygems/coreext/kernelrequire.rb:54 c:0018 p:0007 s:0072 e:000071 EVAL (irb):1 [FINISH] c:0017 p:---- s:0070 e:000069 CFUNC :eval c:0016 p:0024 s:0063 e:000062 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/irb/workspace.rb:86 c:0015 p:0025 s:0056 e:000054 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/irb/context.rb:380 c:0014 p:0022 s:0050 e:000049 BLOCK /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/irb.rb:492 c:0013 p:0040 s:0042 e:000041 METHOD /Users/YJ/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/irb.rb:624 c:0012 p:0009 s:0037 e:000036 BLOCK /Users ...
(more)
2016-04-12 18:08:23 -0500 marked best answer Find and run with (highest)available version of EnergyPlus

Hi I'm working on a project that use the RunOSM library to run osm files through EnergyPlus. What I want to do is to search for the highest version of EnergyPlus installed in the user's machine and use it to run osm model. So I guess would need to change the code within the RunOSM class.

The original code of finding EnergyPlus in the RunOSM is:

ep_hash = OpenStudio::EnergyPlus::find_energyplus(8,3)

Which will store the path information of the EnergyPlus Version 8.3 in hash ep_hash. However, in case the user only has EnergyPlus 8.2 installed, EnergyPlus would be found and reports error.

Here is what I did to replace the line above:

idx = 3
ep_hash = Hash.new
while ep_hash[:energyplus_exe].nil?
  break if idx < 0
  ep_hash = OpenStudio::EnergyPlus::find_energyplus(8,idx)
  idx -= 1    
end

So that it will search for the highest version of EnergyPlus while still capable to run with lower versions.

This seems to work in term of finding other version of EnergyPlus, while still reports error says certain job "did not finish successfully" when I run RunOSM in my main program, I figured I might need to modify the find_energyplus code developed by NREL or is there any other more elegant way for this without touching the source code?

Thanks!

2015-10-06 09:58:23 -0500 marked best answer Run OpenStudio in a Linux virtual machine through Virtual Box

Hello OpenStudio Gurus,

We're developing a project in Ruby that calls OpenStudio for simulation. We would need make sure it is executable across different operating systems. We had tested it in PC and Mac and next is Linux. Our plan is to test it in a virtual machine through Virtual Box in Mac.

I'm curious if anyone has tried this before, if so, could you give me some hints on the versions of Linux(supported by Virtual Box) that has been proved to support this task, or are there any tricky procedures need to be carefully attended?

I would appreciate your suggestions!

------------------------------------------------------

I met some problems while testing the ruby script:

  1. EnergyPlus could not installed properly on Ubuntu 14.04: I followed the installation tutorial here and in the output of the installation it reports:

    mv: cannot move ‘/usr/local/EnergyPlus-8-3-0/energyplus.1’ to ‘/usr/local/share/man/man1/’: Not a directory

  2. I guess the first problem lead to the second one: as we need call the find_energyplus in our ruby script, it reports:

    [DEPRECATION] find_energyplus is deprecated. Please use OpenStudio::Runmanager::ConfigOptions instead.

Does anyone met the same problems while install EnergyPlus in Ubuntu 14.04?