<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Physics-informed Machine Learning for Real-time Unconventional Res- ervoir Management</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maruti K. Mudunuru</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniel O'Malley</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shriram Srinivasan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jeffrey D. Hyman</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matthew R.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sweeney</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luke Frash</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bill Carey</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael R. Gross</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nathan J. Welch</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Satish Karra</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Velimir V.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vesselinov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Qinjun Kang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hongwu Xu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rajesh J. Pawar</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tim Carr</string-name>
          <email>tim.carr@mail.wvu.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Liwei Li</string-name>
          <email>liwei.li@mail.wvu.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>George D. Guthrie</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hari S. Viswanathan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Earth and Environmental Sciences Division, Los Alamos National Laboratory, Los Alamos, NM-87544. Department of Geology &amp; Geography, West Virginia University</institution>
          ,
          <addr-line>Morgantown, WV 26506</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p />
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>We present a physics-informed machine learning (PIML)
workflow for real-time unconventional reservoir
management. Reduced-order physics and high-fidelity physics model
simulations, lab-scale and sparse field-scale data, and
machine learning (ML) models are developed and combined for
real-time forecasting through this PIML workflow. These
forecasts include total cumulative production (e.g., gas,
water), production rate, stage-specific production, and spatial
evolution of quantities of interest (e.g., residual gas, reservoir
pressure, temperature, stress fields). The proposed PIML
workflow consists of three key ingredients: (1) site behavior
libraries based on fast and accurate physics, (2) ML-based
inverse models to refine key site parameters, and (3) a fast
forward model that combines physical models and ML to
forecast production and reservoir conditions. First, synthetic
production data from multi-fidelity physics models are
integrated to develop the site behavior library. Second, ML-based
inverse models are developed to infer site conditions and
enable the forecasting of production behavior. Our preliminary
results show that the ML-models developed based on PIML
workflow have good quantitative predictions (&gt;90% based on
R2-score). In terms of computational cost, the proposed
MLmodels are  (104) to  (107) times faster than running a
high-fidelity physics model simulation for evaluating the
quantities of interest (e.g., gas production). This low
computational cost makes the proposed ML-models attractive for
real-time history matching and forecasting at shale-gas sites
(e.g., MSEEL – Marcellus Shale Energy and Environmental
Laboratory) as they are significantly faster yet provide
accurate predictions.</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>
        Energy extraction from conventional resources involves
producing crude oil, natural gas, and its condensates from
Copyright © 2020, for this paper by its authors. Use permitted under
Creative Commons License Attribution 4.0 International (CCBY 4.0).
rock formations that have high porosity and permeability
        <xref ref-type="bibr" rid="ref2">(Bahadori, 2017)</xref>
        . These rock formations are found below an
impermeable rock. However, energy extraction from
unconventional hydrocarbon resources
        <xref ref-type="bibr" rid="ref1 ref21">(Ahmmed and Meehan,
2016)</xref>
        involves using advanced drilling and stimulation
techniques (e.g., long horizontal laterals and multi-stage
hydraulic fracturing) to extract crude oil and natural gas that
are trapped in the pores of relatively impermeable
sedimentary rocks (e.g., shale, tight sandstones).
      </p>
      <p>
        Typically, unconventional reservoirs have porosity in the
range of 0.04-0.08 and matrix permeability on the order of
nanodarcies (10-16-10-20 m2)
        <xref ref-type="bibr" rid="ref22 ref4">(Rezaee, 2015; Belyadi et al.,
2019)</xref>
        . Instead of the porous flow that dominates
conventional reservoirs, fracture flow dominates unconventional
reservoirs, with natural fractures dissecting the matrix and
intersecting with the hydraulic fractures. As result, energy
extraction is more difficult than conventional reservoirs.
Model-based optimization of unconventional reservoirs is
also challenging because due to the long horizontal laterals
there is insufficient site data to inform high-fidelity physics
models
        <xref ref-type="bibr" rid="ref4">(Mohaghegn, 2017; Belyadi et al., 2019)</xref>
        . Despite
these challenges and due to the abundance of
unconventional resources, with reserves projected to last for many
decades, energy extraction from these resources have gained
prominence in recent years
        <xref ref-type="bibr" rid="ref28 ref5">(Briefing, 2013 and Weijermars,
2014)</xref>
        . Current extraction efficiency from unconventional
reservoir is very low (~5-10%) for tight oil and ~20% for
shale gas
        <xref ref-type="bibr" rid="ref16 ref24">(Sandrea, 2007; Muggeridge et al., 2014)</xref>
        compared to conventional reservoirs (~20-40%)
        <xref ref-type="bibr" rid="ref31">(Zitha et al.,
2008)</xref>
        . This is because the impact of resource development
