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

Running Eppy (E+) on a web server

asked 2 years ago

Debayan93's avatar

updated 2 years ago

Hello community,

Currently, I am working on a project which contains some Eppy scripts to modify E+ .idf files and perform simulations & corresponding visualizations which are based on some user prompts.

However, to deploy the project as a web app, it requires running E+ (due to Eppy) on a server instead of running on my local system. I was wondering if anyone has experience in deploying a web app through commercial solutions like Streamlit Share, Heroku, GCP etc. which runs E+ simulations.

Any suggestions and guidance are welcomed.

Best regards,

Debayan

Preview: (hide)

Comments

1

I have run eppy and EnergyPlus on Amazon EC2 without a problem.

JasonGlazer's avatar JasonGlazer  ( 2 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 2 years ago

santoshphilip's avatar

updated 2 years ago

In eppy, idf.run() will run on any machine that has eppy installed and E+ installed.

Service like Heroku (Platform as a service) generally will NOT allow you to install E+

Considering this limitation, my solution has been to:

Run it two machines

  1. Run the web server on Heroku (or something similar).
  2. Install and run E+ on a separate machine on AWS or linode.com (call it the E+Machine)
  3. The Webserver sends the input files over the internet to the E+Machine to be simulated
  4. Once the simulation is complete, the E+Machine sends the results back to the web server that does something with the results

Take a look at zeppy. It may help you with steps 3 and 4 above

Running it on a single machine

You can run everthing on a single machine on ASW or linode.com - both webserver and simulation. You lose the ease of deployment that "Platform as a service" Heroku gives you. But it makes everything else simpler, as you don't have to deal with the communication betwen two machines.

Preview: (hide)
link

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

3 followers

Stats

Asked: 2 years ago

Seen: 216 times

Last updated: Dec 14 '22