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

# How do you do to create a .rvi file ?

I am using openstudio (1.5) to draw up an .idf file that I will use in JEPlus (for a parametric design).

I need an rvi file. It would be created by ReadVarEso program (distributed with E+) but I don't understand how it works?

How can I launch ReadVarEso program?

Where is the rvi file stored?

edit retag close merge delete

1

I suggest breaking up your question in two. Re-importing the IDF file in OS should be addressed separately as it has got nothing to do with how a RVI file works.

( 2014-12-15 05:31:54 -0600 )edit

Sort by » oldest newest most voted

The documentation on ReadVarsEso is in the EnergyPlus Input Output Reference, search for "Using ReadVarsESO".

The ReadVarsESO program is distributed with EnergyPlus as a simple approach to converting the standard output files (eplusout.eso, eplusout.mtr) into files that can be put directly into a spreadsheet program and then used to create graphs or do other statistical operations

ReadVarsESO is launched automatically at the end your EnergyPlus run. By default, it will convert ALL THE VARIABLES you have requested (with a default limit of 255 columns, which is an old pre-2007 Excel limitation. You can override that)

Using an .rvi file allows you to customize which variables you'd like to get, and in which order, so you can a data of appropriate size for your needs.

Let me give you a concrete example, based on one of the first example file that comes with EnergyPlus I found that has an rvi file. This is "5ZoneAirCooled.idf" and its attached "5ZoneAirCooled.rvi". (As a reminder, example files are in: "C:\EnergyPlusV8-2-0\ExampleFiles" by default on Windows).

I chose this project because it's got 6 zones (5 + 1 plenum), and I modified and shortened it to make my point clearer.

Here is the class OUTPUT:VARIABLE in the IDF file after modification.

!-   ===========  ALL OBJECTS IN CLASS: OUTPUT:VARIABLE ===========

Output:Variable,*,Site Outdoor Air Drybulb Temperature,hourly;
Output:Variable,*,Zone Air Temperature,hourly;
Output:Variable,*,Zone Mean Air Dewpoint Temperature,hourly;


So here, I've got three variables, which should be returned for every appropriate object (because of the "*"). If you don't specify an .rvi file, you'll end up with a CSV file called "5ZoneUncontrolled.csv" that will have 13 columns:

• One for the Outdoor Air temperature
• 6 columns (5 zones + 1 plenum) for the zone air temperature
• 6 columns (5 zones + 1 plenum) for the zone mean air dewpoint temperature

Now, let's say I only want to return in the first column the Zone Air temperature but only for the zone "SPACE1-1" and then the outdoor air temperature, and that's it. Then I could just put an .rvi file in the same folder as my .idf file with the following lines in it, and that's what I would get.

eplusout.eso
eplusout.csv
SPACE1-1,Zone Air Temperature
Site Outdoor Air Drybulb Temperature
0


The first two lines are first the input file (where to read the output variable values) and the output file (where to store it). The 0 in the last row is to mark the end of the file.

Some specific information for JEPlus can be found in JEPlus documentation here.

more

1

Note that the old Excel limit of 255 columns has been gone for many years now (I forgot which version). Excel 2013 (and several versions before) allow over 16000 columns.

( 2014-12-15 09:05:49 -0600 )edit
1

Absolutely, starting 2007 (xlsx formats), it went from 256 to 16,384.

( 2014-12-15 09:17:43 -0600 )edit

Hello, I'm quite new in the forum. I'm trying to set an .rvi in order to conduct a parametric design with JE+. I'm using E+ 8.0 due to restrictions. I want to extract Facility:building,annual from the .eso file. I created an .rvi file with the following lines

ASHRAE90.1_OfficeSmall_STD2004_Denver.eso my.csv Electricity:Building 0

I placed it in the same folder of the .idf file, I ran the simulation but nothing happened, no .csv file was created. I also tried to create an empty my.csv but it didn't work. I think I'm missing some passages.

Thank you in advance for the help!

( 2019-10-12 03:41:40 -0600 )edit