processes (e.g., slow drawdown or fast drawdown) and
underlying physics that determine the energy extraction from
the impervious rocks are poorly understood
        <xref ref-type="bibr" rid="ref22 ref4">(Rezaee, 2015;
Belyadi et. Al., 2019)</xref>
        . State-of-the-art workflows for
unconventional reservoir management are data-driven, which
perform poorly beyond their training regimes. Hence,
innovative extraction strategies (e.g., pressure-drawdown
management) coupled with advanced workflows (e.g.,
physics-informed machine learning) are needed to improve the
hydrocarbon recovery efficiency
        <xref ref-type="bibr" rid="ref13 ref25">(Seales et al., 2017; Lougheed et
al., 2017; Mirani et al., 2018)</xref>
        . In this paper, we present a
physics-informed machine learning (PIML) workflow
(Fig.1) to address unconventional production for real-time
reservoir management. One of the goals of this PIML
workflow (Fig.2) is to develop fast and accurate ML-models
grounded in physics for real-time history matching and
production forecasting in a fracture shale gas reservoir.
      </p>
    </sec>
    <sec id="sec-3">
      <title>1.1 State-of-the-art Workflows and Key Gaps</title>
      <p>
        Current workflows for unconventional reservoirs are
predominantly based on production decline curve analysis and
its extensions
        <xref ref-type="bibr" rid="ref26 ref29">(Wu et al., 2013; Sun 2015)</xref>
        , data-driven
machine learning (ML) approaches
        <xref ref-type="bibr" rid="ref6 ref7 ref9">(Holdaway 2014; Chaki
2015; Puyang et al., 2015; Carvajal et al. 2017; Mohaghegn,
2017)</xref>
        , and/or extension of physics-based conventional
reservoir workflows
        <xref ref-type="bibr" rid="ref1 ref21 ref22 ref4">(Rezaee, 2015; Rajput and Thakur, 2016;
Belyadi et al., 2019)</xref>
        . Decline curve analysis provides
empirical models to forecast production data based on the past
production history. This type of approach lacks physics and
in-depth knowledge of the site behavior is not included in
the forecasting models. The data-driven ML approaches
perform poorly when faced with uncertain, missing, and sparse
data – common problems with existing datasets related to
unconventional reservoirs. Moreover, the data-driven ML
analyses perform poorly in making forecasts outside of their
training regimes, and the exploration of novel production
strategies fundamentally requires extrapolation (where ML
struggles) as opposed to interpolation (where ML excels).
The physics-based workflows adopted for modeling
conventional reservoirs use extensively available
site-characterization data (which is acquired over months or years) for
history-matching. Even though large unconventional
reservoir data (e.g, fiber-optics) are sampled at sparse locations,
simply combining all the data together would not improve
the accuracy of real-time forecasting. This is because
reservoir conditions change considerably from one basin to
another basin. Therefore, physical constraints need to be
incorporated in workflows. Existing workflows employ
high-fidelity physics models to perform simulations, which are
expensive to run. For example, it takes several days to months
to run reservoir-scale model simulations
        <xref ref-type="bibr" rid="ref1 ref21 ref22 ref4">(Rezaee, 2015;
Rajput and Thakur, 2016; Belyadi et al., 2019)</xref>
        with
degreesof-freedom in the  (108) on state-of-the-art HPC machines.
As a result, these conventional reservoir workflows are not
ideal for usage in comprehensive uncertainty quantification
studies, which require 1000s of forward model runs. To
overcome the key gaps associated with existing workflows,
we propose a PIML workflow (Fig.1 and Fig.2) to accelerate
the development of ML-models while constraining it with
physics. The aim is (1) to develop a library from a
combination of site observations and physics-based models that is
representative of unconventional reservoir site behavior,
and (2) to develop fast and accurate ML-models for
realtime history matching to refine key site parameters and
forecast production quantities of interest (QoIs) with uncertainty
estimates. Key production QoIs include, total cumulative
production of hydrocarbons, gas and water production rates,
stage-specific production, and spatial evolution of residual
gas, reservoir pressure, temperature, and stress fields based
on a user-defined pressure-drawdown strategy.
      </p>
    </sec>
    <sec id="sec-4">
      <title>2. Physics-informed Machine Learning</title>
    </sec>
    <sec id="sec-5">
      <title>2.1 Innovation and proposed approach</title>
      <p>The proposed approach to develop the PIML workflow
