Skip to content

Commit

Permalink
build based on a154a91
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed May 25, 2024
1 parent 25c8e17 commit 20097a9
Show file tree
Hide file tree
Showing 13 changed files with 205 additions and 205 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-05T17:07:52","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.3","generation_timestamp":"2024-05-25T14:42:37","documenter_version":"1.4.1"}}
6 changes: 3 additions & 3 deletions dev/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/assets/themes/documenter-dark.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/assets/themes/documenter-light.css

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions dev/dry_deposition/4ac84091.svg → dev/dry_deposition/3c6e26c1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 42 additions & 42 deletions dev/dry_deposition/6fe80976.svg → dev/dry_deposition/aaef66e5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dev/dry_deposition/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
tspan = (0.0, 3600*24)
u0 = [2.0,10.0,5,5,2.34,0.15] # initial concentrations of SO₂, O₃, NO₂, NO, H₂O₂, CH₂O
sol = solve(ODEProblem(sys, u0, tspan, []),AutoTsit5(Rosenbrock23()), saveat=10.0) # default parameters</code></pre><p>which we can plot as</p><pre><code class="language-julia hljs">using Plots
plot(sol, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;, legend=:outerright)</code></pre><img src="6fe80976.svg" alt="Example block output"/><h2 id="Parameters"><a class="docs-heading-anchor" href="#Parameters">Parameters</a><a id="Parameters-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters" title="Permalink"></a></h2><p>The parameters in the model are:</p><pre><code class="language-julia hljs">parameters(sys) # [z, z₀, u_star, L, ρA, G, T, θ]</code></pre><p>where <code>z</code> is the top of the surface layer [m], <code>z₀</code> is the roughness length [m], <code>u_star</code> is friction velocity [m/s], and <code>L</code> is Monin-Obukhov length [m], <code>ρA</code> is air density [kg/m3], <code>T</code> is surface air temperature [K], <code>G</code> is solar irradiation [W m-2], <code>Θ</code> is the slope of the local terrain [radians].</p><p>Let&#39;s run some simulation with different value for parameter <code>z</code>. </p><pre><code class="language-julia hljs">@unpack O3 = sys
plot(sol, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;, legend=:outerright)</code></pre><img src="aaef66e5.svg" alt="Example block output"/><h2 id="Parameters"><a class="docs-heading-anchor" href="#Parameters">Parameters</a><a id="Parameters-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters" title="Permalink"></a></h2><p>The parameters in the model are:</p><pre><code class="language-julia hljs">parameters(sys) # [z, z₀, u_star, L, ρA, G, T, θ]</code></pre><p>where <code>z</code> is the top of the surface layer [m], <code>z₀</code> is the roughness length [m], <code>u_star</code> is friction velocity [m/s], and <code>L</code> is Monin-Obukhov length [m], <code>ρA</code> is air density [kg/m3], <code>T</code> is surface air temperature [K], <code>G</code> is solar irradiation [W m-2], <code>Θ</code> is the slope of the local terrain [radians].</p><p>Let&#39;s run some simulation with different value for parameter <code>z</code>. </p><pre><code class="language-julia hljs">@unpack O3 = sys

p1 = [50,0.04,0.44,0,1.2,300,298,0]
p2 = [10,0.04,0.44,0,1.2,300,298,0]
sol1 = solve(ODEProblem(sys, u0, tspan, p1),AutoTsit5(Rosenbrock23()), saveat=10.0)
sol2 = solve(ODEProblem(sys, u0, tspan, p2),AutoTsit5(Rosenbrock23()), saveat=10.0)

