summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda-br2023-01-04 11:40:04 -0800
committerbrenda-br2023-01-04 11:40:04 -0800
commitb6c654ccdd0e401bfc4e651fe533512dba320e4c (patch)
tree81a10fb4f813be42640c8b847c7c660faeab0278
parentb6b8406809dd964f551fd3d57d3a47ea0d993941 (diff)
downloadChemical-Simulator-GUI-b6c654ccdd0e401bfc4e651fe533512dba320e4c.tar.gz
Chemical-Simulator-GUI-b6c654ccdd0e401bfc4e651fe533512dba320e4c.tar.bz2
Chemical-Simulator-GUI-b6c654ccdd0e401bfc4e651fe533512dba320e4c.zip
Disabling SM Simulation Mode
some changes have been made to BinaryEnvelopes.mo
-rw-r--r--Simulator/BinaryEnvelopes.mo14
-rw-r--r--main.ui3
2 files changed, 12 insertions, 5 deletions
diff --git a/Simulator/BinaryEnvelopes.mo b/Simulator/BinaryEnvelopes.mo
index 9eed56a..590888d 100644
--- a/Simulator/BinaryEnvelopes.mo
+++ b/Simulator/BinaryEnvelopes.mo
@@ -1,11 +1,11 @@
package BinaryEnvelopes
model NRTL
- parameter Integer NOC;
+ parameter Integer Nc;
parameter Integer data_points;
- parameter Real BIP[NOC, NOC, 2] = Simulator.Files.Thermodynamic_Functions.BIPNRTL(NOC, comp.CAS);
- parameter Simulator.Files.Chemsep_Database.General_Properties comp[NOC];
- Simulator.Binary_Phase_Envelope.Binary_Phase_Envelope_NRTL.base points[data_points](each NOC = NOC, each comp = comp, each BIP = BIP);
- Real x[data_points, NOC], y[data_points, NOC], P[data_points], T[data_points];
+ parameter Real BIP[Nc, Nc, 2] = Simulator.Files.ThermodynamicFunctions.BIPNRTL(Nc, comp.CAS);
+ parameter Simulator.Files.ChemsepDatabase.GeneralProperties comp[Nc];
+ Simulator.BinaryPhaseEnvelope.BinaryPhaseEnvelopeNRTL.base points[data_points](each Nc = Nc, each comp = comp, each BIP = BIP);
+ Real x[data_points, Nc], y[data_points, Nc], P[data_points], T[data_points];
equation
points[:].x = x;
points[:].y = y;
@@ -16,4 +16,8 @@ package BinaryEnvelopes
end for;
end NRTL;
+
+
+
+
end BinaryEnvelopes;
diff --git a/main.ui b/main.ui
index b19f1f5..aa9350a 100644
--- a/main.ui
+++ b/main.ui
@@ -2064,6 +2064,9 @@
</property>
</action>
<action name="actionSequentialMode">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
<iconset>
<normaloff>Icons/sq.png</normaloff>Icons/sq.png</iconset>