Aller au contenu

Solutions to Exo1

  1. The definition of optimization variables is done in design_space_exo1.py . Look at the X2 variable, the commented lines contain the reference statement. Only the "TargetSurfaceNames" variables are activated while the "LayerInsert" variables have been commented out.
  2. 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 variable X2_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 that Mur has 2 layers :

      Construction,
          Mur,                     !- Name
          Concrete 120mm,          !- Outside Layer
          GlassWool 40mm;          !- Layer 2
      

    • the choice of the material is a bit tricky: materials are stored in a list in design_space_exo1.py called choices_insulation_layer whose 7th item (index = 6) is laineverre_isoconfort32_optima_160mm . Therefore, "LayerInsert": [choices_insulation_layer[6]] does the job.