Revision history  [back]

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%)";