1

how can I write an objective function of minimizing the PPD in GenOpt

I am trying to optimizing the Trombe wall system using Genopt, combined with EnergyPlus. PPD is already given in the energyPlus output.

This is my trial for optimization, I would like to make sure that is ok, as it doesn't have any calculation process.

ObjectiveFunctionLocation
  {

      Name1             = PPD;
      Delimiter1        = "683,";
      FirstCharacterAt1 = 1;

  }
} // end of section Simulation
Optimization {
  Files {
    Command {
      File1 = command.txt;
    }
  }

My second question is to make sure that this optimization will check the whole operation time (typical winter week) and how could I get the whole results for this (transient/dynamic results)

Ahmed Abdin's avatar
31
Ahmed Abdin
asked 2018-09-10 08:32:15 -0500, updated 2018-09-12 04:57:42 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

You can check whether your ObjectiveFunctionLocation specification is correct by comparing the output file of EnergyPlus with the GenOpt output files. See GenOpt's SavePath keyword.

GenOpt can only access scalar result variables but not time series. To process a time series for the whole operation time, you would need to add your own post-processing, such as with a python script, and then have GenOpt read the output of this processing script.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2018-09-12 10:48:17 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you Wetter for your concern and response. I already checked the output file of E+ with GenOpt and now I think it is working well. But regards the second question I did not get your answer, Do you mean that the Genopt can optimize the geometry of Trombe wall at certain operation condition only.or it is able to try all the design options (based on the design variable ranges) at every hour (or time step)

Ahmed Abdin's avatar Ahmed Abdin (2018-09-12 11:04:19 -0500) edit
add a comment see more comments