SlideShare a Scribd company logo
Bancheri
LINKERS
JGrass-NewAge: ProbabilitiesForward component
Marialaura Bancheri
Correspondence:
marialaura.bancheri@unitn.it
Dipartimento di Ingegneria Civile
Ambientale e Meccanica, Trento,
Mesiano di Povo, Trento, IT
Full list of author information is
available at the end of the article
Abstract
These pages teach how to run the ProbabilitiesForward component inside the OMS 3
console. Some preliminary knowledge and installation of OMS is mandatory (see @Also
useful). This component deals with the computation of the forward probability density
functions (pdfs) of the residence time, travel time and evapotranspiration time
conditional on the injection time, according to (). Once computed the backward pdfs, it
is possible to obtain the residence time, the travel times and evapotranspiration times
forward pdfs, thanks to the definition of the partitioning coefficient (Θ) and the
Niemi’s relationship ((1)) . The results of the component are given in tridimensional
matrices, in which two dimensions are the injection and current times, and the third is
the value of the variable.
@Version:
0.1
@License:
GPL v. 3
@Inputs:
• Rainfall (mm);
• Evapotranspiration (mm);
• Discharge (m3
/m2
);
• Travel times backward pdfs [T−1
];
• Evapotranspiration times backward pdfs [T−1
];
• Station ID (-);
• Start date (String);
• Start Date Water Budget (String);
• End date (String).
@Outputs:
• Travel times forward pdfs [T−1
];
• Evapotranspiration forward times pdfs [T−1
];
• Partitioning coefficient [-].
@Doc Author: Marialaura Bancheri
@References:
• See References section below
Keywords: OMS; JGrass-NewAGE Component Description; Travel times
Bancheri Page 2 of 9
Code Information
Executables
This link points to the jar file that, once downloaded can be used in the OMS console:
https://github.com/Mariolina88/OMS_Project_TT/tree/master/lib
Developer Info
This link points to useful information for the developers, i.e. information about the code
internals, algorithms and the source code
https://github.com/geoframecomponents
Also useful
To run JGrass-NewAGE it is necessary to know how to use the OMS console. Information
at: ”How to install and run the OMS console”,
https://alm.engr.colostate.edu/cb/project/oms).
JGrasstools are required for preparing some input data (information at:
http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian.
html
To visualize results you need a GIS. Use your preferred GIS, following its installation
instructions. To make statistics on the results, you can probably get benefits from R:
http://www.r-project.org/ and follow its installation instruction.
To whom address questions
marialaura.bancheri@unitn.it
Authors of documentation
Marialaura Bancheri (marialaura.bancheri@unitn.it)
This documentation is released under Creative Commons 4.0 Attribution International
Bancheri Page 3 of 9
Component Description
The forward travel time pdfs are defined as:
pQ(t − τ|τ) :=
q(t, τ)
Θ(τ)J(τ)
(1)
and
pET
(t − τ|τ) :=
aeT (t, τ)
(1 − Θ(τ))J(τ)
(2)
where where q(t, τ) [L3
T−2
] and aeT (t, τ) [L3
T−2
] are the part of the discharge Q(t)
and evapotranspiration ET (t) exiting the control volume at time t but composed by water
molecules entered at instant τ. Θ(τ) is the partition coefficient between the two outflows
considered and is defined as:
Θ(τ) := lim
t→∞
Θ(t, τ) := lim
t→∞
VQ(t, τ)
VQ(t, τ) + VET
(t, τ)
(3)
where:
VQ(t, τ) :=
t
0
q(t, τ)dt (4)
and
VAET
(t, τ) =
t
0
aeT (t, τ)dt (5)
Θ(τ) has been introduced to complete the algebra of probabilities, in presence of more
that one outflow. However studying it is important by itself, because it summarizes the
relevant element of hydrologic fluxes partition.
Thanks to Niemi’s relationship, (1), it is possible to relate the backward and forward
travel time pdfs, once computed Θ(τ):
Q(t)pQ(t − τ|t) = Θ(τ)pQ(t − τ|τ)J(τ) (6)
and:
AET (t)pET
(t − τ|t) = [1 − Θ(τ)]pET
(t − τ|τ)J(τ) (7)
Detailed Inputs description
The input file is a .csv file containing a header and one or more time series of input data,
depending on the number of stations involved. Each column of the file is associated to a
different station.
The file must have the following header:
• The first 3 rows with general information such as the date of the creation of the file
and the author;
Bancheri Page 4 of 9
• the fourth and fifth rows contain the IDs of the stations (e.g. station number 8:
value 8, ID, ,8);
• the sixth row contains the information about the type of the input data (in this
case, one column with the date and one column with double values);
• the seventh row specifies the date format (YYYY-MM-dd HH:mm).
All the previous information shown in the figure 1.
Figure 1 Heading of the .csv input file
Rainfall
The rainfall is given in time series of (mm) for the investigated station .
Evapotranpiration
The evapotranpiration is given in time series of (mm) for the investigated station.
Discharge
The discharge is given in time series for the investigated station in (m3
/m2
).
Station ID
Station ID is the ID of the investigate station.
Start date
Start date is a string containing the first day of the simulation.
Start Date Water Budget
Start Date Water Budget is a string containing the first day of the simulation of the water
budget time series, if it is different from the start date of the actual simulation.
End date
End date is a string containing the last day of the simulation
Detailed Outputs description
The output are given in tridimensional matrices, t × ti × variable value, which must be
integrated in the injection time dimension to obtain the time series of the mean travel
times and the mean evapotranspiration times. Fig. 2 shows an example of a pdfs matrix.
The injection times are in the first column, whose length is l. In this case l = 5. The
actual time is t = ti −i, with i varying in the interval [0, l−1], in this case [0, 4]. Each row
contains a number of values equals to t. So for example for the first row i = 0 and there
Bancheri Page 5 of 9
are 5 elements, the second 4 and so on. If, at a given injection time ti, the input rainfall
is zero, the rows has one zero value. This structures take into account two important
aspect: the first is that when t < ti, the variables are zero; the second is the speed of the
computation, which, in this case, is the minimum possible.
Figure 2 : Example of output pdfs matrix: for each time step, the length of the row decrease of one
value, till the end of the time series
Travel times forward pdfs
Fig. 3 shows an example of a forward travel time pdf for a given injection time, which
properly normalize to 1 when integrated over t.
0 500 1000 1500 2000 2500
0.00000.00100.00200.0030
Forward travel time pdf
Time [h]
ForwardTTpdf[1/T]
Figure 3 : Evolution in time of the forward travel time pdf for a given injection time
Evapotranspiration times forward pdfs
Fig. 4 shows an example of a forward evapotranspiration time pdf for a given injection
time, which properly normalize to 1 when integrated over t.
Bancheri Page 6 of 9
0 500 1000 1500 2000 2500
0.0000.0020.0040.006
Forward evapotranspiration time pdf
Time [h]
ForwardETpdf[1/T]
Figure 4 : Evolution in time of the forward evapotranspiration time pdf for a given injection time
Partitioning coefficient Θ(t)
Fig. 5 shows an example of a time series of Θ(t), for a given injection time, obtained
using data from the Posina River. At the beginning Θ(t, τ) shows large oscillations due to
hourly and daily oscillations, especially in evapotranspiration. Because Θ(t, τ) is defined
through integrals, these oscillation are progressively dumped and become irrelevant after
a couple of weeks.
0 500 1000 1500 2000 2500
0.00.20.40.60.81.0
Partitioning coefficient
Time [h]
Theta[-]
Figure 5 : Evolution in time of the residence time pdf for a given injection time
Examples
The following .sim file is customized for the use of the forward probabilities component.
The .sim file can be downloaded from here:
https://github.com/GEOframeOMSProjects/OMS_Project_TT/tree/master/ForwardPdfs/
simulation
import static oms3.SimBuilder.instance as OMS3
def home = oms_prj
def startDate= "1994 -01 -01 00:00"
def endDate= "1995 -01 -01 00:00"
OMS3.sim {
model(while:" reader_data_J .doProcess") {
components {
Bancheri Page 7 of 9
" reader_data_J " "org.jgrasstools.gears.io. timedependent .
OmsTimeSeriesIteratorReader "
" reader_data_pQ " "org. jgrasstools.gears.io. timedependent .
OmsTimeSeriesIteratorReader "
" reader_data_pET " "org. jgrasstools .gears.io. timedependent .
OmsTimeSeriesIteratorReader "
" reader_data_Qback " "org. jgrasstools .gears.io. timedependent
. OmsTimeSeriesIteratorReader "
" reader_data_ETback " "org.jgrasstools.gears.io. timedependent
. OmsTimeSeriesIteratorReader "
"pdfs" " travelTimesFor . ProbabilitiesForward "
" writer_theta " "org.jgrasstools.gears.io. timedependent
. OmsTimeSeriesIteratorWriter "
"writer_pQ" "org.jgrasstools .gears.io. timedependent .
OmsTimeSeriesIteratorWriter "
"writer_pET" "org.jgrasstools.gears.io. timedependent .
OmsTimeSeriesIteratorWriter "
"writer_Q" "org.jgrasstools.gears.io. timedependent .
OmsTimeSeriesIteratorWriter "
"writer_ET" "org.jgrasstools .gears.io. timedependent .
OmsTimeSeriesIteratorWriter "
}
parameter{
" reader_data_J .file" "${home }/ data/rainfall.csv"
" reader_data_J .idfield" "ID"
" reader_data_J .tStart" "${startDate}"
" reader_data_J .tEnd" "${endDate}"
" reader_data_J .tTimestep" 60
" reader_data_J . fileNovalue " " -9999"
" reader_data_pQ .file" "${home }/ data/pQ.csv"
" reader_data_pQ .idfield" "ID"
" reader_data_pQ .tStart" "${startDate}"
" reader_data_pQ .tEnd" "${endDate}"
" reader_data_pQ .tTimestep" 60
" reader_data_pQ . fileNovalue " " -9999"
" reader_data_pET .file" "${home }/ data/pET.csv"
" reader_data_pET .idfield" "ID"
" reader_data_pET .tStart" "${startDate}"
" reader_data_pET .tEnd" "${endDate}"
" reader_data_pET .tTimestep" 60
" reader_data_pET . fileNovalue" " -9999"
" reader_data_Qback .file" "${home }/ data/Qback.csv"
" reader_data_Qback .idfield" "ID"
" reader_data_Qback .tStart" "${startDate}"
" reader_data_Qback .tEnd" "${endDate}"
" reader_data_Qback .tTimestep" 60
" reader_data_Qback .fileNovalue" " -9999"
" reader_data_ETback .file" "${home }/ data/ETback.csv"
" reader_data_ETback .idfield" "ID"
" reader_data_ETback .tStart" "${startDate}"
" reader_data_ETback .tEnd" "${endDate}"
" reader_data_ETback .tTimestep" 60
" reader_data_ETback . fileNovalue " " -9999"
"pdfs.ID" 209
Bancheri Page 8 of 9
"pdfs.tStartDate" "${startDate}"
"pdfs. tStartDateWaterBudget " "${startDate}"
"pdfs.tEndDate" "${endDate}"
"pdfs. inPathToDischarge " "${home }/ data/Q.csv"
"pdfs.inPathToET" "${home }/ data/ET.csv"
"writer_pQ.file" "${home }/ output/pQ_for.csv"
"writer_pQ.tStart" "${startDate}"
"writer_pQ.tTimestep" 60
"writer_pQ. fileNovalue " " -9999"
"writer_pET.file" "${home }/ output/pET_for.csv"
"writer_pET.tStart" "${startDate}"
"writer_pET.tTimestep" 60
"writer_pET. fileNovalue " " -9999"
" writer_theta .file" "${home }/ output/theta.csv"
" writer_theta .tStart" "${startDate}"
" writer_theta .tTimestep" 60
" writer_theta .fileNovalue" " -9999"
"writer_Q.file" "${home }/ output/Qfor.csv"
"writer_Q.tStart" "${startDate}"
"writer_Q.tTimestep" 60
"writer_Q.fileNovalue " " -9999"
"writer_ET.file" "${home }/ output/ETfor.csv"
"writer_ET.tStart" "${startDate}"
"writer_ET.tTimestep" 60
"writer_ET. fileNovalue " " -9999"
}
connect {
" reader_data_J .outData" "pdfs. inPrecipvalues "
" reader_data_pQ .outData" "pdfs. inPQ_backValues
"
" reader_data_pET .outData" "pdfs. inPET_backValues "
" reader_data_Qback .outData" "pdfs. inQ_tiValues "
" reader_data_ETback .outData" "pdfs. inET_tiValues "
"pdfs.outHMPQfor" "writer_pQ.inData"
"pdfs. outHMPETfor " "writer_pET.inData"
"pdfs.outHMtheta" " writer_theta .inData"
"pdfs.outHMQfor" "writer_Q.inData"
"pdfs.outHMETfor" "writer_ET.inData"
}
}
}
Data and Project
The following link is for the download of the input data necessaries to execute the com-
ponents (as shown in the .sim file in the previous section ) :
https://github.com/GEOframeOMSProjects/OMS_Project_TT/tree/master/ForwardPdfs/
data
The following link is for the download of the OMS project for the TT component:
https://github.com/GEOframeOMSProjects/OMS_Project_TT
%
Bancheri Page 9 of 9
References
1. Niemi, A.J.: Residence time distributions of variable flow processes. The International Journal of Applied Radiation and
Isotopes 28(10), 855–860 (1977)

More Related Content

What's hot

JGrass-Newage SWRB
JGrass-Newage SWRBJGrass-Newage SWRB
JGrass-Newage SWRB
Marialaura Bancheri
 
Lwrb ms
Lwrb msLwrb ms
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
VLSICS Design
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
CRS4 Research Center in Sardinia
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
pace130557
 
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Arpan Kumar
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
CRS4 Research Center in Sardinia
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
CRS4 Research Center in Sardinia
 
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
Menlo Systems GmbH
 
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Computer Science Club
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...
NECST Lab @ Politecnico di Milano
 
BREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD ModelerBREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE Software
 
00335085
0033508500335085
00335085alfsc
 
Infocom 2013-2-state-markov
Infocom 2013-2-state-markovInfocom 2013-2-state-markov
Infocom 2013-2-state-markovSmartenIT
 
Evolution of 3D Surface Parameters: A Comprehensive Survey
Evolution of 3D Surface Parameters: A Comprehensive SurveyEvolution of 3D Surface Parameters: A Comprehensive Survey
Evolution of 3D Surface Parameters: A Comprehensive Survey
theijes
 
Time History Analysis With Recorded Accelerograms
Time History Analysis With Recorded AccelerogramsTime History Analysis With Recorded Accelerograms
Time History Analysis With Recorded AccelerogramsAlessandro Palmeri
 
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdlIaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
Iaetsd Iaetsd
 
Thermal Protection System design of a Reusable Launch Vehicle using integral...
Thermal Protection System design of a Reusable Launch Vehicle using  integral...Thermal Protection System design of a Reusable Launch Vehicle using  integral...
Thermal Protection System design of a Reusable Launch Vehicle using integral...
AndreaAprovitola
 
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
yosm
 

What's hot (20)

JGrass-Newage SWRB
JGrass-Newage SWRBJGrass-Newage SWRB
JGrass-Newage SWRB
 
Lwrb ms
Lwrb msLwrb ms
Lwrb ms
 
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
 
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
 
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
A Multidimensional Distributed Array Abstraction for PGAS (HPCC'16)
 
distance_matrix_ch
distance_matrix_chdistance_matrix_ch
distance_matrix_ch
 
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...
 
BREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD ModelerBREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD Modeler
 
00335085
0033508500335085
00335085
 
Infocom 2013-2-state-markov
Infocom 2013-2-state-markovInfocom 2013-2-state-markov
Infocom 2013-2-state-markov
 
Evolution of 3D Surface Parameters: A Comprehensive Survey
Evolution of 3D Surface Parameters: A Comprehensive SurveyEvolution of 3D Surface Parameters: A Comprehensive Survey
Evolution of 3D Surface Parameters: A Comprehensive Survey
 
Time History Analysis With Recorded Accelerograms
Time History Analysis With Recorded AccelerogramsTime History Analysis With Recorded Accelerograms
Time History Analysis With Recorded Accelerograms
 
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdlIaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
Iaetsd vlsi architecture for exploiting carry save arithmetic using verilog hdl
 
Thermal Protection System design of a Reusable Launch Vehicle using integral...
Thermal Protection System design of a Reusable Launch Vehicle using  integral...Thermal Protection System design of a Reusable Launch Vehicle using  integral...
Thermal Protection System design of a Reusable Launch Vehicle using integral...
 
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
&#49892;&#54744;&#49444;&#44228;&#49892;&#49845;
 

Similar to JGrass-NewAge probabilities forward component

GEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward componentGEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward component
Marialaura Bancheri
 
ON M(M,m)/M/C/N: Interdependent Queueing Model
ON M(M,m)/M/C/N: Interdependent Queueing ModelON M(M,m)/M/C/N: Interdependent Queueing Model
ON M(M,m)/M/C/N: Interdependent Queueing Model
IOSR Journals
 
Time alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor dataTime alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor data
IJCSES Journal
 
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
IJERA Editor
 
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
IJERA Editor
 
Self-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policiesSelf-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policies
NECST Lab @ Politecnico di Milano
 
Jgrass newage-waterbudget
Jgrass newage-waterbudgetJgrass newage-waterbudget
Jgrass newage-waterbudget
NewAGE-GEOtop-doc
 
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Hossam Shafiq I
 
Self-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policiesSelf-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policies
NECST Lab @ Politecnico di Milano
 
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
iosrjce
 
Burr Type III Software Reliability Growth Model
Burr Type III Software Reliability Growth ModelBurr Type III Software Reliability Growth Model
Burr Type III Software Reliability Growth Model
IOSR Journals
 
I017144954
I017144954I017144954
I017144954
IOSR Journals
 
C012111419
C012111419C012111419
C012111419
IOSR Journals
 
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
IOSR Journals
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging component
Niccolò Tubini
 
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
orajjournal
 
Performance of metaheuristic methods for loop
Performance of metaheuristic methods for loopPerformance of metaheuristic methods for loop
Performance of metaheuristic methods for loopIAEME Publication
 
00b7d51ed81834e4d7000000
00b7d51ed81834e4d700000000b7d51ed81834e4d7000000
00b7d51ed81834e4d7000000
Rahul Jain
 

Similar to JGrass-NewAge probabilities forward component (20)

GEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward componentGEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward component
 
ON M(M,m)/M/C/N: Interdependent Queueing Model
ON M(M,m)/M/C/N: Interdependent Queueing ModelON M(M,m)/M/C/N: Interdependent Queueing Model
ON M(M,m)/M/C/N: Interdependent Queueing Model
 
Time alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor dataTime alignment techniques for experimental sensor data
Time alignment techniques for experimental sensor data
 
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
 
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
Discretizing of linear systems with time-delay Using method of Euler’s and Tu...
 
Self-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policiesSelf-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policies
 
Cb32492496
Cb32492496Cb32492496
Cb32492496
 
Jgrass newage-waterbudget
Jgrass newage-waterbudgetJgrass newage-waterbudget
Jgrass newage-waterbudget
 
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
 
Etienne_ME_a241ms
Etienne_ME_a241msEtienne_ME_a241ms
Etienne_ME_a241ms
 
Self-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policiesSelf-adaptive container monitoring with performance-aware Load-Shedding policies
Self-adaptive container monitoring with performance-aware Load-Shedding policies
 
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
Application of Lifetime Models in Maintenance (Case Study: Thermal Electricit...
 
Burr Type III Software Reliability Growth Model
Burr Type III Software Reliability Growth ModelBurr Type III Software Reliability Growth Model
Burr Type III Software Reliability Growth Model
 
I017144954
I017144954I017144954
I017144954
 
C012111419
C012111419C012111419
C012111419
 
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging component
 
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
 
Performance of metaheuristic methods for loop
Performance of metaheuristic methods for loopPerformance of metaheuristic methods for loop
Performance of metaheuristic methods for loop
 
00b7d51ed81834e4d7000000
00b7d51ed81834e4d700000000b7d51ed81834e4d7000000
00b7d51ed81834e4d7000000
 

Recently uploaded

erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SELF-EXPLANATORY
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
ossaicprecious19
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
aishnasrivastava
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
IvanMallco1
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
sonaliswain16
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
YOGESH DOGRA
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
AlguinaldoKong
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
pablovgd
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 

Recently uploaded (20)

erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 

JGrass-NewAge probabilities forward component

  • 1. Bancheri LINKERS JGrass-NewAge: ProbabilitiesForward component Marialaura Bancheri Correspondence: marialaura.bancheri@unitn.it Dipartimento di Ingegneria Civile Ambientale e Meccanica, Trento, Mesiano di Povo, Trento, IT Full list of author information is available at the end of the article Abstract These pages teach how to run the ProbabilitiesForward component inside the OMS 3 console. Some preliminary knowledge and installation of OMS is mandatory (see @Also useful). This component deals with the computation of the forward probability density functions (pdfs) of the residence time, travel time and evapotranspiration time conditional on the injection time, according to (). Once computed the backward pdfs, it is possible to obtain the residence time, the travel times and evapotranspiration times forward pdfs, thanks to the definition of the partitioning coefficient (Θ) and the Niemi’s relationship ((1)) . The results of the component are given in tridimensional matrices, in which two dimensions are the injection and current times, and the third is the value of the variable. @Version: 0.1 @License: GPL v. 3 @Inputs: • Rainfall (mm); • Evapotranspiration (mm); • Discharge (m3 /m2 ); • Travel times backward pdfs [T−1 ]; • Evapotranspiration times backward pdfs [T−1 ]; • Station ID (-); • Start date (String); • Start Date Water Budget (String); • End date (String). @Outputs: • Travel times forward pdfs [T−1 ]; • Evapotranspiration forward times pdfs [T−1 ]; • Partitioning coefficient [-]. @Doc Author: Marialaura Bancheri @References: • See References section below Keywords: OMS; JGrass-NewAGE Component Description; Travel times
  • 2. Bancheri Page 2 of 9 Code Information Executables This link points to the jar file that, once downloaded can be used in the OMS console: https://github.com/Mariolina88/OMS_Project_TT/tree/master/lib Developer Info This link points to useful information for the developers, i.e. information about the code internals, algorithms and the source code https://github.com/geoframecomponents Also useful To run JGrass-NewAGE it is necessary to know how to use the OMS console. Information at: ”How to install and run the OMS console”, https://alm.engr.colostate.edu/cb/project/oms). JGrasstools are required for preparing some input data (information at: http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian. html To visualize results you need a GIS. Use your preferred GIS, following its installation instructions. To make statistics on the results, you can probably get benefits from R: http://www.r-project.org/ and follow its installation instruction. To whom address questions marialaura.bancheri@unitn.it Authors of documentation Marialaura Bancheri (marialaura.bancheri@unitn.it) This documentation is released under Creative Commons 4.0 Attribution International
  • 3. Bancheri Page 3 of 9 Component Description The forward travel time pdfs are defined as: pQ(t − τ|τ) := q(t, τ) Θ(τ)J(τ) (1) and pET (t − τ|τ) := aeT (t, τ) (1 − Θ(τ))J(τ) (2) where where q(t, τ) [L3 T−2 ] and aeT (t, τ) [L3 T−2 ] are the part of the discharge Q(t) and evapotranspiration ET (t) exiting the control volume at time t but composed by water molecules entered at instant τ. Θ(τ) is the partition coefficient between the two outflows considered and is defined as: Θ(τ) := lim t→∞ Θ(t, τ) := lim t→∞ VQ(t, τ) VQ(t, τ) + VET (t, τ) (3) where: VQ(t, τ) := t 0 q(t, τ)dt (4) and VAET (t, τ) = t 0 aeT (t, τ)dt (5) Θ(τ) has been introduced to complete the algebra of probabilities, in presence of more that one outflow. However studying it is important by itself, because it summarizes the relevant element of hydrologic fluxes partition. Thanks to Niemi’s relationship, (1), it is possible to relate the backward and forward travel time pdfs, once computed Θ(τ): Q(t)pQ(t − τ|t) = Θ(τ)pQ(t − τ|τ)J(τ) (6) and: AET (t)pET (t − τ|t) = [1 − Θ(τ)]pET (t − τ|τ)J(τ) (7) Detailed Inputs description The input file is a .csv file containing a header and one or more time series of input data, depending on the number of stations involved. Each column of the file is associated to a different station. The file must have the following header: • The first 3 rows with general information such as the date of the creation of the file and the author;
  • 4. Bancheri Page 4 of 9 • the fourth and fifth rows contain the IDs of the stations (e.g. station number 8: value 8, ID, ,8); • the sixth row contains the information about the type of the input data (in this case, one column with the date and one column with double values); • the seventh row specifies the date format (YYYY-MM-dd HH:mm). All the previous information shown in the figure 1. Figure 1 Heading of the .csv input file Rainfall The rainfall is given in time series of (mm) for the investigated station . Evapotranpiration The evapotranpiration is given in time series of (mm) for the investigated station. Discharge The discharge is given in time series for the investigated station in (m3 /m2 ). Station ID Station ID is the ID of the investigate station. Start date Start date is a string containing the first day of the simulation. Start Date Water Budget Start Date Water Budget is a string containing the first day of the simulation of the water budget time series, if it is different from the start date of the actual simulation. End date End date is a string containing the last day of the simulation Detailed Outputs description The output are given in tridimensional matrices, t × ti × variable value, which must be integrated in the injection time dimension to obtain the time series of the mean travel times and the mean evapotranspiration times. Fig. 2 shows an example of a pdfs matrix. The injection times are in the first column, whose length is l. In this case l = 5. The actual time is t = ti −i, with i varying in the interval [0, l−1], in this case [0, 4]. Each row contains a number of values equals to t. So for example for the first row i = 0 and there
  • 5. Bancheri Page 5 of 9 are 5 elements, the second 4 and so on. If, at a given injection time ti, the input rainfall is zero, the rows has one zero value. This structures take into account two important aspect: the first is that when t < ti, the variables are zero; the second is the speed of the computation, which, in this case, is the minimum possible. Figure 2 : Example of output pdfs matrix: for each time step, the length of the row decrease of one value, till the end of the time series Travel times forward pdfs Fig. 3 shows an example of a forward travel time pdf for a given injection time, which properly normalize to 1 when integrated over t. 0 500 1000 1500 2000 2500 0.00000.00100.00200.0030 Forward travel time pdf Time [h] ForwardTTpdf[1/T] Figure 3 : Evolution in time of the forward travel time pdf for a given injection time Evapotranspiration times forward pdfs Fig. 4 shows an example of a forward evapotranspiration time pdf for a given injection time, which properly normalize to 1 when integrated over t.
  • 6. Bancheri Page 6 of 9 0 500 1000 1500 2000 2500 0.0000.0020.0040.006 Forward evapotranspiration time pdf Time [h] ForwardETpdf[1/T] Figure 4 : Evolution in time of the forward evapotranspiration time pdf for a given injection time Partitioning coefficient Θ(t) Fig. 5 shows an example of a time series of Θ(t), for a given injection time, obtained using data from the Posina River. At the beginning Θ(t, τ) shows large oscillations due to hourly and daily oscillations, especially in evapotranspiration. Because Θ(t, τ) is defined through integrals, these oscillation are progressively dumped and become irrelevant after a couple of weeks. 0 500 1000 1500 2000 2500 0.00.20.40.60.81.0 Partitioning coefficient Time [h] Theta[-] Figure 5 : Evolution in time of the residence time pdf for a given injection time Examples The following .sim file is customized for the use of the forward probabilities component. The .sim file can be downloaded from here: https://github.com/GEOframeOMSProjects/OMS_Project_TT/tree/master/ForwardPdfs/ simulation import static oms3.SimBuilder.instance as OMS3 def home = oms_prj def startDate= "1994 -01 -01 00:00" def endDate= "1995 -01 -01 00:00" OMS3.sim { model(while:" reader_data_J .doProcess") { components {
  • 7. Bancheri Page 7 of 9 " reader_data_J " "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_pQ " "org. jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_pET " "org. jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_Qback " "org. jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_ETback " "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorReader " "pdfs" " travelTimesFor . ProbabilitiesForward " " writer_theta " "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorWriter " "writer_pQ" "org.jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorWriter " "writer_pET" "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorWriter " "writer_Q" "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorWriter " "writer_ET" "org.jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorWriter " } parameter{ " reader_data_J .file" "${home }/ data/rainfall.csv" " reader_data_J .idfield" "ID" " reader_data_J .tStart" "${startDate}" " reader_data_J .tEnd" "${endDate}" " reader_data_J .tTimestep" 60 " reader_data_J . fileNovalue " " -9999" " reader_data_pQ .file" "${home }/ data/pQ.csv" " reader_data_pQ .idfield" "ID" " reader_data_pQ .tStart" "${startDate}" " reader_data_pQ .tEnd" "${endDate}" " reader_data_pQ .tTimestep" 60 " reader_data_pQ . fileNovalue " " -9999" " reader_data_pET .file" "${home }/ data/pET.csv" " reader_data_pET .idfield" "ID" " reader_data_pET .tStart" "${startDate}" " reader_data_pET .tEnd" "${endDate}" " reader_data_pET .tTimestep" 60 " reader_data_pET . fileNovalue" " -9999" " reader_data_Qback .file" "${home }/ data/Qback.csv" " reader_data_Qback .idfield" "ID" " reader_data_Qback .tStart" "${startDate}" " reader_data_Qback .tEnd" "${endDate}" " reader_data_Qback .tTimestep" 60 " reader_data_Qback .fileNovalue" " -9999" " reader_data_ETback .file" "${home }/ data/ETback.csv" " reader_data_ETback .idfield" "ID" " reader_data_ETback .tStart" "${startDate}" " reader_data_ETback .tEnd" "${endDate}" " reader_data_ETback .tTimestep" 60 " reader_data_ETback . fileNovalue " " -9999" "pdfs.ID" 209
  • 8. Bancheri Page 8 of 9 "pdfs.tStartDate" "${startDate}" "pdfs. tStartDateWaterBudget " "${startDate}" "pdfs.tEndDate" "${endDate}" "pdfs. inPathToDischarge " "${home }/ data/Q.csv" "pdfs.inPathToET" "${home }/ data/ET.csv" "writer_pQ.file" "${home }/ output/pQ_for.csv" "writer_pQ.tStart" "${startDate}" "writer_pQ.tTimestep" 60 "writer_pQ. fileNovalue " " -9999" "writer_pET.file" "${home }/ output/pET_for.csv" "writer_pET.tStart" "${startDate}" "writer_pET.tTimestep" 60 "writer_pET. fileNovalue " " -9999" " writer_theta .file" "${home }/ output/theta.csv" " writer_theta .tStart" "${startDate}" " writer_theta .tTimestep" 60 " writer_theta .fileNovalue" " -9999" "writer_Q.file" "${home }/ output/Qfor.csv" "writer_Q.tStart" "${startDate}" "writer_Q.tTimestep" 60 "writer_Q.fileNovalue " " -9999" "writer_ET.file" "${home }/ output/ETfor.csv" "writer_ET.tStart" "${startDate}" "writer_ET.tTimestep" 60 "writer_ET. fileNovalue " " -9999" } connect { " reader_data_J .outData" "pdfs. inPrecipvalues " " reader_data_pQ .outData" "pdfs. inPQ_backValues " " reader_data_pET .outData" "pdfs. inPET_backValues " " reader_data_Qback .outData" "pdfs. inQ_tiValues " " reader_data_ETback .outData" "pdfs. inET_tiValues " "pdfs.outHMPQfor" "writer_pQ.inData" "pdfs. outHMPETfor " "writer_pET.inData" "pdfs.outHMtheta" " writer_theta .inData" "pdfs.outHMQfor" "writer_Q.inData" "pdfs.outHMETfor" "writer_ET.inData" } } } Data and Project The following link is for the download of the input data necessaries to execute the com- ponents (as shown in the .sim file in the previous section ) : https://github.com/GEOframeOMSProjects/OMS_Project_TT/tree/master/ForwardPdfs/ data The following link is for the download of the OMS project for the TT component: https://github.com/GEOframeOMSProjects/OMS_Project_TT %
  • 9. Bancheri Page 9 of 9 References 1. Niemi, A.J.: Residence time distributions of variable flow processes. The International Journal of Applied Radiation and Isotopes 28(10), 855–860 (1977)