Skip to content

Commit

Permalink
build based on 32de72c
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 3, 2024
1 parent 8d03aaa commit 50a7378
Show file tree
Hide file tree
Showing 19 changed files with 995 additions and 1,015 deletions.
2 changes: 1 addition & 1 deletion previews/PR37/.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-30T23:53:56","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2024-12-03T10:15:39","documenter_version":"1.8.0"}}
8 changes: 4 additions & 4 deletions previews/PR37/api.html

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions previews/PR37/examples/basic_example-28bbe6c6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
269 changes: 269 additions & 0 deletions previews/PR37/examples/basic_example-43f713b4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
286 changes: 286 additions & 0 deletions previews/PR37/examples/basic_example-4a3fa9f9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 0 additions & 48 deletions previews/PR37/examples/basic_example-9661b50e.svg

This file was deleted.

283 changes: 0 additions & 283 deletions previews/PR37/examples/basic_example-97344674.svg

This file was deleted.

290 changes: 0 additions & 290 deletions previews/PR37/examples/basic_example-c570da7b.svg

This file was deleted.

10 changes: 5 additions & 5 deletions previews/PR37/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/PR37/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-af36c358.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-3a8b2f52.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-f0ebbb36.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 23:53">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-6930c3c4.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="Tuesday 3 December 2024 10:15">Tuesday 3 December 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 23:53">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="Tuesday 3 December 2024 10:15">Tuesday 3 December 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/PR37/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.139743 seconds (3.52 M allocations: 6.415 GiB, 17.71% gc time)
2.719459 seconds (3.41 M allocations: 6.146 GiB, 14.22% 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 23:53">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.409088 seconds (3.52 M allocations: 6.415 GiB, 20.07% gc time)
2.581498 seconds (3.41 M allocations: 6.146 GiB, 8.52% 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="Tuesday 3 December 2024 10:15">Tuesday 3 December 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 50a7378

Please sign in to comment.