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

Re: [EnergyPlus_Support] Parametric preprocessor question





Chris,

The ParametricPreprocessor will set as many parameters using Parametric:SetValueForRun to the value for a particular run. So if you have both the following objects:

  Parametric:SetValueForRun,
    $appGAngle,              !- Name
    0.0,                     !- Value for Run 1
    90.0,                    !- Value for Run 2
    180.0,                   !- Value for Run 3
    270.0;                   !- Value for Run 4

  Parametric:SetValueForRun,
    $insDepth,               !- Name
    0.0508,                  !- Value for Run 1
    0.0762,                  !- Value for Run 2
    0.1016,                  !- Value for Run 3
    0.1270;                  !- Value for Run 4

For the first run $
appGAngle would be 0.0 and $insDepth would be 0.0508. For the second run, $appGAngle would be 90.0 and $insDepth would be 0.0762, etc..

If you want to look at all the permutations, you just need to set the values for each individual run so that the permutations are expressed, for example:

  Parametric:SetValueForRun,
    $appGAngle,              !- Name
    0.0,                     !- Value for Run 1
    90.0,                    !- Value for Run 2
    180.0,                   !- Value for Run 3
    270.0,                   !- Value for Run 4
    0.0,                     !- Value for Run 5
    90.0,                    !- Value for Run 6
    180.0,                   !- Value for Run 7
    270.0,                   !- Value for Run 8
    0.0,                     !- Value for Run 9
    90.0,                    !- Value for Run 10
    180.0,                   !- Value for Run 11
    270.0,                   !- Value for Run 12
    0.0,                     !- Value for Run 13
    90.0,                    !- Value for Run 14
    180.0,                   !- Value for Run 15
    270.0;                   !- Value for Run 16

  Parametric:SetValueForRun,
    $insDepth,               !- Name
    0.0508,                  !- Value for Run 1
    0.0508,                  !- Value for Run 2
    0.0508,                  !- Value for Run 3
    0.0508,                  !- Value for Run 4
    0.0762,                  !- Value for Run 5
    0.0762,                  !- Value for Run 6
    0.0762,                  !- Value for Run 7
    0.0762,                  !- Value for Run 8
    0.1016,                  !- Value for Run 9
    0.1016,                  !- Value for Run 10
    0.1016,                  !- Value for Run 11
    0.1016,                  !- Value for Run 12
    0.1270,                  !- Value for Run 13
    0.1270,                  !- Value for Run 14
    0.1270,                  !- Value for Run 15
    0.1270;                  !- Value for Run 16

This would explore all combinations of $appGAngle and $insDepth (I am not sure why someone would want to do this).

Dru also mentioned, the 1651-RP project where I used eppy, you can learn about it more at:


https://github.com/santoshphilip/eppy

The files for the 1651-RP project are part of the final report which is available from ASHRAE's web site. ASHRAE members can download final reports for free.

Jason


On 8/17/2016 8:18 AM, Dru Crawley dbcrawley@xxxxxxxxx [EnergyPlus_Support] wrote:
Chris,

Don't know about the Parametric Preprocessor but Jason Glazer created a set of pythons scripts for doing just what you're looking for in an ASHRAE research project. I think he has a GitHub now (or you can download from ASHRAE if you're a member).  1651-RP is the research project number.

Dru

On Wed, Aug 17, 2016 at 7:08 AM, Chris Jones cj@xxxxxxxxxxx [EnergyPlus_Support] <EnergyPlus_Support@xxxxxxxxxxxxxxx> wrote:
 

I am reading the Parametric Preprocessor documentation and I am
wondering if you can change more than one parametric object per run.
The examples in the documentation show only one object per run changing.

For example, I might setup to objects as individual ECMs but then I
would also want parametric runs with different combinations of those
individual ECMs.

Thanks for any assistance!
--

Chris Jones
14 Oneida Avenue
Toronto, ON M5J 2E3
416-697-0056



-- 
Jason Glazer, P.E., GARD Analytics, 90.1 ECB chair, 209 chair
Admin for onebuilding.org building performance mailing lists


__._,_.___

Posted by: Jason Glazer <jglazer@xxxxxxxx>


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

The EnergyPlus web site is found at:
http://www.energyplus.net/

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 &quot;search&quot; button.





__,_._,___