Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question

Question concerning Table LookUp in EnergyPlus

asked 2020-06-16 07:16:21 -0500

sergerwehbe gravatar image

updated 2020-06-16 07:24:47 -0500

Hi All,

I have create a Lookup Table with an external CSV file and I defined my IndependentVariable and everything was done correctly.

My question is: how to define my independent variable to be the outdoor Air or diffused radiation or (Any EnergyPlus Output value)..

Please here is an example to be more clear:

Outdoor Air (IndependentVariable): -1, 2, 5, 10, 15, 30

Output Value: 100, 200, 300, 400, 500, 600

So if the Ambient Temp is 10 ( For exmp) , I have 400 as output.

How to Link the Outdoor Air (IndependentVariable) to the Outdoor Air Dry Bulb Temperature from my Weather File?

Thank You

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-16 08:00:37 -0500

updated 2020-06-16 11:30:33 -0500

The performance curves and tables are used in models to evaluate the changes you describe. If a model does not use a curve or table then one that you create will not be able to be used in that model. To answer your question, once a curve or table is created then evaluation of that curve or table is performed by passing the variable to the curve:

CurveValue(TableIndex, OutdoorTemperature); // where TableIndex is an integer pointing to your table

and then that result is used in some subsequent calculation within the model.

Some models allow an EMS program to adjust performance using:

@CurveValue(TableIndex, OutdoorTemperature), // see EMSApplicationGuide

for those models that allow EMS to intercept. To find the index to a curve or table in your EMS model use the CurveOrTableIndexVariable object.

EnergyManagementSystem:CurveOrTableIndexVariable, MyEMSCurveName, ActualCurveorTableName;

For example your EMS program could be used to overwrite an existing curve or table object, or to use curves or tables to do calculations not found in current models and then use that information to adjust model performance (using EMSof course).

See InputOutputReference and EMSApplicationGuide docs.

edit flag offensive delete link more


Done, Thank you

sergerwehbe gravatar image sergerwehbe  ( 2020-06-16 09:06:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2020-06-16 07:16:21 -0500

Seen: 53 times

Last updated: Jun 16 '20