Skip to content

Commit

Permalink
deploy: ac48bb4
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Nov 10, 2023
1 parent 2eaebe3 commit 65784a7
Show file tree
Hide file tree
Showing 7 changed files with 228 additions and 134 deletions.
258 changes: 129 additions & 129 deletions build/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/equations.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ <h2 data-number="2.1" class="anchored" data-anchor-id="sec-reduction_factor"><sp
<div class="cell-output cell-output-stderr">
<pre><code>&lt;&gt;:31: SyntaxWarning: invalid escape sequence '\p'
&lt;&gt;:31: SyntaxWarning: invalid escape sequence '\p'
/tmp/ipykernel_5319/665069857.py:31: SyntaxWarning: invalid escape sequence '\p'
/tmp/ipykernel_5862/665069857.py:31: SyntaxWarning: invalid escape sequence '\p'
ax.set_ylabel("$\phi(x;p)$", fontsize=fontsize)</code></pre>
</div>
<div class="cell-output cell-output-display">
Expand Down
52 changes: 52 additions & 0 deletions core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"search-label": "Search"
}
}</script>
<script src="../site_libs/quarto-diagram/mermaid.min.js"></script>
<script src="../site_libs/quarto-diagram/mermaid-init.js"></script>
<link href="../site_libs/quarto-diagram/mermaid.css" rel="stylesheet">


<link rel="stylesheet" href="../assets/styles.css">
Expand Down Expand Up @@ -202,6 +205,55 @@ <h1 class="title">Julia core</h1>
<p>With the term “core”, we mean the computational engine of Ribasim. As detailed in the <a href="../core/usage.html">usage</a> documentation, it is generally used as a command line tool.</p>
<p>The theory is described on the <a href="../core/equations.html">equations</a> page, and more in-depth numerical considerations are described on the <a href="../core/numerics.html">numerical considerations</a> page. As allocation is a large and self-contained part of the Ribasim core, it is described on the separate <a href="../core/allocation.html">allocation</a> page.</p>
<p>The core is implemented in the <a href="https://julialang.org/">Julia programming language</a>, and can be found in the <a href="https://github.com/Deltares/Ribasim">Ribasim repository</a> under the <code>core/</code> folder. For developers we also advise to read the <a href="../contribute/core.html">developer documentation</a>.</p>
<div class="cell" data-file="../assets/c4_component_ribasim.mmd">
<div class="cell-output-display">
<div>
<div>
<pre class="mermaid mermaid-js">flowchart TB
modeler([Modeler]):::user

api["Ribasim Python\n[python]"]:::system
modeler--&gt;|prepare model|api

subgraph ribasimBoundary[Ribasim]
ribasim["Ribasim.jl\n[julia]"]:::system
libribasim["libribasim\n[julia + python + BMI]"]:::system
cli["Ribasim CLI\n[julia]"]:::system
cli--&gt;ribasim
libribasim--&gt;ribasim
end
modeler--&gt;|start|cli
modeler--&gt;|coupled simulation|libribasim

subgraph qgisBoundary[QGIS]
QGIS[QGIS Application]:::system_ext
qgisPlugin["Ribasim QGIS plugin\n[python]"]:::system
QGIS--&gt;qgisPlugin
end
modeler--&gt;|prepare model|qgisBoundary

model[("input model data\n[toml + geopackage + arrow]")]:::system
qgisPlugin--&gt;|read/write|model
api--&gt;|read/write|model
ribasim--&gt;|simulate|model

output[("simulation output\n[arrow]")]:::system
ribasim--&gt;|write|output

class qgisBoundary,ribasimBoundary boundary

%% class definitions for C4 model
classDef default stroke-width:1px,stroke:white,color:white
classDef system fill:#1168bd
classDef user fill:#08427b
classDef system_ext fill:#999999
classDef boundary fill:transparent,stroke-dasharray:5 5,stroke:black,color:black
</pre>
</div>
<p>Component overview of Ribasim</p>
</div>
</div>
</div>



Expand Down
42 changes: 42 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,48 @@ <h1 data-number="1"><span class="header-section-number">1</span> Download</h1>
</ul>
<p>Currently only Windows builds for <code>ribasim_cli.zip</code> are available.</p>
<p>See <a href="./core/usage.html">Usage</a> for more information.</p>
<div class="cell" data-file="assets/c4_system.mmd">
<div class="cell-output-display">
<div>
<div>
<pre class="mermaid mermaid-js">flowchart TB
modeler([Modeler]):::user

api["Ribasim Python\n[python]"]:::system
modeler--&gt;|prepare model|api

ribasim["Ribasim\n[julia]"]:::system
modeler--&gt;|start|ribasim

subgraph qgisBoundary[QGIS]
QGIS[QGIS Application]:::system_ext
qgisPlugin["Ribasim QGIS plugin\n[python]"]:::system
QGIS--&gt;qgisPlugin
end
modeler--&gt;|prepare model|qgisBoundary

model[("input model data\n[toml + geopackage + arrow]")]:::system
qgisPlugin--&gt;|read/write|model
api--&gt;|read/write|model
ribasim--&gt;|simulate|model

output[("simulation results\n[arrow]")]:::system
ribasim--&gt;|write|output

class qgisBoundary boundary

%% class definitions for C4 model
classDef default stroke-width:1px,stroke:white,color:white
classDef system fill:#1168bd
classDef user fill:#08427b
classDef system_ext fill:#999999
classDef boundary fill:transparent,stroke-dasharray:5 5,stroke:black,color:black
</pre>
</div>
<p>System overview of Ribasim</p>
</div>
</div>
</div>
</section>
<section id="status" class="level1" data-number="2">
<h1 data-number="2"><span class="header-section-number">2</span> Status</h1>
Expand Down
2 changes: 1 addition & 1 deletion python/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ <h1 data-number="2"><span class="header-section-number">2</span> Update the basi
<span id="cb26-4"><a href="#cb26-4" aria-hidden="true" tabindex="-1"></a>ax <span class="op">=</span> df_flow.pivot_table(index<span class="op">=</span><span class="st">"time"</span>, columns<span class="op">=</span><span class="st">"edge"</span>, values<span class="op">=</span><span class="st">"flow_m3d"</span>).plot()</span>
<span id="cb26-5"><a href="#cb26-5" aria-hidden="true" tabindex="-1"></a>ax.legend(bbox_to_anchor<span class="op">=</span>(<span class="fl">1.3</span>, <span class="dv">1</span>), title<span class="op">=</span><span class="st">"Edge"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="26">
<pre><code>&lt;matplotlib.legend.Legend at 0x7fe6b1343800&gt;</code></pre>
<pre><code>&lt;matplotlib.legend.Legend at 0x7fcce6a32240&gt;</code></pre>
</div>
<div class="cell-output cell-output-display">
<p><img src="examples_files/figure-html/cell-27-output-2.png" width="727" height="561"></p>
Expand Down
Binary file modified python/examples_files/figure-html/cell-55-output-1.png
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 search.json

Large diffs are not rendered by default.

0 comments on commit 65784a7

Please sign in to comment.