Coder Social home page Coder Social logo

argonne-national-laboratory / frhodo Goto Github PK

View Code? Open in Web Editor NEW
29.0 5.0 8.0 30.24 MB

Simulate experimental data and optimize chemical kinetics mechanisms with this GUI-based application

License: Other

Python 96.59% Standard ML 0.35% ChucK 3.05%

frhodo's Introduction

Frhodo logo

What does Frhodo do?

Frhodo is an open-source, GUI-based Python application to simulate experimental data and optimize chemical kinetics mechanisms using Cantera as its chemistry solver.

Frhodo Screenshot

Features include:

  • Easing user workload through an intuitive and extensive GUI
  • Simulating chemical kinetics experiments using:
    • 0D closed, homogeneous, constant-volume reactor
    • 0D closed, homogeneous, constant-pressure reactor
    • Custom incident shock reactor for reactions behind incident shock waves
  • Importing Cantera-valid mechanisms (CTML/XML input format is currently not supported)
  • Reading an experimental directory to quickly switch between experimental conditions and measured data
  • Displaying simulated observable over experimental data
  • Altering mechanisms within memory and update simulation automatically
  • Investigating non-observable variables of simulation using the Sim Explorer within Frhodo
  • Optimizing mechanism based upon obervables (by hand or by machine learning routine)
    • Automatic routine requires bounds on reaction rate constants
    • Automatic routine can optimize all three Arrhenius parameters

Installation and Documentation

The newest release can be found here. Windows x64 systems can use the installer in the link.

Further installation instructions and documentation can be found in the provided Manual.

Frhodo uses an Anaconda environment and has been tested on Windows, macOS, and Linux.

frhodo's People

Contributors

roberttranter avatar tsikes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

frhodo's Issues

"Exceeded Number of Random Initializations" in FirstTimeUse

I get a Runtime error when executing the "FirstTimeDemo." Is that expected? I do get rbfopt to function when I only provide a 1% bound on k for R3 in the example. Not when I follow the instructions as I understand them

image

Full traceback

Traceback (most recent call last):
  File "D:\Users\wardl\Work\AutomatedLabs\Frhodo\src\calculate\optimize\optimize_worker.py", line 151, in run
    res = self.optimize_coeffs()
  File "D:\Users\wardl\Work\AutomatedLabs\Frhodo\src\calculate\optimize\optimize_worker.py", line 103, in optimize_coeffs
    res = optimize.run()
  File "D:\Users\wardl\Work\AutomatedLabs\Frhodo\src\calculate\optimize\optimize_worker.py", line 251, in run
    res[opt_type] = self.rbfopt(x0, bnds, options)
  File "D:\Users\wardl\Work\AutomatedLabs\Frhodo\src\calculate\optimize\optimize_worker.py", line 400, in rbfopt
    val, x, itercount, evalcount, fast_evalcount = algo.optimize()
  File "C:\Users\wardl\miniconda3\envs\frhodo\lib\site-packages\rbfopt\rbfopt_algorithm.py", line 803, in optimize
    self.optimize_serial(pause_after_iters)
  File "C:\Users\wardl\miniconda3\envs\frhodo\lib\site-packages\rbfopt\rbfopt_algorithm.py", line 857, in optimize_serial
    self.restart()
  File "C:\Users\wardl\miniconda3\envs\frhodo\lib\site-packages\rbfopt\rbfopt_algorithm.py", line 1813, in restart
    node_pos = ru.initialize_nodes(
  File "C:\Users\wardl\miniconda3\envs\frhodo\lib\site-packages\rbfopt\rbfopt_utils.py", line 565, in initialize_nodes
    raise RuntimeError('Exceeded number of random initializations')
RuntimeError: Exceeded number of random initializations

How to pack Cantera?

I was constantly failing to pack the Cantera library, always having problems. How did you fix that No Moudle Named Interrupts?

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.