{ "cells": [ { "cell_type": "markdown", "id": "1b862ec2", "metadata": {}, "source": [ "(junction)=\n", "# junction\n", "A hydraulic junction coupling two reservoirs to a common output tunnel. Water flows in the junction tunnels according to the pressure and mass balance\n", "\n", "| | |\n", "|---|---|\n", "|Input connections|{ref}`reservoir`, {ref}`plant`, {ref}`gate`, {ref}`junction`, {ref}`creek_intake`|\n", "|Output connections|{ref}`plant`, {ref}`junction_gate`, {ref}`junction`, {ref}`reservoir`|\n", "|License|SHOP_OPEN|\n", "|Release version|13.0.0.a|\n", "\n", "```{contents}\n", ":local:\n", ":depth: 1\n", "```\n", "\n", "```{warning}\n", "The junction object is old and will be deprecated in the future. A junction can be replaced with three connected [](tunnel) objects.\n", "```\n", "\n", "## Examples\n", " - [](junction-example)\n", " \n", "\n", "\n", "\n", "## Attributes" ] }, { "cell_type": "code", "execution_count": 1, "id": "dca317e9", "metadata": { "tags": [ "remove-input", "full-width" ] }, "outputs": [ { "data": { "text/html": [ "
\n", "\n" ], "text/plain": [ "" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from IPython.core.display import HTML\n", "HTML(\"\"\"
\n", "\n", "\"\"\")" ] }, { "cell_type": "markdown", "id": "b8bb21b4", "metadata": {}, "source": [ "(junction:junc_slack)=\n", "### junc_slack\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Flag determining whether slack variables should be added to the mass balance of the junction (xUnit: NO_UNIT, yUnit: NO_UNIT)\n", "\n", "\n", "(junction:altitude)=\n", "### altitude\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Physical height of the connection point between tunnel_1 and tunnel_2 coming into this junction (xUnit: METER, yUnit: METER)\n", "\n", "\n", "(junction:tunnel_flow_1)=\n", "### tunnel_flow_1\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting flow in tunnel_1 (xUnit: NO_UNIT, yUnit: M3/S)\n", "\n", "\n", "(junction:tunnel_flow_2)=\n", "### tunnel_flow_2\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting flow in tunnel_2 (xUnit: NO_UNIT, yUnit: M3/S)\n", "\n", "\n", "(junction:sim_tunnel_flow_1)=\n", "### sim_tunnel_flow_1\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). The simulated flow in tunnel_1 of the junction (xUnit: NO_UNIT, yUnit: M3/S)\n", "\n", "\n", "(junction:sim_tunnel_flow_2)=\n", "### sim_tunnel_flow_2\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). The simulated flow in tunnel_2 of the junction (xUnit: NO_UNIT, yUnit: M3/S)\n", "\n", "\n", "(junction:loss_factor_1)=\n", "### loss_factor_1\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Friction loss factor for tunnel_1 into this junction multiplied with the square of the flow to get head loss (xUnit: S2/M5, yUnit: S2/M5)\n", "\n", "\n", "(junction:loss_factor_2)=\n", "### loss_factor_2\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Friction loss factor for tunnel_2 into this junction multiplied with the square of the flow to get head loss (xUnit: S2/M5, yUnit: S2/M5)\n", "\n", "\n", "(junction:min_pressure)=\n", "### min_pressure\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Minimum pressure requirement at the connection point of tunnel_1 and tunnel_2 (xUnit: NO_UNIT, yUnit: METER)\n", "\n", "\n", "(junction:pressure_height)=\n", "### pressure_height\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting pressure height from the optimization calculations (xUnit: NO_UNIT, yUnit: METER)\n", "\n", "\n", "(junction:sim_pressure_height)=\n", "### sim_pressure_height\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting pressure height from the simulation (xUnit: NO_UNIT, yUnit: METER)\n", "\n", "\n", "(junction:incr_cost)=\n", "### incr_cost\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting marginal value of water in this junction referred to ocean level accounting for headloss between the tunnel connection point and the plant below (xUnit: NO_UNIT, yUnit: NOK)\n", "\n", "\n", "(junction:local_incr_cost)=\n", "### local_incr_cost\n", "Future deprecation: All junctions should be modelled by using the tunnel object (does not require additional license). Resulting marginal value of water in this junction referred to the next reservoir below accounting for headloss between the tunnel connection point and the plant below (xUnit: NO_UNIT, yUnit: NOK)" ] } ], "metadata": { "jupytext": { "text_representation": { "extension": ".md", "format_name": "myst", "format_version": 0.13, "jupytext_version": "1.13.8" } }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.9" }, "source_map": [ 11, 40, 52 ] }, "nbformat": 4, "nbformat_minor": 5 }