diff --git a/Simulator/Examples/Absorption.mo b/Simulator/Examples/Absorption.mo
index 901a9c8..a34a48c 100644
--- a/Simulator/Examples/Absorption.mo
+++ b/Simulator/Examples/Absorption.mo
@@ -63,4 +63,4 @@ package Absorption "Example of Simulating an Absorption Column"
end AbsorptionSimulation;
annotation(
Documentation(info = "
Following problem statement is simulated in this Absorption Column example:
Problem Statement:
Component System: Air, Water, AcetoneThermodynamics: Raoult's Law
Material Stream Information
Feed Stream 1 (Solvent)
Molar Flow Rate: 30 mol/s
Mole Fraction (Water): 1
Pressure: 101325 Pa
Temperature: 325 K
Feed Stream 2 (Gas Mixture)
Molar Flow Rate: 30 mol/s
Mole Fraction (Air): 0.5
Mole Fraction (Acetone): 0.5
Pressure: 101325 Pa
Temperature: 335 K
Simulate an absorption column with 10 stages where the solvent enters from the top and gas mixture enters from bottom to remove acetone from air.
This package is created to demnostrate the simualtion of an Absorption Column. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- Tray (Non-executable model): created to extend the tray along with the necessary thermodynamic package.
- AbsColumn (Non-executable model): created to extend the Absorption Column along with the necessary thermodynamic package.
- AbsorptionSimulation (Executable model): All the components are defined, material stream & Absorption Column specifications are declared, model instances are connected to make the file executable.
"));
-end Absorption;
+end Absorption;
\ No newline at end of file
diff --git a/Simulator/Examples/CompositeMS.mo b/Simulator/Examples/CompositeMS.mo
index 6f70299..91c5cdc 100644
--- a/Simulator/Examples/CompositeMS.mo
+++ b/Simulator/Examples/CompositeMS.mo
@@ -28,4 +28,4 @@ package CompositeMS "Example of Simulating a Material Stream"
end MatStreamSimulation;
annotation(
Documentation(info = "Following problem statement is simulated in this Material Stream example
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 368 K
Simulate a material stream to compute all its thermo-physical properties at conditions mentioned above.
This package is created to demnostrate the simualtion of a Material Stream. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package
- MatStreamSimulation (Executable model): All the components are defined, material stream specifications are declared to make the file executable.
"));
-end CompositeMS;
+end CompositeMS;
\ No newline at end of file
diff --git a/Simulator/Examples/Compressor.mo b/Simulator/Examples/Compressor.mo
index 2f40a8d..c5df3c6 100644
--- a/Simulator/Examples/Compressor.mo
+++ b/Simulator/Examples/Compressor.mo
@@ -48,4 +48,4 @@ package Compressor "Example of Simulating an Adiabatic Compressor"
end CompressorSimulation;
annotation(
Documentation(info = "Following problem statement is simulated in this Adiabatic Compressor example
Component System: Benzene, TouleneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 202650 Pa
Temperature: 372 K
Simulate an adiabatic compressor to reduce the pressure of a vapor material stream such that the pressure increase is 10000 Pa. Assume the compressor to be operated at efficiency of 75%.
This package is created to demnostrate the simualtion of an Adiabatic Compressor. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package
- AdiabComp (Non-executable model): created to extend the adiabatic compressor along with the necessary thermodynamic package.
- CompressorSimulation (Executable model): All the components are defined, material stream & compressor specifications are declared, model instances are connected to make the file executable.
"));
-end Compressor;
+end Compressor;
\ No newline at end of file
diff --git a/Simulator/Examples/ConversionReactor.mo b/Simulator/Examples/ConversionReactor.mo
index 214cce9..f02d5d1 100644
--- a/Simulator/Examples/ConversionReactor.mo
+++ b/Simulator/Examples/ConversionReactor.mo
@@ -16,9 +16,6 @@ package ConversionReactor "Example of Simulating a Conversion Reactor"
annotation(
Documentation(info = "This is a non-executable model is created inside the package CR to extend the ConversionReactor model along with the necessary reaction from Reaction Manager which is ConversionReaction in this case.
It will be instantiated in the
ConvReactSimulation model to create the required number of instances of the adiabatic expander model.
"));
end ConvReactor;
- annotation(
- Documentation(info = "Following problem statement is simulated in this Conversion Reactor example
Component System: Ethyl Acetate, Water, Acetic Acid, EthanolThermodynamics: NRTL
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Ethyl Acetate): 0
Mole Fraction (Water): 0
Mole Fraction (Acetic Acid): 0.4
Mole Fraction (Ethanol): 0.6
Pressure: 101325 Pa
Temperature: 300 K
Simulate a conversion reactor where Acetic Acid reacts with Ethanol to form Ethyl Acetate and Water. The conversion of acetic acid is 60%. Assume the reactor to be operated isothermally.
This package is created to demnostrate the simualtion of a Conversion Reactor. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- ConvReactor (Non-executable model): created to extend the conversion reactor along with the reaction manager.
- ConvReactSimulation (Executable model): All the components are defined, material stream & conversion reactor specifications are declared, model instances are connected to make the file executable.
"));
-
model ConvReactSimulation "Calculation of mole flows at outlet from given reaction conversion during production of Ethyl acetate by reacting Ethanol and Acetic Acid in a Conversion Reactor"
extends Modelica.Icons.Example;
@@ -52,8 +49,10 @@ package ConversionReactor "Example of Simulating a Conversion Reactor"
S1.T = 300;
S1.x_pc[1, :] = {0, 0, 0.4, 0.6};
S1.F_p[1] = 100;
- annotation(
+ annotation(
Documentation(info = "This is an executable model to simualate the CR example where all the components are defined, material stream, conversion reactor & conversion reaction specifications are declared, model instances are connected.
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Ethyl Acetate): 0
Mole Fraction (Water): 0
Mole Fraction (Acetic Acid): 0.4
Mole Fraction (Ethanol): 0.6
Pressure: 101325 Pa
Temperature: 300 K
Reaction
Acetic Acid + Ethanol ----> Ethyl Acetate + Water
Conversion Reactor Specification: Conversion of Acetic Acid: 30% Operation Mode: isothermal
"));
- end ConvReactSimulation;
+ end ConvReactSimulation;
+ annotation(
+ Documentation(info = "Following problem statement is simulated in this Conversion Reactor example
Component System: Ethyl Acetate, Water, Acetic Acid, EthanolThermodynamics: NRTL
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Ethyl Acetate): 0
Mole Fraction (Water): 0
Mole Fraction (Acetic Acid): 0.4
Mole Fraction (Ethanol): 0.6
Pressure: 101325 Pa
Temperature: 300 K
Simulate a conversion reactor where Acetic Acid reacts with Ethanol to form Ethyl Acetate and Water. The conversion of acetic acid is 60%. Assume the reactor to be operated isothermally.
This package is created to demnostrate the simualtion of a Conversion Reactor. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- ConvReactor (Non-executable model): created to extend the conversion reactor along with the reaction manager.
- ConvReactSimulation (Executable model): All the components are defined, material stream & conversion reactor specifications are declared, model instances are connected to make the file executable.
"));
-end ConversionReactor;
+end ConversionReactor;
\ No newline at end of file
diff --git a/Simulator/Examples/Distillation.mo b/Simulator/Examples/Distillation.mo
index 1afa644..72d7491 100644
--- a/Simulator/Examples/Distillation.mo
+++ b/Simulator/Examples/Distillation.mo
@@ -260,4 +260,4 @@ package Distillation "Example of Simulating a Distillation Column"
end DistillationSimulation_Ex5;
annotation(
Documentation(info = "Following five problem statement are simulated in this Distillation Column example:
Problem Statement 1:
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 298.15 K
Simulate a distillation column with 4 stages (excluding condenser and reboiler) where the feed is entering the 3rd stage. The column is operated at uniform pressure of 101325 Pa and with a partial condenser. The column is specified to have reflux ratio of 2 and bottoms flow rate of 50 mol/s.
Problem Statement 2:
Component System: Benzene, Toluene
Thermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 298.15 K
Simulate a distillation column with 12 stages (excluding condenser and reboiler) where the feed is entering the 7th stage. The column is operated at uniform pressure of 101325 Pa and with a total condenser. The column is specified to have reflux ratio of 2 and bottoms flow rate of 50 mol/s.
Problem Statement 3:
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.3
Mole Fraction (Toluene): 0.7
Pressure: 101325 Pa
Temperature: 298.15 K
Simulate a distillation column with 22 stages (excluding condenser and reboiler) where the feed is entering the 10th stage. The column is operated at uniform pressure of 101325 Pa and with a total condenser. The column is specified to have reflux ratio of 1.5 and bottoms flow rate of 70 mol/s.
Problem Statement 4:
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 96.8 mol/s
Mole Fraction (Benzene): 0.3
Mole Fraction (Toluene): 0.7
Pressure: 101325 Pa
Temperature: 298.15 K
Simulate a distillation column with 22 stages (excluding condenser and reboiler) where the feed is entering the 10th stage. The column is operated at top pressure of 151325 Pa and with a total condenser. The bottom pressure of the column is 101325 Pa. The column is specified to have reflux ratio of 1.5 and bottoms flow rate of 70 mol/s.
Problem Statement 5:
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Feed Stream 1
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 298.15 K
Feed Stream 2
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 298.15 K
Simulate a distillation column with 5 stages (excluding condenser and reboiler) where the feed streams are entering the 3rd and 4th stage. The column is operated at uniform pressure of 101325 Pa and with a partial condenser. The column is specified to have reflux ratio of 2 and bottoms flow rate of 50 mol/s.
This package is created to demnostrate the simualtion of Distillation Column. Following models are created inside the package:
- Condenser (Non-executable model): created to extend the condenser along with the necessary thermodynamic package.
- Tray (Non-executable model): created to extend the tray along with the necessary thermodynamic package.
- Reboiler (Non-executable model): created to extend the reboiler along with the necessary thermodynamic package.
- DistColumn (Non-executable model): created to extend the Distillation Column along with the necessary thermodynamic package.
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- DistillationSimulation_Ex1 (Executable model for Problem Statement 1): All the components are defined, material stream & Distillation Column specifications are declared, model instances are connected to make the file executable.
- DistillationSimulation_Ex2 (Executable model for Problem Statement 2): All the components are defined, material stream & Distillation Column specifications are declared, model instances are connected to make the file executable.
- DistillationSimulation_Ex3 (Executable model for Problem Statement 3): All the components are defined, material stream & Distillation Column specifications are declared, model instances are connected to make the file executable.
- DistillationSimulation_Ex4 (Executable model for Problem Statement 4): All the components are defined, material stream & Distillation Column specifications are declared, model instances are connected to make the file executable.
- DistillationSimulation_Ex5 (Executable model for Problem Statement 5): All the components are defined, material stream & Distillation Column specifications are declared, model instances are connected to make the file executable.
"));
-end Distillation;
+end Distillation;
\ No newline at end of file
diff --git a/Simulator/Examples/Expander.mo b/Simulator/Examples/Expander.mo
index aae24c6..197c2b8 100644
--- a/Simulator/Examples/Expander.mo
+++ b/Simulator/Examples/Expander.mo
@@ -36,16 +36,16 @@ package Expander "Example of Simulating an Adiabatic Expander"
Simulator.Streams.EnergyStream E1 annotation(
Placement(visible = true, transformation(origin = {-30, -60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
-//================================================================
-//Connections
+ //================================================================
+ //Connections
connect(E1.Out, B1.En) annotation(
Line(points = {{-20, -60}, {-2, -60}, {-2, -16}, {-2, -16}}, color = {255, 0, 0}));
connect(B1.Out, S2.In) annotation(
Line(points = {{20, 0}, {52, 0}, {52, 0}, {52, 0}}, color = {0, 70, 70}));
connect(S1.Out, B1.In) annotation(
Line(points = {{-72, 0}, {-26, 0}, {-26, 0}, {-26, 0}}, color = {0, 70, 70}));
-//================================================================
-//Inputs and Specifications
+ //================================================================
+ //Inputs and Specifications
S1.x_pc[1, :] = {0.5, 0.5};
S1.P = 131325;
S1.T = 372;
@@ -56,4 +56,4 @@ package Expander "Example of Simulating an Adiabatic Expander"
end ExpanderSimulation;
annotation(
Documentation(info = "Following problem statement is simulated in this Adiabatic Expander example
Component System: Benzene, TouleneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 131325 Pa
Temperature: 372 K
Simulate an adiabatic expander to reduce the pressure of a vapor material stream such that the pressure drop is 10000 Pa. Assume the expander to be operated at efficiency of 75%.
This package is created to demnostrate the simualtion of an Adiabatic Expander. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- AdiabExp (Non-executable model): created to extend the adiabatic expander along with the necessary thermodynamic package.
- ExpanderSimulation (Executable model): All the components are defined, material stream & expander specifications are declared, model instances are connected to make the file executable.
"));
-end Expander;
+end Expander;
\ No newline at end of file
diff --git a/Simulator/Examples/Flash.mo b/Simulator/Examples/Flash.mo
index 33ab4ec..c0906d5 100644
--- a/Simulator/Examples/Flash.mo
+++ b/Simulator/Examples/Flash.mo
@@ -57,4 +57,4 @@ package Flash "Example of Simulating a Flash Separator"
annotation(
Documentation(info = "Following problem statement is simulated in this Flash Column example
Component System: Benzene, TolueneThermodynamics: Raoult's Law
Material Stream Information
Molar Flow Rate: 100 mol/s
Mole Fraction (Benzene): 0.5
Mole Fraction (Toluene): 0.5
Pressure: 101325 Pa
Temperature: 368 K
Simulate a flash column operating at the feed temperature and pressure.
This package is created to demnostrate the simualtion of a Flash Column. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- FlashSep (Non-executable model): created to extend the flash column along with the necessary thermodynamic package.
- FlashSimulation (Executable model): All the components are defined, material stream & flash column specifications are declared, model instances are connected to make the file executable.
"));
-end Flash;
+end Flash;
\ No newline at end of file
diff --git a/Simulator/Examples/HeatExchanger.mo b/Simulator/Examples/HeatExchanger.mo
index 35df6f6..26d42dc 100644
--- a/Simulator/Examples/HeatExchanger.mo
+++ b/Simulator/Examples/HeatExchanger.mo
@@ -1,12 +1,13 @@
within Simulator.Examples;
-
+
package HeatExchanger "Example of Simulating Heat Exchanger"
//================================================================================================================
extends Modelica.Icons.ExamplesPackage;
+
model MS "Extension of Material Stream with Raoult's Law"
extends Simulator.Streams.MaterialStream;
extends Simulator.Files.ThermodynamicPackages.RaoultsLaw;
- annotation(
+ annotation(
Documentation(info = "This is a non-executable model is created inside the package Cooler to extend the MaterialStream model along with the necessary property method from ThermodynamicPackages which is RaoultsLaw in this case."));
end MS;
@@ -51,18 +52,15 @@ package HeatExchanger "Example of Simulating Heat Exchanger"
end HXSimulation;
model ShellnTubeHXSimulation "Calculating outlet temperatures of material stream by specifying the shell and tube side properties in a Heat Exchanger"
- extends Modelica.Icons.Example;
- import data = Simulator.Files.ChemsepDatabase;
-
+ extends Modelica.Icons.Example;
+ import data = Simulator.Files.ChemsepDatabase;
parameter data.Water wat;
parameter data.Noctane oct;
parameter data.Nnonane non;
parameter data.Ndecane dec;
-
parameter Integer Nc = 4;
- parameter data.GeneralProperties C[Nc] = {wat,oct,non,dec};
-
- Simulator.UnitOperations.HeatExchanger B1( C = C,Cmode = "Design", Mode = "CounterCurrent", Nc = Nc, Pdelc = 0, Pdelh = 0, Qloss = 0) annotation(
+ parameter data.GeneralProperties C[Nc] = {wat, oct, non, dec};
+ Simulator.UnitOperations.HeatExchanger B1(C = C, Cmode = "Design", Mode = "CounterCurrent", Nc = Nc, Pdelc = 0, Pdelh = 0, Qloss = 0) annotation(
Placement(visible = true, transformation(origin = {-16, -2}, extent = {{-22, -22}, {22, 22}}, rotation = 0)));
Simulator.Examples.HeatExchanger.MS S1(Nc = Nc, C = C) annotation(
Placement(visible = true, transformation(origin = {-86, 38}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
@@ -72,27 +70,26 @@ package HeatExchanger "Example of Simulating Heat Exchanger"
Placement(visible = true, transformation(origin = {-22, 64}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Simulator.Examples.HeatExchanger.MS S4(Nc = Nc, C = C) annotation(
Placement(visible = true, transformation(origin = {46, -48}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
-
equation
- connect(S1.Out, B1.In_Hot) annotation(
+ connect(S1.Out, B1.In_Hot) annotation(
Line(points = {{-76, 38}, {-76, -2}, {-38, -2}}));
- connect(B1.Out_Hot, S3.In) annotation(
+ connect(B1.Out_Hot, S3.In) annotation(
Line(points = {{6, -2}, {6, 45}, {58, 45}, {58, 70}}));
- connect(B1.Out_Cold, S4.In) annotation(
+ connect(B1.Out_Cold, S4.In) annotation(
Line(points = {{-16, -24}, {-16, -48}, {36, -48}}));
- connect(S2.Out, B1.In_Cold) annotation(
+ connect(S2.Out, B1.In_Cold) annotation(
Line(points = {{-12, 64}, {-12, 38}, {-16, 38}, {-16, 20}}));
- S1.x_pc[1, :] = {0, 0, 0.1, 0.9};
- S2.x_pc[1, :] = {1, 0, 0, 0};
- S1.F_p[1] = 212.94371;
- S2.F_p[1] = 3077.38424;
- S1.T = 377.03889;
- S2.T = 304.26111;
- S1.P = 1116948.66173;
- S2.P = 606737.54464;
- annotation(
+ S1.x_pc[1, :] = {0, 0, 0.1, 0.9};
+ S2.x_pc[1, :] = {1, 0, 0, 0};
+ S1.F_p[1] = 212.94371;
+ S2.F_p[1] = 3077.38424;
+ S1.T = 377.03889;
+ S2.T = 304.26111;
+ S1.P = 1116948.66173;
+ S2.P = 606737.54464;
+ annotation(
Documentation(info = "This is an executable model to simualate the Heat Exchanger example where all the components are defined, material stream & heat exchanger specifications are declared, model instances are connected. Heat Exchanger model from the UnitOperations package has been instantiated here.
Material Stream Information
Hot Stream
Molar Flow Rate: 212.94371 mol/s
Mole Fraction (Water): 0
Mole Fraction (N-Octane): 0
Mole Fraction (N-Nonane): 0.1
Mole Fraction (N-Decane): 0.9
Pressure: 1116948.66 Pa
Temperature: 377.03889 K
Cold Stream
Molar Flow Rate: 3077.38424 mol/s
Mole Fraction (Water): 1
Mole Fraction (N-Octane): 0
Mole Fraction (N-Nonane): 1
Mole Fraction (N-Decane): 0
Pressure: 606737.54464 Pa
Temperature: 304.26111 K
"));
- end ShellnTubeHXSimulation;
+ end ShellnTubeHXSimulation;
annotation(
Documentation(info = "Following two problem statement are simulated in this Heat Exchanger example:
Problem Statement 1:
Component System: Styrene and TolueneThermodynamics: Raoult's Law
Material Stream Information
Hot Stream
Molar Flow Rate: 181.46776 mol/s
Mole Fraction (Styrene): 1
Mole Fraction (Toluene): 0
Pressure: 344737.24 Pa
Temperature: 422.03 K
Cold Stream
Molar Flow Rate: 170.93 mol/s
Mole Fraction (Styrene): 0
Mole Fraction (Toluene): 1
Pressure: 620527.03 Pa
Temperature: 310.93 K
Simulate a Heat Exchanger with above mentioned material streams as inlet streams. Find the outlet temperatures such that the overall heat transfer coefficient is 300 W/[m2.K] and amount of heat exchanged in 2.7 MW.
Problem Statement 2:
Component System: Water, N-Octane, N-Nonane and N-DecaneThermodynamics: Raoult's Law
Material Stream Information
Hot Stream
Molar Flow Rate: 212.94371 mol/s
Mole Fraction (Water): 0
Mole Fraction (N-Octane): 0
Mole Fraction (N-Nonane): 0.1
Mole Fraction (N-Decane): 0.9
Pressure: 1116948.66 Pa
Temperature: 377.03889 K
Cold Stream
Molar Flow Rate: 3077.38424 mol/s
Mole Fraction (Water): 1
Mole Fraction (N-Octane): 0
Mole Fraction (N-Nonane): 1
Mole Fraction (N-Decane): 0
Pressure: 606737.54464 Pa
Temperature: 304.26111 K
Simulate a Heat Exchanger with above mentioned material streams as inlet streams. Find the outlet temperatures with the given shell and tube heat exchanger configuration.
This package is created to demnostrate the simualtion of a Heat Exchanger. Following models are created inside the package:
- MS (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- HXSimulation (Executable model for Problem Statement 1): All the components are defined, material stream & Heat Exchanger specifications are declared, model instances are connected to make the file executable.
- ShellnTubeHXSimulation (Executable model for Problem Statement 2): All the components are defined, material stream & Shell and Tube Heat Exchanger specifications are declared, model instances are connected to make the file executable.
"));
-end HeatExchanger;
+end HeatExchanger;
\ No newline at end of file
diff --git a/Simulator/Examples/Mixer.mo b/Simulator/Examples/Mixer.mo
index cc87efa..402366a 100644
--- a/Simulator/Examples/Mixer.mo
+++ b/Simulator/Examples/Mixer.mo
@@ -155,4 +155,4 @@ package Mixer "Example of Simulating a Mixer"
Simulate a Mixer to mix the above six material streams into a single output material stream where the pressure of the outlet stream is calculated as average of the inlet streams.
This package is created to demnostrate the simualtion of a Mixer. Following models are created inside the package:
- ms (Non-executable model): created to extend the material stream along with the necessary thermodynamic package.
- mix (Executable model): All the components are defined, material stream & mixer specifications are declared, model instances are connected to make the file executable.