{"id":856,"date":"2013-02-05T00:20:18","date_gmt":"2013-02-04T23:20:18","guid":{"rendered":"http:\/\/inprompt.service.tu-berlin.de\/wordMOSAIC\/?page_id=856"},"modified":"2025-09-28T14:29:51","modified_gmt":"2025-09-28T13:29:51","slug":"ports-and-streams-ii-using-streams-to-connect-ports-of-units","status":"publish","type":"page","link":"https:\/\/mosaic-modeling.de\/?page_id=856","title":{"rendered":"Use of Ports and Streams II &#8211; Using Streams to Connect Units"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">On this page<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Workflow\" >Workflow<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Notation-of-flowsheet\" >Notation of flowsheet<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Base-names\" >Base names<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Indices\" >Indices<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Interface-for-ports-and-streams\" >Interface for ports and streams<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Connectors-for-inlet-and-outlet-port\" >Connectors for inlet and outlet port<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Equation-system-and-ports\" >Equation system and ports<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Flowsheet\" >Flowsheet<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Evaluation-Simulation\" >Evaluation \/ Simulation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mosaic-modeling.de\/?page_id=856\/#Initialization-and-results\" >Initialization and results<\/a><\/li><\/ul><\/nav><\/div>\n<p>In this section the flash created in the <a href=\"http:\/\/mosaic-modeling.de\/?page_id=1306\">third example for functions<\/a> is used twice to assemble a flowsheet that is connected via ports and streams.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Workflow\"><\/span>Workflow<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"Notation-of-flowsheet\"><\/span>Notation of flowsheet<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>First, we need to define the notation of the flowsheet, which will be used for our ports and streams. Use the following base names and indices:<\/p>\n<h5><span class=\"ez-toc-section\" id=\"Base-names\"><\/span>Base names<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-88df03c55e081c7cd9da4e7d74ba7265_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, stream in kmol\/h\u00a0<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-882fb4913c5afd18ebd28a67256a668a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/>, mole fraction in mol\/mol<\/li>\n<\/ul>\n<h5><span class=\"ez-toc-section\" id=\"Indices\"><\/span>Indices<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-31318c5dcb226c69e0818e5f7d2422b5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/>, component index 1..NI<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-276a76eafbebc4494deafceec7cc4ddd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>, component index 1&#8230;NC (this should not be required, but there seems to be a bug at the moment)<\/li>\n<\/ul>\n<p>The resulting notation has ID 182801.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Interface-for-ports-and-streams\"><\/span>Interface for ports and streams<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Go to the Interface tab and take the following steps:<\/p>\n<ol>\n<li>Load the notation created above<\/li>\n<li>Click on &#8220;+ Field Name&#8221; and add the variable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>, name it &#8220;Stream&#8221; with Dim Scalar and activate In\/Out<\/li>\n<li>Click on &#8220;+Field Name&#8221; and add the variable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-882fb4913c5afd18ebd28a67256a668a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/>, name it &#8220;Composition&#8221; with Dim Vector and activate In\/Out<\/li>\n<li>Save the interface<\/li>\n<\/ol>\n<p>The interface is available with ID 182823.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Connectors-for-inlet-and-outlet-port\"><\/span>Connectors for inlet and outlet port<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Go to the Connector tab and proceed as follows:<\/p>\n<ol>\n<li>Load the notation from the example &#8220;Use of Functions III &#8211; Parameter Lists and Indices&#8221; as Sub Notation<\/li>\n<li>Load the flowsheet notation created above as Super Notation<\/li>\n<li>Add the variables <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-88df03c55e081c7cd9da4e7d74ba7265_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-aef4db79611396af66b71853f08d4b29_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"14\" style=\"vertical-align: -3px;\"\/> as variables in the Sub Notation<\/li>\n<li>Add the variables <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-882fb4913c5afd18ebd28a67256a668a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/> as variables in the Super Notation<\/li>\n<li>Match <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-88df03c55e081c7cd9da4e7d74ba7265_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>, then match <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-aef4db79611396af66b71853f08d4b29_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"14\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-882fb4913c5afd18ebd28a67256a668a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/><\/li>\n<li>Save the connector for the inlet port<\/li>\n<li>Repeat these steps with the variables <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-48d71fca322532f0abc2c4ad2cf98154_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-f690bf485696f5534ef148f2d6772bd4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"16\" style=\"vertical-align: -3px;\"\/> (Sub Notation) and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-882fb4913c5afd18ebd28a67256a668a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/> (Super Notation)<\/li>\n<li>Save this connector for the outlet port<\/li>\n<\/ol>\n<p>Both connectors are available with IDs 182824 and 182825.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Equation-system-and-ports\"><\/span>Equation system and ports<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Go to the Equation System tab and take the steps explained below:<\/p>\n<ol>\n<li>Load the equation system from the example &#8220;Use of Functions III &#8211; Parameter Lists and Indices&#8221;<\/li>\n<li>Add a reasonable description<\/li>\n<li>Go to the Flowsheeting tab and then to the External Ports tab<\/li>\n<li>Click on &#8220;+ Port&#8221;, add the Name &#8220;Inlet&#8221;, select the interface and connector for the inlet created above<\/li>\n<li>Click on &#8220;Check Port Configuration&#8221; and then on &#8220;Confirm&#8221;<\/li>\n<li>Click on &#8220;+ Port&#8221; again, change Direction to &#8220;out&#8221;, add the Name &#8220;Outlet&#8221;, select the same interface and then the created outlet connector<\/li>\n<li>Click on &#8220;Check Port Configuration&#8221; and then on &#8220;Confirm&#8221;<\/li>\n<li>Save the equation system; recommendation: save it with &#8220;unit&#8221; in the filename as you have just created a unit with an inlet and an outlet port<\/li>\n<li>Go to the Flowsheeting tab and click on &#8220;Print Unit(s)&#8221;. You can now see the unit you created with an inlet and an outlet port<\/li>\n<\/ol>\n<p>The equation system of the unit is available with ID 182826.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Flowsheet\"><\/span>Flowsheet<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Click on &#8220;New&#8221; in the Equation system tab and do as follows:<\/p>\n<ol>\n<li>Load the flowsheet notation<\/li>\n<li>Add a reasonable description<\/li>\n<li>Add the flash unit you just saved twice<\/li>\n<li>Go to the Flowsheeting tab and then to the Internal Streams<\/li>\n<li>Click on &#8220;+ Stream&#8221; and load the interface from above<\/li>\n<li>Click on &#8220;Port 1&#8221;, which will open a popup window. Select the equation system with Id &#8220;0&#8221; and select the output port at the bottom of the window; confirm<\/li>\n<li>Click on &#8220;Port &#8220;, which will again open a popup window. Select the equation system with Id &#8220;1&#8221; and select the inlet port at the bottom of the window; confirm<\/li>\n<li>Click on &#8220;Check Stream Connection&#8221; and then on &#8220;Confirm&#8221;<\/li>\n<li>Save the equation system; recommendation: save it with &#8220;flowsheet&#8221; in the filename<\/li>\n<li>Go to the tab Visualization and click on &#8220;Print Unit(s)&#8221;. You can now see the connections between your two flash units<\/li>\n<\/ol>\n<p>The equation system is available with ID 182827.<\/p>\n<h4 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Evaluation-Simulation\"><\/span>Evaluation \/ Simulation<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Next, we can move to the &#8220;Simulation&#8221; section and load the flowsheet we just created. Then, take the following steps:<\/p>\n<ol>\n<li>Add a description for your simulation<\/li>\n<li>In the tab on the Generic System and load your flowsheet<\/li>\n<li>In the Indexing tab, enter 2 as Max Value for all appearing indices and then click on &#8220;Confirm Index Data&#8221;<\/li>\n<li>Go to the Specifications tab and assign the following variables as design values:\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> from the namespace &gt;Inlet e0p1<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-fda1e51b12ba3624074fcbebad72b1fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> in the namespaces e0e0 and e0e1<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-7e093fd43ad2c244140c11afe4d4bdff_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> in the namespaces e0e0 and e0e1<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-3c18f17dd8c3124b4cb4f92e999d7040_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"30\" style=\"vertical-align: -3px;\"\/> in the namespace &gt;Inlet e0p1<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-002806486a867738b710521fa1a9cb38_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"31\" style=\"vertical-align: -3px;\"\/> in the namespace &gt;Inlet e0p1<\/li>\n<\/ul>\n<\/li>\n<li>Assign the remaining variables as iteration values (except of course for the calculated values, i.e., the vapor pressures)<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Initialization-and-results\"><\/span>Initialization and results<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To initialize and specify the model, take the following steps:<\/p>\n<ol>\n<li><span style=\"font-size: revert; color: initial;\">Initialize this example with the design values and initial guesses given in Table 1<\/span><\/li>\n<li><span style=\"font-size: revert; color: initial;\">Save the variable specification\u00a0<\/span><\/li>\n<li>Enter the parameter values given in Table 1 for both namespaces<\/li>\n<li>Save the parameter specification<\/li>\n<li>Save the simulation<\/li>\n<li>Go to the Evaluation tab and generate the code for your preferred environment \/ software package<\/li>\n<li>Simulate the flash<\/li>\n<\/ol>\n<p>This simulation is available with ID 182828 with variable specification 182829 and parameter specification 182831. <span style=\"font-size: revert; color: initial;\"> The solution for all iteration variables is also given in Table 1.<\/span><\/p>\n\n\n<figure class=\"wp-block-table is-style-stripes has-small-font-size\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Name<\/th><th class=\"has-text-align-left\" data-align=\"left\">Description<\/th><th class=\"has-text-align-left\" data-align=\"left\">Value \/ Initial guess<\/th><th class=\"has-text-align-left\" data-align=\"left\">Solutions<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Feed mole flow in kmol\/h in namespace e0p1<\/td><td class=\"has-text-align-left\" data-align=\"left\">1.0<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-fda1e51b12ba3624074fcbebad72b1fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Pressure in Pa in namespace e0e0<\/td><td class=\"has-text-align-left\" data-align=\"left\">101325<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-fda1e51b12ba3624074fcbebad72b1fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Pressure in Pa in namespace e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">80000<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-7e093fd43ad2c244140c11afe4d4bdff_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Temperature in K in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">354.6<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-3c18f17dd8c3124b4cb4f92e999d7040_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"30\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Feed mole fraction of component 1 in mol\/mol in namespace e0p1<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-002806486a867738b710521fa1a9cb38_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"31\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Feed mole fraction of component 2 in mol\/mol in namespace e0p1<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-4899476d9cda1792c62adfe9b0d19857_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"36\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">82.718<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-845a1e146a7ecf6645efd3aab3ca55ae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"36\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">-6904.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-a4d2287bf4b65b3a36020b258566cbaa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"36\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">-8.8622<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-9d793e3d71cd2230dc25213e1d9c122a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#68;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"38\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">7.4664E-6<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-c4f7a2bf2ef00b4ccd56a7a2cef40787_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"36\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">2.0<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-7a700e8669b8c55166a5d4bd9a86c641_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"37\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">73.649<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-68fe55972ebb87647a9fc36b840409e4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">-7258.2<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-dca1e1a3abcd21304e0d59330244a9db_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">-7.3037<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-22555f7f567b4e9dcfeabe35a6a81fc4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#68;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">4.1653E-6<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-5d308fac42eb3d75945b188321fe31bf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Parameter in DIPPR equation in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">2.0<\/td><td class=\"has-text-align-left\" data-align=\"left\">&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-79ff4457f47dca53f544a1e76cb9863f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;&#95;&#123;&#99;&#61;&#49;&#125;&#94;&#123;&#76;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"34\" style=\"vertical-align: -5px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Calculated vapor pressure of component 1 in Pa in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><td class=\"has-text-align-left\" data-align=\"left\">190176.44<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-79ff4457f47dca53f544a1e76cb9863f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;&#95;&#123;&#99;&#61;&#49;&#125;&#94;&#123;&#76;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"34\" style=\"vertical-align: -5px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Calculated vapor pressure of component 2 in Pa in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\"><\/td><td class=\"has-text-align-left\" data-align=\"left\">50216.55<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-52fd2a0fc27878e7dfce68d4632b4ffb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Liquid mole flow in kmol\/h in namespaces s0 and e0p2<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.579 \/ 0.278<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-54e215a7a583b4f357a5a627420bcf2f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Vapor mole flow in kmol\/h in namespaces e0e0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.421 \/ 0.300<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-3c18f17dd8c3124b4cb4f92e999d7040_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"30\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Liquid mole fraction of component 1 in mol\/mol in namespaces e0s0 and e0p2<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.365 \/ 0.213<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-002806486a867738b710521fa1a9cb38_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#95;&#123;&#105;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"31\" style=\"vertical-align: -3px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Liquid mole fraction of component 2 in mol\/mol in namespaces e0s0 and e0p2<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.635 \/ 0.787<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-a821d4400bd1e06055a0b2001cecac0d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#123;&#99;&#61;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"32\" style=\"vertical-align: -4px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Vapor mole fraction of component 1 in mol\/mol in namespaces e0s0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.685 \/ 0.506<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mosaic-modeling.de\/wp-content\/ql-cache\/quicklatex.com-774a03fc337a6db9c31cb10913568b60_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#123;&#99;&#61;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"33\" style=\"vertical-align: -4px;\"\/><\/td><td class=\"has-text-align-left\" data-align=\"left\">Vapor mole fraction of component 2 in mol\/mol in namespaces e0s0 and e0e1<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.5<\/td><td class=\"has-text-align-left\" data-align=\"left\">0.315 \/ 0.494<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Table 1: Overview of parameter values, initial guesses, and the solution.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this section the flash created in the third example for functions is used twice to assemble a flowsheet that is connected via ports and streams. Workflow Notation of flowsheet First, we need to define the notation of the flowsheet, which will be used for our ports and streams. Use the following base names and [&hellip;]<\/p>\n","protected":false},"author":188,"featured_media":0,"parent":834,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-856","page","type-page","status-publish","czr-hentry"],"_links":{"self":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/users\/188"}],"replies":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=856"}],"version-history":[{"count":29,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/856\/revisions"}],"predecessor-version":[{"id":6236,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/856\/revisions\/6236"}],"up":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/834"}],"wp:attachment":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}