Aspen Plus Notes

The course Process Design and Integration requires the application of ASPEN PLUS. Some learning notes and mentioned ROTs are collected in this note.
Main tutorial video: Beginner and Advanced (Very clear and highly recommended for beginners, delivered in Chinese)

Trouble Shooting Log

Some places need taking attention (in Simulation tab)

  • Stream
  • Block | Block Name | Design Specification
  • Block | Block Name | Vary
  • Flowsheeting Options | Design Specs
  • Model Analysis Tools | Sensitivity

RESET if any error

be careful about stream | component | mole/mass | flow/frac |


updated on 210406 一些血肉教训

  1. For RadFrac, Azeotrope is much harder to converge. If any possible azeotropic system, try Strongly non-ideal liquid (rmb azeotrope cannot be dealt with DSTWU)
  2. If it takes a long time (i.e. longer then a few seconds), then there is probably warning/error
  3. I personally use a lot of sensitivity analysis as an approach to find a value that converge without error.

Basic

2 major tabs to operate: Properties and Simulation

3 major blank to fill: Components of inlet, Setting of equipment and Utilities (公用工程)

Utilities usually includes source of heat, electricity, etc, which can be provided to particular equipment and calculate the required cost

Type of equipment

  • Mixer, splitter

  • Heat Exchanger

    • Stream & Utilities
    • Stream & Stream (direction of hot & cold stream strictly defined initially)
  • Pressure Changer

    • Pump - make sure no gas involved
    • Compressor - make sure no liquid involved
    • Valve
  • Reactor (if adiabatic, in first tab change duty to 0)

    • Rstoic - stop at given conversion, not often used in major reaction, but used to determine the conversion of by-product.
    • REquil - stop at equilibrium
    • RCSTR
  • Column

    • Two kinds, non-strict (DSTWU) and strict(RADFRAC)
    • Utilities cannot be added to DSTWU but can be added to RADFRAC
    • Procedure: give ideal conversion to DSTWU, DSTWU generates Actual Number of Plates and Actual Reflux Ratio, fill these two numbers to RADFRAC and get real result.
    • # of plates should be between 20 to 30. Height of tower should be no more than 40m (usually 30m).
    • Reflux ratio is usually less than 10 (preferably 5). But if the flow rate is small then could be larger.
    • Lower pressure facilitate the distillation, however the cost would also increase to decrease pressure

      Catalyst adsorption model LHHW(mentioned in video but not detailed explanation here)

Other operation

Sensitivity research

Sensitivity research is a process to specify some independent and dependent variables and see how dependent variables change with independent one (usually shown in plot) to choose best configuration and optimize the process.

Often used independent variables for column analysis (in the vary tab)

  • number of plates
  • reflux ratio & reboiler duty
  • feeding plates

Often used dependent variables for column analysis (in the define tab)

  • yield
  • mole fraction of outlet stream

Multiple dependent variables can be plotted in the same plot for better judgement.

ROT: e.g. plot

If not converged

  1. increase in number of iteration (in simulation | converge | configuration | method | Wegstein)
  2. bad initialization - method: copy the stream components for the current unconverged result to the initial component value

原文地址:https://bbs.mahoupao.com/thread-83978-1-1.html

循环收不收敛,是数学算法的范畴,但往往都是工艺上出了问题,比如流量、温度、组成等与实际差的太大造成不收敛。
至于数学算法,当今处理迭代计算最先进的算法就那么几种,可以换着试试。
建模初期往往不需要将循环物流接上去,可人工虚拟一股物流,让模型收敛后,再考虑撤除虚拟物流,将循环物流接入。
以上为个人观点。

在模拟有循环的流程时,首先按流程顺序模拟好每一个模块,在每一模块模拟好之后,将需要循环的物料进行循环。通常在进行循环时会出现不收敛和很多错误与警告(在有几个精馏塔时错误和警告数最多,流程越难收敛)。以下是模拟循环的步骤。
1、将需要循环的物料连接一个分流器Fsplit分出一部分物料(因反应中有惰性组分产生,如果不进行分流放空就会造成惰性组分在循环中积累导致循环不收敛),一般分出的物料较少。将另一股物料连接到循环的起始点。
2、我们首先将收敛方法的迭代次数增加到较大的值,根据自己的情况自己设置,我一般是设为300次。
3、根据最初的反应物料进料量和循环反应物的量计算出循环时反应物的进料量(计算精确一点,最好到小数点后两位,此计算值较为准确),循环不收敛或产物的产量和自己设计的不同时只需微调进料量即可。
4、对于只有一个塔的循环,先将塔换为DSTWU模块进行设计计算,结果收敛后再换为RadFrac模块计算。
5、对于有多个精馏塔的循环,首先全部换为DSTWU模块进行设计计算,在计算结果收敛和达到自己设计的产量后再将DSTWU模块每次一个(将循环流程内的DSTWU模块一个换为RadFrac模块,计算收敛和产量达预定值时再换下一个)的换为RadFrac模块进行设计计算。
6、如果循环很难收敛,我们考虑改变收敛方法,一般布洛伊顿拟牛顿法(Broyden)最易收敛。
7、对于具体不收敛情况,我们只需微调精料量和精馏塔的回流比(根据具体情况进行调节,有的只要调节小数点后两位的值流程有可能有很大变化)。
8、根据个人经验,小数点后的最后一位数设置为偶数比设置为奇数流程更易收敛。

