!===============================================================================
! NEW MEXICO OIL PRODUCTION AND TAXATION (NMOPT) MODEL
!===============================================================================
! This is a Fortran program of the New Mexico Oil Production and Taxation model.
! It is designed with simplicity in mind. It utilizes pure Fortran codes,
! free from any external libraries. Hence, a basic understanding of Fortran is
! all that is needed to comprehend and operate it.
!
! The program is organized and documented into 4 modules, each serving a
! distinct purpose. Module 1 ("1_declare.f08") sets the simulation settings and
! model entities. Module 2 ("2_initialize.f08") provides comprehensive details
! of the model's constants, including the initial value of stock variables and
! external data. Module 3 ("3_simulate.f08") delves into the model's variables
! and equations, encompassing stocks, flows, and auxiliaries with mathematical
! formulations. Lastly, module 4 ("4_export.f08") is dedicated to exporting the
! model's outputs.
!
! To compile and run this program, we need a Fortran compiler. We recommend
! "GNU Fortran," which is a free Fortran compiler. If it is installed on the
! computer, we can run the following command in a terminal to compile the
! program:
! gfortran 1_declare.f08 2_initialize.f08 3_simulate.f08 4_export.f08 0_main.f08
!
! After the program is compiled, it creates an output in the same directory as
! the model files. This file will appear as "a.out." Executing this file will
! run the model and generate its outputs. To run the file, type the following
! command in the terminal:
! ./a.out
!
! Running the model with the command above will generate outputs and export them
! into a folder named "export" in the same directory as the model files. These
! outputs are in CSV format. We can then use our program of choice to plot them.
