Changeset 1955
- Timestamp:
- 12/05/2008 05:41:29 PM (5 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Modelica_Fluid/branches/StreamConnector/Modelica_Fluid/Junctions.mo
r1941 r1955 204 204 / sum({positiveMax(ports_b[j].m_flow) for j in 1:nPorts_b}); 205 205 end for; 206 for i in 1:Medium.n Xiloop206 for i in 1:Medium.nC loop 207 207 port_a.C_outflow[i] = sum({positiveMax(ports_b[j].m_flow)*inStream(ports_b[j].C_outflow[i]) for j in 1:nPorts_b}) 208 208 / sum({positiveMax(ports_b[j].m_flow) for j in 1:nPorts_b});
