Solutions to Exo1
- The definition of optimization variables is done in
design_space_exo1.py. Look at theX2variable, the commented lines contain the reference statement. Only the"TargetSurfaceNames"variables are activated while the"LayerInsert"variables have been commented out. -
Additional tasks that accompany the optimization but are not optimized such as always removing or adding layers are described in the action description, here a
"WallModification"given in variableX2_act.-
the removal of the inner layer comes from
"Layer2RemoveIndexes": [2]. Layers are numbered from the outside to the inside starting at 1. The total number of layers for this Construction (pre-assembled layers) is that of the"TargetConstructionName": "Mur"which can be looked up in the cabin.idf file, and It is seen thatMurhas 2 layers : -
the choice of the material is a bit tricky: materials are stored in a list in
design_space_exo1.pycalledchoices_insulation_layerwhose 7th item (index = 6) is laineverre_isoconfort32_optima_160mm . Therefore,"LayerInsert": [choices_insulation_layer[6]]does the job.
-