Openstudio measure: dynamically change an argument field

asked 2015-09-01 08:55:41 -0600

updated 2017-08-05 13:05:50 -0600

For the sake of the argument, let's say I'm writing a measure to modify one existing chiller, in a model that has two of them:

  • Chiller 1 with a COP = 4
  • Chiller 2 with a COP = 5

I have two questions:

  1. I ask the user is to pick which chiller he wants to modify.
  2. Then I ask him to set the COP.

Is there a way to make it so that the default value in the field COP would change automatically when you switch between chiller 1 and 2?

In other terms, if the user picks "Chiller 1"I want to auto-fill the field COP with 4. If he then switches to "Chiller 2" I want it to switch the field COP to 5.

edit retag flag offensive close merge delete

Comments

1

For the sake of argument! I like what you did there. I bet this ends up being a new feature request on http://openstudio.uservoice.com/.

__AmirRoth__ gravatar image __AmirRoth__  ( 2015-09-01 09:03:30 -0600 )edit

User voice request here

Julien Marrec gravatar image Julien Marrec  ( 2015-09-03 02:21:39 -0600 )edit