Skip to content

Commit

Permalink
Mise à jour du tutoriel!
Browse files Browse the repository at this point in the history
  • Loading branch information
iviveros committed Apr 17, 2020
1 parent fe18248 commit 8305f3f
Show file tree
Hide file tree
Showing 19 changed files with 119 additions and 99 deletions.
2 changes: 1 addition & 1 deletion 02-instructions-pdf.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(!knitr:::is_html_output())

#### Step 1 {-}

Unzip the compressed folder AGEC-LCI_v1_0.zip that you got from [this site](){target="_blank"}, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).
Unzip the compressed folder AGEC-LCI_v1_0.zip, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).

```{r agec-icon,echo=FALSE,fig.align='center',out.width="15%",fig.cap="AGEC-LCI is stored in a macro-enabbled workbook"}
knitr::include_graphics("Figures/agec_lci_icon.PNG")
Expand Down
2 changes: 1 addition & 1 deletion 02-instructions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(!knitr:::is_html_output())

#### Step 1 {-}

Unzip the compressed folder AGEC-LCI_v1_0.zip that you got from [this site](){target="_blank"}, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).
Unzip the compressed folder AGEC-LCI_v1_0.zip, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).

```{r agec-icon,echo=FALSE,fig.align='center',out.width="15%",fig.cap="AGEC-LCI is stored in a macro-enabbled workbook"}
knitr::include_graphics("Figures/agec_lci_icon.PNG")
Expand Down
8 changes: 4 additions & 4 deletions 04-models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In keeping with the AGRIBALYSE® methodology [@Koch2015], emissions of NH~3~ fro

The NH~3~ emissions were calculated according to the following equation:

$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N_{mineral} $$
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N $$

Where:

Expand All @@ -56,13 +56,13 @@ Where:

- *p*: fraction of soils with pH ≤ 7 [%/100]

- *N~mineral~*: mineral fertilizer application [kg N]
- *N*: fertilizer application [kg N]

- *17/14* is the conversion factor from N to NH~3~.


The above equation was simplified by considering that only one value of pH is reported for a given plot, which implies assuming that the pH is homogeneous in the studied agricultural field. In the equation below, *i* can take the values *EF~a~* or *EF~b~*, whether the pH is below or above 7.
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N_{mineral} $$
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N$$

## Emissions of nitrogen oxides (NOx,NO,NO~2~) to the air

Expand Down Expand Up @@ -114,7 +114,7 @@ Where:

- *N~2~O*: emissions of nitrous oxide [kg N~2~O·ha^-1^]

- *N~tot~* = total nitrogen in mineral and organic fertilizer [kg N·ha^-1^]
- *N~tot~*: total nitrogen in mineral and organic fertilizer [kg N·ha^-1^]

- *N~cr~*: nitrogen contained in the crop residues [kg N·ha^-1^]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This is a tutorial for AGEC-LCI.

