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

Melissa's profile - activity

2016-05-04 02:42:42 -0500 received badge  Student (source)
2016-05-03 21:52:20 -0500 asked a question Genopt: independent variables and function

I want to ask if there is any way to enforce the sum of independent variables take a value one. the independent variables take the value of zero or 1 (they regulate the water entering the water heater in EnergyPlus)

for example when field 0 is 1 the remaining values must be zero, Therefore I want the result of the sum be 1. Can someone help me?

  Name2             = "termo1";
  Function2         = "add(%Field0%,%Field1%,%Field2%,%Field3%,%Field4%,%Field5%)";