{"id":1172,"date":"2016-12-31T12:33:43","date_gmt":"2016-12-31T11:33:43","guid":{"rendered":"http:\/\/projektcydr.pl\/?page_id=1172"},"modified":"2017-02-21T21:27:26","modified_gmt":"2017-02-21T20:27:26","slug":"refermentation","status":"publish","type":"page","link":"https:\/\/projektcydr.pl\/blog\/refermentation","title":{"rendered":"Refermentation"},"content":{"rendered":"<p>The following calculator can be used to assess the level of carbonation resulting from adding a given amount of sugar for refermentation. Also, it shows how changes of temperature influence the saturation level and internal pressure.<\/p>\n<p>As it does matter for the results, it can be selected whether the cider is initially saturated with CO2 as a result of storing\/aging under an airlock until the moment it is poured into the bottle\/keg, or not &#8211; e.g. all CO2 has been &#8222;lost&#8221; due to pasteurisation. The initial temperature and atmospheric pressure are there to estimate the amount of CO2 is initially present in the liquid.<\/p>\n<p>It can also be selected whther the empty volume is filled with air or pure CO2, e.g. when the refermentation is done in a keg.<\/p>\n<p>When refermenting in a keg, one need to apply some slight pressure to seal the lid &#8211; this can also be input to the calculations as the bigger the pressure, especially at larger empty volumes, the higher the target carbonation (which might explain why some claim refermentation in a keg results in higher saturation levels). Note, this is a one-time addition of CO2, not a constant inflow.<\/p>\n<p>Total pressure is what is expected to be inside the bottle\/keg (relative to the atmospheric pressure = on a gauge). Note that this is not only a CO2 pressure, but in certain cases can include also pressures of other gases &#8211; it is also shown.<\/p>\n<form name=\"cp_calculatedfieldsf_pform_1\" id=\"cp_calculatedfieldsf_pform_1\" action=\"?\" method=\"post\" enctype=\"multipart\/form-data\" class=\"cff-form \" >\n<input type=\"hidden\" name=\"cp_calculatedfieldsf_pform_psequence\" value=\"_1\" \/>\n<input type=\"hidden\" name=\"cp_calculatedfieldsf_id\" value=\"22\" \/><pre style=\"display:none !important;\"><script type=\"text\/javascript\">form_structure_1=[[{\"form_identifier\":\"\",\"name\":\"fieldname23\",\"shortlabel\":\"\",\"index\":0,\"ftype\":\"ffieldset\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"fields\":[\"fieldname32\",\"fieldname2\"],\"columns\":\"2\",\"title\":\"Keg \\\/ bottle\",\"fBuild\":{}},{\"form_identifier\":\"\",\"name\":\"fieldname25\",\"shortlabel\":\"\",\"index\":1,\"ftype\":\"ffieldset\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"fields\":[\"fieldname42\",\"fieldname43\",\"fieldname58\",\"fieldname54\",\"fieldname55\",\"fieldname69\",\"fieldname56\",\"fieldname57\"],\"columns\":\"2\",\"title\":\"Bottling and refermentation\",\"fBuild\":{},\"parent\":\"fieldname23\"},{\"form_identifier\":\"\",\"name\":\"fieldname48\",\"shortlabel\":\"\",\"index\":2,\"ftype\":\"ffieldset\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"fields\":[\"fieldname59\",\"fieldname70\",\"fieldname61\",\"fieldname71\",\"fieldname66\",\"fieldname67\",\"fieldname73\",\"fieldname74\",\"fieldname72\",\"fieldname75\",\"fieldname52\"],\"columns\":\"2\",\"title\":\"Results\",\"fBuild\":{},\"parent\":\"fieldname23\"},{\"form_identifier\":\"\",\"name\":\"fieldname13\",\"shortlabel\":\"\",\"index\":3,\"ftype\":\"fSectionBreak\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"\",\"fBuild\":{}},{\"form_identifier\":\"\",\"name\":\"fieldname2\",\"shortlabel\":\"\",\"index\":4,\"ftype\":\"fnumber\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"szyjka\",\"title\":\"empty volume [L]\",\"predefined\":\"0,01\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"0\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname23\"},{\"form_identifier\":\"\",\"name\":\"fieldname42\",\"shortlabel\":\"\",\"index\":5,\"ftype\":\"fnumber\",\"userhelp\":\"at bottling\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"initial temp. [\\u003Csup\\u003Eo\\u003C\\\/sup\\u003EC]\",\"predefined\":\"10\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname58\",\"shortlabel\":\"\",\"index\":6,\"ftype\":\"fnumber\",\"userhelp\":\"during refermentation\\\/serving\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"target temp. [\\u003Csup\\u003Eo\\u003C\\\/sup\\u003EC]\",\"predefined\":\"10\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname43\",\"shortlabel\":\"\",\"index\":7,\"ftype\":\"fnumber\",\"userhelp\":\"at bottling\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"atmospheric pressure [hPa]\",\"predefined\":\"1013,25\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"0\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname57\",\"shortlabel\":\"\",\"index\":8,\"ftype\":\"fnumber\",\"userhelp\":\"on gauge\",\"userhelpTooltip\":false,\"csslayout\":\"column2\",\"title\":\"keg lid sealing pressure [bar]\",\"predefined\":\"0,1\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"0\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname55\",\"shortlabel\":\"\",\"index\":9,\"ftype\":\"fradio\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Is cider initially saturated with CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E:\",\"layout\":\"one_column\",\"required\":true,\"choiceSelected\":\"yes - 1\",\"showDep\":false,\"choices\":[\"yes\",\"no\"],\"choicesVal\":[\"1\",\"0\"],\"choicesDep\":[[],[]],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname56\",\"shortlabel\":\"\",\"index\":10,\"ftype\":\"fradio\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Empty space is filled with:\",\"layout\":\"one_column\",\"required\":true,\"choiceSelected\":\"air - 0\",\"showDep\":true,\"choices\":[\"air\",\"CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E\"],\"choicesVal\":[\"0\",\"1\"],\"choicesDep\":[[],[\"fieldname57\"]],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname54\",\"shortlabel\":\"\",\"index\":11,\"ftype\":\"fnumber\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"column2\",\"title\":\"added sugar [g]\",\"predefined\":\"5\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"0\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname32\",\"shortlabel\":\"\",\"index\":12,\"ftype\":\"fnumber\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"total volume [L]\",\"predefined\":\"0,5\",\"predefinedClick\":false,\"required\":true,\"size\":\"small\",\"thousandSeparator\":\" \",\"decimalSymbol\":\",\",\"min\":\"0\",\"max\":\"\",\"dformat\":\"number\",\"formats\":[\"digits\",\"number\"],\"fBuild\":{},\"parent\":\"fieldname23\"},{\"form_identifier\":\"\",\"name\":\"fieldname61\",\"shortlabel\":\"\",\"index\":13,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"co2volkon\",\"title\":\"\\u003Cb\\u003Etarget saturation [vol CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E]\\u003C\\\/b\\u003E\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname71\",\"shortlabel\":\"\",\"index\":14,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"co2volkon_gL\",\"title\":\"\\u003Cb\\u003Etarget saturation [g CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E\\\/L]\\u003C\\\/b\\u003E\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname67\",\"shortlabel\":\"\",\"index\":15,\"ftype\":\"fCalculated\",\"userhelp\":\"absolute\",\"userhelpTooltip\":false,\"csslayout\":\"pinneb_bar\",\"title\":\"incl. pressure of other gases [bar]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname74\",\"shortlabel\":\"\",\"index\":16,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"pinneb_psi\",\"title\":\"incl. pressure of other gases [psi]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname75\",\"shortlabel\":\"\",\"index\":17,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"pinneb_atm\",\"title\":\"incl. pressure of other gases [atm]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname66\",\"shortlabel\":\"\",\"index\":18,\"ftype\":\"fCalculated\",\"userhelp\":\"relative \\\/ on gauge\",\"userhelpTooltip\":false,\"csslayout\":\"ptotalw_bar\",\"title\":\"total pressure [bar]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname73\",\"shortlabel\":\"\",\"index\":19,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"ptotalw_psi\",\"title\":\"total pressure [psi]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname72\",\"shortlabel\":\"\",\"index\":20,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"ptotalw_atm\",\"title\":\"total pressure [atm]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname59\",\"shortlabel\":\"\",\"index\":21,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"co2volpocz\",\"title\":\"initial saturation [vol CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname70\",\"shortlabel\":\"\",\"index\":22,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"co2volpocz_gL\",\"title\":\"initial saturation [g CO\\u003Csub\\u003E2\\u003C\\\/sub\\u003E\\\/L]\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"fBuild\":{},\"parent\":\"fieldname48\"},{\"form_identifier\":\"\",\"name\":\"fieldname69\",\"shortlabel\":\"\",\"index\":23,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"dummy\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"\",\"optimizeEq\":false,\"eq_factored\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":true,\"fBuild\":{},\"parent\":\"fieldname25\"},{\"form_identifier\":\"\",\"name\":\"fieldname52\",\"shortlabel\":\"\",\"index\":24,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"obliczenia\",\"predefined\":\"\",\"required\":false,\"size\":\"small\",\"toolbar\":\"default|mathematical\",\"eq\":\"jQuery( '.szyjka input' ).attr({\\u0022max\\u0022 : fieldname32});\\n\\nvar ppocz = fieldname43*100;\\nvar pco2pocz;\\nvar po2pocz;\\nvar pn2pocz;\\n\\nif (fieldname55 == 1) {\\npco2pocz = ppocz;\\npo2pocz = 0;\\npn2pocz = 0;\\n}\\nelse {\\npco2pocz = ppocz * 0.0004;\\npo2pocz = ppocz * 0.21;\\npn2pocz = ppocz * 0.78;\\n}\\n\\nvar nco2pocz = 0.00033*EXP(2400*(1\\\/(fieldname42+273.15)-1\\\/298.15))*pco2pocz*(fieldname32-fieldname2)\\\/1000;\\nvar no2pocz = 0.000012*EXP(1700*(1\\\/(fieldname42+273.15)-1\\\/298.15))*po2pocz*(fieldname32-fieldname2)\\\/1000;\\nvar nn2pocz = 0.0000064*EXP(1600*(1\\\/(fieldname42+273.15)-1\\\/298.15))*pn2pocz*(fieldname32-fieldname2)\\\/1000;\\n\\nvar pco2poczwo;\\nvar po2poczwo;\\nvar pn2poczwo;\\n\\nif (fieldname56 == 1) {\\npco2poczwo = ppocz+fieldname57*100000;\\npo2poczwo = 0;\\npn2poczwo = 0;\\n}\\nelse {\\npco2poczwo = ppocz * 0.0004;\\npo2poczwo = ppocz * 0.21;\\npn2poczwo = ppocz * 0.78;\\n}\\n\\nvar nco2poczwo = pco2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar no2poczwo = po2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar nn2poczwo = pn2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar nco2fer = 47\\\/100*fieldname54\\\/44;\\n\\nvar pruco2 = (nco2fer+nco2pocz+nco2poczwo)\\\/(fieldname32\\\/1000*0.00033*EXP(2400*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar pruo2 = (no2pocz+no2poczwo)\\\/(fieldname32\\\/1000*0.000012*EXP(1700*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar prun2 = (nn2pocz+nn2poczwo)\\\/(fieldname32\\\/1000*0.0000064*EXP(1600*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar nco2kon=0.00033*EXP(2400*(1\\\/(fieldname58+273.15)-1\\\/298.15))*pruco2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar no2kon=0.000012*EXP(1700*(1\\\/(fieldname58+273.15)-1\\\/298.15))*pruo2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar nn2kon=0.0000064*EXP(1600*(1\\\/(fieldname58+273.15)-1\\\/298.15))*prun2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar ptotalw = (pruco2+pruo2+prun2)\\\/101325-1;\\nvar pinneb = (pruo2+prun2)\\\/101325;\\n\\nvar co2volpocz = nco2pocz*(22.415\\\/(fieldname32-fieldname2));\\nvar co2volkon = nco2kon*(22.415\\\/(fieldname32-fieldname2));\\n\\njQuery( '.co2volpocz input' ).val(prec(co2volpocz,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volpocz_gL input' ).val(prec(co2volpocz\\\/22.415*44,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volkon input' ).val(prec(co2volkon,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volkon_gL input' ).val(prec(co2volkon\\\/22.415*44,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_bar input' ).val(prec(ptotalw*101325\\\/100000,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_bar input' ).val(prec(pinneb*101325\\\/100000,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_psi input' ).val(prec(ptotalw*101325\\\/6894.75729,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_psi input' ).val(prec(pinneb*101325\\\/6894.75729,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_atm input' ).val(prec(ptotalw,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_atm input' ).val(prec(pinneb,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\",\"optimizeEq\":false,\"eq_factored\":\"(jQuery( '.szyjka input' ).attr({\\u0022max\\u0022 : fieldname32});\\n\\nvar ppocz = fieldname43*100;\\nvar pco2pocz;\\nvar po2pocz;\\nvar pn2pocz;\\n\\nif (fieldname55 == 1) {\\npco2pocz = ppocz;\\npo2pocz = 0;\\npn2pocz = 0;\\n}\\nelse {\\npco2pocz = ppocz * 0.0004;\\npo2pocz = ppocz * 0.21;\\npn2pocz = ppocz * 0.78;\\n}\\n\\nvar nco2pocz = 0.00033*EXP(2400*(1\\\/(fieldname42+273.15)-1\\\/298.15))*pco2pocz*(fieldname32-fieldname2)\\\/1000;\\nvar no2pocz = 0.000012*EXP(1700*(1\\\/(fieldname42+273.15)-1\\\/298.15))*po2pocz*(fieldname32-fieldname2)\\\/1000;\\nvar nn2pocz = 0.0000064*EXP(1600*(1\\\/(fieldname42+273.15)-1\\\/298.15))*pn2pocz*(fieldname32-fieldname2)\\\/1000;\\n\\nvar pco2poczwo;\\nvar po2poczwo;\\nvar pn2poczwo;\\n\\nif (fieldname56 == 1) {\\npco2poczwo = ppocz+fieldname57*100000;\\npo2poczwo = 0;\\npn2poczwo = 0;\\n}\\nelse {\\npco2poczwo = ppocz * 0.0004;\\npo2poczwo = ppocz * 0.21;\\npn2poczwo = ppocz * 0.78;\\n}\\n\\nvar nco2poczwo = pco2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar no2poczwo = po2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar nn2poczwo = pn2poczwo*fieldname2\\\/1000\\\/8.314459848\\\/(fieldname42+273.15);\\nvar nco2fer = 47\\\/100*fieldname54\\\/44;\\n\\nvar pruco2 = (nco2fer+nco2pocz+nco2poczwo)\\\/(fieldname32\\\/1000*0.00033*EXP(2400*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar pruo2 = (no2pocz+no2poczwo)\\\/(fieldname32\\\/1000*0.000012*EXP(1700*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar prun2 = (nn2pocz+nn2poczwo)\\\/(fieldname32\\\/1000*0.0000064*EXP(1600*(1\\\/(fieldname58+273.15)-1\\\/298.15))+fieldname2\\\/1000\\\/8.314459848\\\/(fieldname58+273.15));\\n\\nvar nco2kon=0.00033*EXP(2400*(1\\\/(fieldname58+273.15)-1\\\/298.15))*pruco2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar no2kon=0.000012*EXP(1700*(1\\\/(fieldname58+273.15)-1\\\/298.15))*pruo2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar nn2kon=0.0000064*EXP(1600*(1\\\/(fieldname58+273.15)-1\\\/298.15))*prun2*(fieldname32-fieldname2)\\\/1000;\\n\\nvar ptotalw = (pruco2+pruo2+prun2)\\\/101325-1;\\nvar pinneb = (pruo2+prun2)\\\/101325;\\n\\nvar co2volpocz = nco2pocz*(22.415\\\/(fieldname32-fieldname2));\\nvar co2volkon = nco2kon*(22.415\\\/(fieldname32-fieldname2));\\n\\njQuery( '.co2volpocz input' ).val(prec(co2volpocz,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volpocz_gL input' ).val(prec(co2volpocz\\\/22.415*44,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volkon input' ).val(prec(co2volkon,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.co2volkon_gL input' ).val(prec(co2volkon\\\/22.415*44,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_bar input' ).val(prec(ptotalw*101325\\\/100000,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_bar input' ).val(prec(pinneb*101325\\\/100000,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_psi input' ).val(prec(ptotalw*101325\\\/6894.75729,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_psi input' ).val(prec(pinneb*101325\\\/6894.75729,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\n\\njQuery( '.ptotalw_atm input' ).val(prec(ptotalw,2).toString().replace(\\\/\\\\.\\\/g, ',') ); \\njQuery( '.pinneb_atm input' ).val(prec(pinneb,2).toString().replace(\\\/\\\\.\\\/g, ',') );)\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\",\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":true,\"fBuild\":{},\"parent\":\"fieldname48\"}],{\"0\":{\"title\":\"Refermentation\",\"description\":\"\",\"formlayout\":\"top_aligned\",\"formtemplate\":\"cp_cff_natural\",\"evalequations\":1,\"autocomplete\":1},\"formid\":\"cp_calculatedfieldsf_pform_1\"}];<\/script><\/pre>\n<div id=\"fbuilder\">\n\t\t<div id=\"fbuilder_1\">\n\t\t<div id=\"formheader_1\"><\/div>\n\t\t<div id=\"fieldlist_1\"><\/div>\n\t\t<div class=\"clearer\"><\/div>\n\t<\/div>\n<\/div>\n<div class=\"clearer\"><\/div>\n<\/form>\n\t\n<p>The model used is slightly simplified: it does not account for vapour pressures, changes of volume of the liquid, and possibly other details I did not even think about :). Also, it uses Henry&#8217;s law directly, without accounting for a slightly increased solubility of CO2 in a mix of water and ethanol.<\/p>\n<p>For more background information ref. <a href=\"http:\/\/projektcydr.pl\/blog\/?p=1083\">link<\/a> (in Polish though..)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following calculator can be used to assess the level of carbonation resulting from adding a given amount of sugar for refermentation. Also, it shows how changes of temperature influence the saturation level and internal pressure. As it does matter &hellip; <a href=\"https:\/\/projektcydr.pl\/blog\/refermentation\">Czytaj dalej <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1172","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/pages\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":7,"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/pages\/1172\/revisions"}],"predecessor-version":[{"id":1179,"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/pages\/1172\/revisions\/1179"}],"wp:attachment":[{"href":"https:\/\/projektcydr.pl\/blog\/wp-json\/wp\/v2\/media?parent=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}