summaryrefslogtreecommitdiff
path: root/Simulator/Simulator/Files/Connection/package.mo
blob: 8c6727da76fe71276f6fd34cbc82b948cf1aa83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
within Simulator.Files;

package Connection
  connector matConn
    Real P(min = 0, start = 101325), T(min = 0, start = 273.15), mixMolFlo(min = 0, start = 100), mixMolEnth, mixMolEntr, mixMolFrac[3, connNOC](each min = 0, each max = 1, each start = 1/(connNOC + 1)), vapPhasMolFrac(min = 0, max = 1, start = 0.5);
    parameter Integer connNOC(start = 2);
    annotation(
      Icon(coordinateSystem(initialScale = 0.1), graphics = {Rectangle(fillPattern = FillPattern.Solid, extent = {{-50, 50}, {50, -50}})}));
  end matConn;

  connector enConn
    Real enFlo;
    annotation(
      Icon(coordinateSystem(initialScale = 0.1), graphics = {Rectangle(lineColor = {255, 0, 0},fillColor = {255, 0, 0}, fillPattern = FillPattern.Solid, extent = {{-50, 50}, {50, -50}})}));
  end enConn;

  connector trayConn
    Real mixMolFlo(min = 0, start = 100), mixMolEnth, mixMolFrac[connNOC](each min = 0, each max = 1, each start = 1/(connNOC + 1));
    parameter Integer connNOC;
    annotation(
      Icon(coordinateSystem(initialScale = 0.1), graphics = {Rectangle(fillColor = {8, 184, 211}, fillPattern = FillPattern.Solid, extent = {{-100, 100}, {100, -100}})}));
  end trayConn;

end Connection;