[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] how to use ReadVarsESO to convert eso to csv file





Hi,

I just report my initial tests.

(1) using programControl,              run two BCVTB simulations in a two core computer,  the speed is about  4 day / min

(2) Without using programControl,  run two BCVTB programs in the two core computer, the speed is about 3 days / min

(3) Using programControl,              run one BCVBT simulation in the two core computer, the speed is about 2.5 day/min

(4) Without using programControl, run one BCVTB program in the two core computer, the speed is about 3 day/min

we can see in my test cases:
So RunEPlus.bat can run E+ simulation in parallel, but this actually increases the total runtime, at least for my test case??

-----------------------------------------------------------------------
I just knew EPlus can output different csv file from the eso file. Currently, I use matlab to process the data extracted from the big csv file. But it is quite slow.  I will take advantage of this capability of EPlus in future.  If I know this earlier, I will do it in this way: modify the batch file and then let batch file automatically call different RVI and generate different csv files. I think Dr. Li offers this suggestion at the beginning of the discussion. 

Thank you!

Jia 


On Fri, Jul 13, 2012 at 4:51 PM, YuanLu Li <yli006@xxxxxxxxxxx> wrote:
 

If you are running programs on a PC, I do not think the multi-threading can improve total speed very much.
 
I am not an PC expert and have not actually run threaded programs.
 
From what I know when dealing with so called super computers, you need special linking programs to speed up the parallel programming.  When functions are sent randomly to different processors, they may not be synchronized in processing duration.  The pragram ended up with many wait time. 
 
This OpenMP algorithm is too simplistic.  I do not have a multi-core PC, and do not have hands on experiense.


This is not the same as running the RVI file in the batch file mode.  When you enter the input from the common line, there are lots of wait time between you and the PC.  When it is executed in the batch file mode, there is no wait time between each call, although you may spend some time in building the batch file the first time.  Once the RVI fle are defined, and if you do not change the building model drastically, most the files can be re used for different projects.  That is where you save time.
 
For a small project, it is still faster simply to use copy and paste on different sheets of Excel, using the default large .csv..
 
All those "Apps" on iPad, I think, are the same as the DeskTop shortcuts.  On a PC you have the control on these shortcuts.  For iPad, the program is downladed with the "Apps".  Unless you are careful, you do not really know what the "Apps" can do to your system.  This is why you can use the DeskTop Icon  as a simple batch file.
 
 Dr. Li  

 
Date: Fri, 13 Jul 2012 14:13:45 -0400

Subject: Re: [EnergyPlus_Support] how to use ReadVarsESO to convert eso to csv file

 
Thank you, Dr.Li. You are always helpful. I will try your methods.

I have an off topic question here. I want to run EPlus in parallel. I find concurrent running can be achieved by using batch file "RunEPlus.bat" instead of EP-launch.exe (according to the explanation in the EPlus manual, the reason is that batch file copies key energyplus files such as ini. in.idf, in.epw..... to the single folder).  I also use BCVTB.  I create two folders each of which includes complete BCVTB, MATLAB and .idf files.  and I run them concurrently in a two core computer.

The problem is that if I run concurrently, the CUP usage reaches100%. however, the runtime for a single simulation is greatly increased. The total runtime may exceed the time for sequential runs.

Thanks,

Jia  

On Fri, Jul 13, 2012 at 1:19 PM, YuanLu Li <yli006@xxxxxxxxxxx> wrote:
 


Hi, Jia
 
Looked like you were using the Window "run" to execute the ReadVarsESO.exe.

If you only need to create one custom .csv for each simulatin, you can use a .rvi having the same name as the IDF file and place it in the same folder as the .IDF.
 
The EPlus batch file will look for it automatically, and rename it to in.rvi in the temp folder.  After the simulation, it will for the in.rvi, if found, the custom  .csi would be produced.  If the in.rvi is not found,  the full .csv would be produced.
 
The "eplusout" is the prefix for all the output files.  It will be replaced by the input IDF filename and placing them in your user directory.  "eplusout.eso" and "eplusout.csv" are the two file name in the temp directory during simulation..


The content of the .eso is controlled by the Report Variable entries in the IDF.  Even if you supply a custom .rvi during simulation, full set of data values are in the .eso file.  However, only 250 columns would be sent to the .csv.  This number can ge increased.
 
When you want to create more customed .csv from one .eso file, remember that the .rvi passed on the command line should have the name of the .eso matches the one you wanted to use, and the second line is the custom .csv file should be different from any existing .csv file.
 
If you want to leave them as "eplusout.eso" and "eplusout.csv", simply creat a directory and open and save the .eso file with that name.  Every time the data is extrated, change the .csv file before making another run of .rvi.


You can place C:\\EnergyPlusV7-1-0\\PostProcess\\ReadVarsESO.exe" project.rvi
in the desk top short-cut icon.   With "Start in" pointing to your directory where  project.rvi and project.eso are in.  Every time you click to excute that icon, it will go to the DOS screen and produce a  project.csv file in the user directory..
 
If you use a batch file, then all the command can be in one text file with the full path of the directories.  This will reduce typing mistakes, and build up a number of standard .rvi files for different purposes.
 
About two years ago, there were some examples in this forum  by the experts to show how to use batch file to run .rvi file to split the data into groups of lloors, functions, etc.
 
 Dr. Li  

 
Date: Thu, 12 Jul 2012 17:40:33 -0400
Subject: Re: [EnergyPlus_Support] how to use ReadVarsESO to convert eso to csv file


 
Hi Dr.Li,

In my case, I need to convert several eso files to csv files, so I would like to manually run the command instead of using batch file. The .rvi file simply has two lines as shown below. I use the command: "C:\\EnergyPlusV7-1-0\\PostProcess\\ReadVarsESO.exe" project.rvi

project.eso
project csv

Thanks,

Jia

On Thu, Jul 12, 2012 at 4:19 PM, Jia Hu <hujia06@xxxxxxxxx> wrote:
Thank you, Linda and Dr.Li. I will take a look and let you know. 

On Thu, Jul 12, 2012 at 4:16 PM, YuanLu Li <yli006@xxxxxxxxxxx> wrote:
 


If you cannot follow the DOS batch file syntax,  send me the .rvi you have written, and I shall try to explain it to you.
 
 Dr. Li  

 

To: EnergyPlus_Support@xxxxxxxxxxxxxxx
From: hujia06@xxxxxxxxx
Date: Thu, 12 Jul 2012 15:18:57 -0400
Subject: [EnergyPlus_Support] how to use ReadVarsESO to convert eso to csv file


 
Hello:

In my simulation, sometime readvarseso.exe does not run automatically to convert .eso to .csv file.  I can use command "ReadVarsESO.exe" to convert "eplusout.eso" to "eplusout.csv".

My question is that how I can use "ReadVarsESO.exe" to convert "project.eso" to "project.csv", using a name other than "eplusout"?

Thanks,













__._,_.___


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___