Distillation method with controlled energy supply
11806646 · 2023-11-07
Assignee
Inventors
Cpc classification
C07C265/14
CHEMISTRY; METALLURGY
B01D2259/65
PERFORMING OPERATIONS; TRANSPORTING
B01D3/148
PERFORMING OPERATIONS; TRANSPORTING
C07C265/14
CHEMISTRY; METALLURGY
International classification
B01D3/14
PERFORMING OPERATIONS; TRANSPORTING
Abstract
The present invention relates to a process for thermally separating a mixture comprising a first main component and a second main component, where the boiling point of the first main component is lower than the boiling point of the second main components. The invention further relates to a system for thermal separation comprising a computer for control of the thermal separation which is set up to control the process of the invention. By means of predetermined thermodynamic models, pressure and temperature data are used to ascertain the proportions of first and second main component in bottom product streams.
Claims
1. A process for thermally separating a mixture comprising a first main component and a second main component, where the boiling point of the first main component is lower than the boiling point of the second main component, the process comprising: A) evaporating a mixture of the first main component and the second main component in an evaporator by supplying thermal energy to obtain a gaseous mixture of the first main component and the second main component and a first bottom product that are in a vapor-liquid equilibrium with one another; B) transferring the gaseous mixture from A) to a thermal separation apparatus, where the second main component at least partly condenses as a second bottom product in the separation apparatus, the first main component remains at least partly in a gas phase, and there is a vapor-liquid equilibrium between the second bottom product and the gas phase; C) removing the first bottom product from the evaporator in a first bottom product stream at a mass flow rate F.sub.1, wherein the first bottom product stream is removed from the evaporator separately from the gaseous mixture; D) removing the second bottom product from the separation apparatus in a second bottom product stream at a mass flow rate F.sub.2; E) combining the first and second bottom product streams to give a third bottom product stream with a mixing ratio v=F.sub.1/(F.sub.1+F.sub.2), in which F.sub.1 is a mass flow rate for removing the first bottom product stream and F.sub.2 is a mass flow rate for removing the second bottom product stream; F) dividing the third bottom product stream into at least one target product stream at a mass flow rate F.sub.3 and a recycle stream at a mass flow rate F.sub.rec, where the target product stream is withdrawn and the recycle stream is recycled into the evaporator and where the target product stream has a target value for the proportions of the first and second main components; the process further including determining the pressure p that exists collectively in the evaporator and/or the separation apparatus, determining the temperature T.sub.1 that exists in the evaporator, determining the temperature T.sub.2 that exists in the separation apparatus, determining according to a first predetermined thermodynamic model, from p and T.sub.1 which are the proportions of the first and second main components in the first bottom product stream, expressed as quality Q.sub.1, determining according to a second predetermined thermodynamic model, p and T.sub.2 which are the proportions of the first and second main components in the second bottom product stream, expressed as quality Q.sub.2, calculating based on the qualities Q.sub.1 and Q.sub.2 and the mixing ratio v, the proportions of the first and second main components in the target product stream, expressed as quality Q.sub.3, as the actual value and, altering the supply of thermal energy to the evaporator depending on the deviation of the actual value from the target value for the proportion of the first main component in the third bottom product stream.
2. The process according to claim 1, wherein the first main component is a haloaromatic and/or the second main component comprises a polyisocyanate.
3. The process according to claim 1, wherein the evaporator is heated by steam having a mass flow rate F.sub.D.
4. The process according to claim 3, wherein the mass flow rate F.sub.1 is calculated as follows:
F.sub.1=F.sub.Rec−F.sub.D.Math.(h.sub.D/h.sub.K1) wherein h.sub.K1 is enthalpy of evaporation of the first main component, h.sub.D is enthalpy of evaporation of the steam heating the evaporator, and F.sub.D is the mass flow rate of steam into the evaporator.
5. The process according to claim 1, wherein the temperature T.sub.1 is measured by a sensor disposed in the evaporator and/or wherein the pressure p is measured by a sensor disposed in the evaporator.
6. The process according to claim 1, further including measuring the mass flow rate F.sub.3 of the target product stream and the temperature T.sub.3 in the target product stream.
7. The process according to claim 6, wherein the mass flow rate F.sub.2 is calculated as follows:
F.sub.2=F.sub.3+F.sub.Rec−F.sub.1.
8. The process according to claim 7, wherein the temperature T.sub.2 is calculated as follows:
T.sub.2=[c.sub.p,3.Math.T.sub.3.Math.(F.sub.3+F.sub.Rec)−c.sub.p,1.Math.T.sub.1.Math.F.sub.1]/[.sub.cp,2.Math.F.sub.2] wherein c.sub.p,1 is heat capacity of the first bottom product stream, c.sub.p,2 is heat capacity of the second bottom product stream and c.sub.p,3 is heat capacity of a target product stream.
9. The process according to claim 8, wherein quality Q.sub.3 is calculated by a mixing ratio v or v′ as follows:
Q.sub.3=v.Math.Q.sub.1+(1−v).Math.Q.sub.2
or
Q.sub.3=v′.Math.Q.sub.1+(1−v′).Math.Q.sub.2 wherein v′ is calculated as follows:
v′=(T.sub.3−T.sub.2)/(T.sub.1−T.sub.2).
10. The process according to claim 1, further including determining the proportions of the first and second main components in the target product stream experimentally at least once and correcting the calculation of the quality Q.sub.3 with the experimentally determined proportions.
11. The process according to claim 1, wherein a correction value is added onto p.
12. The process according to claim 11, wherein the correction value added onto p is calculated from a value determined experimentally.
13. The process according to claim 10, further including estimating coefficients of activity of the partial pressures of the first main component and/or the second main component with p, T.sub.1 and/or T.sub.2 and the value determined experimentally, =in an estimation of state based on a Kalman filter or a least-squares parameter estimate on a moving horizon.
14. The process according to claim 1, further including monitoring operating status of sensors and, switching operation to an alternative process when predetermined criteria are fulfilled.
Description
BRIEF DESCRIPTION OF THE FIGURE
(1) The present invention will now be described for purposes of illustration and not limitation in conjunction with the figures, wherein:
(2)
DETAILED DESCRIPTION OF THE INVENTION
(3) The problem addressed by the present invention is that of providing a process and a system with which, in particular, the MCB concentration in the context of HDI preparation can be determined more reliably and quickly, a desired target value can be complied with and this target value can be maintained even in the presence of perturbations.
(4) This problem is solved by a process according to claim 1 and a system according to claim 15. Advantageous developments are specified in the dependent claims. They can be combined as desired, unless the opposite is clearly apparent from the context.
(5) A process for thermally separating a mixture comprising a first main component and a second main component, where the boiling point of the first main component is lower than the boiling point of the second main component (each under the same conditions), thus comprises the steps of:
(6) A) evaporating a mixture of the first main component and the second main component in an evaporator by supplying thermal energy to obtain a gaseous mixture of the first main component and the second main component and a bottom product that are in a vapour-liquid equilibrium with one another;
(7) B) transferring the gaseous mixture from step A) to a thermal separation apparatus, where the second main component at least partly condenses as bottom product in the separation apparatus, the first main component remains at least partly in the gas phase, and there is a vapour-liquid equilibrium between the bottom product and the gas phase;
(8) C) removing the liquid bottom product from the evaporator in a first bottom product stream at a mass flow rate F.sub.1;
(9) D) removing the liquid bottom product from the separation apparatus in a second bottom product stream at a mass flow rate F.sub.2;
(10) E) combining the first and second bottom product streams to give a third bottom product stream with a mixing ratio v=F.sub.1/(F.sub.1+F.sub.2);
(11) F) dividing the third bottom product stream into at least one target product stream at a mass flow rate F.sub.3 and a recycle stream at a mass flow rate F.sub.rec, where the target product stream is withdrawn and the recycle stream is recycled into the evaporator and where the target product stream has a target value for the proportions of the first and second main components.
(12) The pressure p that exists collectively in the evaporator and/or the separation apparatus is determined therein and the temperature T.sub.1 that exists in the evaporator is determined therein and the temperature T.sub.2 that exists in the separation apparatus is determined therein.
(13) p and T.sub.1 are used to determine, via a first predetermined thermodynamic model, the proportions of the first and second main components in the first bottom product stream, expressed as quality Q.sub.1, p and T.sub.2 are used to determine, via a second predetermined thermodynamic model, the proportions of the first and second main components in the second bottom product stream, expressed as quality Q.sub.2, and the qualities Q.sub.1 and Q.sub.2 and the mixing ratio v are used to calculate the proportions of the first and second main components in the target product stream, expressed as quality Q.sub.3, as the actual value.
(14) Finally, depending on the deviation of the actual value from the target value for the proportion of the first main component in the third bottom product stream, the supply of thermal energy to the evaporator is altered.
(15) The first and second main components may be individual compounds. It is also possible that a multitude of compounds having similar boiling temperatures is treated as one substance and this multitude then forms the main component.
(16) The evaporator is frequently also referred to as “reboiler”. Useful thermal separation apparatuses include, but are not limited to, columns such as distillation columns or such as rectification columns, or else apparatuses for flash evaporation.
(17) The prediction from the soft sensor can be improved by refining the thermodynamic model. In the case of known non-ideal behaviour of the mixture, the non-linearities of the liquid phase can be taken into account via the calculation of activity coefficients via a suitable G.sup.E model (excess parameter), for example an NRTL (non-random two-liquid model) approach. Non-idealities of the gas phase can be taken into account via a calculation of the coefficients of fugacity by means of a suitable equation of state (for example cubic Peng-Robinson or PC-SAFT).
(18) In a further embodiment, therefore, the first and/or second predetermined thermodynamic model is/are selected from: a model based on the Clausius-Clapeyron equation, a model based on the Antoine equation, a non-random two-liquid model, a universal quasichemical model or a universal quasichemical functional group activity coefficients model.
(19) In a system for thermal separation of a mixture comprising a first main component and a second main component, where the boiling point of the first main component is lower than the boiling point of the second main component (each under the same conditions), comprising a computer for control of the thermal separation, the computer is set up to control the process according to the invention.
(20) If, for elucidation, the process and system according to the invention are elucidated in connection with the MCB concentration in the preparation process for HDI for illustration, this should not be regarded as a restriction. The solution developed is also applicable to further applications that can be described by a thermodynamic vapour-liquid equilibrium, for example two-substance or quasi-two-substance mixtures. Further possible uses can be found in the field of isocyanates inter alia.
(21) In one embodiment, the first main component comprises a haloaromatic and/or the second main component a polyisocyanate. Examples of haloaromatics are monochlorobenzene and the isomeric dichlorobenzenes. Examples of isocyanates are 1,4-diisocyanatobutane, 1,5-diisocyanatopentane, 1,6-diisocyanatohexane (HDI), 2-methyl-1,5-diisocyanatopentane, 1,5-diisocyanato-2,2-dimethylpentane, 2,2,4- or 2,4,4-trimethyl-1,6-diisocyanatohexane, 1,10-diisocyanatodecane, 1,3- and 1,4-diisocyanatocyclohexane, 1,3- and 1,4-bis-(isocyanatomethyl)cyclohexane, 1-isocyanato-3,3,5-trimethyl-5-isocyanatomethylcyclo-hexane (isophorone diisocyanate, IPDI), 4,4′-diisocyanatodicyclohexylmethane, 4-isocyanatomethyloctane 1,8-diisocyanate (triisocyanatononane, TIN), ω,ω′-diisocyanato-1,3-dimethylcyclohexane (H6XDI), 1-isocyanato-1-methyl-3-isocyanatomethylcyclohexane, 1-isocyanato-1-methyl-4-isocyanatomethylcyclohexane, bis(isocyanatomethyl)norbornane, naphthalene 1,5-diisocyanate, 1,3- and 1,4-bis(2-isocyanato-prop-2-yl)benzene (TMXDI), 2,4- and 2,6-diisocyanatotoluene (TDI), especially the 2,4 and 2,6 isomers and technical grade mixtures of the two isomers, 2,4′- and 4,4′-diisocyanatodiphenylmethane (MDI), 1,5-diisocyanatonaphthalene, 1,3-bis(isocyanatomethyl)benzene (XDI). Preference is given to monochlorobenzene as the first main component and hexamethylene 1,6-diisocyanate (HDI) as the second main component.
(22) The process and system according to the invention can be used to implement continuous determination of the MCB concentration with the aid of a soft sensor (the soft sensor concept includes the indirect determination of a quality-relevant parameter via simple sensors and a known physical relationship), based on a vapour-liquid equilibrium of the components and based in each case on temperature measurement and pressure measurement in the bottom of the rectification column and in the evaporator. The bottom product stream from the evaporator and the bottom product stream from the separation direction are combined. A mass balance and/or an energy balance at the mixing point can be used to ascertain the mixing ratio of the starting streams from the column bottom and evaporator and the MCB concentration of the final output stream. A further energy balance over the evaporator and the ratio of the enthalpies of evaporation of the first component to that of the vapour stream can additionally be used to calculate the bottom stream from the evaporator and hence to reconstruct a temperature in the evaporator or in the separation unit which then need not be detected by measurement. This is advantageous since a sensor constitutes an intervention into the apparatus.
(23) The correlation between the pressure, the temperature and the molar MCB concentration for an MCB/HDI mixture which is partly evaporated and is in thermodynamic equilibrium can in principle be described via the Dalton law via the reconstruction of the pressure measured using the sum total of the partial pressures of MCB and HDI in the vapour phase. The partial pressure of the respective component in turn is proportional to the molar liquid concentration, of the vapour pressure and of the coefficient of activity. The basic relationship between the vapour pressure of a component and the temperature measured can be described via an Antoine equation. The coefficients of activity can be described, for example, via a G.sup.E model, and the coefficients of fugacity using an equation of state. With the aid of the molar masses and the calculated molar concentration, it is then possible to calculate the mass concentration of MCB in the liquid.
(24) One advantage of the invention is that a general/generic VLE module has been developed for calculation of the physical composition for a specific process control system, which can also be applied to further physical applications. All that this requires is for the vapour pressures of the respective pure materials to be known as the Antoine equation as a function of the temperature and the molar masses, and for measurement of temperature and pressure at the point in the process in the VLE to be available or determined indirectly, for example via mass and energy balances. If the physical data are correct, no further work on interpretation or implementation is necessary.
(25) The soft sensor concept gives a reliable, continuously available estimated value for the MCB concentration which is indicated to the plant operator in the process control system and can be used to control the process. The closed-loop control of the MCB concentration preferably replaces the closed-loop temperature control of the corresponding plant (however, the existing closed-loop temperature control system can remain as a backup in order to be activated automatically in the event of poor status of the soft sensor).
(26) The use of the soft sensor enables running of the concentration of MCB in ranges that are novel to existing plants (for example 30% rather than 5% or 0.1% rather than 5%). Any modifications to the plant can be achieved by means of larger apparatuses (evaporator, condenser, reactor, rectification column, . . . ) with, for example, higher evaporator output or condenser output or else larger pipelines.
(27) In the process according to the invention, detection of trends may be envisaged. If a trend for a process variable exceeds a limit (absolute value or change), an alarm can be triggered and/or the target value for the proportions of the first and second main components can be adjusted. Useful process parameters for this purpose include pressure, temperature and concentration of the first main component. The alarm can then lead to adjustment of the energy supply via the evaporator through the closed-loop control of the MCB concentration (automatically or via the plant operator) in order to counteract the perturbation which is detected by the trend. In addition, the target value for the closed-loop control can be adjusted.
(28) If there is a fault in the plant, the soft sensor (including closed-loop control system) can compensate for this via a target value adjustment.
(29) As shown in
(30) The plant has an evaporator 100 and a thermal separation apparatus 200. In step A), a mixture comprising MCB (first main component) and HDI (second main component) is evaporated in the evaporator 100. In a further embodiment, the evaporator 100 is heated by means of steam and the steam has a mass flow rate F.sub.D. Also obtained is a bottom product.
(31) In step B), as represented by stream 150, the gaseous mixture from step A) is transferred into the thermal separation apparatus 200 which may, for example, be a rectification column. The HDI as high boiler is the major component of the bottom product, and the MCB can be removed overhead. In the simplest case, the transfer is accomplished passively, i.e. via at least one pipeline that creates a fluid connection of the evaporator and the separation apparatus to one another.
(32) In steps C), D) and E), the bottom product from the evaporator 100 in the first bottom product stream 300 is removed at a mass flow rate F.sub.1 and the bottom product from the separation apparatus 200 in the second bottom product stream 400 at a mass flow rate F.sub.2, and they are combined to give the third bottom product stream 500. This third bottom product stream has the mixing ratio v and the quality Q.sub.3.
(33) In step F), this third bottom product stream 500 is then divided into the target product stream 600, which is withdrawn from the process at a mass flow rate F.sub.3, and a recycle stream 700 which is recycled into the evaporator 100 at a mass flow rate Free. New mixture to be separated is introduced in the feed stream to the separation apparatus 200.
(34) In a further embodiment, the mass flow rate F.sub.1 is calculated as follows:
F.sub.1=F.sub.Rec−F.sub.D.Math.(h.sub.D/h.sub.K1)
with h.sub.K1 as the enthalpy of evaporation of the first main component (here: MCB), h.sub.D as the enthalpy of evaporation of the steam used to heat the evaporator and F.sub.D as the mass flow rate of steam into the evaporator. F.sub.D and F.sub.Rec can be detected here via mass flow rate sensors.
(35) By virtue of the fluid connection between the evaporator 100 and the separation apparatus 200, where vapour-liquid equilibria exist, the collective pressure is p, which is determined in the process according to the invention. In addition, where vapour-liquid equilibria exist, the temperature T.sub.1 in the evaporator 100 and the temperature T.sub.2 in the separation apparatus 200 are determined. In a further embodiment, the temperature T.sub.1 is measured by means of a sensor disposed in the evaporator 100. In a further embodiment, the pressure p is measured by means of a sensor disposed in the evaporator 100. In a further embodiment, the pressure p is measured by means of a sensor disposed in the separation apparatus 200.
(36) In the process, p and T.sub.1 are used, via a first predetermined thermodynamic model, to determine the proportions of MCB and HDI in the first bottom product stream 300, expressed as quality Q.sub.1.
(37) In addition, p and T.sub.2 are used, via a second predetermined thermodynamic model, to determine the proportions of MCB and HDI in the second bottom product stream 400, expressed as quality Q.sub.2, and the qualities Q.sub.1 and Q.sub.2 are used to calculate the proportions of the first and second main components in the target product stream 600, expressed as quality Q.sub.3, as the actual value. Depending on the deviation of the actual value from the target value for the proportion of the first main component in the third bottom product stream 500, the supply of thermal energy to the evaporator 100 is altered. This can be effected by means of the computer 800 and the control unit 900. The computer carries out the calculations described hereinafter. By sample measurements, it is possible to obtain the laboratory value Q.sub.3,Lab that can be processed by the computer as calibration parameter.
(38) In a further embodiment, the mass flow rate F.sub.3 of the target product stream 600 and the temperature T.sub.3 that exists in the target product stream 600 are measured. With knowledge of the mass flow rate F.sub.3, the mass flow rate F.sub.2 can be calculated: F.sub.2=F.sub.3+F.sub.Rec−F.sub.1.
(39) In a further embodiment, the temperature T.sub.2 is calculated as follows:
T.sub.2=[c.sub.p,3.Math.T.sub.3.Math.(F.sub.3+F.sub.Rec)−c.sub.p,1.Math.T.sub.1.Math.F.sub.1]/[c.sub.p,2.Math.F.sub.2]
with c.sub.p,1 as the heat capacity of the first bottom product stream 300, c.sub.p,2 as the heat capacity of the second bottom product stream 400 and c.sub.p,3 as the heat capacity of the target product stream 600.
(40) In a further embodiment, the quality Q.sub.3 is calculated by means of the mixing ratios v or v′ as follows:
Q.sub.3=v.Math.Q.sub.1+(1−v).Math.Q.sub.2
or
Q.sub.3=v′.Math.Q.sub.1+(1−v′).Math.Q.sub.2
where v is as defined above and v′ is calculated as follows:
v′=(T.sub.3−T.sub.2)/(T.sub.1−T.sub.2)
(41) In a further embodiment, in addition, the proportions of the first and second main components in the target product stream 600 are determined experimentally at least once and the result is used to correct the calculation of the quality Q.sub.3.
(42) In a further embodiment, a correction value (pressure bias, p.sub.bias) is added onto p. In order also to detect changes particularly in the measurement of pressure itself over time, it is additionally possible to introduce feedback of the laboratory value. Therefore, in a further embodiment, the correction value that is added onto p is calculated from the aforementioned value determined experimentally. This feedback can be expressed in the form of a correction to the pressure measurement p and reduces the discrepancy between prediction and laboratory value for the MCB concentration to a high degree.
(43) Errors that are linear relative to pressure can thus be fully compensated for. In order to filter noise in the error feedback (caused by measurement noise in the analysis laboratory, temperature or pressure), a filter can be employed. This smooths the calculated pressure error in the case of a first-order filter (PT1) or eliminates clear outliers in the case of a median filter. Details of calculation of pressure bias can be found in equations (13), (14) later on in this text.
(44) Alternatively or additionally to the use of pressure bias, using the laboratory or sensor data, both coefficients of activity of the partial pressures can be estimated online via an estimate on a moving horizon. Details can be found in equation (15) later on in this text. Since both coefficients of activity affect the calculation in a linear manner, the parameter estimate can be solved analytically and likewise implemented in a process control system by simple means. The adjustment of the coefficients of activity for different concentration ranges thus further reduces the prediction error of the soft sensor. Non-idealities of the gas phase can be taken into account analogously by determination of the coefficients of fugacity.
(45) In a further embodiment, therefore, using p, T.sub.1 and/or T.sub.2 and the aforementioned experimentally determined value, the coefficients of activity of the partial pressures of the first main component and/or the second main component are estimated in an estimation of state based on a Kalman filter or a least-squares parameter estimate on a moving horizon.
(46) In order to obtain a robust and reliable signal for the MCB concentration, it is advantageous to propagate the status of the temperature sensor or pressure sensor to the output of the soft sensor. In addition, it is possible in each case to define both a working range and a maximum rate of change for the temperature or pressure sensor that switch the status of the soft sensor to “poor” in the event of infringement. In a further embodiment, therefore, in addition, the operating status of sensors used is monitored and, when predetermined criteria are fulfilled, operation is switched to an alternative process. In this way, the distillation plant can be operated reliably even in the event of sensor failure. The alternative process may be the conventional laboratory-based process for determining the MCB content or else a closed-loop temperature control system.
(47) In a further embodiment, the process is a continuous process.
(48) Using the example of the two-substance MCB/HDI mixture, it is to be explained how the mole fraction of MCB in the liquid phase can be calculated. Raoult's law gives:
y.sub.MCB.Math.Φ.sub.MCB.Math.p=x.sub.MCB.Math.γ.sub.MCB.Math.p.sub.MCB* (1)
(y.sub.MCB: mole fraction of MCB in the gas phase; Φ.sub.MCB: coefficient of fugacity of MCB; p: total pressure; x.sub.MCB: mole fraction of MCB in the liquid phase; γ.sub.MCB: coefficient of activity of MCB; p*.sub.MCB: saturation vapour pressure of MCB)
(49) The vapour pressure p*.sub.MCB of the pure component depends on the temperature T (here in ° C.) and can be calculated inter alia according to Antoine with the parameters A, B and C:
p*.sub.MCB=exp(A.sub.MCB+B.sub.MCB/(C.sub.MCB+273.15+T)) (1b)
(50) Equation (1) rearranged for p gives:
(51)
(52) The pressure p is the sum total of the partial pressures:
p=p.sub.MCB+p.sub.HDI (3)
(53) (p.sub.MCB: partial pressure of MCB in the gas phase; p.sub.HDI: partial pressure of HDI in the vapour phase)
(54) The partial pressures can be formulated for ideal coefficients of fugacity Φ.sub.MCB and Φ.sub.HDI as follows:
p.sub.MCB=x.sub.MCB.Math.γ.sub.MCB.Math.p.sub.MCB* (4)
p.sub.HDI=x.sub.HDI.Math.γ.sub.HDI.Math.p.sub.HDI* (5)
(55) In the two-substance mixture, x.sub.MCB+x.sub.HDI=1 can be defined. Then the partial HDI pressure can be formulated as follows (p.sub.HDI*: saturation vapour pressure of HDI):
p.sub.HDI=(1−x.sub.MCB).Math.γ.sub.HDI.Math.p.sub.HDI* (6)
(56) When the expressions for the partial pressures are inserted into equation (3), this gives:
p=(x.sub.MCB.Math.γ.sub.MCB.Math.p.sub.MCB*)+((1−x.sub.MCB).Math.γ.sub.HDI.Math.p.sub.HDI*) (7)
p=(x.sub.MCB.Math.γ.sub.MCB.Math.p.sub.MCB*)+((γ.sub.HDI−x.sub.MCB.Math.γ.sub.HDI).Math.p.sub.HDI*) (8)
p=(x.sub.MCB.Math.γ.sub.MCB.Math.p.sub.MCB*)+(γ.sub.HDI.Math.p.sub.HDI*−x.sub.MCB.Math.γ.sub.HDI.Math.p.sub.HDI*) (9)
(57) Solving for x.sub.MCB gives:
(58)
(59) On the left-hand side of the equation are solely terms that can be measured, can be calculated from the temperature or can be obtained/simulated from databases.
(60) With the molar masses MW.sub.MCB and MW.sub.HDI, the mass concentration x.sub.mass,MCB is obtained:
(61)
(62) The calculation of the correction value for the pressure p.sub.bias is found from the deviation between one calculated pressure value p.sub.calc which corresponds to the laboratory analysis x.sub.MCB and the pressure p measured by the sensor:
p.sub.calc,i=(x.sub.MCB,labor,i.Math.γ.sub.MCB,i.Math.p.sub.MCB,i*)+(γ.sub.HDI,i.Math.p.sub.HDI,i*−x.sub.MCB,labor,i.Math.γ.sub.HDI,i.Math.p.sub.HDI,i) (13)
(63) p.sub.bias is calculated as the median of the differences p.sub.calc,i and p.sub.sensor,i (p.sub.sensor denotes the pressure measured by the sensor, i denotes the index of the laboratory sample) across a horizon of length n+1, where k denotes the last laboratory sample analysed:
p.sub.bias=median(p.sub.calc,k−p.sub.sensor,k,p.sub.calc,k-1−p.sub.sensor,k-1, . . . ,p.sub.calc,k-n−p.sub.sensor,k-n) (14)
(64) Thus, the measured value p.sub.sensor can be corrected with p.sub.bias as input value for the pressure p in equation (12):
p=p.sub.sensor+p.sub.bias (14b)
(65) As an alternative to the median filter, the correction value for the pressure p.sub.bias can also be calculated via a first-order (PT1) or higher-order filter. One way of implementing a PT1 filter in a time-discrete manner is as follows, with Δt as sampling time for the sampling for the laboratory analysis and T.sub.Filter as filter time:
(66)
where p.sub.bias,k is the current correction value and p.sub.bias,k-1 the previous correction value. In a further embodiment, parameters in the calculation can be fitted to the data obtained in the course of production. One way of doing this is to estimate the coefficients of activity γ.sub.MCB and γ.sub.HDI via a least-squares method in order to fit the prediction of the above-described process to the laboratory data x.sub.MCB,lab,i, based on data across a horizon of length n+1, where index k denotes the last laboratory sample analysed:
(67)
(68) The estimated coefficients of activity can be varied as a function of temperature and physical composition for non-ideal behaviour of the liquid-vapour mixture. By this procedure, it is thus possible to detect the non-ideal behaviour of the mixture depending on the conditions (temperature, pressure).
(69) The correction value or coefficients of activity are calculated as soon as a new laboratory sample has been evaluated, i.e. with the sampling time of the sampling. The length of the horizon or filter time T.sub.filter typically corresponds to 10-50 samplings.