{"id":2,"date":"2016-05-10T03:48:21","date_gmt":"2016-05-10T03:48:21","guid":{"rendered":"http:\/\/wp452m.a10-52-158-154.qa.plesk.ru\/wordpress\/?page_id=2"},"modified":"2017-02-17T12:06:58","modified_gmt":"2017-02-17T12:06:58","slug":"analysis","status":"publish","type":"page","link":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/?page_id=2","title":{"rendered":"Analysis"},"content":{"rendered":"<p><script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.1.1\/jquery.min.js\"><\/script><br \/>\n<script>\n$(document).ready(function(){\n  $(\".environmentalFactors\").hide();<\/p>\n<p>});\n<\/script><\/p>\n<div id=\"analysisSelectionForm\">\n<form action=\"action_page.php\">\n<p>  <b>Select processing type:<\/b> <br \/>\n  <select name=\"processingType\" id=\"processingType\"><option value=\"batch\">Batch processing<\/option><option value=\"continuous\">Continuous production<\/option><option value=\"batchAndContinuous\">Batch & Continuous production<\/option><\/select><\/p>\n<p><\/p>\n<p>  <b>Is real-time optimization intended?<\/b> <br \/>\n  <select name=\"realTimeOrReporting\" id=\"realTimeOrReporting\"><option value=\"realTime\">Yes<\/option><option value=\"reporting\">No<\/option><\/select><\/p>\n<p><\/p>\n<p>  <b>What are the relevant cost factors?<\/b> <br \/>\n  <select name=\"costFactor1\" onchange=\"showEnvironmentalFactors (1 ,this.value)\" id=\"costFactor1\"><option value=\"material\">Material<\/option><option value=\"energy\">Energy<\/option><option value=\"environment\">Environment<\/option><\/select><\/p>\n<p>  <select name=\"costFactor2\" onchange=\"showEnvironmentalFactors (2 ,this.value)\" id=\"costFactor2\"><option value=\"noEntry\"><\/option><option value=\"material\">Material<\/option><option value=\"energy\">Energy<\/option><option value=\"environment\">Environment<\/option><\/select><\/p>\n<p>  <select name=\"costFactor3\" onchange=\"showEnvironmentalFactors (3 ,this.value)\" id=\"costFactor3\"><option value=\"noEntry\"><\/option><option value=\"material\">Material<\/option><option value=\"energy\">Energy<\/option><option value=\"environment\">Environment<\/option><\/select><\/p>\n<p><\/p>\n<p>  <span class=\"environmentalFactors\"><b>Which environmental factors are relevant?<\/b><br \/>\n  <input type=\"checkbox\" name=\"gaseousEmissions\" id=\"gaseousEmissions\" value=\"realtimeOptimization\" class=\"environmentalFactors\">&nbsp; Gaseous emissions<br \/>\n  <input type=\"checkbox\" name=\"toxicEmissions\" id=\"toxicEmissions\" value=\"realtimeOptimization\" class=\"environmentalFactors\">&nbsp; Toxic emissions<br \/>\n  <input type=\"checkbox\" name=\"liquidEmissions\" id=\"liquidEmissions\" value=\"realtimeOptimization\" class=\"environmentalFactors\">&nbsp; Liquid emissions<br \/>\n  <input type=\"checkbox\" name=\"solidEmissions\" id=\"solidEmissions\" value=\"realtimeOptimization\" class=\"environmentalFactors\">&nbsp; Solid emissions<br \/>\n  <input type=\"checkbox\" name=\"waterConsumed\" id=\"waterConsumed\" value=\"realtimeOptimization\" class=\"environmentalFactors\">&nbsp; Water consumed<\/p>\n<p>  <\/span><\/p>\n<p>  <!--  <input type=\"submit\" value=\"Submit\">  --><\/p>\n<p>  <button type=\"button\" onclick=\"submitData ()\">Submit<\/button><br \/>\n  <\/form>\n<\/div>\n<p><script>\n  var costFactor1environmentSelected = false;\n  var costFactor2environmentSelected = false;\n  var costFactor3environmentSelected = false;<\/p>\n<p>  function showEnvironmentalFactors (selectionNumber, selectedHighestCostFactor) \n  {\n    \/\/if for one of the selections \"environment\" is selected: set the associted bool to \"true\", else set it to \"false\"\n    if (selectedHighestCostFactor == \"environment\")\n    {\n      if (selectionNumber == 1)\n      {\n        costFactor1environmentSelected = true;\n      }\n      else if (selectionNumber == 2)\n      {\n        costFactor2environmentSelected = true;\n      }\n      else if (selectionNumber == 3)\n      {\n        costFactor3environmentSelected = true;\n      }\n    }\n    else \n    {\n      if (selectionNumber == 1)\n      {\n        costFactor1environmentSelected = false;\n      }\n      else if (selectionNumber == 2)\n      {\n        costFactor2environmentSelected = false;\n      }\n      else if (selectionNumber == 3)\n      {\n        costFactor3environmentSelected = false;\n      }\n    }<\/p>\n<p>    \/\/if \"environment was selected in one of the three selector fields: show the environmental factors\n    if (costFactor1environmentSelected == true || costFactor2environmentSelected == true || costFactor3environmentSelected == true)\n    {\n      $(\".environmentalFactors\").show();\n    } \n    else \n    {\n      $(\".environmentalFactors\").hide();<\/p>\n<p>      $(\"#gaseousEmissions\").prop( \"checked\", false );\n      $(\"#toxicEmissions\").prop( \"checked\", false );\n      $(\"#liquidEmissions\").prop( \"checked\", false );\n      $(\"#solidEmissions\").prop( \"checked\", false );\n      $(\"#waterConsumed\").prop( \"checked\", false );\n    }<\/p>\n<p>  }<\/p>\n<p>  function submitData ()\n  {\n    \/\/set cookies\n    document.cookie = \"processingType=\" + document.getElementById(\"processingType\").value;\n    document.cookie = \"realTimeOrReporting=\" + document.getElementById(\"realTimeOrReporting\").value;<\/p>\n<p>    document.cookie = \"costFactor1=\" + document.getElementById(\"costFactor1\").value;\n    document.cookie = \"costFactor2=\" + document.getElementById(\"costFactor2\").value;\n    document.cookie = \"costFactor3=\" + document.getElementById(\"costFactor3\").value;<\/p>\n<p>    document.cookie = \"checkboxGaseous=\" + document.getElementById(\"gaseousEmissions\").checked;\n    document.cookie = \"checkboxToxic=\" + document.getElementById(\"toxicEmissions\").checked;\n    document.cookie = \"checkboxLiquid=\" + document.getElementById(\"liquidEmissions\").checked;\n    document.cookie = \"checkboxSolid=\" + document.getElementById(\"solidEmissions\").checked;\n    document.cookie = \"checkboxWater=\" + document.getElementById(\"waterConsumed\").checked;<\/p>\n<p>    \/\/redirect to evaluation page\n    location.href = '\/wordpress\/?page_id=193';\n  }<\/p>\n<p><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Select processing type: Batch processingContinuous productionBatch &#038; Continuous production Is real-time optimization intended? YesNo What are the relevant cost factors? MaterialEnergyEnvironment MaterialEnergyEnvironment MaterialEnergyEnvironment Which environmental factors are relevant? &nbsp; Gaseous emissions &nbsp; Toxic emissions &nbsp; Liquid emissions &nbsp; Solid emissions<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/more.bci.tu-dortmund.de\/wordpress\/?page_id=2\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"full-width-page.php","meta":[],"_links":{"self":[{"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/2"}],"collection":[{"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":86,"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":684,"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/684"}],"wp:attachment":[{"href":"http:\/\/more.bci.tu-dortmund.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}