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

[EnergyPlus_Support] Re: Question about Macro combined to Parametric Objects



Yes you're right. But I would like to add more flexibility in my simulations: testing several configurations for the heating loop, the cooling loop, and also for different buildings. 
The parametric Logic object is very powerful for small code changes between two simulations but not well suited in my case. Maybe I ask too much to the E+ tool and should create manually imf files to run them in a group.
If you think my request is valuable, do not hesitate to implement it ;)

Herve

--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Jason Glazer <jglazer@...> wrote:
>
> You might be able to do it all using the DISABLE and ENABLE 
> commands as part of the Parametric:Logic object and putting 
> everything in a single file.
> 
> Jason
> 
> On 7/27/2011 12:06 PM, Herve B wrote:
> > Hi Jason,
> >
> > OK, so what I would like to do seems impossible: I would like generate and run several input files based on macros that depend on a parametric object.
> >
> > For example, I have a heating loop based on solar collectors. I would like to test several solar plant sizes. I have created several idf files that describe all the configurations I want to test. Then I use an imf file to combine building description, solar plant and all other systems.
> > The first option is to create several imf files that include one solar plant configuration and then use the running group of files capability to run all the possible configurations.
> > The second option would avoid creating several imf files: I would like to use a parameter in order to conditionally include one solar plant configuration into the main file.
> >
> > Do you think this is feasible?
> >
> > Many thanks for your help
> > Herve
> >
> > --- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Jason Glazer<jglazer@>  wrote:
> >>
> >> They can be used together but the preprocessor that handles
> >> the parametric objects is executed first followed by the
> >> preprocessor that handles the macros.
> >>
> >> Jason
> >>
> >> On 7/27/2011 9:37 AM, Herve B wrote:
> >>> OK, Thanks for the clarification.
> >>>
> >>> So do you confirm that we cannot use simultaneously both capabilities: macro and parametric preprocessor?
> >>> Do you plan to support this?
> >>>
> >>> Best Regards
> >>> Herve
> >>>
> >>> --- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Linda Lawrie<linda@>   wrote:
> >>>>
> >>>> It's referring to the built in capability using
> >>>> counter and macro files (.imf) -- you specify it
> >>>> from the EP-Launch windows.  It does not refer to
> >>>> using the parametric preprocessor which was a
> >>>> more recent introduction of capabilities.
> >>>>
> >>>> At 06:32 AM 7/27/2011, Herve B wrote:
> >>>>> Hi,
> >>>>>
> >>>>> While exploring a workaround (using "running
> >>>>> groups of input files" capability) for my below
> >>>>> issue, I found the following lines in AuxiliaryPrograms.pdf document:
> >>>>> ----
> >>>>> For macro files (they have an extension IMF
> >>>>> instead of IDF) used in a parametric analysis,
> >>>>> the macro file may be run repeatedly up to 999
> >>>>> times. Each time they are simulated a new
> >>>>> COUNTER.INC file is created which sets a macro
> >>>>> parameter. The COUNTER.INC file should be
> >>>>> included using the ##include statement in the macro file.
> >>>>> ----
> >>>>>
> >>>>> My understanding is that we can use macro files
> >>>>> and parametric objects in the same run, is this right?
> >>>>>
> >>>>> If yes, could you please clarify how to use
> >>>>> counter.inc file? Could this be the reason of my compilation issue?
> >>>>>
> >>>>> Many thanks!
> >>>>> Herve
> >>>>>
> >>>>> --- In EnergyPlus_Support@xxxxxxxxxxxxxxx,
> >>>>> Brouchery Herve<brouchery.herve@>   wrote:
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> Is it possible to combine Macros and parametric objects?
> >>>>>>
> >>>>>> Basically, I would like to use parametric
> >>>>> objects in order to select idf files in a
> >>>>> main.imf file (using ##include command). The
> >>>>> parametric objects belong to a idf file that is included in the main.imf file.
> >>>>>> Doing so, I obtain the following error:
> >>>>>>    ** Severe  ** Parametric objects are found in the IDF File.
> >>>>>>    **  Fatal  ** Program Terminates: The
> >>>>> ParametricPreprocessor program has not been run.
> >>>>>>
> >>>>>> Is this a limitation or do I do something wrong?
> >>>>>>
> >>>>>> Regards
> >>>>>> Herve
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> ------------------------------------
> >>>>>
> >>>>> Primary EnergyPlus support is found at:
> >>>>> http://energyplus.helpserve.com or send a
> >>>>> message to energyplus-support@
> >>>>>
> >>>>> 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
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>> ------------------------------------
> >>>
> >>> Primary EnergyPlus support is found at:
> >>> http://energyplus.helpserve.com or send a message to energyplus-support@
> >>>
> >>> 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
> >>>
> >>>
> >>>
> >>
> >> --
> >> Jason Glazer, P.E., GARD Analytics, 90.1 ECB chair
> >> Admin for onebuilding.org building performance mailing lists
> >>
> >
> >
> >
> >
> > ------------------------------------
> >
> > Primary EnergyPlus support is found at:
> > http://energyplus.helpserve.com or send a message to energyplus-support@...
> >
> > 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
> >
> >
> >
> 
> -- 
> Jason Glazer, P.E., GARD Analytics, 90.1 ECB chair
> Admin for onebuilding.org building performance mailing lists
>




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

Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

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/