ibpsa / project1-boptest

Building Optimization Performance Tests
Other
102 stars 66 forks source link

Reasoning the result of /examples/python/testcase1.py #582

Open kefeimo opened 9 months ago

kefeimo commented 9 months ago

Description

When running the example https://github.com/ibpsa/project1-boptest/blob/master/examples/python/testcase1.py and plot the result, it gives the following plot.

image

From GET/measurements

{"message":"Queried the measurements successfully.","payload":{"CO2RooAir_y":{"Description":"Zone air CO2 concentration","Maximum":null,"Minimum":null,"Unit":"ppm"},"PHea_y":{"Description":"Heater power","Maximum":null,"Minimum":null,"Unit":"W"},"TRooAir_y":{"Description":"Zone air temperature","Maximum":null,"Minimum":null,"Unit":"K"}},"status":200}

from @rlutes "When the PID signal (oveAct_u) goes negative the heating power (PHea_y) should be zero but it is not. It appears there is something in the model taking the absolute value of the PID signal controlling the heater inside the model."

Expected outcome

Would like to understand the simulation result and confirm it is behaving as expected.

dhblum commented 8 months ago

The performance is as expected, but the documentation of the model and example controller could be improved:

I suggest to address these confusions by appropriately fixing naming conventions.