Description
The nutritive value of feeds for ruminants has been accessed by mathematical modeling related to the dynamics of digestion and passage in the rumen. Previous modeling developments (Ellis et al., 1994; France et al., 1998; Mertens 1993) have been parameterized to be used in the interpretation of in situ and in vitro kinetic studies with the main objective of estimating parameters related to the microbial digestion of the feed retained in the rumen.
Mechanistic models derived through compartmental analysis yield deterministic solutions that can be used for practical applications as well as theoretical development. Models designed to describe degradation profiles have been evaluated for quality of fit and validity of assumptions (Van Milgen and Baumont, 1995; Ellis et al., 2005). These particular models were designed in accordance to a general scheme in which the ingested feed is forced to exit the rumen but some is digested while retained in the rumen. The degree of complexity whereby digestion and passage phenomena are integrated varies among different approaches.
Most mathematical models that simulate the dynamics of fiber degradation and passage assume the digesta fiber is part of a single pool. The ruminal fiber pool is heterogeneous for ruminants consuming enough fiber that promotes the natural stratification of the digesta. The GnG1 model is an alternative model that was developed and evaluated to accommodate the digesta stratification. The GnG1 model can be used either under steady-state or dynamic conditions by treating the fiber mass in the rumen as a sequential of two pools of fibrous particles (Vieira et al., 2007a,b,c).
The GnG1 model was developed based on theoretical concepts and probability to generalize the rumen processes of fiber digestion. It can be used to interpret fiber degradation and passage profiles. The GnG1 model was evaluated for quality of fit using in vitro fiber degradation profiles and in vivo fiber passage profiles. The integration of digestion and passage is based on the concept that fibrous digesta in the rumen is heterogeneous (Vieira et al., 2007a,b,c).
The GnG1 Models manual is a PDF file available in English.
|
GnG1 models fitted to the sample degradation (y) and passage (c) profiles |
|
|
Download
|
It uses R! |
Visual Studio 2026 |
|
32 bit and 64 bit Compatible |
|
The GnG1 Models software is programmed with Microsoft Visual Studio using Visual Basic and the .NET Framework 4.8.1 (click here to download the .NET Framework). It uses R scripting v. 4.1 or later technology (Click here to download R) to perform calculations, nonlinear convergence, and high-quality graphic production. It works with most IBM-PC compatible computers that have Microsoft Windows 10 or later. In order to execute GnG1 Models, you have to install the following R packages: XML, minpack.lm, and ggplot2; ragg is optional and draws smoother charts. Version 3 added minpack.lm (Levenberg-Marquardt convergence) and ggplot2 (all of the charts) and no longer needs chron, so a computer that ran an earlier version will need those two. Even though GnG1 Models will try to install them automatically, you may install them manually. Briefly, after you have installed R, open R, click on menu packages, and then install packages. Select the provider and then select the package one at a time. You have to have an internet connection active to download the packages. There is a Visual Basic Script (installpackages.VBS) in the GnG1 Models folder that performs the installation of these packages automatically. |
|||
The current version of the GnG1 Models is Loading...
What is new in GnG1 Models version 3? NEW
- One R script for digestion and passage. A single script fits the residue of fiber over time (kd) or the concentration of a marker in the feces (kp), chosen with the mode on the main window, and replaces the two scripts of version 2.
- New models. For digestion: the exponential, the exponential with a discrete lag, the logistic, and GnG1 of order 1 (the continuous lag) and higher; for passage: GnG1 with a transit time, Grovum and Williams, and Dhanoa. Every model estimates the indigestible fraction.
- Fitting within bounds and model selection. Levenberg-Marquardt within bounds is the default, from several starting values instead of a grid search, and the model of each profile is selected by AIC, BIC, or SSE.
- Effective digestibility and retention times. A digestion run reports the potentially digestible and indigestible fractions, the lag or mean delay, the effective digestibility, and the equivalent first-order kd, at a passage rate typed on the main window or taken from a passage run; a passage run reports the transit time, the mean retention times, and the ruminal kp.
- An HTML report of every run. report.html gives the selected model of each profile, its charts, and its tables, and methods.html documents how each result is computed; the charts are drawn with ggplot2 at the size and resolution set on the main window.
- A new main window. A menu bar (File, Run, Tools, Help), recent projects, start-up checks and an error log, a reset of the options, and the manual (Help, F1). Please see the list of modifications for the full list.
- The GnG1 Models manual is a PDF file available in English. It is also installed with the program (Help).
- Previous versions can be downloaded from here.
- A list of modifications can be found here.
- The latest script for GnG1 is:
- GnG1 v. 3.0.0
- Unzip the zip file and copy the .ZZZ files to the My Documents\NutritionModels\GnG1 Files\Scripts folder
A tutorial on how to install the GnG1 Models is available at the Media web page.
Registration
GnG1 Models will expire after 10 trial uses if it is not registered by the end of the grace period. You may register your copy by submitting the license number on the Register webpage. If applicable, registration codes are issued only after the full registration fee has been paid on the Purchase webpage. Each copy is licensed as a Student, Limited, or Flexible License, as described in the NutritionModels.com Licensing Guidance; the license agreement is shown when the program is installed.
Developers
Support
The following list summarizes corrections, enhancements, and functional improvements made to the software, presented in chronological order (newest to oldest). Each entry reflects updates implemented to improve stability, usability, and overall performance.
December 2026. In the update v. 3.0.9827.14390, GnG1 Models was rebuilt: one new R script fits both degradation (kd) and passage (kp) data, and every run writes an HTML report. THIS VERSION MAY REQUIRE (RE)REGISTRATION DUE TO CHANGES IN THE LICENSING: from version 3.0 a license has a term of 365 days, counted from the date of registration, and version 3.0 uses a new registration code.
GnG1 Models v. 3.0 (changes since v. 2.9)
- Added. One R script (3.0.0) for kd and kp. Mode on the main window chooses degradation (the residue of fiber over time) or passage (a marker in the feces over time). It replaces the two scripts of version 2, no longer opens dialog boxes, and requires R 4.1 or later.
- Added. Models. For kd: the exponential with and without a discrete lag, the logistic, and the GnG1 models of order n; every model has an indigestible fraction. For kp: GnG1 with a transit time, Grovum and Williams, and Dhanoa et al., each with the transit time, the mean time in each compartment, the total mean retention time, and the passage rate.
- Added. Effective digestibility at a passage rate typed on the form or read from the results of a passage run, profile by profile, with the equivalent first-order kd.
- Added. A report with every run. report.html, with a summary, the selected model of each profile, charts, and tables, and methods.html, with the equations, the fitting, and the references; the tables are saved as CSV files, and File, Open, Results File opens any file of a results folder.
- Changed. Levenberg-Marquardt with bounds is the default fitting method, several starting values replace the grid search, and the model of each profile is selected by AIC (the default), BIC, or SSE.
- Added. A menu bar laid out as in the other NutritionModels programs (Run is F5, Stop Shift+F5), recent files, start-up checks with a saved report, an error log, a new license agreement, a new icon, and a new manual, History, Science, and User Guide (Help, Manual, F1).
- Improved. R and its packages. R is found wherever it is installed; with no R, GnG1 still opens and offers to choose Rscript.exe or to open the R download page. Tools, R, Install R Packages installs the packages GnG1 needs, and before a run GnG1 offers to install the missing ones. Stop ends the R run at once.
- Improved. Projects of version 2 still open. Every window keeps the scale of the main monitor on every monitor, sharp and whole, and on a small screen the main window scrolls.
Several related documents, manuscripts, and reports are listed on the Publications web page, such as:
- Vieira, R. A. M., L. O. Tedeschi, and A. Cannas. 2007a. A generalized model for describing fiber dynamics in the ruminant gastrointestinal tract. 1. The heterogeneity of the pool of fiber particles in the ruminoreticulum. 2007 Beef Cattle Report in Texas. Texas A&M University, College Station, TX. 97-102 p.
- Vieira, R. A. M., L. O. Tedeschi, and A. Cannas. 2007b. A generalized model for describing fiber dynamics in the ruminant gastrointestinal tract. 2. Accounting for heterogeneous pools in the ruminoreticulum. 2007 Beef Cattle Report in Texas. Texas A&M University, College Station, TX. 103-110 p.
- Vieira, R. A. M., L. O. Tedeschi, and A. Cannas. 2007c. A generalized model for describing fiber dynamics in the ruminant gastrointestinal tract. 3. Estimating digestion-related kinetic parameters. 2007 Beef Cattle Report in Texas. Texas A&M University, College Station, TX. 111-120 p.
Links
This section will be updated with relevant links as they are identified and curated for this model.







