summaryrefslogtreecommitdiff
path: root/Simulator/BinaryEnvelopes.mo
diff options
context:
space:
mode:
Diffstat (limited to 'Simulator/BinaryEnvelopes.mo')
-rw-r--r--Simulator/BinaryEnvelopes.mo14
1 files changed, 9 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;