2

Energyplus simulation on Mac OS

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?

devonqian's avatar
115
devonqian
asked 2015-01-13 00:49:04 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2015-01-19 03:12:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

4 Answers

3

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.

MarkAdams's avatar
1.8k
MarkAdams
answered 2015-01-13 06:35:12 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2016-01-18 04:43:21 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments
2

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

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

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2016-01-18 10:15:19 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
2

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.

Madhur Behl's avatar
41
Madhur Behl
answered 2016-01-16 00:57:49 -0500, updated 2016-01-16 00:59:08 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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!

gmolina's avatar
283
gmolina
answered 2015-01-13 04:15:31 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments