diff options
author | brenda-br | 2023-01-04 11:40:04 -0800 |
---|---|---|
committer | brenda-br | 2023-01-04 11:40:04 -0800 |
commit | b6c654ccdd0e401bfc4e651fe533512dba320e4c (patch) | |
tree | 81a10fb4f813be42640c8b847c7c660faeab0278 | |
parent | b6b8406809dd964f551fd3d57d3a47ea0d993941 (diff) | |
download | Chemical-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.mo | 14 | ||||
-rw-r--r-- | main.ui | 3 |
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; @@ -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> |