We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8365c56 commit 89f5f64Copy full SHA for 89f5f64
1 file changed
src/main/java/neqsim/processSimulation/processEquipment/heatExchanger/HeatExchanger.java
@@ -260,6 +260,7 @@ public void runSpecifiedStream(UUID id) {
260
/** {@inheritDoc} */
261
@Override
262
public void run(UUID id) {
263
+
264
if (getSpecification().equals("out stream")) {
265
runSpecifiedStream(id);
266
} else if (firstTime) {
@@ -278,6 +279,11 @@ public void run(UUID id) {
278
279
// streamToCalculate = 1;
280
// streamToSet = 0;
281
// }
282
283
+ // Make sure these streams to run because of the issues with enthalpy calculations if not run
284
+ for (StreamInterface stream : inStream) {
285
+ stream.run();
286
+ }
287
288
int streamToSet = 1;
289
SystemInterface systemOut0 = inStream[streamToSet].getThermoSystem().clone();
0 commit comments