consists of three key steps: (Step-1) Development of site
behavior libraries based on fast and accurate physics,
(Step-2) Development of ML-based inverse models to
infer key site parameters, and (Step-3) Development of fast
forward models that combine physical models with ML
to forecast production and reservoir conditions.</p>
      <p>PIML Workflow Step-1: Development of a site
behavior library involves generating synthetic data for a
range of possible site characteristics. This includes a large
number of runs from a fast physics-based reduced-order
model and a smaller number of runs from a high-fidelity,
full physics model. The fast physics models (e.g., Patzek
models) allow us to quickly model and build a site library
on the evolving reservoir data. These models allow us to
efficiently explore the parameter space. Moreover,
combining fast physics models with ML allows us to identify
the important physical processes or dominant
mechanisms that must be represented during full physics
simulations. The dominant mechanisms at different stages of
production include
• Early stages of production (&lt;1 year): Primary
fracture creation, geometry, and network connectivity,
primary fracture behavior, propped fracture behavior,
anisotropic permeability of fractures.
• Middle stages of production (~1-5 years):
Secondary fractures and their permeabilities, shear fracture
geometries, and geochemical impacts of hydraulic
fluids and formation water.
• Late stages of production (~5-10 years): Matrix
porosity and transport properties, water imbibition
impacts, adsorbed gas properties, pore structure
distribution.</p>
      <p>These mechanisms are not accounted for in the fast
physics models but are needed to describe the reservoir
behavior at different stages of gas and water production.
However, simulating these mechanisms using full physics
models for entire parameter space is computationally
intractable. As a result, a fast physics model library along
with ML are used to guide and improve the development
of the full physics model library (which consist of complex
3D simulations of matrix-fracture interactions) for
characterizing site behavior.</p>
      <p>
        PIML Workflow Step-2: The ML-inverse model is
developed on this site behavior library using a transfer
learning approach
        <xref ref-type="bibr" rid="ref17 ref30 ref8">(Pan et al., 2009; Goodfellow et al.,
2016; Yamada et al., 2018)</xref>
        where the numerous runs
from the reduced order model are used to train an initial
inverse model, then the smaller number of runs from the
high-fidelity model are used to fine-tune the inverse
model. This effectively represents a multi-fidelity
approach to training the ML inverse model. This
ML-inverse model provides capabilities for real-time history
matching to update the key parameters (e.g., rock
permeability, rock porosity, gas transport properties).
Sensitivity analysis (e.g., Sobel indices, Random Forests) is
performed to provide quantitative information on the key
sensitive parameters (e.g, matrix permeability and
porosity, fracture network parameters) that influence shale gas
production rates.
      </p>
      <p>PIML Workflow Step-3: The physics-based reduced
order forward model uses these calibrated parameters for
real-time forecasting. This model is trained on the site
libraries along with evolving production data. Moreover, it
allows for various operational decisions (e.g, slow
drawdown vs. fast drawdown) to be evaluated relative to future
outcomes. The ML-inverse and physics-based reduced
order forward model can be combined to provide
uncertainty estimates on the production quantities of interest
(e.g., remaining hydrocarbon-in-place, spatial evolution
of pressure and temperature, shale gas and water
production as a function of time).</p>
    </sec>
    <sec id="sec-6">
      <title>2.2 Key Challenges</title>
      <p>The key challenges to accelerate the proposed PIML
workflow include:
1Q. How do we enhance the information content and fill the
gaps in the limited unconventional site-data for PIML
analyses? Specifically, how to use the short-time gas
production data (e.g., 30-120 days) to forecast the long-term
performance (e.g., 1-5 years) of an unconventional shale
gas well?
2Q. What is the minimum number of high-fidelity physics
model simulations (e.g., PFLOTRAN, FEHM, dfnWorks)
needed to develop a gas production library that is
representative of shale gas sites behavior? How do we improve
the full physics models to accurately represent the site
behavior?
3Q. How can we use the information learned from
reducedorder physics models (e.g., Patzek model, graph-based
models) to inform high-fidelity physics model
simulations?
4Q. What are the key sensitive parameters (e.g., matrix and
fracture properties) in high-fidelity physics models that
influence short-term and long-term gas production rates?
5Q. What are the key operational parameters (e.g., pressure
drawdown strategies) that can be used to inform decisions
in real-time, leading to optimized production?</p>
    </sec>
    <sec id="sec-7">
      <title>2.3 Our Hypothesis</title>
      <p>Our hypotheses/approaches to address the key challenges
