From 35fc5d38cf2d4c26a2f5fdab84f013a649312a77 Mon Sep 17 00:00:00 2001 From: MarekMatejak Date: Fri, 20 Nov 2020 13:43:59 +0100 Subject: [PATCH] fix --- Chemical/package.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chemical/package.mo b/Chemical/package.mo index 47ad364..2a27c8b 100644 --- a/Chemical/package.mo +++ b/Chemical/package.mo @@ -2625,7 +2625,7 @@ of the modeller. Increase nFuildPorts to add an additional fluidPort. //solution flows enthalpy = actualStream(port_a.h_outflow) + stateOfMatter.molarEnthalpy(substanceData); - solution.dH = enthalpy*port_a.q. q - der(enthalpy)*nFreeBuffer; + solution.dH = enthalpy*port_a.q - der(enthalpy)*nFreeBuffer; solution.i = Modelica.Constants.F * z * port_a.q - Modelica.Constants.F*der(z)*nFreeBuffer; solution.dV = molarVolume * port_a.q - der(molarVolume)*nFreeBuffer;