Skip to content

Commit

Permalink
build based on 226004d
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Mar 11, 2024
1 parent b8ca248 commit 0746a74
Show file tree
Hide file tree
Showing 11 changed files with 203 additions and 203 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-03-07T14:32:21","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-11T15:52:41","documenter_version":"1.3.0"}}
6 changes: 3 additions & 3 deletions dev/api/index.html

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions dev/dry_deposition/ca57af79.svg → dev/dry_deposition/145f6804.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/a032ae4c.svg → dev/dry_deposition/fd48344c.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="a032ae4c.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="fd48344c.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="ca57af79.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="Thursday 7 March 2024 14:32">Thursday 7 March 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="145f6804.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="Monday 11 March 2024 15:52">Monday 11 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
92 changes: 46 additions & 46 deletions dev/emep/7418c55a.svg → dev/emep/150b828f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 38 additions & 38 deletions dev/emep/f9815f52.svg → dev/emep/6bd6754c.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/d9e321b4.svg → dev/emep/fd01a261.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="7418c55a.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="150b828f.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="f9815f52.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="6bd6754c.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="d9e321b4.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="Thursday 7 March 2024 14:32">Thursday 7 March 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="fd01a261.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="Monday 11 March 2024 15:52">Monday 11 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 0746a74

Please sign in to comment.