First time here? Check our help page!
3

How can I create .rvi files?

How do I create an EnergyPlus .rvi file for jEPlus? I have eplusout.eso and csv files. What comes next?

Thanks.

Theo's avatar
155
Theo
asked 2015-02-06 12:51:31 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-07-11 17:04:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

An RVI file contains as a minimum the name of the input file (where to read the output variable values from - this is "eplusout.eso") and of the output file (where to put the reorganized data, for example "output.csv").

You list these two filenames on the first two lines of the file, then list any specific outputs you want to have extracted from the results. If you don't specify any outputs then all results are returned.

Finally, the last line just has a "0" to indicate the end of the file.

It's not just used in jEPlus. It's actually called by the ReadVarsESO program which is called by RunEPlus.bat when running from the command line, or from the EP-Launch program. You can call it anything you like when using these methods though.

As a simple example, open up a new file in a text editor and enter:

eplusout.eso
output.csv
Diesel:Facility
ElectricityNet:Facility
Zone Mean Air Temperature
Boiler Heating Rate
0

Then just save it with a .rvi extension.

The documentation on creating an RVI file is here.

Jamie Bull's avatar
5.1k
Jamie Bull
answered 2015-02-06 13:13:02 -0500, updated 2015-02-06 15:23:38 -0500
edit flag offensive 0 remove flag delete link

Comments

thanks a lot i found also these informations! my question is do you create a txt file and you change the ending to .rvi, or this file created like eso files etc and there is in a folder. I use DB.

Theo's avatar Theo (2015-02-06 13:38:43 -0500) edit

Yes, you make a file in notepad or whatever your favorite text editor is, then just save it with a .rvi extension like you said.

Jamie Bull's avatar Jamie Bull (2015-02-06 14:51:15 -0500) edit
1

@Jamie Bull "for jEPlus you have to call the file "my.rvi" otherwise it doesn't get recognised" my.rvi is a default name, however you can name it whichever way you want :).

Ivan Korolija's avatar Ivan Korolija (2015-02-06 14:53:32 -0500) edit

@Ivan Korolija Has that changed? I'm sure I remember in the past having to name it my.rvi or nothing happened. I'll edit the answer anyway.

Jamie Bull's avatar Jamie Bull (2015-02-06 15:20:35 -0500) edit

@Jamie Bull rvi file name is not restricted to my.rvi. Even the example project which comes with jEPlus uses another rvi file name :)

Ivan Korolija's avatar Ivan Korolija (2015-02-07 09:04:12 -0500) edit
add a comment see more comments