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

Number of particle ( hybrid Particle Swarm and Pattern Search Algorithm)+genopt

Hi every one I'm trying to optimizing a building design, by coupling ENErgyplus and an optimisation tools GENOPT . for that , i'm using a Hybrid Generalized Pattern Search Algorithm with Particle Swarm Optimization Algorithm (GPSPSOCCHJ) for discrete and continous variable. but i can't understand how to determine the number of particle for this optimisation .

Please , give an idea about the mean of this parametr(NumberOfParticle ).

Thanks

++the command file is : * GenOpt example command file MWetter@lbl.gov, 06/18/2003 */ Vary{ Parameter{ // azimuthangle

Name    = x1;
Min     = -180.0;
Ini     = 0.0;
Max     = 180.0;
Step    = 90.0;

} Parameter{ // high windows size

Name    = x2;
Min     = 0.8;
Ini     = 1.6;
Max     = 1.6;
Step    = 0.4;

}

Parameter{ //infiltrationrate Name = x4; Min = 0.5; Ini = 0.5; Max = 2.0; Step = 0.5;

}

Parameter{ //ventilationrate Name = x5; Min = 0.0; Ini = 0.0; Max = 2.0; Step = 0.5; } Parameter{ // windowstype Name = x6; Ini = 1; Values = "100, 101" ; Type = SET; } Parameter{ // wall-exterior-type Name = x8; Ini = 1; Values = "EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ; Type = SET; }

Parameter{ // roof-exterior-type Name = x10; Ini = 1; Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51,ERQ29M91" ; Type = SET; } } OptimizationSettings{ MaxIte = 10000; MaxEqualResults = 200; WriteStepNumber = false; UnitsOfExecution = 4; } Algorithm{ Main = GPSPSOCCHJ; NeighborhoodTopology = vonNeumann; NeighborhoodSize = 5; NumberOfParticle = ; NumberOfGeneration = 50; Seed = 1; CognitiveAcceleration = 2.05; SocialAcceleration = 2.05; MaxVelocityGainContinuous = 0.2; MaxVelocityDiscrete = 4; ConstrictionGain = 1; MeshSizeDivider = 2; InitialMeshSizeExponent = 0; MeshSizeExponentIncrement = 1; NumberOfStepReduction = 4; }

Number of particle ( hybrid Particle Swarm and Pattern Search Algorithm)+genopt

Hi every one everyone I'm trying to optimizing optimize a building design, by coupling ENErgyplus and an optimisation tools tool GENOPT . for that , i'm I'm using a Hybrid Generalized Pattern Search Algorithm with Particle Swarm Optimization Algorithm (GPSPSOCCHJ) for discrete and continous continuous variable. but i I can't understand how to determine the number of the particle for this optimisation .

Please , give an idea about the mean of this parametr(NumberOfParticle parameter(NumberOfParticle ).

Thanks

++the command file is : * GenOpt example command file MWetter@lbl.gov, 06/18/2003 */ Vary{ Parameter{ // azimuthangle

Name    = x1;
Min     = -180.0;
Ini     = 0.0;
Max     = 180.0;
Step    = 90.0;

} }

Parameter{ // high windows size

Name    = x2;
Min     = 0.8;
Ini     = 1.6;
Max     = 1.6;
Step    = 0.4;

}

Parameter{ //infiltrationrate //infiltrationrate

Name    = x4;
 Min     = 0.5;
 Ini     = 0.5;
 Max     = 2.0;
 Step    = 0.5;

}

Parameter{ //ventilationrate 0.5;

}

Parameter{ //ventilationrate

Name    = x5;
 Min     = 0.0;
 Ini     = 0.0;
 Max     = 2.0;
 Step    = 0.5;
  }

}

Parameter{ // windowstype windowstype

Name = x6;
 Ini = 1;
 Values = "100, 101" ;
 Type = SET;

} Parameter{ // wall-exterior-type

Name = x8;
Ini = 1;
Values="EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ;
Type = SET;

}

Parameter{ // roof-exterior-type

Name = x10;
Ini = 1;

Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51, ERQ29M91" ; Type = SET; } Parameter{ // wall-exterior-type Name = x8; Ini }

}

OptimizationSettings{ MaxIte = 10000; MaxEqualResults = 200; WriteStepNumber = false; UnitsOfExecution = 4; }

Algorithm{ Main = GPSPSOCCHJ; NeighborhoodTopology = vonNeumann; NeighborhoodSize = 5; NumberOfParticle = ; NumberOfGeneration = 50; Seed = 1; Values = "EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ; Type = SET; }

Parameter{ // roof-exterior-type Name = x10; Ini CognitiveAcceleration = 2.05; SocialAcceleration = 2.05; MaxVelocityGainContinuous = 0.2; MaxVelocityDiscrete = 4; ConstrictionGain = 1; Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51,ERQ29M91" ; Type = SET; } } OptimizationSettings{ MaxIte = 10000; MaxEqualResults = 200; WriteStepNumber = false; UnitsOfExecution MeshSizeDivider = 2; InitialMeshSizeExponent = 0; MeshSizeExponentIncrement = 1; NumberOfStepReduction = 4; } Algorithm{ Main = GPSPSOCCHJ; NeighborhoodTopology = vonNeumann; NeighborhoodSize = 5; NumberOfParticle = ; NumberOfGeneration = 50; Seed = 1; CognitiveAcceleration = 2.05; SocialAcceleration = 2.05; MaxVelocityGainContinuous = 0.2; MaxVelocityDiscrete = 4; ConstrictionGain = 1; MeshSizeDivider = 2; InitialMeshSizeExponent = 0; MeshSizeExponentIncrement = 1; NumberOfStepReduction = 4; }

Number of particle ( hybrid Particle Swarm and Pattern Search Algorithm)+genopt

Hi everyone I'm trying to optimize a building design, by coupling ENErgyplus EnergyPlus and an optimisation optimization tool GENOPT . for GenOpt.

For that , I'm using a Hybrid Generalized Pattern Search Algorithm with Particle Swarm Optimization Algorithm (GPSPSOCCHJ) for discrete and continuous variable. variable, but I can't understand how to determine the number of the particle for this optimisation .optimization.

Please , Please, give me an idea about the mean of this parameter(NumberOfParticle ).parameter(NumberOfParticle).

Thanks

++the The command file is : :

* GenOpt example command file
   MWetter@lbl.gov, MWetter 06/18/2003
*/
Vary{
Parameter{ // azimuthangle

azimuthangle

    Name    = x1;
 Min     = -180.0;
 Ini     = 0.0;
 Max     = 180.0;
 Step    = 90.0;

}

} Parameter{ // high windows size

size

    Name    = x2;
 Min     = 0.8;
 Ini     = 1.6;
 Max     = 1.6;
 Step    = 0.4;

}

Parameter{ //infiltrationrate

  }


  Parameter{ //infiltrationrate

    Name    = x4;
 Min     = 0.5;
 Ini     = 0.5;
 Max     = 2.0;
 Step    = 0.5;

}

Parameter{ //ventilationrate


  }


Parameter{ //ventilationrate

    Name    = x5;
 Min     = 0.0;
 Ini     = 0.0;
 Max     = 2.0;
 Step    = 0.5;

}

} Parameter{ // windowstype

windowstype

    Name = x6;
 Ini = 1;
 Values = "100, 101" ;
 Type = SET;

SET; } Parameter{ // wall-exterior-type

wall-exterior-type

    Name = x8;
 Ini = 1;
 Values="EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ;
 Type = SET;

}

SET; } Parameter{ // roof-exterior-type

roof-exterior-type

    Name = x10;
 Ini = 1;

Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51, ERQ29M91" ; Type = SET; }

}

} } OptimizationSettings{ MaxIte = 10000; MaxEqualResults = 200; WriteStepNumber = false; UnitsOfExecution = 4; }

} Algorithm{ Main = GPSPSOCCHJ; NeighborhoodTopology = vonNeumann; NeighborhoodSize = 5; NumberOfParticle = ; NumberOfGeneration = 50; Seed = 1; CognitiveAcceleration = 2.05; SocialAcceleration = 2.05; MaxVelocityGainContinuous = 0.2; MaxVelocityDiscrete = 4; ConstrictionGain = 1; MeshSizeDivider = 2; InitialMeshSizeExponent = 0; MeshSizeExponentIncrement = 1; NumberOfStepReduction = 4; }

}