Examples and Exercises

The main reference book is Chemical Engineering Process Simulation Practice - Aspen Plus Instruction (Yilan Sun)

Here are the recording of troubleshooting and learning summary.

Ex 4.1 flash*3

  1. no specification for flash evaporator -> the solution use 0 pressure and 0 duty (the question said ‘adiabatic and isobaric’!)
  2. MIX2 is normal while LIQUID2 and VAPOR2 are shown 0 -> forgot to change temperature to duty

Summary:

  • properties can be changed in Block|FLASH|Block Options|Properties
  • UNIQUAC - more liquid less vapor, NRTL&WILSON quite similar

Ex 5.1 Production of cyclohexane

  1. where is the pressure drop specification of Rstoic -> the pressure section in the specification means the pressure increase or drop(relative) in reactor
  2. differentiate PIPE and PIPELINE
  3. several deviation found (deviation in the order of 1e1) -> change method properties (mentioned in the first sentence of question) -> exactly same output obtained

Summary:

  • be careful with method properties

Eg 7.4 Design specification of absorber

how to define the design specification

  1. Block | RADFRAC | Specifications | Design Specification (add a specific target)
  2. Block | RADFRAC | Specifications | Vary (Add an independent variable to reach the target)

对于宽沸程物系,要在Convergence | Convergence | Advanced 把adsorber的no改成yes,然后把maximum iteration改成200

Ex 7.1 Distillation column of water and methanol

  1. Method | Parameters ??? -> automatically filled after filling the simulation part
  2. initial number of plates of column? pressure? -> I had 20 plates and same pressure as feed first(OK actually operation pressure given but I missed it)

Compare the result of two column: RadFrac has a bit higher recovery of methanol

Plotting gas distribution curve

Enter Block | Column | Profile. See the Column Design tab above can there is Custom, temperature, composition, K value(need to extend the frame) etc. Click composition and setup and generation the composition distribution graph (x axis is stage)

So strange things are here:

  1. For DSTWU, given operation pressure of column is 100kpa, but in solution the setting pressure for condenser and reboiler are 100kpa and 103kpa respectively. And the reflux ratio is set as -1.3. (It could be somehow interpreted that the pressure in reboiler should be higher(more vapor) and in condenser should be lower (more liquid))

    So in my simulation I set number of plates instead of reflux ratio, which is not good for getting better number of plates. While other simulation outcome (D/F ratio, reflux ratio are quite similar)

  2. If feed stage obtained in DSTWU is floating number, we should round? ceil? the number? (emmm I have it ceiled first)

  3. For the stream results, the mole fraction of methanol is RadFrac is SMALLER that that of DSTWU……..

Eg 9.2 CH2Cl2 Recovery optimization

  1. Model Analysis Tools | Optimization

    Create Optimization O-1:
    Define FLOW1 and FLOW2
    Objective & Constraints minimize FLOW1 + FLOW2
    Vary 1 and 2 (set as mass flow of two inlet steam)

  2. Model Analysis Tools | Constraint | Spec

    Constraint C-1:

    Specification: DLOG(FCHCL2)
    Less than or equal to: DLOG(150E-6)
    Tolerance: DLOG(151E-6)-DLOG(150E-6 )

    Add Constraint C-1 to the Objective of optimization O-1

Eg 11.1 Azeotrope separation of ethanol-water system with recycle

Convergence with recycle.

Approach to reach convergence

  1. increase the Maximum flowsheet evaluations (iterations)

  2. Change the tear stream

    Convergence | Tear | Specifications

  3. Change the algorithm of convergence calculation

    Convergence | Options | Defaults | Default Methods and change to Newton

Problems encountered

除去light gas(H2&PY)

  •  粗分离用FLASH

  •  absorber用水回收AC的时候会带PY

  •  解决办法:flash+absorber+radrac distillation column

除去DE

  •  C2主要负责除去DE(在共沸点上方温度,DE沸点小于AC,底部收获AC)

  •  解决办法:在前面就purge掉

水和IPA回收

  •  C1和FLASH2

  •  解决办法:column分离AC和IPA,H2O,再column分离IPA和H2O

能量

  •  COMP用太多能量,只能用COMP的原因是因为有PY没办法轻松降温液化,要避免用COMP必须要除去PY