Loading [MathJax]/jax/output/HTML-CSS/jax.js
Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
3

Parametrics and EnergyManagementSystem

asked 8 years ago

ChristianKohler's avatar

updated 8 years ago

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

Preview: (hide)

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  ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
3

answered 8 years ago

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.

Preview: (hide)
link

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: 8 years ago

Seen: 246 times

Last updated: Aug 30 '16