[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] EMS - get the value of a variable at the previous timestep





I don't think so. You might want to read a variable from last time step, that would be using the name of the Output:Variable, for example System Node Mass Flow Rate, but then to actuate that state point you would use an actuated component type and actuated component control type, not the variable name. Look at some of the examples and you should see what I am talking about.

In my example, nothing in the actuator is a variable name. This example just points to a fan and sets the fan mass flow rate. It does not set the node mass flow rate, the fan does that internally.

EnergyManagementSystem:Actuator,
   MySAFanFlow,                ! Name
   My Supply Air Fan,          ! Actuated Component Unique Name
 
  Fan,                        ! Actuated Component Type
 
  Fan Air Mass Flow Rate;     ! Actuated Component Control Type


Or maybe I don't understand what exactly your trying to do. You might show a simple example of your EMS program, sensor, and actuator so others can see what you are trying to do.

On 2/14/2018 3:39 PM, my_sunny_night@xxxxxxxxx [EnergyPlus_Support] wrote:
Thanks again Richard. What I need to do is to actuate a variable at each timestep based on its value at its previous timestep. So, I need to have that variable as both sensor and actuator, which I don't know how to do this.

-- 
Richard Raustad
Florida Solar Energy Center
1679 Clearlake Road
Cocoa, FL 32922
Ph: (321)638-1454
http://www.fsec.ucf.edu/en/

Program Director
Electric Vehicle Transportation Center
http://evtc.fsec.ucf.edu/


__._,_.___

Posted by: Richard Raustad <rraustad@xxxxxxxxxxxx>


EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The EnergyPlus web site is found at:
http://www.energyplus.net/

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the &quot;search&quot; button.





__,_._,___