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

[EnergyPlus_Support] Re: Multiple instances of EnergyPlus Running at the same time.



Hey Todd,

I uploaded a script in Ruby recently that splits up and runs an annual simulation.  I incorporated what I think is a good approach on running   multiple simulations, but would like to see yours to see if I am missing anything. 

I think this forum should promote the use of scripts (Perl, Ruby, or otherwise) to extend the usability of E+. Could we create a new folder under the Files folder for such things?

I'm currently working on a few other scripts, one is to automatically create plant loops using a simplified input approach, like writing the HVAC LOOP like a grocery list and have the script deal with creating the nodes and connections. Without dealing with a fancy GUI. Hopefully  I can have something working for simple systems by the end of the month. 


Phylroy




 


--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, "Taylor, Z Todd" <todd.taylor@...> wrote:
>
> I wrote a script (Perl) that makes simultaneous execution of multiple E+ runs easy.  It doesn't break up an individual run as you allude, but handles all the thorny logistical issues that result from E+'s use of hard-coded filenames and such.  We use it to distribute runs across a small Linux cluster.  I donated the script to the E+ folks but don't believe they've done anything with it.  Contact me if you're interested.
> 
> --Todd
> --
> Why do "fill in" and "fill out" mean the same thing?
> 
> 
> From: EnergyPlus_Support@xxxxxxxxxxxxxxx [mailto:EnergyPlus_Support@xxxxxxxxxxxxxxx] On Behalf Of Phylroy
> Sent: Saturday, December 05, 2009 6:37 PM
> To: EnergyPlus_Support@xxxxxxxxxxxxxxx
> Subject: [EnergyPlus_Support] Re: Multiple instances of EnergyPlus Running at the same time.
> 
> 
> 
> Ah I see....
> 
> To run E+ from another folder and avoid simulation conflicts, you just need to run it from in a separate folder.
> 
> 1. The .ini file pointing to the root installation folder. like [program]
> dir=C:\ENERGY~1\)
> 2. A idf file named "In.idf"
> 3. A EPW file names "In.epw"
> Then while in the separate folder, run.
> C:\EnergyPlusV4-0-0\energyplus.exe
> 
> The RunEplus makes sure old files are gone, changes the name of the weather and idf files to the above.
> 
> I'm writing a small threaded ruby script to divide an annual simulation into the number of cpus-cores to speed up the runtime and then eventually add up the energy, find the peaks, and underheated hours, using the eso or the sql output. I have an 8-core computer and want to take advantage of it. I'll post the first part of it if anybody is interested.
> 
> Phylroy
> 
> --- In EnergyPlus_Support@xxxxxxxxxxxxxxx<mailto:EnergyPlus_Support%40yahoogroups.com>, Linda Lawrie <linda@> wrote:
> >
> > you can have the Energy+.ini point to the root folder but you will need to
> > have the others running in "separate" folders.
> >
> > Folder a
> > Energy+.ini points to the root
> > runeplus.bat is set to copy in.idf, etc into the folder and then run
> > the program from the root folder
> >
> > Folder b
> > same set up.
> >
> > On Sun, 06 Dec 2009 01:23:39 -0000, "Phylroy" <phylroy.lopez@>
> > wrote:
> > > Hey There,
> > >
> > >
> > > I'm trying to run multiple instances of E+ via a script using the bat
> > > files.
> > >
> > > I can't use a GUI solution like jeplus. I need it to run from another
> > > program. I can run a single instance fine. But if I do more than one I
> > get
> > > a crash.
> > >
> > > Now this is due to the intermediate files that E+ creates in its root
> > > folder. The second simulation tries to open a file the first simulation
> > has
> > > already created and has locked, killing the second simulation.
> > >
> > > Is there a method to tell e+ to place its intermediate files in antother
> > > location? I've tried changing %output_path% variable with no success.
> > >
> > >
> > >
> > >
> > > Thanks!
> > >
> > > Phylroy
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > 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.
> > > Yahoo! Groups Links
> > >
> > >
> > >
> >
>




------------------------------------

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.
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/join
    (Yahoo! ID required)

<*> To change settings via email:
    EnergyPlus_Support-digest@xxxxxxxxxxxxxxx 
    EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/