Skip to content

Commit aff0dff

Browse files
author
Documenter.jl
committed
build based on f88cc63
1 parent f3e2221 commit aff0dff

15 files changed

Lines changed: 101 additions & 40 deletions

File tree

dev/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.11.7","generation_timestamp":"2025-10-02T05:54:41","documenter_version":"1.14.1"}}
1+
{"documenter":{"julia_version":"1.12.0","generation_timestamp":"2025-10-10T09:13:10","documenter_version":"1.14.1"}}

dev/contribute/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
doi = {10.5281/zenodo.10511399},
1616
publisher = {Zenodo},
1717
url = {https://zenodo.org/records/10511399}
18-
}</code></pre><h2 id="Acknowledgements"><a class="docs-heading-anchor" href="#Acknowledgements">Acknowledgements</a><a id="Acknowledgements-1"></a><a class="docs-heading-anchor-permalink" href="#Acknowledgements" title="Permalink"></a></h2><p>This material is based upon work supported by the Research Council of Norway through the projects ZeroKyst (328721), MaritimeNH3 (328679) and CleanExport (308811).</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="tutorials/basic_usage/">Basic usage »</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.14.1 on <span class="colophon-date" title="Thursday 2 October 2025 05:54">Thursday 2 October 2025</span>. Using Julia version 1.11.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
18+
}</code></pre><h2 id="Acknowledgements"><a class="docs-heading-anchor" href="#Acknowledgements">Acknowledgements</a><a id="Acknowledgements-1"></a><a class="docs-heading-anchor-permalink" href="#Acknowledgements" title="Permalink"></a></h2><p>This material is based upon work supported by the Research Council of Norway through the projects ZeroKyst (328721), MaritimeNH3 (328679) and CleanExport (308811).</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="tutorials/basic_usage/">Basic usage »</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.14.1 on <span class="colophon-date" title="Friday 10 October 2025 09:13">Friday 10 October 2025</span>. Using Julia version 1.12.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

dev/manual/basic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
[SimpleTimes(7,1), SimpleTimes(7,1)]
1919
);</code></pre><p>The time periods can be iterated both for the whole time structure and individually by each representative period using the <a href="../../reference/api/#TimeStruct.repr_periods"><code>repr_periods</code></a> function. This is illustrated here when setting up a JuMP model with a separate constraint for each representative period:</p><pre><code class="language-julia-repl hljs" style="display:block;">julia&gt; m = Model();</code><br/><code class="language-julia-repl hljs" style="display:block;">julia&gt; @variable(m, prod[periods] &gt;= 0);</code><br/><code class="language-julia-repl hljs" style="display:block;">julia&gt; for rp in repr_periods(periods)
2020
@constraint(m, sum(prod[t] for t in rp) &lt;= 10)
21-
end</code><br/><code class="language-julia-repl hljs" style="display:block;">julia&gt; @constraint(m, sum(prod[t] * multiple(t) for t in periods) &lt;= 1);</code></pre><p>For each time period the <a href="../../reference/api/#TimeStruct.multiple"><code>multiple</code></a> function returns how many times the given period should be counted when aggregating to the whole <a href="../../reference/api/#TimeStruct.RepresentativePeriods"><code>RepresentativePeriods</code></a> structure. This will take into account both the duration and share of each representative period, thus we have that:</p><pre><code class="language-julia-repl hljs" style="display:block;">julia&gt; sum(duration(t) * multiple(t) for t in periods)</code><code class="nohighlight hljs ansi" style="display:block;">365.0000000000001</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../showcases/emx/">« EnergyModelsX</a><a class="docs-footer-nextpage" href="../multi/">Multi-horizon »</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.14.1 on <span class="colophon-date" title="Thursday 2 October 2025 05:54">Thursday 2 October 2025</span>. Using Julia version 1.11.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
21+
end</code><br/><code class="language-julia-repl hljs" style="display:block;">julia&gt; @constraint(m, sum(prod[t] * multiple(t) for t in periods) &lt;= 1);</code></pre><p>For each time period the <a href="../../reference/api/#TimeStruct.multiple"><code>multiple</code></a> function returns how many times the given period should be counted when aggregating to the whole <a href="../../reference/api/#TimeStruct.RepresentativePeriods"><code>RepresentativePeriods</code></a> structure. This will take into account both the duration and share of each representative period, thus we have that:</p><pre><code class="language-julia-repl hljs" style="display:block;">julia&gt; sum(duration(t) * multiple(t) for t in periods)</code><code class="nohighlight hljs ansi" style="display:block;">365.0000000000001</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../showcases/emx/">« EnergyModelsX</a><a class="docs-footer-nextpage" href="../multi/">Multi-horizon »</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.14.1 on <span class="colophon-date" title="Friday 10 October 2025 09:13">Friday 10 October 2025</span>. Using Julia version 1.12.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 commit comments

Comments
 (0)