Running EnergyPlus from eppy3000ΒΆ

Author(s): Santosh Philip

This is a bit of a hack. Internally it uses eppy to run the simulation.

Hey ! It works.

[4]:
# you would normaly install eppy3000 by doing
# python setup.py install
# or
# pip install eppy3000
# or
# easy_install eppy3000

import sys
# pathnameto_eppy = 'c:/eppy3000'
pathnameto_eppy3000 = '../'
sys.path.append(pathnameto_eppy3000)
[5]:
from eppy3000.modelmaker import EPJ


fname = "../eppy3000/resources/snippets/V9_3/Minimal.epJSON"
wfile = "../eppy3000/resources/weatherfiles/USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw"
epschema = "../eppy3000/resources/schema/V9_3/Energy+.schema.epJSON"
epj = EPJ(fname, epw=wfile, epschemaname=epschema)
# Note; the epj.run() will work only if epw and epschemaname have values
epj.run()

/Applications/EnergyPlus-9-3-0/energyplus --weather /Users/santoshphilip/Documents/coolshadow/github/eppy3000/eppy3000/resources/weatherfiles/USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw --output-directory /Users/santoshphilip/Documents/coolshadow/github/eppy3000/docs --idd /Applications/EnergyPlus-9-3-0/Energy+.idd /Users/santoshphilip/Documents/coolshadow/github/eppy3000/docs/in.idf