This document can be accessed following this link.
This document can be accessed following this [link](https://iviveros.github.io/agec-lci-tutorial/){target="_blank"}.
62 changes: 25 additions & 37 deletions agec-lci-tutorial.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/W32TeX) (preloaded format=xelatex 2020.3.31) 8 APR 2020 23:44
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/W32TeX) (preloaded format=xelatex 2020.3.31) 16 APR 2020 22:32
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -660,37 +660,37 @@ Package pdflscape Info: Auto-detected driver: dvipdfm (xetex) on input line 98.

] (./agec-lci-tutorial.toc
LaTeX Font Info: Trying to load font information for OT1+lmr on input line 1
5.
6.
(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OML+lmm on input line 1
5.
6.
(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omllmm.fd
File: omllmm.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OMS+lmsy on input line
15.
16.
(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OMX+lmex on input line
15.
16.
(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10> on input line 15.
(Font) <10> on input line 16.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <7> on input line 15.
(Font) <7> on input line 16.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <5> on input line 15.
LaTeX Font Info: Trying to load font information for U+msa on input line 15.
(Font) <5> on input line 16.
LaTeX Font Info: Trying to load font information for U+msa on input line 16.

(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info: Trying to load font information for U+msb on input line 15.
LaTeX Font Info: Trying to load font information for U+msb on input line 16.

(c:/Users/Ivan/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
Expand All @@ -703,17 +703,9 @@ File: umsb.fd 2013/01/14 v3.01 AMS symbols B
]
File: Figures/download_icon.png Graphic file (type bmp)
<Figures/download_icon.png>

Underfull \vbox (badness 10000) has occurred while \output is active []

[3

]

Package hyperref Warning: Suppressing link with empty target on input line 184.


[4]
] [4]
Chapter 1.
File: Figures/agec_lci_emissions.png Graphic file (type bmp)
<Figures/agec_lci_emissions.png>
Expand All @@ -738,23 +730,19 @@ File: Figures/WFLDB.png Graphic file (type bmp)
File: Figures/agec_lci_logo.png Graphic file (type bmp)
<Figures/agec_lci_logo.png>

Overfull \hbox (3.44156pt too wide) in paragraph at lines 261--262
Overfull \hbox (3.44156pt too wide) in paragraph at lines 271--272
\TU/lmr/m/n/10 Switzerland)|
[]


Overfull \hbox (1.7673pt too wide) in paragraph at lines 289--290
Overfull \hbox (1.7673pt too wide) in paragraph at lines 299--300
\TU/lmr/m/n/10 al. 2012),Per-
[]

[5

] [6] [7]
Chapter 2.

Package hyperref Warning: Suppressing link with empty target on input line 361.


File: Figures/agec_lci_icon.png Graphic file (type bmp)
<Figures/agec_lci_icon.png>
File: Figures/agec_lci_step1.png Graphic file (type bmp)
Expand All @@ -770,7 +758,7 @@ File: Figures/agec_lci_step3.png Graphic file (type bmp)
Underfull \vbox (badness 1975) has occurred while \output is active []

[9]
Underfull \hbox (badness 2050) in paragraph at lines 431--432
Underfull \hbox (badness 2050) in paragraph at lines 441--442
[]\TU/lmr/bx/n/10 Report_SimaPro_Project_Name_YYYY-MM-DD.csv\TU/lmr/m/n/10 : Re
ports the calculated
[]
Expand All @@ -782,7 +770,7 @@ Chapter 3.
File: Figures/olca_step1.png Graphic file (type bmp)
<Figures/olca_step1.png>

Overfull \hbox (14.36317pt too wide) in paragraph at lines 474--476
Overfull \hbox (14.36317pt too wide) in paragraph at lines 484--486
\TU/lmr/m/n/10 LCI report compatible with openLCA follows the pattern “Report_o
lca_Project_Name_YYYY-
[]
Expand All @@ -801,14 +789,14 @@ File: Figures/simapro_step2.png Graphic file (type bmp)
[13] [14] [15]
Chapter 4.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <14.4> on input line 590.
(Font) <14.4> on input line 600.
[16

]
Missing character: There is no ≤ in font [lmroman10-regular]:mapping=tex-text;!
Missing character: There is no ≤ in font [lmroman10-regular]:mapping=tex-text;!

Underfull \hbox (badness 10000) in paragraph at lines 617--618
Underfull \hbox (badness 10000) in paragraph at lines 627--628

[]

Expand All @@ -825,22 +813,22 @@ Overfull \hbox (63.5455pt too wide) has occurred while \output is active
[]

[25])
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 935.
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 945.
[26

]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 935.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 945.
(./agec-lci-tutorial.aux)
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 935.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 935.
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 945.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 945.
Package rerunfilecheck Info: File `agec-lci-tutorial.out' has not changed.
(rerunfilecheck) Checksum: DA74A8161F66C7724E0EBCBF3867AD0F;1241.
)
Here is how much of TeX's memory you used:
15415 strings out of 481765
281302 string characters out of 5934635
607289 words of memory out of 5000000
32136 multiletter control sequences out of 15000+600000
15417 strings out of 481765
281336 string characters out of 5934635
607328 words of memory out of 5000000
32138 multiletter control sequences out of 15000+600000
549098 words of font info for 62 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
50i,10n,47p,814b,416s stack positions out of 5000i,500n,10000p,200000b,80000s
Expand Down
2 changes: 1 addition & 1 deletion docs/02-instructions-pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#### Step 1 {-}

Unzip the compressed folder AGEC-LCI_v1_0.zip that you got from [this site](){target="_blank"}, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).
Unzip the compressed folder AGEC-LCI_v1_0.zip, then open the file AGEC-LCI_v1_0.xlsm (Figure \@ref(fig:agec-icon)).

\begin{figure}[ht]

Expand Down
6 changes: 3 additions & 3 deletions docs/02-instructions.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/04-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ In keeping with the AGRIBALYSE® methodology [@Koch2015], emissions of NH~3~ fro

The NH~3~ emissions were calculated according to the following equation:

$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N_{mineral} $$
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N $$

Where:

Expand All @@ -49,13 +49,13 @@ Where:

- *p*: fraction of soils with pH ≤ 7 [%/100]

- *N~mineral~*: mineral fertilizer application [kg N]
- *N*: fertilizer application [kg N]

- *17/14* is the conversion factor from N to NH~3~.


The above equation was simplified by considering that only one value of pH is reported for a given plot, which implies assuming that the pH is homogeneous in the studied agricultural field. In the equation below, *i* can take the values *EF~a~* or *EF~b~*, whether the pH is below or above 7.
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N_{mineral} $$
$$NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N$$

## Emissions of nitrogen oxides (NOx,NO,NO~2~) to the air

Expand Down Expand Up @@ -107,7 +107,7 @@ Where:

- *N~2~O*: emissions of nitrous oxide [kg N~2~O·ha^-1^]

- *N~tot~* = total nitrogen in mineral and organic fertilizer [kg N·ha^-1^]
- *N~tot~*: total nitrogen in mineral and organic fertilizer [kg N·ha^-1^]

- *N~cr~*: nitrogen contained in the crop residues [kg N·ha^-1^]

Expand Down
Binary file modified docs/agec-lci-tutorial.pdf
Binary file not shown.
26 changes: 18 additions & 8 deletions docs/agec-lci-tutorial.tex
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ \subsubsection*{About the authors and contributors}\label{about-the-authors-and-
\begin{longtable}[]{@{}ll@{}}
\toprule
\begin{minipage}[b]{0.43\columnwidth}\raggedright
Co-Authors\strut
Authors\strut
\end{minipage} & \begin{minipage}[b]{0.51\columnwidth}\raggedright
Affiliation\strut
\end{minipage}\tabularnewline
Expand All @@ -150,7 +150,7 @@ \subsubsection*{About the authors and contributors}\label{about-the-authors-and-
\begin{minipage}[t]{0.43\columnwidth}\raggedright
\href{http://www.elsa-lca.org/?p=137\&lang=en}{Philippe Roux}\strut
\end{minipage} & \begin{minipage}[t]{0.51\columnwidth}\raggedright
ITAP, Irstea, Montpellier SupAgro, \href{http://www.elsa-lca.org/?lang=en}{Elsa Research Group}, Univ Montpellier\strut
ITAP, Irstea, Montpellier SupAgro, \href{http://www.elsa-lca.org/?lang=en}{Elsa Research Group}, \href{http://www.elsa-pact.fr/language/en/}{Chaire ELSA-PACT}, Univ Montpellier\strut
\end{minipage}\tabularnewline
\begin{minipage}[t]{0.43\columnwidth}\raggedright
\href{http://www.elsa-lca.org/?tag=carole-sinfort\&lang=en}{Carole Sinfort}\strut
Expand All @@ -175,13 +175,17 @@ \subsubsection*{About the authors and contributors}\label{about-the-authors-and-
\bottomrule
\end{longtable}

Corresponding author: \href{mailto:[email protected]}{\nolinkurl{[email protected]}}

Do not hesitate to contact Ivan if you need help on adding pedo-climatic data, crops or other agricultural inputs unavailable in the tool's database.

\hypertarget{download-the-agec-lci-tool}{%
\subsubsection*{Download the AGEC-LCI tool}\label{download-the-agec-lci-tool}}
\addcontentsline{toc}{subsubsection}{Download the AGEC-LCI tool}

\includegraphics[width=2.53in]{Figures/download_icon}

Please follow this \href{}{link to download the AGEC-LCI tool}.
Please follow this \href{https://drive.google.com/uc?id=1W6N6YtFOAcYjaoyWdH7yVH0TG9iWFRZL\&export=download}{link to download the AGEC-LCI tool}.

\hypertarget{participation-at-setac-europe-scicon-virtual-meeting}{%
\subsubsection*{Participation at SETAC Europe SciCon virtual meeting}\label{participation-at-setac-europe-scicon-virtual-meeting}}
Expand All @@ -197,6 +201,12 @@ \subsubsection*{Participation at SETAC Europe SciCon virtual meeting}\label{part

\textbf{Presentation Type:} Platform

\hypertarget{acknowledgments}{%
\subsubsection*{Acknowledgments}\label{acknowledgments}}
\addcontentsline{toc}{subsubsection}{Acknowledgments}

This work was supported by \href{https://www.nserc-crsng.gc.ca/index_eng.asp}{Natural Sciences and Engineering Research Council of Canada} grant number {[}RDCPJ 451916-13{]} in collaboration with Hydro-Québec and the Société des Alcools du Québec.

\hypertarget{tools-information}{%
\subsubsection*{Tool's information}\label{tools-information}}
\addcontentsline{toc}{subsubsection}{Tool's information}
Expand Down Expand Up @@ -358,7 +368,7 @@ \chapter{Instructions for use}\label{instructions}}
\subsubsection*{Step 1}\label{step-1}}
\addcontentsline{toc}{subsubsection}{Step 1}

Unzip the compressed folder AGEC-LCI\_v1\_0.zip that you got from \href{}{this site}, then open the file AGEC-LCI\_v1\_0.xlsm (Figure \ref{fig:agec-icon}).
Unzip the compressed folder AGEC-LCI\_v1\_0.zip, then open the file AGEC-LCI\_v1\_0.xlsm (Figure \ref{fig:agec-icon}).

\begin{figure}[ht]

Expand Down Expand Up @@ -593,7 +603,7 @@ \section{\texorpdfstring{Emissions of ammonia (NH\textsubscript{3}) to the air}{

The NH\textsubscript{3} emissions were calculated according to the following equation:

\[NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N_{mineral} \]
\[NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M}(EF_a \cdot p + EF_b \cdot (1-p)) \cdot N \]

Where:

Expand All @@ -609,13 +619,13 @@ \section{\texorpdfstring{Emissions of ammonia (NH\textsubscript{3}) to the air}{
\item
\emph{p}: fraction of soils with pH ≤ 7 {[}\%/100{]}
\item
\emph{N\textsubscript{mineral}}: mineral fertilizer application {[}kg N{]}
\emph{N}: fertilizer application {[}kg N{]}
\item
\emph{17/14} is the conversion factor from N to NH\textsubscript{3}.
\end{itemize}

The above equation was simplified by considering that only one value of pH is reported for a given plot, which implies assuming that the pH is homogeneous in the studied agricultural field. In the equation below, \emph{i} can take the values \emph{EF\textsubscript{a}} or \emph{EF\textsubscript{b}}, whether the pH is below or above 7.\\
\[NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N_{mineral} \]
\[NH_3=\frac{17}{14} \cdot \sum_{m=1}^{M} EF_i \cdot N\]

\hypertarget{emissions-of-nitrogen-oxides-noxnono2-to-the-air}{%
\section{\texorpdfstring{Emissions of nitrogen oxides (NOx,NO,NO\textsubscript{2}) to the air}{Emissions of nitrogen oxides (NOx,NO,NO2) to the air}}\label{emissions-of-nitrogen-oxides-noxnono2-to-the-air}}
Expand Down Expand Up @@ -679,7 +689,7 @@ \section{\texorpdfstring{Emissions of nitrous oxide (N\textsubscript{2}O) to air
\item
\emph{N\textsubscript{2}O}: emissions of nitrous oxide {[}kg N\textsubscript{2}O·ha\textsuperscript{-1}{]}
\item
\emph{N\textsubscript{tot}} = total nitrogen in mineral and organic fertilizer {[}kg N·ha\textsuperscript{-1}{]}
\emph{N\textsubscript{tot}}: total nitrogen in mineral and organic fertilizer {[}kg N·ha\textsuperscript{-1}{]}
\item
\emph{N\textsubscript{cr}}: nitrogen contained in the crop residues {[}kg N·ha\textsuperscript{-1}{]}
\item
Expand Down
6 changes: 3 additions & 3 deletions docs/importing-agec-lci-reports-into-lca-software.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Section 3 Importing AGEC-LCI reports into LCA software | AGEC-LCI tutorial</title>
<meta name="description" content="This a tutorial for AGEC-LCI" />
<meta name="description" content="This is a tutorial for AGEC-LCI" />
<meta name="generator" content="bookdown 0.17 and GitBook 2.6.7" />

<meta property="og:title" content="Section 3 Importing AGEC-LCI reports into LCA software | AGEC-LCI tutorial" />
<meta property="og:type" content="book" />


<meta property="og:description" content="This a tutorial for AGEC-LCI" />
<meta property="og:description" content="This is a tutorial for AGEC-LCI" />
<meta name="github-repo" content="rstudio/bookdown-demo" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Section 3 Importing AGEC-LCI reports into LCA software | AGEC-LCI tutorial" />

<meta name="twitter:description" content="This a tutorial for AGEC-LCI" />
<meta name="twitter:description" content="This is a tutorial for AGEC-LCI" />


<meta name="author" content="Ivan Viveros Santos" />
Expand Down
Loading

0 comments on commit 8305f3f

Please sign in to comment.