include:
1A. Augment limited unconventional reservoir data (e.g.,
PetroMehras) can be used to generate synthetic data for the
short-term production data, well logs) with lab-scale
experimental data, reduced-order physics simulation data,
and high-fidelity physics simulation data. Short-term
production data (e.g., 30-120 days) contains statistical
information (e.g., matrix and fracture network properties) that
can help us predict the long-term production data (e.g.,
15 years).
2A. Reduced-order physics models provide information on
the key sensitive parameters needed to inform
high-fidelity physics model simulations. As we obtain more
production data and/or site data, a ML-based active-feedback
loop is used to improve full physics models. In this active
feedback loop, ML-inverse model is used to update and
constrain the key parameters based on newly available
reservoir data. Based on these updated key parameters,
site-behavior libraries are also updated to account for new
production data.</p>
      <p>ity physics.
3A. Transfer learning can be used to provide link and
transfer information from reduced-order physics to
high-fidel4A. Sensitivity analysis (e.g., Sobel indices, Random
Forests) can provide quantitative information on the key
sensitive parameters (e.g, matrix permeability, matrix
lithology, fracture length and orientation, stage spacing,
hydrocarbon-in-place) that influence short-term and long-term
gas production rates through feature importance.
5A. Maximizing early production may not maximize total
recovery efficiency. Optimal pressure management
strategies are needed to enhance recovery efficiency. One of
our hypotheses is that slower drawdown rates can lead to
improved recovery efficiency in long-term shale gas
production (e.g., 5-10 years).</p>
    </sec>
    <sec id="sec-8">
      <title>2.4 Details of the Proposed Approach</title>
      <p>suite, Landmark Nexus, MRST, BOAST, OPM) (see ref.
site behavior library.</p>
      <p>
        The reduced-order physics models
        <xref ref-type="bibr" rid="ref19">(Patzek et al., 2013)</xref>
        to
generate synthetic data are given by
      </p>
      <p>−
  ̃  

 ( )  
   
where  ̃ is the dimensionless time,  is the dimensionless
distance, and</p>
      <p>is the real gas pseudopressure. Eq.(1)
corresponds to reduced-order physics of gas flow in fractured
porous rock. These are given as follows
  ( ) =</p>
      <p>+ (1 −  )        
where  is the characteristic inference time,  is the
halfdistance between the hydrofractures,   is the initial
hydraulic diffusivity,  is the fractured rock effective permeability
dependent on reservoir pressure,  is the fractured rock
effective porosity,</p>
      <p>is the fraction of pore space occupied by
the gas,   is the gas viscosity,   is the isothermal
compressibility of gas,   is the differential equilibrium
partitioning coefficient of gas, and   is the compressibility
factor of gas. These gas properties are dependent on evolving
reservoir pressure and temperature. Eq. (1) is a nonlinear
pressure diffusion equation, which is solved numerically.
The cumulative production of gas mass is given as follows
 ( ̃) = ℳ
   =0</p>
      <p>′
0
̃</p>
      <p>where ℳ is the initial hydrocarbon-in-place.</p>
      <p>
        The expensive full physics models to simulate gas flow
and transport in fractured porous media
        <xref ref-type="bibr" rid="ref22 ref23 ref4">(Rezaee, 2015;
Salama et al., 2017; Belyadi et al., 2019)</xref>
        are given by
 ,
(2)
(3)
(4)
(5)
(6)
where   is the density of the gas which is dependent on the
reservoir pressure,  is the Darcy flux,  is the gas
concen ̃ =


 =
  =
      </p>
      <p>,
 =

 2
 
=
1       
2
 ( ,  ,  ) = 2


 2</p>
      <p>
        ℎ
 ( )
 ( ,  )
  
    ( ,  )
tration,  is the tortuosity, and  is the fracture rock
effective diffusivity. Eq.(4) and Eq.(5) model the gas flow under
varying reservoir and bottom hole pressures. The underlying
assumptions include Darcy’s flow and Fick’s law.
Adsorption and non-pore refinement effects on phase behavior are
ignored. Eq.(6) models the gas transport from fractured
stage to horizontal well based on the initial
hydrocarbon-inplace. The amount of gas extracted from the pair of
hydrofractures at a given section of the well is equal to   .
Different types of equation of state (EOS) models are used to
evaluate the gas density. These include ideal gas law,
exponential pressure-dependent model, and Redlich-Kwong-Soave
model. The corresponding EOS model expressions are given
by
  =
  
Note that it is possible to incorporate nanopore confinement
effects (e.g,shifts in bubble or dew points) into EOS models
to account for density changes. For examp
        <xref ref-type="bibr" rid="ref10">le, see ref. Islam
et al., 2015</xref>
        ,
        <xref ref-type="bibr" rid="ref27">Tan and Piri, 2015</xref>
        , and
        <xref ref-type="bibr" rid="ref12">Liu and Zhang, 2019</xref>
        .
      </p>
      <p>Through these multi-fidelity physics models, the
reservoir physical behavior is captured accurately. Gas flow and
transport mechanisms are accounted through conservation
of mass and equation of state for real gases. State-of-the-art
simulators (e.g., PFLOTRAN, dfnWorks) are used to
develop high-fidelity simulation data. These simulators use
finite volume methods and Newton-Raphson method to solve
the discretized system of nonlinear equations given by
Eq.(4)-(7). Moreover, these simulators account for accurate
meshing of fractures, matrix, and upscaling of fracture
network properties for reservoir-scale high-fidelity physics
simulations.</p>
      <p>
        Fig.3 shows the PIML workflow to create efficient
inverse models to infer key site parameters from production
information. First, we sample the relevant regions in
parameter space. Two site behavior libraries are developed based
on this sampling. One comes from running the
reduced-order physics model with a large set of samples and the other
comes from running the full physics model with a smaller
set of samples. The first library (based on the reduced-order
physics model) is used to train an initial ML-inverse model.
The ML-inverse model is then fine-tuned with the library
from the high-fidelity physics model using transfer learning,
producing a final ML-inverse model. During this fine-tuning
process the weights of the neural network are fine-tuned.
The ML-inverse model takes past production as input and
produces physical parameters as output. These physical
parameters can then be fed into the reduced-order physics
model. The loss function for this ML-inverse model is
defined in terms of how well it works in combination with the
reduced-order physics model at predicting future
production. Note that the second library can also be augmented
with field production data to improve the realism of the
MLinverse model. This fine-tuning represents a multi-fidelity
approach to machine learning where a large dataset is
generated with a reduced-order physics model and a smaller
dataset is generated with a high-fidelity, expensive full physics
model. This multi-fidelity approach allows us to perform
real-time history matching on new production data to
determine critical site parameters that can be used to accurately
predict future production.
Fig.4 shows a DFN model of a single stage based on field
data from the Marcellus Shale Energy and Environment
Laboratory (MSEEL) shale gas site. This model was built
using dfnWorks, which is a computationally expensive full
physics software suite used to generate high-resolution
representations of DFNs (Hyman et a
        <xref ref-type="bibr" rid="ref10">l., 2015</xref>
        ). This
high-fidelity meshing of the fracture network is critical to accurately
capture the physical processes in a fractured shale gas
reservoir. To capture the matrix effects, we generate an
octreerefined continuum mesh (grey color in Fig.4) based on the
DFN. The original DFN model in Fig.4 consists of three
hydraulic fractures and a swarm of natural fractures that are
connected to hydraulic fractures. While generating the
continuum mesh, the DFN model is simultaneously upscaled to
account for matrix-fracture interactions, which results in
accurate permeability and porosity values that are needed to
simulate gas flow and transport in fractured shale. The final
mesh contains approximately 500,000 mesh cells.
      </p>
      <p>
        Fig.5 shows the flow and transport simulation using
PFLOTRAN with a Barton-Bandis stress relationship
        <xref ref-type="bibr" rid="ref3">(Barton and Bandis, 1990)</xref>
        . This figure shows the drainage over
a period of 10 years. For gas flow simulations (left), the well
is maintained at 12MPa and the reservoir initial pressure is
at 21MPa. For gas transport simulations (right), the initial
hydrocarbon-in-place is assumed to spread in the entire
fracture stage and the figure shows the transport of hydrocarbon
to the well over time at two different vertical heights. The
main inference from these simulations is that the
characteristic behavior of drainage is tied to hydraulic fractures. Our
future work involves accounting for heterogeneity of
hydrocarbon distribution in the matrix for production forecasts.
      </p>
      <p>Fig.6 shows encouraging results of long-term production
forecasts using ML-forward models. The red color
represents the short-term production, which is used along with
the site behavior library built on reduced-order physics
models to infer key site parameters (e.g., initial
hydrocarbon-inplace, hydraulic diffusivity). History-matching is performed
on the short-term production data. That is, the ML-inverse
model is trained on 90 days of production data (red color).
Then, the resulting ML-model with site behavior library
based on reduced-order physics is used to predict future
production (green color). The markers represent the long-term
production data and the solid green color line represents the
ML-model forecasts. Quantitatively, the prediction
accuracy based on R2-score is &gt; 90%. From this figure, it is clear
that ML-model predictions, which are combined with
physics are able to accurately represent the long-term production
data.</p>
    </sec>
    <sec id="sec-9">
      <title>3.1 Discussion</title>
      <p>We note that if another site/formation (e.g., Woodford,
Haynesville, Fayetteville, Barnett, Utica, EagleFord) has a
similar parameter range, we can use a set of ML techniques
derived from transfer learning to model this site/formation.
Transfer learning helps us to transfer knowledge gained
from one site (e.g., Marcellus) to another site (e.g.,
Woodford, Barnett). But the developed ML-models for one site
(e.g., MSEEL) need fine-tuning (or minimal retraining the
neural networks) to transfer knowledge across shale
sites/formations. This is not burdensome when compared to
developing a new site behavior library and ML-model for a
different site altogether. The transfer learning approach is
attractive for tasks where reusability of ML-models for
similar types is of great importance.</p>
      <p>If the production curve contains high frequency content
or oscillations, which might need addressing, there are
various ways to incorporate this in the ML analyses and
physicsbased models. For example, from the production curve and
bottom hole pressure, we can extract dominant frequencies
or a range of frequencies we are interested in modeling
through Fast Fourier Transformation (FFT). This FFT
transformation of bottom hole pressure and production curve vs.
time provides in-depth information on quantitative aspects
of high-frequency oscillations to be incorporated in physics
models (e.g.,   ℎ =  1sin  1 +  2sin  2 +
… +   −1sin   −1 +   sin    ) when developing the
site behavior library and pressure management strategies
(e.g., drawdown frequencies).</p>
    </sec>
    <sec id="sec-10">
      <title>4. Conclusions</title>
      <p>In this paper, we have presented a PIML workflow for
realtime history matching and forecasting of gas production
QoIs. The workflow coupled the strengths of machine
learning with the predictability of physics-based models for
realtime history-matching and forecasting. The PIML workflow
used short-term production data and site behavior libraries
to perform real-time history matching. Site behavior
libraries are developed based on many runs of a reduced-order
physics models and a smaller number of runs of expensive
full physics models. The initial ML-inverse model trained
on the reduced physics site library and short-term
production data provided us key site parameters, which are
hydraulic diffusivity and initial hydrocarbon-in-place. This initial
ML-inverse model is then fine-tuned with the library from
the expensive full physics models using transfer learning.
The expensive full physics model simulations were
developed using dfnWorks and PFLOTRAN simulators. These
high-fidelity simulations account for matrix-fracture
interaction, which is needed to accurately simulate gas flow and
transport in fractured shale reservoirs. Moreover, from these
simulations we inferred that the characteristic behavior of
drainage is tied to hydraulic fractures. This high-fidelity
simulation library was used to fine-tune the ML-inverse
model. Our ongoing work seeks to advance and test the
PIML workflow, site behavior libraries, and ML-models for
pressure management (e.g., slow drawdown vs. fast
drawdown) to optimize recovery at MSEEL. Our preliminary
results shown in this paper are encouraging for use of site
behavior libraries with ML-inverse model to address this
problem.</p>
    </sec>
    <sec id="sec-11">
      <title>Acknowledgements</title>
      <p>This work was funded by the U.S. Department of Energy
(DOE) – Office of Fossil Energy (FE) through its Oil and
Natural Gas Research Storage Program as implemented by
the National Energy Technology Laboratory. We would
specifically like to thank Jared Ciferno for his support and
guidance. LANL is operated by Triad National Security,
LLC, for the National Nuclear Security Administration of
U.S. Department of Energy (Contract No.
89233218CNA000001). The opinions expressed in this
paper are those of the authors and do not necessarily reflect
that of the sponsors.</p>
      <p>MSEEL: http://mseel.org/
PFLOTRAN: https://www.pflotran.org/</p>
      <p>Figure-2: Details of PIML workflow. The workflow utilizes a library of data on site behavior to inform forecasting models. The
scale of physical parameters used in the development of site behavior libraries are stage spacing (~100-200m), hydraulic fracture
length (~100-150m), a stage may contain 3-4 hydraulic fractures and a swarm of natural fractures that are connected to hydraulic
fractures, fracture rock reservoir permeability (~0.1-0.9mD), fractured rock porosity (~0.04-0.08), reservoir pressures
(~2030MPa), well flowing pressures (~5-15MPa), and gas properties (e.g., density, saturation, viscosity, compressibility).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Ahmmed</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Meehan</surname>
            ,
            <given-names>D. N.</given-names>
          </string-name>
          , (
          <year>2016</year>
          ),
          <article-title>Unconventional Oil and Gas Resources: Exploitation and Development</article-title>
          , CRC Press, Boca Raton, FL, USA.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Bahadori</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2017</year>
          ),
          <article-title>Fluid Phase Behavior for Conventional and Unconventional Oil</article-title>
          and
          <string-name>
            <given-names>Gas</given-names>
            <surname>Reservoirs</surname>
          </string-name>
          , Elsevier, Oxford, UK.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Barton</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bandis</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          (
          <year>1990</year>
          ),
          <article-title>Review of predictive capabilities of JRC-JCS model in engineering practice</article-title>
          .
          <source>In Rock Joints, Proc. Int. Symp on Rock Joints</source>
          , Loen, Norway (eds
          <string-name>
            <given-names>N.</given-names>
            <surname>Barton</surname>
          </string-name>
          and
          <string-name>
            <surname>O. Stephenson)</surname>
          </string-name>
          (pp.
          <fpage>603</fpage>
          -
          <lpage>610</lpage>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Belyadi</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fathi</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Belyadi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , (
          <year>2019</year>
          ), Hydraulic Fracturing in Unconventional Reservoirs: Theories, Operations,
          <string-name>
            <given-names>and Economic</given-names>
            <surname>Analysis</surname>
          </string-name>
          , Gulf Professional Publishing, Elsevier, Cambridge, Massachusetts, USA.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Briefing</surname>
            ,
            <given-names>U. S. S.</given-names>
          </string-name>
          (
          <year>2013</year>
          ),
          <source>International energy outlook</source>
          <year>2013</year>
          ,
          <article-title>US Energy Information Administration</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Carvajal</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maucec</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Cullick</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          (
          <year>2017</year>
          ),
          <source>Intelligent Digital Oil and Gas Fields: Concepts</source>
          ,
          <string-name>
            <surname>Collaboration</surname>
          </string-name>
          , and
          <article-title>Right-time Decisions</article-title>
          . Gulf Professional Publishing, Elsevier, Cambridge, Massachusetts, USA.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Chaki</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , (
          <year>2015</year>
          ),
          <article-title>Reservoir Characterization: A Machine Learning Approach</article-title>
          . arXiv preprint arXiv:
          <volume>1506</volume>
          .
          <fpage>05070</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Goodfellow</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengio</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Courville</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2016</year>
          ),
          <article-title>Deep learning</article-title>
          . MIT press.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Holdaway</surname>
            ,
            <given-names>K. R.</given-names>
          </string-name>
          (
          <year>2014</year>
          ),
          <article-title>Harness Oil and Gas Big Data with Analytics: Optimize Exploration and Production with Data-driven Models</article-title>
          . John Wiley &amp; Sons, New Jeresey, USA.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>L.</given-names>
            , and
            <surname>Viswanathan</surname>
          </string-name>
          ,
          <string-name>
            <surname>H. S.</surname>
          </string-name>
          (
          <year>2015</year>
          ),
          <article-title>dfnWorks: A discrete fracture network framework for modeling subsurface flow and transport</article-title>
          ,
          <source>Computers &amp; Geosciences</source>
          ,
          <volume>84</volume>
          ,
          <fpage>10</fpage>
          -
          <lpage>19</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Islam</surname>
            ,
            <given-names>A. W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patzek</surname>
            ,
            <given-names>T. W.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>A. Y.</given-names>
          </string-name>
          (
          <year>2015</year>
          ),
          <article-title>Thermodynamics phase changes of nanopore fluids</article-title>
          ,
          <source>Journal of Natural Gas Science and Engineering</source>
          ,
          <volume>25</volume>
          ,
          <fpage>134</fpage>
          -
          <lpage>139</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          (
          <year>2019</year>
          ),
          <article-title>A review of phase behavior simulation of hydrocarbons in confined space: Implications for shale oil and shale gas</article-title>
          ,
          <source>Journal of Natural Gas Science and Engineering</source>
          ,
          <volume>68</volume>
          ,
          <fpage>102901</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Lougheed</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Anderson</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          (
          <year>2017</year>
          ),
          <article-title>Does Pressure Matter? A Statistical Study</article-title>
          .
          <source>In SPE's Unconventional Resources Technology Conference (UreTEC)</source>
          , Austin, Texas (pp.
          <fpage>1919</fpage>
          -
          <lpage>1933</lpage>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          (
          <year>2018</year>
          ),
          <article-title>Production-pressure-drawdown management for fractured horizontal wells in shale-gas formations</article-title>
          .
          <source>SPE Reservoir Evaluation &amp; Engineering</source>
          ,
          <volume>21</volume>
          (
          <issue>03</issue>
          ),
          <fpage>550</fpage>
          -
          <lpage>565</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>Mohaghegh</surname>
            ,
            <given-names>S. D.</given-names>
          </string-name>
          , (
          <year>2017</year>
          ),
          <article-title>Shale Analytics: Data-driven Analytics in Unconventional Reservoirs</article-title>
          , Springer, Switzerland.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Muggeridge</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cockin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Webb</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frampton</surname>
            , H., Collins,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moulds</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Salino</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2014</year>
          ),
          <article-title>Recovery rates, enhanced oil recovery and technological limits</article-title>
          .
          <source>Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences</source>
          ,
          <volume>372</volume>
          (
          <year>2006</year>
          ),
          <fpage>20120320</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>S. J.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          (
          <year>2009</year>
          ),
          <article-title>A survey on transfer learning.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <source>IEEE Transactions on knowledge and data engineering</source>
          ,
          <volume>22</volume>
          (
          <issue>10</issue>
          ),
          <fpage>1345</fpage>
          -
          <lpage>1359</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <surname>Patzek</surname>
            ,
            <given-names>T. W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Male</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Marder</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2013</year>
          ),
          <article-title>Gas production in the Barnett Shale obeys a simple scaling theory</article-title>
          .
          <source>Proceedings of the National Academy of Sciences</source>
          ,
          <volume>110</volume>
          (
          <issue>49</issue>
          ),
          <fpage>19731</fpage>
          -
          <lpage>19736</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <surname>PetroMehras -- List</surname>
          </string-name>
          of Petroleum Softwares and Simulators, https://www.petromehras.
          <article-title>com/petroleum-software-directory/reservoir-simulation-software/list-of-petroleum-software-</article-title>
          <string-name>
            <surname>application Puyang</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Taleghani</surname>
            ,
            <given-names>A. D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Sarker</surname>
            ,
            <given-names>B. R.</given-names>
          </string-name>
          , (
          <year>2015</year>
          ),
          <article-title>Multi-disciplinary data integration for inverse hydraulic fracturing analysis: A case study</article-title>
          .
          <source>SPE Journal</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <surname>Rajput</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Thakur</surname>
            ,
            <given-names>N. K.</given-names>
          </string-name>
          , (
          <year>2016</year>
          ),
          <article-title>Geological Controls for Gas Hydrates</article-title>
          and Unconventionals, Elsevier, Cambridge, Massachusetts, USA.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>Rezaee</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2015</year>
          ),
          <article-title>Fundamentals of Shale Gas Reservoirs</article-title>
          , John Wiley &amp; Sons, New jersey,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>Salama</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Amin</surname>
            ,
            <given-names>M. F. E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          (
          <year>2017</year>
          ),
          <article-title>Flow and transport in tight and shale formations: A review</article-title>
          .
          <source>Geofluids.</source>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Sandrea</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Sandrea</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2007</year>
          ),
          <article-title>Global oil reserves - 1: Recovery factors leave vast target for EOR technologies</article-title>
          .
          <source>Oil Gas Journal.</source>
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <surname>Seales</surname>
            ,
            <given-names>M. B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ertekin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J. Y.</given-names>
          </string-name>
          (
          <year>2017</year>
          ),
          <article-title>Recovery efficiency in hydraulically fractured shale gas reservoirs</article-title>
          .
          <source>Journal of Energy Resources Technology</source>
          ,
          <volume>139</volume>
          (
          <issue>4</issue>
          ),
          <fpage>042901</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2015</year>
          ),
          <article-title>Advanced Production Decline Analysis and Application</article-title>
          . Gulf Professional Publishing, Elsevier, Cambridge, Massachusetts, USA.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>S. P.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Piri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2015</year>
          ),
          <article-title>Equation-of-state modeling of confined-fluid phase equilibria in nanopores</article-title>
          ,
          <source>Fluid Phase Equilibria</source>
          ,
          <volume>393</volume>
          ,
          <fpage>48</fpage>
          -
          <lpage>63</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <surname>Weijermars</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2014</year>
          ), U. S.
          <article-title>shale gas production outlook based on well roll-out rate scenarios</article-title>
          ,
          <source>Applied Energy</source>
          ,
          <volume>124</volume>
          ,
          <fpage>283</fpage>
          -
          <lpage>297</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>H.</given-names>
            , &amp;
            <surname>Ling</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.</surname>
          </string-name>
          (
          <year>2013</year>
          ),
          <article-title>Tactics and Pitfalls in Production Decline Curve Analysis</article-title>
          .
          <source>In SPE Production and Operations Symposium.</source>
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          <string-name>
            <surname>Yamada</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          (
          <year>2018</year>
          ),
          <article-title>Transfer Learning: Algorithms and Applications</article-title>
          . Morgan Kaufmann.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          <string-name>
            <surname>Zitha</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Felder</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zornes</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brown</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Mohanty</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          (
          <year>2008</year>
          ),
          <article-title>Increasing Hydrocarbon Recovery Factors</article-title>
          .
          <source>SPE Journal.</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>