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

[EnergyPlus_Support] using batch file to get both Report.csv and Meter.csv outputs



I have edited the RunEPlus.bat file to input a couple different .imf files and output the results.  Everything is working well except my report variables output csv is the exact same as the report meter csv.  When I run the EP-Launch program using its own batch file, I get two seperate files fine, my report output and meter output in csv format. I am wondering what do I have written wrong in my batch file.  Thanks in advance. Ian Doebber

Here is my bat file concerning postprocessing

:  6&8. Copy Post Processing Program command file(s) to working directory
 IF EXIST %input_path%%1.rvi copy %input_path%%1.rvi eplusout.inp
 IF EXIST %input_path%%1.mvi copy %input_path%%1.mvi eplusmtr.inp

:  7&9. Run Post Processing Program(s)
if %maxcol%==250     SET rvset=
if %maxcol%==nolimit SET rvset=unlimited

IF EXIST eplusout.inp %post_proc%ReadVarsESO.exe eplusout.inp %rvset%
IF NOT EXIST eplusout.inp %post_proc%ReadVarsESO.exe " " %rvset%
IF EXIST eplusmtr.inp %post_proc%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 %post_proc%ReadVarsESO.exe test.mvi
IF EXIST eplusout.bnd %post_proc%HVAC-Diagram.exe

:  10. Move output files to output path
 IF EXIST eplusout.csv MOVE eplusout.csv "%output_path%%1%3.csv"
 IF EXIST eplusmtr.csv MOVE eplusmtr.csv "%output_path%%1%3Meter.csv"

Here is what is written in the EP-Launch bat file concerning the postprocessing:


:  5. Copy Post Processing Program command file(s) to working directory
IF EXIST "%epin%.rvi" copy "%epin%.rvi" Eplusout.inp
IF EXIST "%epin%.mvi" copy "%epin%.mvi" Eplusmtr.inp

:  6. Run Post Processing Program(s)
if %maxcol%==250     SET rvset=
if %maxcol%==nolimit SET rvset=unlimited

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
postprocess\HVAC-Diagram.exe

if %pausing%==Y pause

:  7. Copy output files to input/output path
IF EXIST eplusout.csv MOVE eplusout.csv "%epin%.csv"
IF EXIST eplusmtr.csv MOVE eplusmtr.csv "%epin%Meter.csv"

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

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 not allowed -- please post any files to the appropriate folder in the Files area of the Support Web Site.
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> To unsubscribe from this group, send an email to:
    EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/