Ph Icalc

download Ph Icalc

of 3

Transcript of Ph Icalc

  • 8/16/2019 Ph Icalc

    1/3

     

    T

    WHAT IS PHICALC 

    •  a tool to generate and visualize theproperties ( monophasic, diphasicmix of fluids, special fluids)

    •  fully integrated into native Matlab/SSimscape environment

    •  extendable and customizable sinc

    be added.

    •  allows to be used alone or embeddfluid libraries for air conditioning, pindustrial energetic plant.

    GENERATION 

    Highlights:

    •  The init ial step is to get the basic tthermal fluid from the reference so

    calculation (NIST, EES, JANAF, B

    Example of table generation

    Fluid Properties

    2014, Sherpa Engineering

    φCalc

    hermodynamic functions & tabpre-processor

    for Matlab, Simulink & S

    fluid,ideal gazes,

    imulink &

    any fluid can

    ed in thermalwer plant,

    bles ofrces or by

    oks, ...).

    Functions or tables gener

    From the basic data, we g

    thermodynamic required fFluids properties are avand as tabulation format.

    For example for diphasic

    independent variables thaothers properties (ALL)

    ph, pu, pv, ps, hs, pt or px

    example of function with i

    ALL= du (fluid, P0, H0)

    les & diagrams

    imscape

    tion

    enerate all the

    nctions or tablesilable both as dll functions

    luid, there are two

    t al ow to compute all

    ,du, …

    dependent variables p & h

  • 8/16/2019 Ph Icalc

    2/3

    GUI FOR DIAGRAM GENERATI

    The objective is to draw all fluid propertgive the user the potential to define itsdiagram, that can be exported in Matlasuperpose it with the thermodynamic c

    SELECTION : 1 POINT COMPUTATIO

    This GUI allows computing thermal flui

    The type of the fluid can be a gas or liqphase, two-phase, moist gas or gas mi

    It is possible to calculate one point orseveral combinations of points.

    SELECTION :THERMAL  FLUID PR

    “Fluid properties” has been selected on thpopup menu” in the general panel. The G

    the right side, iso lines for one chosen prselected fluid.

    Functionalities:-Real-time plotting, when settings have b-Automatic and manual custom selectionproperties and number of abscissa point t

    2014, Sherpa Engineering

    ON

    ies and topecific /Simulink tocle. 

    s properties

    uid, oneture.

    a mapping for

    PERTIES 

    e “processingUI displays, on

    perty of the

    en changedfor iso lineso plot:

    SELECTION : THERMOD

    “Thermodynamic diagram“processing popup menu”GUI displays, on the rightdiagram with the gas and lsome iso lines, chosen by

    Panel for the choice of iso

     

    NAMIC DIAGRAM 

    ” has been selected on thein the general panel. Theside, the thermodynamicliquid saturation lines, andthe user.

    -lines

  • 8/16/2019 Ph Icalc

    3/3

     2014, Sherpa Engineering

    THERMAL FLUID LIBRARY INTERFACE 

    In Matlab/Simulink PhiSim or Simscape thermallibrary, we can choose the fluids in a list (one phaseliquid and gas, two phases, moist Air, combustionmixture and gas mixture) and plot automatically themain standard diagram

    PHISIM INTERFACE

    - Thermal fluid choice -

    Simscape HVAC Library

    For Simscape modules, the fluid properties areentered in the custom thermal fluid block:

    Real time superposition of thermodynamic cycle

    Refrigerant loop (PH diagram)

    Rankine Power plant (TS diagram)

    We can plot all cycles in parallel and in real time ondifferent diagrams with an unlimited number ofpoints.

    1.5 2 2.5 3 3.5 4 4.5

    x 105

    106

    107

    Specific enthalpy [J/kg]

       P  r  e  s  s  u  r  e

       [   P  a   ]

    Mollier diagram of R134a

    7

    12

    19

    30

    48

     7

     1 2 4

      1  9  9

      3  1   9

        5    1    1

            2        6         0 

            2 6 

            0 

            2 6 

            0 

    260   260

    280280

            2        8         0 

            2        8         0 

            2        8         0 

            2        8         0 

     2        8         0 

    3   0   0   

    300

            3         0         0 

            3         0         0 

            3         0         0 

            3         0         0 

     3         0         0 

    3    2   0   

    320

     3  2   0  

     3  2   0  

            3  2

            0 

            3  2

            0  3 

             2

    340

     3       4       

     0       

     3  4   0  

     3  4   0  

            3         4        0 

     3         4

    3 6 0 

    3       6       0       

     3         6       

     0       

     3   6   0  

     3   6   0  

     0  

    3       8       0       

     3        8        0       

     3        8        0       

     0       

    3 8 0 

    4     0     0     

    4       0       0       

    4        0        0       

     0        0       

    4      2      0      

    4       2       0       

    4        2       

     0       

    4        0       

    0.02002 0.02002   .02002

         0  .     0 

         2     0      0      2

    0.2 0.2   0.  2

         0  .     2

    2   2

         2

    20   2   0

         2     0 

       4   0   40

         4     0 

    60

         6     0 

    80

         8     0 

    100

         1     0      0 

     1 2 0

         1     2     0 

      1 4  0

         1     4     0 

    160

         1     6     0 

    180

         1     8     0 

    200

         2     0      0 

    Specific entropy [J]

       T  e  m  p  e  r  a   t  u  r  e   [   K   ]

    Mollier diagram of Water

    0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000

    300

    400

    500

    600

    700

    800

    900

    1000