Changeset 680


Ignore:
Timestamp:
Nov 18, 2008, 11:18:51 AM (15 years ago)
Author:
Argimiro Resende Secchi
Message:

Updating flash model.

Location:
trunk/eml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/stage_separators/flash.mso

    r372 r680  
    6363        Level as length (Brief="liquid height");
    6464        Across as area (Brief="Flash Cross section area");
     65        vMfrac as positive (Brief="Vapour Molar fraction", Symbol="\ksi");
    6566        vfrac as positive (Brief="Vapourization fraction", Symbol="\phi");
    6667        Pratio as positive      (Brief = "Pressure Ratio", Symbol ="P_{ratio}");       
     
    8687        sum(OutletL.z)=sum(OutletV.z);
    8788
     89        if Inlet.F > 0 then
     90                "Vaporization Ratio"
     91                OutletV.F = Inlet.F * vfrac;
     92        else
     93                "Vaporization Ratio"
     94                OutletV.F = (OutletV.F + OutletL.F) * vfrac;
     95        end
     96
    8897        "Vaporization Fraction"
    89         OutletV.F = Inlet.F * vfrac;
     98        MV = (ML + MV) * vMfrac;
    9099
    91100        "Liquid Volume"
  • trunk/eml/types.mso

    r444 r680  
    112112
    113113# Enthalpy
    114 enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-10000, Upper=10000, final Unit = 'kJ/kg');
    115 enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e9, Upper=1e9, final Unit = 'kJ/kmol');
     114enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-1e14, Upper=1e14, final Unit = 'kJ/kg');
     115enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e16, Upper=1e16, final Unit = 'kJ/kmol');
    116116
    117117# Entropy
Note: See TracChangeset for help on using the changeset viewer.