Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 15, 2023
1 parent 7e85735 commit d1e98cb
Show file tree
Hide file tree
Showing 21 changed files with 504 additions and 222 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e0ec266e
b39dc898
164 changes: 84 additions & 80 deletions build/index.html

Large diffs are not rendered by default.

99 changes: 51 additions & 48 deletions contribute/addnode.html

Large diffs are not rendered by default.

195 changes: 154 additions & 41 deletions core/usage.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion python/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,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 0x7fe11670bf10&gt;</code></pre>
<pre><code>&lt;matplotlib.legend.Legend at 0x7fc2f5d90250&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="412"></p>
Expand Down
12 changes: 9 additions & 3 deletions python/reference/Model.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,24 +265,30 @@ <h2 data-number="1.1" class="anchored" data-anchor-id="parameters"><span class="
<td><em>required</em></td>
</tr>
<tr class="even">
<td><code>user</code></td>
<td>Optional[User]</td>
<td>User node type with demand and priority.</td>
<td><em>required</em></td>
</tr>
<tr class="odd">
<td><code>starttime</code></td>
<td>Union[str, datetime.datetime]</td>
<td>Starting time of the simulation.</td>
<td><em>required</em></td>
</tr>
<tr class="odd">
<tr class="even">
<td><code>endtime</code></td>
<td>Union[str, datetime.datetime]</td>
<td>End time of the simulation.</td>
<td><em>required</em></td>
</tr>
<tr class="even">
<tr class="odd">
<td><code>solver</code></td>
<td>Optional[Solver]</td>
<td>Solver settings.</td>
<td><em>required</em></td>
</tr>
<tr class="odd">
<tr class="even">
<td><code>logging</code></td>
<td>Optional[logging]</td>
<td>Logging settings.</td>
Expand Down
8 changes: 8 additions & 0 deletions schema/Config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
},
"$ref": "https://deltares.github.io/Ribasim/schema/level_boundary.schema.json"
},
"user": {
"default": {
"static": null,
"time": null
},
"$ref": "https://deltares.github.io/Ribasim/schema/user.schema.json"
},
"pump": {
"default": {
"static": null
Expand Down Expand Up @@ -165,6 +172,7 @@
"level_boundary",
"pump",
"tabulated_rating_curve",
"user",
"flow_boundary",
"basin",
"manning_resistance",
Expand Down
4 changes: 2 additions & 2 deletions schema/DiscreteControlCondition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions schema/FlowBoundaryStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions schema/LevelBoundaryStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions schema/LinearResistanceStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions schema/ManningResistanceStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
16 changes: 8 additions & 8 deletions schema/OutletStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
},
Expand All @@ -22,21 +22,21 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
"min_crest_level": {
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
},
Expand All @@ -63,10 +63,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions schema/PIDControlStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
12 changes: 6 additions & 6 deletions schema/PumpStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
},
Expand All @@ -22,10 +22,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand All @@ -52,10 +52,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "number"
},
{
"type": "number"
"type": "null"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions schema/TabulatedRatingCurveStatic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"format": "default",
"anyOf": [
{
"type": "null"
"type": "boolean"
},
{
"type": "boolean"
"type": "null"
}
]
},
Expand Down
53 changes: 53 additions & 0 deletions schema/UserStatic.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"remarks": {
"format": "default",
"default": "",
"description": "a hack for pandera",
"type": "string"
},
"priority": {
"format": "default",
"type": "integer"
},
"active": {
"format": "default",
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"demand": {
"format": "double",
"type": "number"
},
"return_factor": {
"format": "double",
"type": "number"
},
"min_level": {
"format": "double",
"type": "number"
},
"node_id": {
"format": "default",
"type": "integer"
}
},
"required": [
"node_id",
"demand",
"return_factor",
"min_level",
"priority"
],
"$id": "https://deltares.github.io/Ribasim/schema/UserStatic.schema.json",
"title": "UserStatic",
"description": "A UserStatic object based on Ribasim.UserStaticV1",
"type": "object"
}
47 changes: 47 additions & 0 deletions schema/UserTime.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"remarks": {
"format": "default",
"default": "",
"description": "a hack for pandera",
"type": "string"
},
"priority": {
"format": "default",
"type": "integer"
},
"time": {
"format": "date-time",
"type": "string"
},
"demand": {
"format": "double",
"type": "number"
},
"return_factor": {
"format": "double",
"type": "number"
},
"min_level": {
"format": "double",
"type": "number"
},
"node_id": {
"format": "default",
"type": "integer"
}
},
"required": [
"node_id",
"time",
"demand",
"return_factor",
"min_level",
"priority"
],
"$id": "https://deltares.github.io/Ribasim/schema/UserTime.schema.json",
"title": "UserTime",
"description": "A UserTime object based on Ribasim.UserTimeV1",
"type": "object"
}
6 changes: 6 additions & 0 deletions schema/root.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@
"FlowBoundaryTime": {
"$ref": "FlowBoundaryTime.schema.json"
},
"UserStatic": {
"$ref": "UserStatic.schema.json"
},
"PumpStatic": {
"$ref": "PumpStatic.schema.json"
},
"LevelBoundaryStatic": {
"$ref": "LevelBoundaryStatic.schema.json"
},
"UserTime": {
"$ref": "UserTime.schema.json"
},
"DiscreteControlCondition": {
"$ref": "DiscreteControlCondition.schema.json"
},
Expand Down
Loading

0 comments on commit d1e98cb

Please sign in to comment.