Main

Objects

Main.Objects History

Hide minor edits - Show changes to output

October 17, 2018, at 03:58 AM by 64.129.101.54 -
Changed lines 28-29 from:
* [[Main/ObjectCspline|Cubic spline]]
to:
* [[Main/ObjectBspline|Basis spline (b-spline)]]
* [[Main/ObjectCspline|Cubic spline (c-spline)
]]
Added line 5:
 ! example use of ABS as MPEC
Changed line 7 from:
   c = abs
to:
   a = abs
Added lines 10-22:
 Connections
  x = a.x
  y = a.y
 End Connections

 Parameters
  x = -5
 End Parameters

 Variables
  y
 End Variables
 
Added lines 5-8:
 Objects
  c = abs
 End Objects

Changed lines 11-12 from:
The object library consists of chemical processing equipment such as feed streams, reactors, pumps, mixers, flash columns, vessels, and distillation stages.  It also includes other elements that support distributed control system emulation such as a LAG and a PID controller.
to:
The object library consists of common mathematical functions and chemical processing equipment such as feed streams, reactors, pumps, mixers, flash columns, vessels, and distillation stages.  It also includes other elements that support distributed control system emulation such as a LAG and a PID controller.
Added line 14:
* [[Main/ObjectCspline|Cubic spline]]
June 16, 2015, at 06:50 PM by 45.56.3.184 -
Deleted lines 0-1:
!! Objects
Changed line 55 from:
(:table border=1 width=80%:)
to:
(:table border=1 width=100%:)
Changed line 155 from:
(:table border=1 width=80%:)
to:
(:table border=1 width=100%:)
Changed line 228 from:
(:table border=1 width=50% align=left bgcolor=#EEEEEE cellspacing=0:)
to:
(:table border=1 width=100% align=left bgcolor=#EEEEEE cellspacing=0:)
May 28, 2014, at 11:03 PM by 107.188.175.164 -
Changed line 23 from:
* LTI - Linear time-invariant, discrete or continuous
to:
* [[Apps/LinearStateSpace|LTI - Linear time-invariant, discrete or continuous]]
Changed line 34 from:
* PWL - Piece-wise Linear
to:
* [[Apps/PiecewiseLinear|PWL - Piece-wise Linear]]
May 28, 2014, at 11:01 PM by 107.188.175.164 -
Changed line 11 from:
* Abs - Absolute value (MPEC)
to:
* [[Apps/MpecExamples|Abs - Absolute value (MPEC)]]
Changed lines 27-28 from:
* Max - Maximum value (MPEC)
* Min - Minimum value (MPEC)
to:
* [[Apps/MpecExamples|Max - Maximum value (MPEC)]]
* [[Apps/MpecExamples|Min - Minimum value (MPEC)]]
Changed line 30 from:
* Periodic - Periodic boundary condition
to:
* [[Apps/PeriodicBoundaryConditions|Periodic - Periodic boundary condition]]
Changed line 37 from:
* Sign - Number Sign (-1 or 1)
to:
* [[Apps/MpecExamples|Sign - Number Sign (-1 or 1)]]
Changed line 353 from:
(:tableend:)
to:
(:tableend:)
May 28, 2014, at 10:58 PM by 107.188.175.164 -
Added line 30:
* Periodic - Periodic boundary condition
May 24, 2014, at 04:43 PM by 66.87.126.139 -
Added lines 218-223:

----

!! Example - Mixer Application

* %list list-page% [[http://apmonitor.com/online/view_pass.php?f=mixer.apm | Solve Mixer Example Problem]]
August 06, 2012, at 11:56 PM by 69.169.131.76 -
Added line 41:
* Sum - Summation of multiple parameters and/or variables
June 17, 2012, at 05:45 AM by 69.169.131.76 -
Added line 41:
* Table - Data table that creates parameters or initializes variables
May 24, 2012, at 11:49 PM by 128.187.97.24 -
Added lines 200-208:
(:cellnr:) thermo_sh
(:cell:) Solid Enthalpy
(:cell:) J/kmol
(:cellnr:) thermo_lh
(:cell:) Liq Enthalpy
(:cell:) J/kmol
(:cellnr:) thermo_vh
(:cell:) Vap Enthalpy
(:cell:) J/kmol
May 06, 2011, at 08:25 AM by 158.35.225.231 -
Added line 13:
* Feedback - Internal feedback
April 08, 2011, at 06:36 PM by 158.35.225.228 -
Deleted lines 205-206:

* []
April 08, 2011, at 06:35 PM by 158.35.225.228 -
Changed lines 205-207 from:
* [http://apmonitor.com/online/view_pass.php?f=min.apm | Solve MPEC form of the MIN function]
to:
* %list list-page% [[http://apmonitor.com/online/view_pass.php?f=min.apm | Solve MPEC form of the MIN function]]

* [
]
April 08, 2011, at 06:34 PM by 158.35.225.228 -
Added lines 200-205:

----

!! Example - MIN Function

* [http://apmonitor.com/online/view_pass.php?f=min.apm | Solve MPEC form of the MIN function]
April 08, 2011, at 06:27 PM by 158.35.225.228 -
Added line 11:
* Abs - Absolute value (MPEC)
Deleted lines 12-15:
* Fabs - Absolute value
* Fmax - Maximum value
* Fmin - Minimum value
* Fsign - Number Sign (-1 or 1)
Added lines 26-27:
* Max - Maximum value (MPEC)
* Min - Minimum value (MPEC)
Added line 35:
* Sign - Number Sign (-1 or 1)
April 08, 2011, at 05:55 PM by 158.35.225.228 -
Added line 213:
  hydrogen
Deleted line 214:
  hydrogen
Changed lines 248-253 from:
  distill.feed.*                      = distill.feed_lag.inlet.*
  distill.feed_lag.outlet.*          = distill.feed_cooler.inlet.*
  distill.feed_cooler.outlet.*        = distill.feed_flash.inlet.*
  distill.feed_flash.outlet_vap.*    = distill.vap_mixer.inlet1.*
  distill.feed_flash.outlet_liq.*    = distill.liq_mixer.inlet1.*
to:
  feed.*                      = feed_lag.inlet.*
  feed_lag.outlet.*          = feed_cooler.inlet.*
  feed_cooler.outlet.*        = feed_flash.inlet.*
  feed_flash.outlet_vap.*    = vap_mixer.inlet[1].*
  feed_flash.outlet_liq.*    = liq_mixer.inlet[1].*
Changed lines 255-259 from:
  distill.liq_mixer.inlet[2].*         = distill.stage[1].l_out.*
  distill.liq_mixer.outlet.*          = distill.stage[2].l_in.*
  distill.stage[2:7].l_out.*          = distill.stage[3:8].l_in.*
  distill.stage[8].l_out.*            = distill.sump.inlet.*
to:
  liq_mixer.inlet[2].*        = stage[1].l_out.*
  liq_mixer.outlet.*          = stage[2].l_in.*
  stage[2:7].l_out.*          = stage[3:8].l_in.*
  stage[8].l_out.*            = sump.inlet.*
Changed lines 261-263 from:
  distill.sump.outlet.*              = distill.reboiler.inlet.*
  distill.reboiler.outlet.*          = distill.reboiler_flash.inlet.*
to:
  sump.outlet.*              = reboiler.inlet.*
  reboiler.outlet.*          = reboiler_flash.inlet.*
Changed lines 265-269 from:
  distill.reboiler_flash.outlet_vap.* = distill.stage[8].v_in.*
  distill.stage[3:8].v_out.*          = distill.stage[2:7].v_in.*
  distill.vap_mixer.inlet[2].*         = distill.stage[2].v_out.*
  distill.vap_mixer.outlet.*          = distill.stage[1].v_in.*
to:
  reboiler_flash.outlet_vap.* = stage[8].v_in.*
  stage[3:8].v_out.*          = stage[2:7].v_in.*
  vap_mixer.inlet[2].*        = stage[2].v_out.*
  vap_mixer.outlet.*          = stage[1].v_in.*
Changed lines 271-275 from:
  distill.stage[1].v_out.*            = distill.condenser.inlet.*
  distill.condenser.outlet.*          = distill.drum.inlet.*
  distill.drum.outlet_liq.*          = distill.reflux.inlet.*
  distill.reflux.outlet[2].*           = distill.stage[1].l_in.*
to:
  stage[1].v_out.*            = condenser.inlet.*
  condenser.outlet.*          = drum.inlet.*
  drum.outlet_liq.*          = reflux.inlet.*
  reflux.outlet[2].*          = stage[1].l_in.*
Changed lines 277-281 from:
  distill.sump.reserve.*              = distill.sump_mass.acc.*
  distill.feed.*                      = distill.feed_massflow.stream.*
  distill.drum.outlet_vap.*          = distill.cleu_massflow.stream.*
  distill.reboiler_flash.outlet_liq.* = distill.btms_massflow.stream.*
to:
  sump.reserve.*              = sump_mass.acc.*
  feed.*                      = feed_massflow.stream.*
  drum.outlet_vap.*          = cleu_massflow.stream.*
  reboiler_flash.outlet_liq.* = btms_massflow.stream.*
Changed lines 283-286 from:
  strm_p                            = distill.stage[1].v_out.p
  strm_p                            = distill.stage[2:8].l_out.p
  strm_p                            = distill.stage[3:8].v_out.p
to:
  strm_p                            = stage[1].v_out.p
  strm_p                            = stage[2:8].l_out.p
  strm_p                            = stage[3:8].v_out.p
Changed line 288 from:
  fd_p                              = distill.stage[1:8].l_res.p
to:
  fd_p                              = stage[1:8].l_res.p
Changed lines 311-318 from:
     fd_t    = distill.feed.t
    fd_p    = distill.feed.p
    fd_c2h4  = distill.feed.x[1]
    fd_c3h6  = distill.feed.x[2]
    fd_c3h8  = distill.feed.x[3]
    fd_h2    = distill.feed.x[4]
    fd_mdot  = distill.feed_massflow.mdot
    fd_ndot  = distill.feed.ndot
to:
     fd_t    = feed.t
    fd_p    = feed.p
    fd_c2h4  = feed.x[1]
    fd_c3h6  = feed.x[2]
    fd_c3h8  = feed.x[3]
    fd_h2    = feed.x[4]
    fd_mdot  = feed_massflow.mdot
    fd_ndot  = feed.ndot
August 14, 2010, at 06:36 PM by 206.180.155.75 -
Deleted lines 22-23:
** Info_SVM - Measured State Variable
** Info_CVM - Measured Controlled Variable
July 22, 2010, at 07:39 PM by 158.35.225.231 -
Changed lines 52-55 from:
(:table border=1 width=100%:)
to:

Temperature independent property data do not vary with temperature.  They are defined as constants for each of the species declared in the Compounds ... End Compounds section of the model.  If the Compounds ... End Compounds section is missing, all available compounds are included in the model.

(:table border
=1 width=80%:)
Added lines 151-152:
!!!! Temperature Dependent Property Data
Changed lines 155-156 from:
!!!! Temperature Dependent Property Data
(:table border
=1 width=100%:)
to:
(:table border=1 width=80%:)
July 22, 2010, at 07:35 PM by 158.35.225.231 -
Changed lines 49-51 from:
!!!! Temperature Dependent Property Data
to:
Thermo objects access data from the underlying thermodynamic database.  There are over 1700 compounds accessible in the database.  To reduce the size of the APMonitor executable, only some of the more common compounds are currently incorporated.  Additional compounds can be easily added but require a rebuild of the executable.

!!!! Temperature Independent
Property Data
Added lines 147-148:

The temperature dependent thermo objects produce values based on a specified temperature.  When a temperature dependent property object is declared, a new temperature variable will be created.  This variable can be adjusted or linked to an existing temperature of interest.
July 22, 2010, at 07:31 PM by 158.35.225.231 -
Changed line 42 from:
* Thermo - Thermodynamic properties
to:
* Thermo_* - Thermodynamic properties (* see below for specific properties)
Added line 46:
Added line 49:
!!!! Temperature Dependent Property Data
July 22, 2010, at 07:29 PM by 158.35.225.231 -
Deleted line 47:
 Temperature independent properties
Changed line 49 from:
(:cellnr:) mw
to:
(:cellnr:) thermo_mw
Changed line 52 from:
(:cellnr:) tc
to:
(:cellnr:) thermo_tc
Changed line 55 from:
(:cellnr:) pc
to:
(:cellnr:) thermo_pc
Changed line 58 from:
(:cellnr:) vc
to:
(:cellnr:) thermo_vc
Changed line 61 from:
(:cellnr:) ccf
to:
(:cellnr:) thermo_ccf
Changed line 64 from:
(:cellnr:) mp
to:
(:cellnr:) thermo_mp
Changed line 67 from:
(:cellnr:) tpt
to:
(:cellnr:) thermo_tpt
Changed line 70 from:
(:cellnr:) tpp
to:
(:cellnr:) thermo_tpp
Changed line 73 from:
(:cellnr:) nbp
to:
(:cellnr:) thermo_nbp
Changed line 76 from:
(:cellnr:) lmv
to:
(:cellnr:) thermo_lmv
Changed line 79 from:
(:cellnr:) ighf
to:
(:cellnr:) thermo_ighf
Changed line 82 from:
(:cellnr:) iggf
to:
(:cellnr:) thermo_iggf
Changed line 85 from:
(:cellnr:) igae
to:
(:cellnr:) thermo_igae
Changed line 88 from:
(:cellnr:) shf
to:
(:cellnr:) thermo_shf
Changed line 91 from:
(:cellnr:) sgf
to:
(:cellnr:) thermo_sgf
Changed line 94 from:
(:cellnr:) sae
to:
(:cellnr:) thermo_sae
Changed line 97 from:
(:cellnr:) hfmp
to:
(:cellnr:) thermo_hfmp
Changed line 100 from:
(:cellnr:) snhc
to:
(:cellnr:) thermo_snhc
Changed line 103 from:
(:cellnr:) af
to:
(:cellnr:) thermo_af
Changed line 106 from:
(:cellnr:) rg
to:
(:cellnr:) thermo_rg
Changed line 109 from:
(:cellnr:) sp
to:
(:cellnr:) thermo_sp
Changed line 112 from:
(:cellnr:) dm
to:
(:cellnr:) thermo_dm
Changed line 115 from:
(:cellnr:) r
to:
(:cellnr:) thermo_r
Changed line 118 from:
(:cellnr:) q
to:
(:cellnr:) thermo_q
Changed line 121 from:
(:cellnr:) ri
to:
(:cellnr:) thermo_ri
Changed line 124 from:
(:cellnr:) fp
to:
(:cellnr:) thermo_fp
Changed line 127 from:
(:cellnr:) lfl
to:
(:cellnr:) thermo_lfl
Changed line 130 from:
(:cellnr:) ufl
to:
(:cellnr:) thermo_ufl
Changed line 133 from:
(:cellnr:) lflt
to:
(:cellnr:) thermo_lflt
Changed line 136 from:
(:cellnr:) uflt
to:
(:cellnr:) thermo_uflt
Changed line 139 from:
(:cellnr:) ait
to:
(:cellnr:) thermo_ait
Changed lines 142-143 from:

 Temperature Dependent Property Data
to:
(:tableend:)

!!!!
Temperature Dependent Property Data
Changed line 146 from:
(:cellnr:) sd
to:
(:cellnr:) thermo_sd
Changed line 149 from:
(:cellnr:) ld
to:
(:cellnr:) thermo_ld
Changed line 152 from:
(:cellnr:) svp
to:
(:cellnr:) thermo_svp
Changed line 155 from:
(:cellnr:) lvp
to:
(:cellnr:) thermo_lvp
Changed line 158 from:
(:cellnr:) hvap
to:
(:cellnr:) thermo_hvap
Changed line 161 from:
(:cellnr:) scp
to:
(:cellnr:) thermo_scp
Changed line 164 from:
(:cellnr:) lcp
to:
(:cellnr:) thermo_lcp
Changed line 167 from:
(:cellnr:) igcp
to:
(:cellnr:) thermo_igcp
Changed line 170 from:
(:cellnr:) svc
to:
(:cellnr:) thermo_svc
Changed line 173 from:
(:cellnr:) lv
to:
(:cellnr:) thermo_lv
Changed line 176 from:
(:cellnr:) vv
to:
(:cellnr:) thermo_vv
Changed line 179 from:
(:cellnr:) sk
to:
(:cellnr:) thermo_sk
Changed line 182 from:
(:cellnr:) lk
to:
(:cellnr:) thermo_lk
Changed line 185 from:
(:cellnr:) vk
to:
(:cellnr:) thermo_vk
Changed line 188 from:
(:cellnr:) st
to:
(:cellnr:) thermo_st
July 22, 2010, at 07:27 PM by 158.35.225.231 -
Changed lines 48-49 from:

Temperature independent properties                                  
to:
 Temperature independent properties
Changed lines 50-82 from:
(:cellnr:) mw  (:cell:) Molecular Weight          (:cell:) kg/kmol             
(:cellnr:) tc  (:cell:) Critical Temperature      (:cell:) K                   
(:cellnr:) pc  (:cell:) Critical Pressure        (:cell:) Pa                 
(:cellnr:) vc  (:cell:) Critical Volume          (:cell:) m^3/kmol           
(:cellnr:) ccf  (:cell:) Crit Compress Factor      (:cell:) unitless           
(:cellnr:) mp  (:cell:) Melting Point            (:cell:) K                   
(:cellnr:) tpt  (:cell:) Triple Pt Temperature    (:cell:) K                   
(:cellnr:) tpp  (:cell:) Triple Pt Pressure        (:cell:) Pa                 
(:cellnr:) nbp  (:cell:) Normal Boiling Point      (:cell:) K                   
(:cellnr:) lmv  (:cell:) Liq Molar Volume          (:cell:) m^3/kmol           
(:cellnr:) ighf (:cell:) IG Heat of Formation      (:cell:) J/kmol             
(:cellnr:) iggf (:cell:) IG Gibbs of Formation    (:cell:) J/kmol             
(:cellnr:) igae (:cell:) IG Absolute Entropy      (:cell:) J/kmol*K           
(:cellnr:) shf  (:cell:) Std Heat of Formation    (:cell:) J/kmol             
(:cellnr:) sgf  (:cell:) Std Gibbs of Formation    (:cell:) J/kmol             
(:cellnr:) sae  (:cell:) Std Absolute Entropy      (:cell:) J/kmol*K           
(:cellnr:) hfmp (:cell:) Heat Fusion at Melt Pt    (:cell:) J/kmol             
(:cellnr:) snhc (:cell:) Std Net Heat of Comb      (:cell:) J/kmol             
(:cellnr:) af  (:cell:) Acentric Factor          (:cell:) unitless           
(:cellnr:) rg  (:cell:) Radius of Gyration        (:cell:) m                   
(:cellnr:) sp  (:cell:) Solubility Parameter      (:cell:) (J/m^3)^0.5         
(:cellnr:) dm  (:cell:) Dipole Moment            (:cell:) c*m                 
(:cellnr:) r    (:cell:) van der Waals Volume      (:cell:) m^3/kmol           
(:cellnr:) q    (:cell:) van der Waals Area        (:cell:) m^2                 
(:cellnr:) ri  (:cell:) Refractive Index          (:cell:) unitless           
(:cellnr:) fp  (:cell:) Flash Point              (:cell:) K                   
(:cellnr:) lfl  (:cell:) Lower Flammability Limit  (:cell:) K                   
(:cellnr:) ufl  (:cell:) Upper Flammability Limit  (:cell:) K                   
(:cellnr:) lflt (:cell:) Lower Flamm Limit Temp    (:cell:) K                   
(:cellnr:) uflt (:cell:) Upper Flamm Limit Temp    (:cell:) K                   
(:cellnr:) ait  (:cell:) Auto Ignition Temp        (:cell:) K                   

 Temperature Dependent Property Data                                   
to:
(:cellnr:) mw
(:cell:) Molecular Weight
(:cell:) kg/kmol
(:cellnr:) tc
(:cell:) Critical Temperature
(:cell:) K
(:cellnr:) pc
(:cell:) Critical Pressure
(:cell:) Pa
(:cellnr:) vc
(:cell:) Critical Volume
(:cell:) m^3/kmol
(:cellnr:) ccf
(:cell:) Crit Compress Factor
(:cell:) unitless
(:cellnr:) mp
(:cell:) Melting Point
(:cell:) K
(:cellnr:) tpt
(:cell:) Triple Pt Temperature
(:cell:) K
(:cellnr:) tpp
(:cell:) Triple Pt Pressure
(:cell:) Pa
(:cellnr:) nbp
(:cell:) Normal Boiling Point
(:cell:) K
(:cellnr:) lmv
(:cell:) Liq Molar Volume
(:cell:) m^3/kmol
(:cellnr:) ighf
(:cell:) IG Heat of Formation
(:cell:) J/kmol
(:cellnr:) iggf
(:cell:) IG Gibbs of Formation
(:cell:) J/kmol
(:cellnr:) igae
(:cell:) IG Absolute Entropy
(:cell:) J/kmol*K
(:cellnr:) shf
(:cell:) Std Heat of Formation
(:cell:) J/kmol
(:cellnr:) sgf
(:cell:) Std Gibbs of Formation
(:cell:) J/kmol
(:cellnr:) sae
(:cell:) Std Absolute Entropy
(:cell:) J/kmol*K
(:cellnr:) hfmp
(:cell:) Heat Fusion at Melt Pt
(:cell:) J/kmol
(:cellnr:) snhc
(:cell:) Std Net Heat of Comb
(:cell:) J/kmol
(:cellnr:) af
(:cell:) Acentric Factor
(:cell:) unitless
(:cellnr:) rg
(:cell:) Radius of Gyration
(:cell:) m
(:cellnr:) sp
(:cell:) Solubility Parameter
(:cell:) (J/m^3)^0.5
(:cellnr:) dm
(:cell:) Dipole Moment
(:cell:) c*m
(:cellnr:) r
(:cell:) van der Waals Volume
(:cell:) m^3/kmol
(:cellnr:) q
(:cell:) van der Waals Area
(:cell:) m^2
(:cellnr:) ri
(:cell:) Refractive Index
(:cell:) unitless
(:cellnr:) fp
(:cell:) Flash Point
(:cell:) K
(:cellnr:) lfl
(:cell:) Lower Flammability Limit
(:cell:) K
(:cellnr:) ufl
(:cell:) Upper Flammability Limit
(:cell:) K
(:cellnr:) lflt
(:cell:) Lower Flamm Limit Temp
(:cell:) K
(:cellnr:) uflt
(:cell:) Upper Flamm Limit Temp
(:cell:) K
(:cellnr:) ait
(:cell:) Auto Ignition Temp
(:cell:) K

 Temperature Dependent Property Data
Changed lines 146-160 from:
(:cellnr:) sd  (:cell:) Solid Density            (:cell:) kmol/m^3         
(:cellnr:) ld  (:cell:) Liquid Density            (:cell:) kmol/m^3         
(:cellnr:) svp  (:cell:) Solid Vapor Pressure      (:cell:) Pa               
(:cellnr:) lvp  (:cell:) Liquid Vapor Pressure    (:cell:) Pa               
(:cellnr:) hvap (:cell:) Heat of Vaporization      (:cell:) J/kmol           
(:cellnr:) scp  (:cell:) Solid Heat Capacity      (:cell:) J/kmol*K         
(:cellnr:) lcp  (:cell:) Liquid Heat Capacity      (:cell:) J/kmol*K         
(:cellnr:) igcp (:cell:) Ideal Gas Heat Capacity  (:cell:) J/kmol*K         
(:cellnr:) svc  (:cell:) Second Virial Coefficient (:cell:) m^3/kmol         
(:cellnr:) lv  (:cell:) Liquid Viscosity          (:cell:) Pa*s             
(:cellnr:) vv  (:cell:) Vapor Viscosity          (:cell:) Pa*s             
(:cellnr:) sk  (:cell:) Solid Thermal Conductivity(:cell:) W/m*K             
(:cellnr:) lk  (:cell:) Liq Thermal Conductivity  (:cell:) W/m*K             
(:cellnr:) vk  (:cell:) Vap Thermal Conductivity  (:cell:) W/m*K             
(:cellnr:) st  (:cell:) Surface Tension          (:cell:) N/m               
to:
(:cellnr:) sd
(:cell:) Solid Density
(:cell:) kmol/m^3
(:cellnr:) ld
(:cell:) Liquid Density
(:cell:) kmol/m^3
(:cellnr:) svp
(:cell:) Solid Vapor Pressure
(:cell:) Pa
(:cellnr:) lvp
(:cell:) Liquid Vapor Pressure
(:cell:) Pa
(:cellnr:) hvap
(:cell:) Heat of Vaporization
(:cell:) J/kmol
(:cellnr:) scp
(:cell:) Solid Heat Capacity
(:cell:) J/kmol*K
(:cellnr:) lcp
(:cell:) Liquid Heat Capacity
(:cell:) J/kmol*K
(:cellnr:) igcp
(:cell:) Ideal Gas Heat Capacity
(:cell:) J/kmol*K
(:cellnr:) svc
(:cell:) Second Virial Coefficient
(:cell:) m^3/kmol
(:cellnr:) lv
(:cell:) Liquid Viscosity
(:cell:) Pa*s
(:cellnr:) vv
(:cell:) Vapor Viscosity
(:cell:) Pa*s
(:cellnr:) sk
(:cell:) Solid Thermal Conductivity
(:cell:) W/m*K
(:cellnr:) lk
(:cell:) Liq Thermal Conductivity
(:cell:) W/m*K
(:cellnr:) vk
(:cell:) Vap Thermal Conductivity
(:cell:) W/m*K
(:cellnr:) st
(:cell:) Surface Tension
(:cell:) N/m
Deleted line 191:
July 22, 2010, at 07:25 PM by 158.35.225.231 -
Added lines 45-101:

!!! Thermo objects


 Temperature independent properties                                   
(:table border=1 width=100%:)
(:cellnr:) mw  (:cell:) Molecular Weight          (:cell:) kg/kmol             
(:cellnr:) tc  (:cell:) Critical Temperature      (:cell:) K                   
(:cellnr:) pc  (:cell:) Critical Pressure        (:cell:) Pa                 
(:cellnr:) vc  (:cell:) Critical Volume          (:cell:) m^3/kmol           
(:cellnr:) ccf  (:cell:) Crit Compress Factor      (:cell:) unitless           
(:cellnr:) mp  (:cell:) Melting Point            (:cell:) K                   
(:cellnr:) tpt  (:cell:) Triple Pt Temperature    (:cell:) K                   
(:cellnr:) tpp  (:cell:) Triple Pt Pressure        (:cell:) Pa                 
(:cellnr:) nbp  (:cell:) Normal Boiling Point      (:cell:) K                   
(:cellnr:) lmv  (:cell:) Liq Molar Volume          (:cell:) m^3/kmol           
(:cellnr:) ighf (:cell:) IG Heat of Formation      (:cell:) J/kmol             
(:cellnr:) iggf (:cell:) IG Gibbs of Formation    (:cell:) J/kmol             
(:cellnr:) igae (:cell:) IG Absolute Entropy      (:cell:) J/kmol*K           
(:cellnr:) shf  (:cell:) Std Heat of Formation    (:cell:) J/kmol             
(:cellnr:) sgf  (:cell:) Std Gibbs of Formation    (:cell:) J/kmol             
(:cellnr:) sae  (:cell:) Std Absolute Entropy      (:cell:) J/kmol*K           
(:cellnr:) hfmp (:cell:) Heat Fusion at Melt Pt    (:cell:) J/kmol             
(:cellnr:) snhc (:cell:) Std Net Heat of Comb      (:cell:) J/kmol             
(:cellnr:) af  (:cell:) Acentric Factor          (:cell:) unitless           
(:cellnr:) rg  (:cell:) Radius of Gyration        (:cell:) m                   
(:cellnr:) sp  (:cell:) Solubility Parameter      (:cell:) (J/m^3)^0.5         
(:cellnr:) dm  (:cell:) Dipole Moment            (:cell:) c*m                 
(:cellnr:) r    (:cell:) van der Waals Volume      (:cell:) m^3/kmol           
(:cellnr:) q    (:cell:) van der Waals Area        (:cell:) m^2                 
(:cellnr:) ri  (:cell:) Refractive Index          (:cell:) unitless           
(:cellnr:) fp  (:cell:) Flash Point              (:cell:) K                   
(:cellnr:) lfl  (:cell:) Lower Flammability Limit  (:cell:) K                   
(:cellnr:) ufl  (:cell:) Upper Flammability Limit  (:cell:) K                   
(:cellnr:) lflt (:cell:) Lower Flamm Limit Temp    (:cell:) K                   
(:cellnr:) uflt (:cell:) Upper Flamm Limit Temp    (:cell:) K                   
(:cellnr:) ait  (:cell:) Auto Ignition Temp        (:cell:) K                   

 Temperature Dependent Property Data                                   
(:table border=1 width=100%:)
(:cellnr:) sd  (:cell:) Solid Density            (:cell:) kmol/m^3         
(:cellnr:) ld  (:cell:) Liquid Density            (:cell:) kmol/m^3         
(:cellnr:) svp  (:cell:) Solid Vapor Pressure      (:cell:) Pa               
(:cellnr:) lvp  (:cell:) Liquid Vapor Pressure    (:cell:) Pa               
(:cellnr:) hvap (:cell:) Heat of Vaporization      (:cell:) J/kmol           
(:cellnr:) scp  (:cell:) Solid Heat Capacity      (:cell:) J/kmol*K         
(:cellnr:) lcp  (:cell:) Liquid Heat Capacity      (:cell:) J/kmol*K         
(:cellnr:) igcp (:cell:) Ideal Gas Heat Capacity  (:cell:) J/kmol*K         
(:cellnr:) svc  (:cell:) Second Virial Coefficient (:cell:) m^3/kmol         
(:cellnr:) lv  (:cell:) Liquid Viscosity          (:cell:) Pa*s             
(:cellnr:) vv  (:cell:) Vapor Viscosity          (:cell:) Pa*s             
(:cellnr:) sk  (:cell:) Solid Thermal Conductivity(:cell:) W/m*K             
(:cellnr:) lk  (:cell:) Liq Thermal Conductivity  (:cell:) W/m*K             
(:cellnr:) vk  (:cell:) Vap Thermal Conductivity  (:cell:) W/m*K             
(:cellnr:) st  (:cell:) Surface Tension          (:cell:) N/m               
(:tableend:)

July 22, 2010, at 07:19 PM by 158.35.225.231 -
Added line 42:
* Thermo - Thermodynamic properties
March 04, 2010, at 08:00 PM by 158.35.225.227 -
Changed lines 11-26 from:
* Feed
* Flash
* Flash_column
* Lag
* Massflow
* Mixer
* PID
* Poly_reactor
* Pump
* Reactor
* Splitter
* Stage_1
* Stage_2
* Stream_lag
* Vessel
* Vesselm
to:
* Feed - Feed stream
* Fabs - Absolute value
* Fmax - Maximum value
* Fmin - Minimum value
* Fsign - Number Sign (-1 or 1)
* Flash - Flash
* Flash_column - Flash column
* Info - Info file for variable classification
** Info_FV - Fixed Variable
** Info_MV - Manipulated Variable
** Info_SV - State Variable
** Info_CV - Controlled Variable
** Info_SVM - Measured State Variable
** Info_CVM - Measured Controlled Variable
* Lag - First order lag
* Lookup - Lookup table
* LTI - Linear time-invariant, discrete or continuous
* Mass - Mass of a reserve
* Massflow - Massflow of a stream
* Massflows - Massflows of a stream
* Mixer - Mixer of 2 or more streams
* PID - Proportional Integral Derivative Controller
* Poly_reactor - Polymerization reactor
* Pump - Pump for changes in pressure
* PWL - Piece-wise Linear
* Reactor - Vessel with reaction of individual species
* Recovery - Separation by recovery
* Splitter - Split of one stream into 2 or more streams
* Stage_1 - Distillation stage (type 1)
* Stage_2 - Distillation stage (type 2)
* Stream_lag - First order lag of streams
* Vessel - Molar reserve with multiple inlet streams
* Vesselm - Mass reserve with multiple inlet streams
September 08, 2009, at 08:12 PM by 158.35.225.231 -
Changed line 82 from:
  distill.liq_mixer.inlet2.*          = distill.stage[1].l_out.*
to:
  distill.liq_mixer.inlet[2].*          = distill.stage[1].l_out.*
Changed line 94 from:
  distill.vap_mixer.inlet2.*          = distill.stage[2].v_out.*
to:
  distill.vap_mixer.inlet[2].*          = distill.stage[2].v_out.*
Changed lines 101-102 from:
  distill.reflux.outlet2.*            = distill.stage[1].l_in.*
to:
  distill.reflux.outlet[2].*            = distill.stage[1].l_in.*
Changed lines 140-143 from:
     fd_c2h4  = distill.feed.x(1)
    fd_c3h6  = distill.feed.x(2)
    fd_c3h8  = distill.feed.x(3)
    fd_h2    = distill.feed.x(4)
to:
     fd_c2h4  = distill.feed.x[1]
    fd_c3h6  = distill.feed.x[2]
    fd_c3h8  = distill.feed.x[3]
    fd_h2    = distill.feed.x[4]
November 03, 2008, at 03:33 PM by 158.35.225.228 -
Changed lines 3-6 from:
Pre-build objects are available in the %blue%A%red%P%black%Monitor language to facilitate flowsheets of chemical processing equipment.  Objects are defined in the ''Objects ... End Objects'' section of the model file.  New instances of an object are defined by declaring a new object name followed by the word ''AS'' and the parent object type.

''new_child'' As
''parent_object''
to:
Pre-build objects are available in the %blue%A%red%P%black%Monitor language to facilitate flowsheets of chemical processing equipment.  Objects are defined in the ''Objects ... End Objects'' section of the model file.  New instances of an object are defined by declaring a new object name equal to the parent object type.

''new_child'' = ''parent_object''
Changed lines 46-52 from:
  feed          As Feed
  feed_lag      As Stream_Lag
  feed_cooler    As Vessel
  feed_flash    As Flash
  liq_mixer      As Mixer
  vap_mixer      As Mixer
to:
  feed          = Feed
  feed_lag      = Stream_Lag
  feed_cooler    = Vessel
  feed_flash    = Flash
  liq_mixer      = Mixer
  vap_mixer      = Mixer
Changed lines 54-57 from:
  condenser      As Vessel
  drum          As Flash
  reflux        As Splitter
to:
  condenser      = Vessel
  drum          = Flash
  reflux        = Splitter
Changed lines 59-60 from:
  stage[1:8]    As Stage_1
to:
  stage[1:8]    = Stage_1
Changed lines 62-65 from:
  sump          As Vessel
  reboiler      As Vessel
  reboiler_flash As Flash
to:
  sump          = Vessel
  reboiler      = Vessel
  reboiler_flash = Flash
Changed lines 67-70 from:
  sump_mass      As Mass
  feed_massflow  As Massflow
  cleu_massflow  As Massflow
  btms_massflow  As Massflow
to:
  sump_mass      = Mass
  feed_massflow  = Massflow
  cleu_massflow  = Massflow
  btms_massflow  = Massflow