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 Jul 13, 2023
1 parent 7e6d269 commit aa676b1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
35becb19
83cbc3bc
8 changes: 4 additions & 4 deletions core/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ <h3 data-number="1.3" class="anchored" data-anchor-id="node"><span class="header
</ul></li>
<li>DiscreteControl: Set parameters of other nodes based on model state conditions (e.g.&nbsp;basin level)
<ul>
<li><code>DisceteControl / condition</code>: Conditions of the form ‘the level in the basin with node id n is bigger than 2.0 m’</li>
<li><code>DisceteControl / condition</code>: Conditions of the form ‘the level in the basin with node id <code>n</code> is bigger than 2.0 m’</li>
<li><code>DisceteControl / logic</code>: Translates the truth value of a set of conditions to parameter values for a controlled node</li>
</ul></li>
</ul>
Expand Down Expand Up @@ -1077,7 +1077,7 @@ <h3 data-number="1.20" class="anchored" data-anchor-id="discetecontrol"><span cl
</div>
<section id="sec-condition" class="level4" data-number="1.20.1">
<h4 data-number="1.20.1" class="anchored" data-anchor-id="sec-condition"><span class="header-section-number">1.20.1</span> DiscreteControl / condition</h4>
<p>The condition schema defines conditions of the form ‘the discrete_control node with this node id listens to whether the given variable of the node with the given listen node id is grater than the given value’.</p>
<p>The condition schema defines conditions of the form ‘the discrete_control node with this node id listens to whether the given variable of the node/edge with the given listen feature id is grater than the given value’.</p>
<table class="table">
<thead>
<tr class="header">
Expand All @@ -1095,7 +1095,7 @@ <h4 data-number="1.20.1" class="anchored" data-anchor-id="sec-condition"><span c
<td>sorted</td>
</tr>
<tr class="even">
<td>listen_node_id</td>
<td>listen_feature_id</td>
<td>Int</td>
<td>-</td>
<td></td>
Expand All @@ -1104,7 +1104,7 @@ <h4 data-number="1.20.1" class="anchored" data-anchor-id="sec-condition"><span c
<td>variable</td>
<td>String</td>
<td>-</td>
<td>must be “level”</td>
<td>must be “level” or “flow”</td>
</tr>
<tr class="even">
<td>greater_than</td>
Expand Down
4 changes: 2 additions & 2 deletions python/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,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 0x7f8acc72a790&gt;</code></pre>
<pre><code>&lt;matplotlib.legend.Legend at 0x7fcbb00d0a10&gt;</code></pre>
</div>
<div class="cell-output cell-output-display">
<p><img src="examples_files/figure-html/cell-27-output-2.png" width="744" height="412"></p>
Expand Down Expand Up @@ -650,7 +650,7 @@ <h1 data-number="3"><span class="header-section-number">3</span> Model with cont
<div class="sourceCode cell-code" id="cb33"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb33-1"><a href="#cb33-1" aria-hidden="true" tabindex="-1"></a>condition <span class="op">=</span> pd.DataFrame(</span>
<span id="cb33-2"><a href="#cb33-2" aria-hidden="true" tabindex="-1"></a> data<span class="op">=</span>{</span>
<span id="cb33-3"><a href="#cb33-3" aria-hidden="true" tabindex="-1"></a> <span class="st">"node_id"</span>: [<span class="dv">5</span>, <span class="dv">5</span>],</span>
<span id="cb33-4"><a href="#cb33-4" aria-hidden="true" tabindex="-1"></a> <span class="st">"listen_node_id"</span>: [<span class="dv">1</span>, <span class="dv">3</span>],</span>
<span id="cb33-4"><a href="#cb33-4" aria-hidden="true" tabindex="-1"></a> <span class="st">"listen_feature_id"</span>: [<span class="dv">1</span>, <span class="dv">3</span>],</span>
<span id="cb33-5"><a href="#cb33-5" aria-hidden="true" tabindex="-1"></a> <span class="st">"variable"</span>: [<span class="st">"level"</span>, <span class="st">"level"</span>],</span>
<span id="cb33-6"><a href="#cb33-6" aria-hidden="true" tabindex="-1"></a> <span class="st">"greater_than"</span>: [<span class="fl">0.8</span>, <span class="fl">0.4</span>],</span>
<span id="cb33-7"><a href="#cb33-7" aria-hidden="true" tabindex="-1"></a> }</span>
Expand Down
Binary file modified python/examples_files/figure-html/cell-36-output-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions schema/DiscreteControlCondition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"description": "a hack for pandera",
"type": "string"
},
"listen_node_id": {
"format": "default",
"description": "listen_node_id",
"type": "integer"
},
"greater_than": {
"format": "double",
"description": "greater_than",
"type": "number"
},
"listen_feature_id": {
"format": "default",
"description": "listen_feature_id",
"type": "integer"
},
"node_id": {
"format": "default",
"description": "node_id",
Expand All @@ -30,7 +30,7 @@
},
"required": [
"node_id",
"listen_node_id",
"listen_feature_id",
"variable",
"greater_than"
],
Expand Down
4 changes: 2 additions & 2 deletions search.json

Large diffs are not rendered by default.

0 comments on commit aa676b1

Please sign in to comment.