Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
1

Can you access autosized values from PythonPlugin?

asked 2021-11-05 10:54:15 -0600

Vasek gravatar image

updated 2021-11-05 11:12:04 -0600

Hi all,

I am wondering if it is possible to access autosized values from PythonPlugin, for example is it possible to access maximum water flow rate of coils? If so, how pls?

I read, that sizing values should be available as internal variables but I cannot find list of internal variables which can be queried from python plugin... I looked into *.edd file, there are some sizing values, but I have not found anything close to maximum water flow rate there...

Thank you!

Coil:Heating:Water,
    Basement VAV Box Reheat Coil,  !- Name
    ALWAYS_ON,               !- Availability Schedule Name
    AUTOSIZE,                !- U-Factor Times Area Value {W/K}
    AUTOSIZE,                !- Maximum Water Flow Rate {m3/s}
    ...
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-11-05 11:31:40 -0600

updated 2021-11-05 14:48:21 -0600

Similar to actuators, internal variables in EMS are part of a pre-defined list -- you can only access the items that the development team has defined as a potential internal variable. This is why the EDD output file is generated based on the Output:EnergyManagementSystem object to include what actuators and internal variables are available for your IDF. You can read more in this post.

Most internal variables for HVAC systems are related to sizing or nominal rating conditions. In the case of water heating coils, it looks like there are no internal variables available at all.

An alternative to using EMS to get this information is to review the EIO output file. The EIO file has different sections, and the Component Sizing Information is where you can find the maximum water flow rate through a hot water coil. If you're already using the Python Plugin, you may be able to write a script to automate the process of parsing the EIO file for this information to then use somewhere else in your modeling workflow.

edit flag offensive delete link more

Comments

1

To add on to this, if there are additional internal variables that you would find helpful, you can request them for a future EnergyPlus release at https://github.com/NREL/EnergyPlus/is...

shorowit gravatar image shorowit  ( 2021-11-05 15:34:09 -0600 )edit
0

answered 2021-11-11 14:03:32 -0600

updated 2021-11-11 14:04:27 -0600

No, not during the simulation where it's being sized. However, after completing an initial simulation, the maximum water flow rate is listed in the output reports, including the database/SQL file (if requested). You can then run the simulation a second time, and this time you can query the sql file from the first simulation (assuming you saved a copy) in your Python script to pull the sized capacities/flow rates.

edit flag offensive delete link more

Comments

The sizing values won't be internal variables, but you can make a new EMS variable and assign it the sized value. You wouldn't be able to adjust the sized value/flow rate of the coil, but you could use that value in your EMS program if needed.

ericmartinpe gravatar image ericmartinpe  ( 2021-11-11 14:10:48 -0600 )edit

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: 2021-11-05 10:54:15 -0600

Seen: 115 times

Last updated: Nov 11