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

FW: [EnergyPlus_Support] Re: *.Rvi File Question




First of all, thanks a lot for that detailed response! that already helped me a lot.
I think I slowly get an understanding of how this batch file works.
However, there are still some mysteries...

I noticed that in section 5 the rvi-file is copied to the installation-directory.
So I tried to do the same with my rvi-files, but I'm not able to tell E+ the complete URL.

That's what I've tried so far:

My RVI-Files are called:

PeopleTotalHeatGains.rvi
ZoneMeanAirTemperatures.rvi


I tried to add in Section 5 the following different variants (the first line is from the original file):

> IF EXIST "%epin%.rvi" copy "%epin%.rvi" Eplusout.inp
> IF EXIST "%1PeopleTotalHeatGains.rvi" copy ""%output_path%%1PeopleTotalHeatGains.rvi" Eplusout.inp
> IF EXIST "%1ZoneMeanAirTemperatures.rvi" copy ""%output_path%%1ZoneMeanAirTemperatures.rvi" Eplusout.inp
> 
> --> nothing happens at all
> 

> IF EXIST "%epin%.rvi" copy "%epin%.rvi" Eplusout.inp
> IF EXIST "%1PeopleTotalHeatGains.rvi" copy "%epin%PeopleTotalHeatGains.rvi" Eplusout.inp
> IF EXIST "%1ZoneMeanAirTemperatures.rvi" copy "%epin%ZoneMeanAirTemperatures.rvi" Eplusout.inp
> 
> --> it adds the complete URL in front of my file name, but even if I change the file-names to the 'long'-version, they're not copied to the installation-directory for further processing
> 

> If I don't add a prefix to the file-names it obviously doesn't work as well...
> 
> 

In Section 6 I tried to implement the commands you've posted as follows (also first line is from original):

v1
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp %rvset%
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp PeopleTotalHeatGains.rvi
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp ZoneMeanAirTemperatures.rvi


v2
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp %rvset%
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp %rvset%PeopleTotalHeatGains.rvi
> IF EXIST eplusout.inp postprocess\ReadVarsESO.exe eplusout.inp %rvset%ZoneMeanAirTemperatures.rvi

Both don't work at all...


Last but not least I also modified Section 7:

> IF EXIST PeopleTotalHeatGains.csv MOVE PeopleTotalHeatGains.csv "%epout%PeopleTotalHeatGains.csv"
> IF EXIST ZoneMeanAirTemperatures.csv MOVE ZoneMeanAirTemperatures.csv "%epout%ZoneMeanAirTemperatures.csv"


Since the routine doesn't get that far, I can't say anything about that yet.



In general, I am not quite sure how big the influence of the order of the commands within one of the sections is; I always tried to add my commands to the ones that seemed to me to serve the same purpose.

Besides, would this whole procedure mean, that I would have to create a separate batch-file for each individual set of output-files? 
And the RVI-files should be located in the project-output-folder?  (I tried both)


Also I should maybe mention that I am using Version 3.1.0.. don't know if this makes a difference...



Well, I hope you understand my point..
Thanks a lot in advance already..!!

Tobias






--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, "Crawley, Drury" <Drury.Crawley@...> wrote:
> >
> > 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:
> >
> 
> __._,_.___
> 
> The primary EnergyPlus web site is found at:
> <http://www.energyplus.gov>> http://www.energyplus.gov
> 
> The group web site is:
> <http://groups.yahoo.com/group/EnergyPlus_Support/>> 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.
> 
> 
> <http://geo.yahoo.com/serv?s=97476590/grpId=3387488/grpspId=1705007389/msgId=14931/stime=1256681873>> 
> 
> Your email settings: Individual Email|Traditional
> <http://groups.yahoo.com/group/EnergyPlus_Support/join;_ylc=X3oDMTJmbW4wNmNhBF9TAzk3NDc2NTkwBGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNTY2ODE4NzM->> Change settings via the Web (Yahoo! ID required)
> Change settings via email: <mailto:EnergyPlus_Support-digest@xxxxxxxxxxxxxxx?subject=Email Delivery: Digest>Switch delivery to Daily Digest | Switch to Fully Featured
> <http://groups.yahoo.com/group/EnergyPlus_Support;_ylc=X3oDMTJkdjlrNXRiBF9TAzk3NDc2NTkwBGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjU2NjgxODcz>> Visit Your Group  | <http://docs.yahoo.com/info/terms/> Yahoo! Groups Terms of Use  | <mailto:EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> Unsubscribe
> 
> __,_._,___