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

[EnergyPlus_Support] Re: Subroutine in EMS





Maybe you need to use Elseif?

 

You can also create a global variable and asign it different values within each subroutine, you can then follow the value of this global variable in your results at each timestep so that you can check that the routine is doing what you expect

 

   EnergyManagementSystem:OutputVariable,
    ReportMyVariable,        !- Name
    MyVariable,               !- EMS Variable Name
    Averaged,                !- Type of Data in Variable
    ZoneTimeStep,            !- Update Frequency
    ,                        !- EMS Program or Subroutine Name
    val;                        !- Units

  Output:Variable,*,ReportMyVariable,timestep;

 

 



__._,_.___

Posted by: allinson_louis@xxxxxxxxxxx


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 "search" button.




Visit Your Group
Yahoo! Groups
PrivacyUnsubscribeTerms of Use

__,_._,___