EMS in EnergyPlus: problem with the logistic regression equation
I'm using EMS to set a logistic regression equation and predict the window status in the simulation. However, when I include the entire equation (B0 + B1 * RH + B2 * CO2 + B3 * Top * RH), the windows remain always closed (0). I tried changing the parameters, and the window status varied between 0 and 1 with these equations:
B0 + B1 * RH + B1 * CO2 + B1 * Top * RH
B0 + B1 * RH + B2 * CO2 + B1 * Top * RH
B0 + B1 * RH + B3 * CO2 + B1 * Top * RH
If I replace B1 with B2 or B3 in the interction with Top*RH or if I remove that part of the equation (B0 + B1 * RH + B2 * CO2), the window stays closed the whole time as well.
My input objects for 'EnergyManagementSystem:Program' are:
Thank you for any help!
@paulabf it doesn't look like the lines of your EMS Program were added correctly -- can you please edit your post and try to include that again?
What calling point are you using (EMS:ProgramCallingManager). Also, use
Output:EnergyManagementSystem
with the fieldEnergyPlus Runtime Language Debug Output Level
and look at the eplusout.edd and you'll see how each line is evaluated.