lattice_mc | Lattice gas Monte Carlo simulation code

 by   bjmorgan Python Version: 1.0.4 License: MIT

kandi X-RAY | lattice_mc Summary

kandi X-RAY | lattice_mc Summary

lattice_mc is a Python library. lattice_mc has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install lattice_mc' or download it from GitHub, PyPI.

lattice_mc is Python module for performing (kinetic) lattice-gas Monte Carlo (LGMC) simulations of ionic transport in solid electrolytes. In solid electrolytes, ionic motion is typically effected by a series of discrete “jumps” where ions move between adjacent lattice sites [1]. For dilute mobile ions, ionic trajectories are random walks, and simple analytical expressions exits that relate macroscopic transport coefficients, i.e. diffusion coefficients and ionic conductivities, to the microscopic jump frequency of individual ions [2,3]. Practical solid electrolytes have high mobile ion concentrations, with significant interparticle interactions producing deviations from the dilute limit random walk behaviour. In general, the quantitative effect of interparticle interactions cannot be determined analytically. As an alternative, numerical simulations, such as lattice-gas Monte Carlo methods, can be used to directly calculate these relationships. Lattice-gas Monte Carlo methods are particularly suited to studying how varying properties across broad classes of materials give quantitative differences in macroscopic ionic transport, and can be used to understand the different transport properties of materials with, for example, different crystal structures or mobile ion stoichiometries. lattice_mc has been written to allow materials scientists and solid-state chemists model how the microscopic physics of solid electrolytes (crystal structure, stoichiometry, interaction models) determine macroscopic transport behaviour (diffusion and ionic conduction), with the goal of understand the factors that make different materials more or less useful for specific applications (e.g. Li-ion batteries or fuel cells). The code allows the programmatic construction of simple lattices (presently implemented are square, honeycomb, and cubic lattices). Lattices with arbitrary geometries can be constructed from a file format that defines the lattice sites and their connectivity, allowing models based on crystallographic data. The algorithms used and interaction models are described in more detail in Ref. [4]. Calculated properties include tracer and “jump” diffusion coefficients; where the latter is proportional to the mobility (and hence the conductivity for charged particles) [5]; and tracer (single particle) and collective correlation factors, f and fI [6]. The simplest interaction model is for “non-interacting” particles, where the only restriction is volume exclusion (two particles cannot simultaneously occupy a single site) [7]. Additional interaction models include nearest-neighbour repulsion and on-site energies for inequivalent sites. Simulations are performed using an efficient rejection-free Monte Carlo scheme [8].
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              lattice_mc has a low active ecosystem.
              It has 26 star(s) with 6 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 1 have been closed. On average issues are closed in 1 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of lattice_mc is 1.0.4

            kandi-Quality Quality

              lattice_mc has 0 bugs and 0 code smells.

            kandi-Security Security

              lattice_mc has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              lattice_mc code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              lattice_mc is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              lattice_mc releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              lattice_mc saves you 959 person hours of effort in developing the same functionality from scratch.
              It has 2184 lines of code, 268 functions and 30 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed lattice_mc and discovered the below as its top functions. This is intended to give you an instant insight into lattice_mc implemented functionality, and help decide if they suit your requirements.
            • The tracer correlation coefficient
            • Return the sum of dr_squared atoms
            • Squared distance squared
            • Return the collective correlation coefficient
            • Squared distance between atoms in the molecule
            • Sets the coordination energy for each site
            • Set the coordination energies
            • Return the average site occupation
            • Summarize site occupation
            • The tracer diffusion coefficient
            • Returns the collective diffusion coefficient
            Get all kandi verified functions for this library.

            lattice_mc Key Features

            No Key Features are available at this moment for lattice_mc.

            lattice_mc Examples and Code Snippets

            No Code Snippets are available at this moment for lattice_mc.

            Community Discussions

            No Community Discussions are available at this moment for lattice_mc.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install lattice_mc

            Or download the latest release from GitHub.

            Support

            Full documentation and examples are contained in a Jupyter notebook at examples/lattice_mc_example.ipynb. The example notebook is also hosted on GitHub.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/bjmorgan/lattice_mc.git

          • CLI

            gh repo clone bjmorgan/lattice_mc

          • sshUrl

            git@github.com:bjmorgan/lattice_mc.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link