Knowledgebase : Input
Question: Are any plans to support GBXML files? The software that our architects use is Revit which produces GBXML files and as of yet I didn't think they could be converted to/or use GXML files in Energy+. Is it possible to or are there any plans to incorporate this?

Answer: There are currently two indirect paths from GBXML to EnergyPlus, using Ecotect or DesignBuilder. A user has posted instructions at:

http://openrevit.com/?p=93

For more information about Ecotect, DesignBuilder, and other EnergyPlus tools, see:

http://apps1.eere.energy.gov/buildings/energyplus/interfaces_tools.cfm

Q: I'm trying to make effective use of substitution macros, namely include files and SET commands. To have them run in your environment requires
changing the extension of the main input file to IMF which turns off the IDF Editor. That means that additional development using the IDF Editor
is no longer possible. Feels like punishment! Could there be an option in the IDF Editor to IGNORE macros? I'd ask for expanding them but I
suspect you've got far more important things on your backlog.

So for right now - I'm looking at ways to mix and match. Any suggestions?

A: I think that is actually on the list of things to do (have the IDF Editor accept macros).

Two approaches to your work I can think of:

1) Separate your files into "IDF editable" and "macro" (actually, the AbsorptionChiller_Macro.imf example file shows a little of this but it doesn't really use macros). For the pieces you think you'd like to manipulate in the IDF editor, call them with extension IDF. For the others, they would be IMF and the master file would be IMF with "includes" of your IDF pieces.

2) Use the expanded IDF (extension epmidf) file for your IDF editor changes and then run it from there.

Question: I'm trying to understand how Performance Curves and Lookup Table objects
work.

The Engineering reference (pg 1093 pdf) states:
A regression analysis can be performed on performance tables when the
simulation is instructed to use the regression analysis during the
simulation (i.e., ride the curve).

I check out at In/Out reference if there is any input field which define
ride the curve during simulation, but without result.

Is there any input field which have to be input at idf, in order that
regression analysis can be performed during simulation ?

Answer: You need to use the diagnostics flag to report the performance curve object to the eio file. It appears the V6 example file and the documentation are a little behind the final product.

Output:Diagnostics, DisplayAdvancedReportVariables;

Notice in the example file that all table objects using "EvaluateCurveToLimits" for the interpolation method create a curve object in the eio file (at least they will if the correct diagnostics flag is used). Since this is a table object, you can't "ride the curve" unless you create the curve object coefficients using regression analysis. Also, since these coefficients were calculated for use during the simulation, the associated performance curve object is written to the eio file for later use.

First table from LookupTables.idf

! Create a performance curve and use it throughout the simulation.
! Since the DisplayExtraWarnings flag is used, write the performance cuve to eio file.
Table:OneIndependentVariable,
HPACCoolCapFFF, !- Name
Quadratic, !- Curve Type
EvaluateCurveToLimits, !- Interpolation Type

Notice just above this table object in the V6 example file is the object: Output:Diagnostics, DisplayExtraWarnings;, this is incorrect and needs to be corrected to read Output:Diagnostics, DisplayAdvancedReportVariables;

From the Input Output Reference document for the field Interpolation Method:

Field: Interpolation Method

The method used to evaluate the tabular data. Choices are LinearInterpolationOfTable, LagrangeInterpolationLinearExtrapolation and EvaluateCurveToLimits. When LinearInterpolationOfTable is selected, the tabular data is interpolated within the limits of the data set and the following fields are used only within the boundary of the table limits (i.e., are only used to limit interpolation). Extrapolation of the data set is not allowed. When LagrangeInterpolationLinearExtrapolation is selected, a polynomial interpolation routine is used within the table boundaries along with linear extrapolation. Given the valid one independent variable equations above, the polynomial order is up to 5th order. When EvaluateCurveToLimits is selected, the coefficients (i.e., C in the equations above) of the polynomial equation are calculated and used to determine the table output within the limits specified in the following fields. If these fields are not entered, the limits of the tabular data are used. The minimum number of data pairs required for this choice are 2, 3, 4, 5, and 4 data pairs for linear, quadratic, cubic, quartic, and exponent curves, respectively. If insufficient data is provided, the regression analysis is not performed and the simulation reverts to interpolating the tabular data. The performance curve is written to the eio file when the output diagnotics flag DisplayAdvancedVariables is used (ref. Output:Diagnostics, DisplayAdvancedVariables).