Skip to content

Commit

Permalink
build based on 05fa815
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 3, 2024
1 parent 58e1990 commit 8b7b9ab
Show file tree
Hide file tree
Showing 21 changed files with 1,050 additions and 1,040 deletions.
2 changes: 1 addition & 1 deletion previews/PR39/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2024-12-03T13:52:16","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2024-12-03T13:58:21","documenter_version":"1.8.0"}}
8 changes: 4 additions & 4 deletions previews/PR39/api.html

Large diffs are not rendered by default.

298 changes: 298 additions & 0 deletions previews/PR39/examples/basic_example-09a5ddfe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 0 additions & 50 deletions previews/PR39/examples/basic_example-3efb7e9a.svg

This file was deleted.

285 changes: 285 additions & 0 deletions previews/PR39/examples/basic_example-98b68d64.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
281 changes: 0 additions & 281 deletions previews/PR39/examples/basic_example-b4a11fea.svg

This file was deleted.

50 changes: 50 additions & 0 deletions previews/PR39/examples/basic_example-eadf3a2a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
292 changes: 0 additions & 292 deletions previews/PR39/examples/basic_example-ef9a95a0.svg

This file was deleted.

10 changes: 5 additions & 5 deletions previews/PR39/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/PR39/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-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, p2, layout = (2, 1), legend = true)</code></pre><img src="change_expectations-fda15fab.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-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="Tuesday 3 December 2024 13:52">Tuesday 3 December 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-eb4c8a9b.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 13:58">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="Tuesday 3 December 2024 13:52">Tuesday 3 December 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 13:58">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/PR39/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.282855 seconds (3.52 M allocations: 6.415 GiB, 17.94% gc time)
2.753682 seconds (3.49 M allocations: 6.293 GiB, 14.20% 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 13:52">Tuesday 3 December 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.102726 seconds (3.52 M allocations: 6.415 GiB, 17.49% gc time)
2.725590 seconds (3.38 M allocations: 6.080 GiB, 14.19% 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 13:58">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 8b7b9ab

Please sign in to comment.