2018-04-23 10:21:54 -0500 | marked best answer | eppy outputs in ubuntu I use this example from eppy documentation to run a simulation: iddfile = "/usr/local/EnergyPlus-8-9-0/Energy+.idd"
IDF.setiddname(iddfile)
idfname = "/usr/local/EnergyPlus-8-9-0/ExampleFiles/BasicsFiles/Exercise1A.idf"
epwfile = "/usr/local/EnergyPlus-8-9-0/WeatherData/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw"
idf = IDF(idfname, epwfile)
idf.run()
The document says that I should get an output like: Processing Data Dictionary
Processing Input File
Initializing Simulation
Reporting Surfaces
Beginning Primary Simulation
Initializing New Environment Parameters
Warming up {1}
Warming up {2}
Warming up {3}
Warming up {4}
Warming up {5}
Warming up {6}
Starting Simulation at 07/21 for CHICAGO_IL_USA COOLING .4% CONDITIONS DB=>MWB
Initializing New Environment Parameters
Warming up {1}
Warming up {2}
Warming up {3}
Warming up {4}
Warming up {5}
Warming up {6}
Starting Simulation at 01/21 for CHICAGO_IL_USA HEATING 99.6% CONDITIONS
Writing final SQL reports
EnergyPlus Run Time=00hr 00min 0.24sec
,however, I get nothing in the python. Only I see these new files in the directory that I run the python script:
eplusout.audit eplusout.bnd eplusout.dxf eplusout.eio eplusout.end eplusout.err eplusout.eso eplusout.mdd eplusout.mtd eplusout.mtr eplusout.rdd eplusout.shd . These files include a lot different outputs, but the point is that I could not find any standard way of reading these files through eppy. In the documentation, there is a section Reading outputs from E+ which explains how one can use htmlreader to extract the output of E+ simulations. However, there is no html file among the generated files. I can read those files manually through f.read() function in python, but I thought probably I am missing a point and there should a way to get the output of the idf.run() directly in python.
I would appreciate any help and comment. Thanks,
Afshin |
2018-04-19 17:49:42 -0500 | commented question | eppy outputs in ubuntu Thanks for the explanations. I'll open a ticket in eppy issues.
|
2018-04-19 15:59:19 -0500 | marked best answer | IOError with calling ex_inits in ubuntu When in Ubuntu, I call from eppy import ex_inits , I am getting: ---------------------------------------------------------------------------
IOError Traceback (most recent call last)
<ipython-input-11-0960959d82a4> in <module>()
3 pathnameto_eppy = '../'
4 sys.path.append(pathnameto_eppy)
----> 5 from eppy import ex_inits #no need to know this code, it just shows the image below
/usr/local/lib/python2.7/dist-packages/eppy/ex_inits.py in <module>()
14 from IPython.display import Image
15 from IPython.display import display_pretty, display_html, display_jpeg, display_png, display_json, display_latex, display_svg
---> 16 idfeditor = Image(filename='../docs/images/idf3.png')
17 material_lists = Image(filename='../docs/images/material_lists.png')
18 html_snippet1 = Image(filename='../docs/images/html1.png')
/usr/local/lib/python2.7/dist-packages/IPython/core/display.pyc in __init__(self, data, url, filename, format, embed, width, height, retina, unconfined, metadata)
1019 self.unconfined = unconfined
1020 self.metadata = metadata
-> 1021 super(Image, self).__init__(data=data, url=url, filename=filename)
1022
1023 if retina:
/usr/local/lib/python2.7/dist-packages/IPython/core/display.pyc in __init__(self, data, url, filename)
611 self.filename = None if filename is None else unicode_type(filename)
612
--> 613 self.reload()
614 self._check_data()
615
/usr/local/lib/python2.7/dist-packages/IPython/core/display.pyc in reload(self)
1041 """Reload the raw data from file or URL."""
1042 if self.embed:
-> 1043 super(Image,self).reload()
1044 if self.retina:
1045 self._retina_shape()
/usr/local/lib/python2.7/dist-packages/IPython/core/display.pyc in reload(self)
629 """Reload the raw data from file or URL."""
630 if self.filename is not None:
--> 631 with open(self.filename, self._read_flags) as f:
632 self.data = f.read()
633 elif self.url is not None:
IOError: [Errno 2] No such file or directory: u'../docs/images/idf3.png'
|
2018-04-19 15:59:19 -0500 | received badge | ● Scholar
(source)
|
2018-04-19 15:57:31 -0500 | commented question | eppy outputs in ubuntu About the function, I am kind of confused. let me re-paraphrase it, does E+ write the outputs in the html file or whatev |
2018-04-19 15:52:57 -0500 | commented question | eppy outputs in ubuntu I added the objects using:
idf.idfobjects['OUTPUTCONTROL:TABLE:STYLE'] = 'HTML; !- Column Separator'
|
2018-04-19 15:52:33 -0500 | commented question | eppy outputs in ubuntu I added the objects using:
idf.idfobjects['OUTPUTCONTROL:TABLE:STYLE'] = 'HTML; !- Column Separator'
|
2018-04-19 13:01:18 -0500 | commented question | eppy outputs in ubuntu Additionally, is there any way to get a given output in return of calling idf.run()? not by reading some result file,
|
2018-04-19 13:00:12 -0500 | commented question | eppy outputs in ubuntu @santoshphilip Thanks for the suggestion. I tried newobject = idf.newidfobject("OutputControl".upper()), but it gives me |
2018-04-18 19:50:38 -0500 | asked a question | eppy outputs in ubuntu eppy outputs in ubuntu
I use this example from eppy documentation to run a simulation:
iddfile = "/usr/local/EnergyPlu |
2018-04-18 18:36:14 -0500 | answered a question | Eppy doesn't produce Output Variables I have same problem. I was wondering is it any way to get some output as return of the IDF.run() than reading the text f |
2018-04-18 18:34:26 -0500 | received badge | ● Supporter
(source)
|
2018-04-17 19:05:00 -0500 | received badge | ● Student
(source)
|
2018-04-17 11:51:11 -0500 | asked a question | IOError with calling ex_inits in ubuntu IOError with calling ex_inits in ubuntu
When in Ubuntu, I call from eppy import ex_inits, I am getting:
--------------- |