Software

Software – updated 2021-08-06

The site offers code for several of the techniques in Visual Basic for Applications.  Why VBA?  Although it is not computationally fast, as an add-in to Microsoft Excel it is widely accessible to site visitors, easy to use, edit, and debug.  If desired, a user can easily translate the VBA code to any other programming language.   For those needing a basic VBA how-to, this file r3eda site VBA Primer 2016-06-21 offers a primer.

This web site provides free access (see the copyright statement below) to descriptions and code of techniques that I think are useful and innovative.  Return to the R3Co Home Page and use the Menu items to access tutorials and VBA code for:

  • Leapfrogging – A multi-player optimization technique that can cope with many function aberrations – flat spots, discretization, discontinuities, multiple optima, striations, etc.
  • Nonlinear model-based process control – This describes several approaches of using engineering models of the process for control, the same first-principles models that we use for design and analysis.
  • FOPDT models from data – Use a skyline input pattern and nonlinear regression to best fit model to data.  This has many benefits over classic reaction curve procedures.
  • Bootstrappping – A technique for propagating uncertainty
  • Steady State identification – A method to detect SS in noisy data
  • Nonlinear Regression – Using Leapfrogging optimization and steady state as the convergence criterion
  • Incremental Model Parameter Adjustment – For incrementally adjusting models with data
  • Statistical Filters – To update using statistical criteria

I am offering this site to encourage utilization of these techniques.  The visitor is welcome to download, use, and share the information and software under the terms of the MIT Open Source Software License (see below).  Please appropriately acknowledge this site as the source.  Of course, the user accepts responsibility for the use, outcome, consequences, etc. of implementing the techniques presented here.  These are developed with my best efforts, but with any tool, the user needs to accept application responsibility.

Copyright statement – This is what has become known as the MIT open source software license:

Copyright (c) 2021, R. Russell Rhinehart Co.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.