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

Parametrics and EnergyManagementSystem

asked 2016-08-30 11:38:49 -0500

ChristianKohler's avatar

updated 2017-02-15 18:01:24 -0500

I'm trying to combine the Parametrics feature with EMS, and getting an error. I'm using 8.5 Here is the definition of my parametrics:

Parametric:SetValueForRun,
    $SP_parametric,                  !- Parameter Name
    0,
    50, 
    100,
    500,
    1000;

And here is how I'm trying to use it in an EMS section:

EnergyManagementSystem:Program,
    Control0,                 
    IF Sensor0 < =$SP_parametric,     
    SET Actuator0 = VDG_clear,

The error I'm getting is:

 **  Fatal  ** EMS, caught unexpected token = "=" ; while parsing string=SENSOR0 < =$SP_PARAMETRIC

Is there a different way I should format the parameter reference so I can use it with the EMS?

Thanks

Christian

edit retag flag offensive close merge delete

Comments

Maybe you just need a space between the "=" and /$ in /=$SP_parametric. ah sorry markdown doesn't like that, need a space between the equals sign and the dollar sign.

Archmage's avatar Archmage  ( 2016-08-31 09:06:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-08-30 17:12:51 -0500

Adam Hilton's avatar

I don't think you want to use EMS for what you're trying to do. I think Parametric:Logic is what you need. Any variable used in EMS has to be of EMS type.

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2016-08-30 11:38:49 -0500

Seen: 216 times

Last updated: Aug 30 '16