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

Energyplus simulation on Mac OS

asked 2015-01-13 00:49:04 -0500

devonqian's avatar

updated 2015-01-19 03:12:50 -0500

I actually try to use Mac OS to perform the Energyplus simulation, but every time I open EP-Launch Lite, there's a pop-up named "AppleScript Error". (See the picture).

AppleScript Error with EP-Launch Lite

And for those weather files, I only have three options. But in my WeatherData folder, there are more than three data files in it:

List of weather files available

I am wondering how can I add more weather data in the list, and how can I make those weather data names appear in the list?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
3

answered 2015-01-13 06:35:12 -0500

updated 2016-01-18 04:43:21 -0500

As the error message says, you do not have a WeatherData folder in /Applications/EnergyPlus-8-2-0/

EP-Launch looks for the WeatherData folder in a specific location only (/Applications/EnergyPlus-8-2-0/WeatherData/). More than likely you moved the WeatherData folder to a new folder location.

Also like @gmolina mentioned, you can run simulations through the command line. One thing to add to their response though is that 'runenergyplus' will use the most recently installed version of EnergyPlus. If you want to run a different version of EnergyPlus than the most recently installed, you need to create an environmental variable (ENERGYPLUS_DIR) of the directory with the EnergyPlus version you want to run.

You create an environmental variable like...

export ENERGYPLUS_DIR=/path/to/energyplus/to/run/

or

export ENERGYPLUS_DIR=/Applications/EnergyPlus-8-1-0/

You can see the value of the variable by calling...

echo $ENERGYPLUS_DIR

Then call the 'runenergyplus' script as normal.

edit flag offensive delete link more

Comments

Thank you for the advice. Actually, I find the WeatherData folder is at (/Applications/EnergyPlus-8-2-0/WeatherData/), so I am not sure what is the problem of the WeatherData. And do you mind to show me how to create the environmental variable, I have not idea how to do that. Thanks again.

devonqian's avatar devonqian  ( 2015-01-16 11:12:22 -0500 )edit
2

answered 2016-01-18 10:15:19 -0500

Unfortunately, this is an bug. I posted the problem just last week.

https://github.com/NREL/EnergyPlus/is...

edit flag offensive delete link more
2

answered 2016-01-16 00:57:49 -0500

updated 2016-01-16 00:59:08 -0500

I am also getting the same error. Just downloaded and installed the latest EnergyPlus -8-4-0 on a macbook pro running OSX El Capitan.

The problem is that the EP-Launch Lite application in 8-4-0 is trying to find the weather files in the EnergyPlus -8-3-0 directory for some reason; which does not exist. Not sure how to fix this.

You can see below that the Launch Lite application is launched from the 8-4-0 folder but the launcher reads 8.3.0 and the error is searching for a folder which does not exist.

As pointed out previously. The command line execution works without any problems.

edit flag offensive delete link more
1

answered 2015-01-13 04:15:31 -0500

Hi there,

I also use OSx for simulation, but have never used the ep launch. What I usually do is to start the simulation from the command line. That is, you open the terminal (command line), go to the directory where your IDF is placed, and write

'runenergyplus name.IDF weather.epw'

Of course, replacing "weather" and "name" by valid files

Not sure if you need to add this script to the path (as Radiance and other tools require)

Hope it helps!

edit flag offensive delete link more

Comments

Thank you for your advice. But can you offer more detail about how to simulate from the command line. Is there any possible that you can show me some screen shoots about what should I do?

devonqian's avatar devonqian  ( 2015-01-13 23:51:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2015-01-13 00:49:04 -0500

Seen: 3,138 times

Last updated: Jan 18 '16