First time here? Check our help page!
2

Question concerning Table LookUp in EnergyPlus

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

sergerwehbe's avatar
233
sergerwehbe
asked 2020-06-16 07:16:21 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-12-21 09:14:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

rraustad's avatar
13.8k
rraustad
answered 2020-06-16 08:00:37 -0500, updated 2020-06-16 11:30:33 -0500
edit flag offensive 0 remove flag delete link

Comments

Done, Thank you

sergerwehbe's avatar sergerwehbe (2020-06-16 09:06:34 -0500) edit
add a comment see more comments