Number of particle ( hybrid Particle Swarm and Pattern Search Algorithm)+genopt

I'm trying to optimize a building design, by coupling EnergyPlus and an optimization tool GenOpt.

For that , I'm using a Hybrid Generalized Pattern Search Algorithm with Particle Swarm Optimization Algorithm (GPSPSOCCHJ) for discrete and continuous variable, but I can't understand how to determine the number of the particle for this optimization.

Please, give me an idea about the mean of this parameter(NumberOfParticle).

The command file is :

* GenOpt example command file
   MWetter 06/18/2003
*/
Vary{
Parameter{ // azimuthangle

    Name    = x1;
    Min     = -180.0;
    Ini     = 0.0;
    Max     = 180.0;
    Step    = 90.0;
  }


Parameter{ // high windows size

    Name    = x2;
    Min     = 0.8;
    Ini     = 1.6;
    Max     = 1.6;
    Step    = 0.4;
  }


  Parameter{ //infiltrationrate

    Name    = x4;
    Min     = 0.5;
    Ini     = 0.5;
    Max     = 2.0;
    Step    = 0.5;

  }


Parameter{ //ventilationrate

    Name    = x5;
    Min     = 0.0;
    Ini     = 0.0;
    Max     = 2.0;
    Step    = 0.5;
  }

Parameter{ // windowstype

    Name = x6;
    Ini = 1;
    Values = "100, 101" ;
    Type = SET; 

  }
Parameter{ // wall-exterior-type

    Name = x8;
    Ini = 1;
    Values="EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ;
    Type = SET; 
  }

Parameter{ // roof-exterior-type

    Name = x10;
    Ini = 1;
Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51,
ERQ29M91" ;
    Type = SET; 
  }

}