plot([sol1[O3],sol2[O3]], label = [&quot;z=50m&quot; &quot;z=10m&quot;], title = &quot;Change of O3 concentration due to dry deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="4ac84091.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../wesley1989/">Wesley »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Friday 5 April 2024 17:07">Friday 5 April 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot([sol1[O3],sol2[O3]], label = [&quot;z=50m&quot; &quot;z=10m&quot;], title = &quot;Change of O3 concentration due to dry deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="3c6e26c1.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../wesley1989/">Wesley »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Saturday 25 May 2024 14:42">Saturday 25 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
76 changes: 38 additions & 38 deletions dev/emep/f4c0ec5f.svg → dev/emep/1bdb9fb4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 46 additions & 46 deletions dev/emep/fde85a7c.svg → dev/emep/6e2fb85f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 32 additions & 32 deletions dev/emep/b452d6f2.svg → dev/emep/cfadf490.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions dev/emep/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
u0 = [2.0,10.0,5,1400,275,50,0.15] # initial concentration of SO₂, O₃, NO₂, CH₄, CO, DMS, ISOP
prob = ODEProblem(sys, u0, tspan, [])
sol = solve(prob,AutoTsit5(Rosenbrock23()), saveat=10.0) # default parameters</code></pre><p>which we can plot as</p><pre><code class="language-julia hljs">using Plots
plot(sol, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;, legend=:outerright)</code></pre><img src="fde85a7c.svg" alt="Example block output"/><h2 id="Parameters"><a class="docs-heading-anchor" href="#Parameters">Parameters</a><a id="Parameters-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters" title="Permalink"></a></h2><p>The parameters in the model are:</p><pre><code class="language-julia hljs">parameters(sys) # [cloudFrac, qrain, ρ_air, Δz]</code></pre><p>where <code>cloudFrac</code> is fraction of grid cell covered by clouds, <code>qrain</code> is rain mixing ratio, <code>ρ_air</code> is air density [kg/m3], and <code>Δz</code> is fall distance [m].</p><p>Let&#39;s run some simulation with different value for parameter <code>cloudFrac</code>. </p><pre><code class="language-julia hljs">@unpack O3 = sys
plot(sol, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;, legend=:outerright)</code></pre><img src="6e2fb85f.svg" alt="Example block output"/><h2 id="Parameters"><a class="docs-heading-anchor" href="#Parameters">Parameters</a><a id="Parameters-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters" title="Permalink"></a></h2><p>The parameters in the model are:</p><pre><code class="language-julia hljs">parameters(sys) # [cloudFrac, qrain, ρ_air, Δz]</code></pre><p>where <code>cloudFrac</code> is fraction of grid cell covered by clouds, <code>qrain</code> is rain mixing ratio, <code>ρ_air</code> is air density [kg/m3], and <code>Δz</code> is fall distance [m].</p><p>Let&#39;s run some simulation with different value for parameter <code>cloudFrac</code>. </p><pre><code class="language-julia hljs">@unpack O3 = sys

p1 = [0.3,0.5,1.204,200]
p2 = [0.6,0.5,1.204,200]
sol1 = solve(ODEProblem(sys, u0, tspan, p1),AutoTsit5(Rosenbrock23()), saveat=10.0)
sol2 = solve(ODEProblem(sys, u0, tspan, p2),AutoTsit5(Rosenbrock23()), saveat=10.0)

plot([sol1[O3],sol2[O3]], label = [&quot;cloudFrac=0.3&quot; &quot;cloudFrac=0.6&quot;], title = &quot;Change of O3 concentration due to wet deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="f4c0ec5f.svg" alt="Example block output"/><p>From the plot we could see that with larger cloud fraction, the wet deposition rate increases. </p><p>Let&#39;s run some simulation with different value for parameter <code>qrain</code> </p><pre><code class="language-julia hljs">p3 = [0.5,0.3,1.204,200]
plot([sol1[O3],sol2[O3]], label = [&quot;cloudFrac=0.3&quot; &quot;cloudFrac=0.6&quot;], title = &quot;Change of O3 concentration due to wet deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="1bdb9fb4.svg" alt="Example block output"/><p>From the plot we could see that with larger cloud fraction, the wet deposition rate increases. </p><p>Let&#39;s run some simulation with different value for parameter <code>qrain</code> </p><pre><code class="language-julia hljs">p3 = [0.5,0.3,1.204,200]
p4 = [0.5,0.6,1.204,200]
sol3 = solve(ODEProblem(sys, u0, tspan, p3),AutoTsit5(Rosenbrock23()), saveat=10.0)
sol4 = solve(ODEProblem(sys, u0, tspan, p4),AutoTsit5(Rosenbrock23()), saveat=10.0)

plot([sol3[O3],sol4[O3]], label = [&quot;cloudFrac=0.3&quot; &quot;cloudFrac=0.6&quot;], title = &quot;Change of O3 concentration due to wet deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="b452d6f2.svg" alt="Example block output"/><p>The graph indicates that an increase in the rain mixing ratio leads to a corresponding rise in the rate of wet deposition.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../wesley1989/">« Wesley</a><a class="docs-footer-nextpage" href="../api/">API »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Friday 5 April 2024 17:07">Friday 5 April 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot([sol3[O3],sol4[O3]], label = [&quot;cloudFrac=0.3&quot; &quot;cloudFrac=0.6&quot;], title = &quot;Change of O3 concentration due to wet deposition&quot;, xlabel=&quot;Time (second)&quot;, ylabel=&quot;concentration (ppb)&quot;)</code></pre><img src="cfadf490.svg" alt="Example block output"/><p>The graph indicates that an increase in the rain mixing ratio leads to a corresponding rise in the rate of wet deposition.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../wesley1989/">« Wesley</a><a class="docs-footer-nextpage" href="../api/">API »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Saturday 25 May 2024 14:42">Saturday 25 May 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 20097a9

Please sign in to comment.