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

Linux: Running EP indepently from OpenStudio 1.6.0 ?

asked 2015-02-23 17:21:18 -0600

updated 2015-02-24 07:25:16 -0600

If one wants to run EnergyPlus 8.2.0 simulations from command terminal window independently from OpenStudio by

/usr/local/share/openstudio-1.6.0/EnergyPlus-8-2-0/runenergyplus XXX.idf weatherfile.epw, this fails because because EnergyPlus expects required libraries and executables in appropriate bin sub-directories, whereas the OpenStudio installation places them in EnergyPlus-8-2-0 and PostProcess subdirectories, respectively. (This could be considered a bug in the OpenStudio installation, although this is apparently not an issue if simulations are initiated by OpenStudio)

Is there a remedy ?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2015-02-24 07:49:21 -0600

scottb's avatar

Why not use E+ directly and side-step OpenStudio?

Just make sure the following system variables are setup in bash/zsh

Ex.

export ENERGYPLUS_DIR=~/energyplus/EnergyPlus-8-2-0

export ENERGYPLUS_WEATHER=$ENERGYPLUS_DIR/WeatherData

export PATH=$PATH:$ENERGYPLUS_DIR

You can then just use:

runenergyplus XXX.idf WEATHERFILE

As of E+ v8 and onwards, the bin directory is no longer used. So 'PreProcess' and 'PostProcess' is the standard install.

edit flag offensive delete link more
1

answered 2015-02-24 07:32:53 -0600

Yi Zhang's avatar

If you don't "have to" run E+ simulations in a terminal (e.g. for scripting reasons), you can run the jobs on the free web server: http://server2.ensims.com. After logging on (u/p= public/test), just drag and drop the files and download full results when it finishes.

edit flag offensive delete link more
1

answered 2015-02-24 04:32:34 -0600

the following hack provides a work-around: with admin priviledges,

(1) create subdirectories /usr/local/share/openstudio-1.6.0/EnergyPlus-8-2-0/bin /usr/local/share/openstudio-1.6.0/bin (2) copy the following files into the sub-directories:

/usr/local/share/openstudio-1.6.0/bin

Energy+.idd EnergyPlus HVAC-Diagram libbcvtb.so libepexpat.so libepfmiimport.so ReadVarsESO

/usr/local/share/openstudio-1.6.0/bin

Energy+.idd EnergyPlus HVAC-Diagram libbcvtb.so libepexpat.so libepfmiimport.so ReadVarsESO

(3) after these installation modifications simulations can be started as a normal user by

/usr/local/share/openstudio-1.6.0/EnergyPlus-8-2-0/runenergyplus   XXX.idf  weatherfile.epw

This will produce a link to Energy+.idd in the working directory, 
which has to be removed after the simulation manually, because otherwise
the next simulation run is blocked by the existing link.

APPLICATION:
In OpenStudio, not all available Output variables can be switched on or off; however by editing the idf file, more output options can be set; after this, one can directly start new simulations by program call (3).

edit flag offensive delete link more

Comments

@osuserAT FYI you can use an OpenStudio Measure to add things to the model, even if they aren't exposed in the GUI yet. See the measure.rb file in this Measure for an example of how to add output variables.

aparker's avatar aparker  ( 2015-02-24 08:51:26 -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

Stats

Asked: 2015-02-23 17:21:18 -0600

Seen: 369 times

Last updated: Feb 24 '15