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

Revision history [back]

click to hide/show revision 1
initial version

Defining objectives functions from results obtained with python scripts

I've created a python script in order to determine the % of discomfort hours using the hourly indoor air temperatures reported in the simulations. However, I do not know how to specify the % of discomfort hours as an objective funtion in the .rvx file, since those variables have to be linked to the column names reported in the AllCombinedResults.csv (where the hourly temperature data is reported). So, is there a way to overwrite the indoor air temperatures by the % of discomfort hours obtained in the python script? How should I tell jEPLUS+EA to optimize the variables reported in the python script?

Defining objectives functions from results obtained with python scripts

I've created a python script in order to determine the % of discomfort hours using the hourly indoor air temperatures reported in the simulations. However, I do not know how to specify the % of discomfort hours as an objective funtion in the .rvx file, since those variables have to be linked to the column names reported in the AllCombinedResults.csv (where the hourly temperature data is reported). So, is there a way to overwrite the indoor air temperatures by the % of discomfort hours obtained in the python script? How should I tell jEPLUS+EA to optimize the variables reported in the python script?