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

How to set an EMS Actuator to values from a Schedule:File object?

asked 2015-05-05 09:02:25 -0600

daren-thomas gravatar image

I have an actuator in EnergyPlus and would like to set the value of that actuator to a value obtained from a CSV file at every time step.

I figured I can use SCHEDULE:FILE to read in the values and use an ENERGYMANAGEMENTSYSTEM:SENSOR to map those to a EMS variable.

Do I then create a ENERGYMANAGEMENTSYSTEM:PROGRAM to write the value from one place to another? (it seems a bit verbose...)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2015-05-05 11:15:08 -0600

Ivan Korolija gravatar image

updated 2015-05-05 11:15:34 -0600

You might be able to assign a schedule value directly to the EMS actuator.

Schedule:File,
    SchName,  !- Name
    ... (all associated Schedule:File object's fields)

EnergyManagementSystem:Actuator,
   YourActuatorName,   
   SchName,       
   Schedule:File,     
   Schedule Value;
edit flag offensive delete link more
2

answered 2015-05-05 18:36:42 -0600

Archmage gravatar image

Yes, you need a small EMS program with a line that sets the actuator equal to the sensor.

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

 

Question Tools

1 follower

Stats

Asked: 2015-05-05 09:02:25 -0600

Seen: 532 times

Last updated: May 05 '15