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

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

asked 2018-09-10 08:32:15 -0600

Ahmed Abdin's avatar

updated 2018-09-12 04:57:42 -0600

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)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-12 10:48:17 -0600

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.

edit flag offensive delete link more

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-09-10 08:32:15 -0600

Seen: 226 times

Last updated: Sep 12 '18