OptimizationSettings{
  MaxIte = 10000;
  MaxEqualResults = 200;
  WriteStepNumber = false;
  UnitsOfExecution = 4;
}

Algorithm{
  Main = GPSPSOCCHJ;
  NeighborhoodTopology = vonNeumann;
  NeighborhoodSize = 5;
  NumberOfParticle =   ;
  NumberOfGeneration = 50;
  Seed = 1;
  CognitiveAcceleration = 2.05;
  SocialAcceleration = 2.05;
  MaxVelocityGainContinuous = 0.2;
  MaxVelocityDiscrete = 4;
  ConstrictionGain = 1;
  MeshSizeDivider = 2;
  InitialMeshSizeExponent = 0;
  MeshSizeExponentIncrement = 1;
  NumberOfStepReduction = 4;
}

Number of particle ( hybrid Particle Swarm and Pattern Search Algorithm)+genopt

I'm trying to optimize a building design, by coupling EnergyPlus and an optimization tool GenOpt.

For that , I'm using a Hybrid Generalized Pattern Search Algorithm with Particle Swarm Optimization Algorithm (GPSPSOCCHJ) for discrete and continuous variable, but I can't understand how to determine the number of the particle for this optimization.

Please, give me an idea about the mean of this parameter(NumberOfParticle).

The command file is :

* GenOpt example command file
   MWetter 06/18/2003
*/
Vary{
Parameter{ // azimuthangle

    Name    = x1;
    Min     = -180.0;
    Ini     = 0.0;
    Max     = 180.0;
    Step    = 90.0;
  }


Parameter{ // high windows size

    Name    = x2;
    Min     = 0.8;
    Ini     = 1.6;
    Max     = 1.6;
    Step    = 0.4;
  }


  Parameter{ //infiltrationrate

    Name    = x4;
    Min     = 0.5;
    Ini     = 0.5;
    Max     = 2.0;
    Step    = 0.5;

  }


Parameter{ //ventilationrate

    Name    = x5;
    Min     = 0.0;
    Ini     = 0.0;
    Max     = 2.0;
    Step    = 0.5;
  }

Parameter{ // windowstype

    Name = x6;
    Ini = 1;
    Values = "100, 101" ;
    Type = SET; 

  }
Parameter{ // wall-exterior-type

    Name = x8;
    Ini = 1;
    Values="EWQ23M91,EWQ23M51,EWQ21M51,EWQ21M91,EWQ25M51,EWQ25M91,EWQ27M51,EWQ27M91,EWQ29M51,EWQ29M91" ;
    Type = SET; 
  }

Parameter{ // roof-exterior-type

    Name = x10;
    Ini = 1;
Values = "ERQ23M91,ERQ23M51,ERQ21M51,ERQ21M91,ERQ25M51,ERQ25M91,ERQ27M51,ERQ27M91,ERQ29M51,
ERQ29M91" ;
    Type = SET; 
  }

}


OptimizationSettings{
  MaxIte = 10000;
  MaxEqualResults = 200;
  WriteStepNumber = false;
  UnitsOfExecution = 4;
}

Algorithm{
  Main = GPSPSOCCHJ;
  NeighborhoodTopology = vonNeumann;
  NeighborhoodSize = 5;
  NumberOfParticle =   ;
  NumberOfGeneration = 50;
  Seed = 1;
  CognitiveAcceleration = 2.05;
  SocialAcceleration = 2.05;
  MaxVelocityGainContinuous = 0.2;
  MaxVelocityDiscrete = 4;
  ConstrictionGain = 1;
  MeshSizeDivider = 2;
  InitialMeshSizeExponent = 0;
  MeshSizeExponentIncrement = 1;
  NumberOfStepReduction = 4;
}