Skip to content

Commit

Permalink
build based on 698c18b
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Nov 30, 2024
1 parent 650b4a8 commit 1cc83eb
Show file tree
Hide file tree
Showing 19 changed files with 990 additions and 1,014 deletions.
2 changes: 1 addition & 1 deletion previews/PR36/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2024-11-30T01:56:49","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2024-11-30T02:00:25","documenter_version":"1.8.0"}}
8 changes: 4 additions & 4 deletions previews/PR36/api.html

Large diffs are not rendered by default.

44 changes: 0 additions & 44 deletions previews/PR36/examples/basic_example-27d21603.svg

This file was deleted.

273 changes: 273 additions & 0 deletions previews/PR36/examples/basic_example-36a9d88e.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions previews/PR36/examples/basic_example-511edae9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
289 changes: 0 additions & 289 deletions previews/PR36/examples/basic_example-b7363b16.svg

This file was deleted.

296 changes: 0 additions & 296 deletions previews/PR36/examples/basic_example-d04af4f4.svg

This file was deleted.

288 changes: 288 additions & 0 deletions previews/PR36/examples/basic_example-d254cad9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions previews/PR36/examples/basic_example.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 previews/PR36/examples/change_expectations.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
p2 = plot(data.real_household_consumption, title = "consumption", titlefont = 10)
plot!(p2, data_back.real_household_consumption, titlefont = 10, label = "backward looking")

plot(p1, p2, layout = (2, 1), legend = true)</code></pre><img src="change_expectations-ad822ad4.svg" alt="Example block output"/><p>Plot all time series</p><pre><code class="language-julia hljs">p1 = plot(data.real_gdp, title = &quot;gdp&quot;, titlefont = 10)
plot(p1, p2, layout = (2, 1), legend = true)</code></pre><img src="change_expectations-a15ca6c0.svg" alt="Example block output"/><p>Plot all time series</p><pre><code class="language-julia hljs">p1 = plot(data.real_gdp, title = &quot;gdp&quot;, titlefont = 10)
plot!(p1, data_back.real_gdp, titlefont = 10)
p2 = plot(data.real_household_consumption, title = &quot;household cons.&quot;, titlefont = 10)
plot!(p2, data_back.real_household_consumption, titlefont = 10)
Expand All @@ -54,4 +54,4 @@
p9 = plot(data.nominal_gdp ./ data.real_gdp, title = &quot;gdp deflator&quot;, titlefont = 10)
plot!(p9, data_back.nominal_gdp ./ data_back.real_gdp, titlefont = 10)

plot(p1, p2, p3, p4, p5, p6, p7, p8, p9, layout = (3, 3), legend = false)</code></pre><img src="change_expectations-3ca0c4f8.svg" alt="Example block output"/><p>Note that, importantly, once the function <code>estimate_next_value</code> has been changed, the model will use the new expectations in all the simulations, unless the function is changed again. To restore the original expectations you could close the Julia session.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="scenario_analysis_via_overload.html">« Shocked simulations (advanced)</a><a class="docs-footer-nextpage" href="multithreading_speedup.html">Multithreading within the model »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 01:56">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot(p1, p2, p3, p4, p5, p6, p7, p8, p9, layout = (3, 3), legend = false)</code></pre><img src="change_expectations-198b3f9b.svg" alt="Example block output"/><p>Note that, importantly, once the function <code>estimate_next_value</code> has been changed, the model will use the new expectations in all the simulations, unless the function is changed again. To restore the original expectations you could close the Julia session.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="scenario_analysis_via_overload.html">« Shocked simulations (advanced)</a><a class="docs-footer-nextpage" href="multithreading_speedup.html">Multithreading within the model »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 02:00">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
&quot;.jld2&quot;,
init_conds,
)
end</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="multithreading_speedup.html">« Multithreading within the model</a><a class="docs-footer-nextpage" href="../api.html">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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 01:56">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
end</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="multithreading_speedup.html">« Multithreading within the model</a><a class="docs-footer-nextpage" href="../api.html">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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 02:00">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions previews/PR36/examples/multithreading_speedup.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
@time data = Bit.run_one_sim!(model; multi_threading = false);

model = Bit.init_model(parameters, initial_conditions, T);
@time data = Bit.run_one_sim!(model; multi_threading = true);</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi"> 5.183762 seconds (3.96 M allocations: 6.422 GiB, 17.20% gc time)
2.628658 seconds (3.83 M allocations: 6.152 GiB, 8.49% gc time)</code></pre><p>Is the speedup in line to what we would expect? Yes!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="change_expectations.html">« Experimentations (advanced)</a><a class="docs-footer-nextpage" href="get_parameters_and_initial_conditions.html">Calibration »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 01:56">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
@time data = Bit.run_one_sim!(model; multi_threading = true);</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi"> 5.406744 seconds (3.53 M allocations: 6.416 GiB, 16.91% gc time)
2.947750 seconds (3.42 M allocations: 6.146 GiB, 18.46% gc time)</code></pre><p>Is the speedup in line to what we would expect? Yes!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="change_expectations.html">« Experimentations (advanced)</a><a class="docs-footer-nextpage" href="get_parameters_and_initial_conditions.html">Calibration »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Saturday 30 November 2024 02:00">Saturday 30 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 1cc83eb

Please sign in to comment.