Ignore:
Timestamp:
Jul 25, 2008, 11:18:50 AM (14 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated the models to work with some language constraints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/reactors/pfr.mso

    r354 r574  
    8282        Outlet.v = str(NDisc+1).v;
    8383       
    84         for z in [1:NDisc]
    85                 for c in [1:NComp-1]
     84        for z in [1:NDisc] do
     85                for c in [1:NComp-1] do
    8686                        "Component Molar Balance"
    8787                        diff(M(c,z)) = (str(z).F*str(z).z(c) - str(z+1).F*str(z+1).z(c))
     
    113113        end
    114114
    115         for z in [1:NDisc+1]
     115        for z in [1:NDisc+1] do
    116116                "Specific Volume"
    117117                vol(z) = PP.VapourVolume(str(z).T, str(z).P, str(z).z);
Note: See TracChangeset for help on using the changeset viewer.