Skip to content

Commit

Permalink
Merge pull request MarekMatejak#30 from MarekMatejak/ClimateChange
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
MarekMatejak committed Nov 20, 2020
2 parents 5f1a047 + 35fc5d3 commit 1fd8af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chemical/package.mo
Expand Up @@ -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;

Expand Down

0 comments on commit 1fd8af5

Please sign in to comment.