3

Parametrics and EnergyManagementSystem

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

ChristianKohler's avatar
61
ChristianKohler
asked 2016-08-30 11:38:49 -0500
MatthewSteen's avatar
10.1k
MatthewSteen
updated 2017-02-15 18:01:24 -0500
edit flag offensive 0 remove flag 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
add a comment see more comments

1 Answer

3

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.

Adam Hilton's avatar
3.5k
Adam Hilton
answered 2016-08-30 17:12:51 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments