Git Product home page Git Product logo

the-genetic-algorithm-vba-code's Introduction

The-genetic-algorithm-VBA-code

Implementing a genetic algorithm to optimize rock cutting tools

Macro program description

The block diagram of the macro program for optimizing the tool geometry parameters depending on the operating conditions and the mechanical drilling speed is shown in Fig. 1. The macro program performs the following procedures:

  1. Set the initial version of the tool geometry by setting the values of the parameters X1,. . . , Xn, as well as several options with tool geometry parameters, consisting of random numbers.
  2. The construction of the tool mesh is performed by substituting the values of the geometric parameters X1 ... Xn.
  3. Next, the model file system is prepared, where a new finite element mesh of the tool is combined with the main grid of the soil, and a contact surface and other model parameters are created.

Fig

Fig. 1. The block diagram of the macro program

  1. After the model is calculated from the output files, the values of the target functional F are determined, as well as the parameters specified as constraints.
  2. Then the genetic algorithm gets the value of the functional F and generates a new set of parameters X1,. . . , Xn, after which the step «2» is repeated.
  3. The calculation will be completed after the specified number of cycle steps has passed.

Fig2

Fig. 2. The model in Ansys

Fig3

Fig. 3. One of the realizations of the rock cutting tools

the-genetic-algorithm-vba-code's People

Contributors

povarnitsyn avatar

Stargazers

 avatar  avatar  avatar

Forkers

vb6hobbyst7 012db

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.