Tobias,
It's fairly simple.. RVIs and MVIs a set of text files
that you can edit with Notepad (they are described in the InputOutput
Reference). An RVI (or MVI) starts with the name of the .ESO file (by
default, while running E+ -- eplusout.eso) and the name of the output file
(defaults to eplusout.csv). It then has a list of output variables (in the
RVI) or meter names (in the MVI). The last line is a 0. There are
several examples in the ExampleFiles directory. By default, it is assumed
that you have a single RVI or MVI. But you can create your own to specific
parts of the buildings. A recent set of run I did had 17 different RVIs
such as Windows, Envelope, Solar Gains, Zone Conditions, etc. That made it
easier to look at the data in Excel. I created a separate batch file but below
is an example of how you might edit the Epl-run.bat (which EP-Launch
uses).
First, to figure out which variables are
applicable to your simulation, add (or make sure you already have) this line to
your IDF (or edit it in IDF Editor):
Output:VariableDictionary,IDF,Unsorted;
When you run your simulation, you'll have a new file
(if you didn't already) with the extension of .RDD. If you use the form
above (IDF), then the variables will already be in IDF format. You can then just
cut and paste the variables you want from the RDD to your IDF (in Notepad or IDF
Editor).
Next you can edit (with Notepad), the file called
Epl-run.bat to include your RVIs, it will automatically run them when you use
EP-Launch.
You
would need to add lines in Section 6 similar to:
IF
EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp %rvset% IF NOT
EXIST eplusout.inp postprocess\ReadVarsESO.exe " "
%rvset% IF EXIST eplusmtr.inp postprocess\ReadVarsESO.exe eplusmtr.inp
%rvset% IF NOT EXIST eplusmtr.inp echo eplusout.mtr >test.mvi IF NOT
EXIST eplusmtr.inp echo eplusmtr.csv >>test.mvi IF NOT EXIST
eplusmtr.inp postprocess\ReadVarsESO.exe test.mvi %rvset%
For
example, say I had an RVI on solar gains called SolarGains.RVI and a MVI on
lighting meters called LightingMeter.RVI. So I could add to the lines
above:
IF EXIST
eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp
SolarGains.RVI
IF EXIST
eplusmtr.inp postprocess\ReadVarsESO.exe eplusmtr.inp
LightingMeter.MVI
You will probably also have to add a line renaming the
output from the ReadVarsESO... something along the lines
of:
IF EXIST eplusout.csv MOVE eplusout.csv
"%output_path%%1SolarGains.csv"
Hey there,
I was looking also for that exact thing and managed now to
at least create one RVI-file that pulls the defined variables in the
CSV-file. However, since I am not really familiar with software programming
topics like this 'batch-file' that, as I learned now, apparently is need for
multiple RVI-/CSV-files. I was looking into the installation folder of E+ and
found several batch-files (Epl-run, RUNEP, RunEPlus, RunReadEso) which are
editable with the notepad.
Can anybody please help me with the
modifications of those and also, how it works exactly with creating multiple
RVI-files. I already tried to give the one file a different name but then the
CSV-file didn't come out after the simulation.
Thank you for your
assistance, Tobias
--- In EnergyPlus_Support@yahoogroups.com,
"Crawley, Drury" <Drury.Crawley@...> wrote: > >
Mike, > > I'm doing exactly that--creating individual RVIs for
different outputs > and meter results. It's fairly simple to create a
modified batch file to > run this--after the simulation is completed. I
can share my modified > batch file if you're interested. I have about 20
separate RVIs and MVIs > (of course tailored to the IDFs I'm
running). > > Dru > >
________________________________ > > From: EnergyPlus_Support@yahoogroups.com >
[mailto:EnergyPlus_Support@yahoogroups.com]
On Behalf Of Micheal > Sent: Friday, July 06, 2007 4:07 PM > To: EnergyPlus_Support@yahoogroups.com >
Subject: [EnergyPlus_Support] Re: *.Rvi File Question > >
> > Thank for the quick response. I thought this would be the
case. > > I have a follow-up question. Can you run
RunReadvarsESO.exe multiple > times? For example have several RVI
files with "sets" of variables > like environment, walls, zones, systems
and report to multiple *.csv > files. Also could use separate time frames
in the *.rvi files. Using > this methodology I would hope I could import
the various *.csv sets > into excel on different worksheets and use the
data to create > reports in my own format. > > A second
question is do you know what happens if the *.rvi variable > is not
present? For example if I where to enforce a generic naming > convention
(such as wall1, wall2, ...) and not use all the names. > Would I just get
the warning "The following variable were requested > but not generated".
Do you know if it would "skip" the column to > maintain an absolute
relationship or delete the non-existent > variable column to create a
compact table with no "empty" columns? > > Thanks in
advance, > > Mike > > PS: I have and use XESOView
which I find to be a very good program. > The problem I run into is that
it doesn't allow looking at (charting > or reporting) multiple variables
at the same time. Also, the company > I work for has quite a few
"oldtimers" which I need to produce > outputs formatted in similar ways
to their currently used methods > (CHVAC, Trace, and even hand calculated
CLTD!) so that they can > better understand what is going on. The
buildings we tend to model > are simple and very similar to one another
(warehouses, maintenance > buildings, mechanical buildings, etc. for
electric power plants). I > plan on masking most of the input and output
of EPlus in a > more "user friendly" format using Excel hense all the
questions > above. > > --- In EnergyPlus_Support@yahoogroups.com >
<mailto:EnergyPlus_Support%40yahoogroups.com> , Linda Lawrie
> <lklawrie@> wrote: > > > > You must use the rvi
file for this purpose. Whatever you put in > > report variables, get
shoved out to the eso file (or in case of > > meters also the .mtr
file) as they "come up" in the simulation. > The > > actual
order for that would be shown in the first part of the eso > > file
(before the part that says "End of Data Dictionary". > > > >
In the rvi file, you can either specify the generic form of the > >
report variable, e.g.: > > > > Zone/Sys Air
Temperature > > Zone/Sys Sensible Heating Energy > > Zone/Sys
Sensible Cooling Energy > > > > or be really
specific: > > Zone 1:Zone/Sys Air Temperature > > Zone
1:Zone/Sys Sensible Heating Energy > > Zone 1:Zone/Sys Sensible Cooling
Energy > > > > The first instance will give you all the
zones, Zone/Sys Air > > Temperature, followed by all the Zones,
Zone/Sys Sensible Heating > > Energy, etc. whereas the second will put
the 3 variables by zone. > > > > There are also ways of only
getting out the hourly or monthly > values > > in a csv file
even though the eso file may contain multiple hourly > > and monthly
mixed. > > > > There is also the utility XESOView (not part
of the EnergyPlus > > install) but you can find out about it on either
the yahoo groups > > website or the energyplus.gov website. I don't
know if it would > be > > suitable for your purposes or
not. > > > > > > Linda > > > >
EnergyPlus WebSite: http://www.energyplus.gov >
<http://www.energyplus.gov>
> > Owner: EnergyPlus_Support list > > Member: EnergyPlus
Development Team > > > > > > > >
[Non-text portions of this message have been removed] > > >
> > > > > > [Non-text portions of this
message have been removed] >
__._,_.___
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.
__,_._,___
|