Reverse Osmosis Desalination Guide
Reverse Osmosis Desalination Guide
Template - Seawater
Desalination by
Reverse Osmosis
Siemens
SIMATIC PCS 7 V9.0 SP1 Industry
Online
[Link] Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
Siemens AG 2018 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use ([Link] shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
[Link]
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: [Link]
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 2
Table of contents
Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Principle of operation............................................................................ 5
1.3 Used hardware and software components........................................... 7
2 Preparation and commissioning ...................................................................... 8
2.1 Preparation ........................................................................................... 8
2.2 Commissioning ..................................................................................... 9
2.3 Components of process visualization ................................................. 10
2.4 Operating the application ................................................................... 11
2.4.1 Overview............................................................................................. 11
2.4.2 Scenario A - Reverse osmosis without multi-variable controller ........ 11
2.4.3 Scenario B - Reverse osmosis with multi-variable controller ............. 15
3 Integration of unit template into a user project ............................................ 18
3.1 Preparation ......................................................................................... 18
3.2 Copying templates .............................................................................. 18
3.3 Copying a plant section ...................................................................... 19
3.4 Customizing the OS project................................................................ 20
4 Engineering ...................................................................................................... 22
Siemens AG 2018 All rights reserved
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 3
1 Introduction
1 Introduction
1.1 Overview
Almost 97 percent of the water on earth is saline and cannot be used as drinking
water or for irrigation purposes. Desalination of seawater offers an opportunity to
obtain additional drinking or process water for people, industry and agriculture.
Efficient automation solutions are required to ensure the supply of fresh water,
especially in dry areas.
There are two types of processes for the desalination of seawater:
Thermal processes such as multi-stage flash distillation (MSF)
membrane processes such as reverse osmosis
The processes for desalinating seawater are very energy-intensive. In direct
comparison, pressure-driven membrane processes generally require slightly less
energy than thermal processes.
Seawater desalination based on reverse osmosis uses semipermeable membranes
to filter the dissolved salt from the seawater. For this purpose, the salt water is
pressed through the membranes at a higher pressure than the osmotic pressure of
the salt water. The high energy input is necessary to generate the high pressure in
front of the membrane.
A seawater desalination plant contains several sub-processes, which are shown
schematically in the following figure.
Siemens AG 2018 All rights reserved
1. Pre-treatment:
The salt water is cleaned of dirt and sand by mechanical filtration and
ultrafiltration. In addition, the pH value is balanced and bacteria is killed by
adding chlorine.
2. Desalination process:
In the actual desalination process, the salt water is pressed at high pressure
into a filter system containing a large number of osmosis membranes.
The osmotic pressure of the sea water must be overcome (reverse osmosis).
The product is purified water and the by-product brine.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 4
1 Introduction
3. Post-treatment:
Finally, the pH value is regulated again and the drinking water is enriched with
minerals.
Detailed information on the application background can be found in \3\.
1 2
4 3
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 5
1 Introduction
Overview picture
This process picture contains a schematic representation of a seawater
desalination plant. The components of the schematic representation are described
in section 1.1 "Overview".
Siemens AG 2018 All rights reserved
Process picture
The reverse osmosis process picture shows all process tags, drives and controllers
required for operation of the plant unit.
The majority of the process tags are analog value displays, which show the
(simulated) process values as well as violations of specified upper or lower limits.
The displayed block symbols and faceplates are part of the PCS 7 Advanced
Process Library.
Note Further information can be found in the manual "SIMATIC Process Control
System PCS 7 Advanced Process Library":
[Link]
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 6
1 Introduction
Control concept
A multi-variable controller (MPC) is used to control flow rate and salinity (salt
concentration) of water. This controller manipulates the process via setpoint values
for the pressure at the membrane and the flow rate in recirculation.
In the MPC, the different target values are weighted differently. Product quality
(salinity) has the highest priority but remains within its dead zone during normal
operation. The controller only has to intervene if the salinity should be higher than
permitted. Therefore, the main controlled variable in normal operation is the
production output (permeate flow).
The electrical power consumption of high-pressure pump and booster pump are
low-priority controlled variables. The target values correspond to the operating
points with optimum pump efficiency.
PID controllers "PIDConL" of the APL are used for the flow of recirculation and
pressure at the membrane, which are slave controllers for the MPC master
controller.
SIMATIC PCS 7 ES/OS IPC547G W7 For the PCS 7 V9.0 SP1 example project
SIMATIC PCS 7 V9.0 SP1 Part of SIMATIC PCS 7 ES/OS IPC547G
W7
S7 PLCSIM Not a part of SIMATIC PCS°7 V9.0 SP1,
additional licenses required
APL V9.0 SP1 Part of SIMATIC PCS 7 V9.0 SP1
Note If the hardware is different, observe the minimum requirements for installing the
software components. The minimum requirements can be found in the PCS 7
Readme at the following link:
[Link]
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 7
2 Preparation and commissioning
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 8
2 Preparation and commissioning
2.2 Commissioning
The following instructions describe how to initialize the Unit Template. The project
contains an SFC which drives the system automatically to a predefined operating
point after starting.
For commissioning it is assumed that the SIMATIC Manager has already been
opened and the Unit Template is selected in the component view.
8. Confirm the dialog "Stop Target Modules" with "OK" and then the dialog
"Download" with "Yes".
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 9
2 Preparation and commissioning
5
1
2
4
Siemens AG 2018 All rights reserved
Function Description
Feed The temperature and flow rate of the salt water from the pre-treatment
and the pressure control by means of a high-pressure pump are
displayed at the inlet.
Recirc In the recirculation loop, the water pressure is displayed and the flow
rate is controlled by means of a booster pump (to increase the
pressure).
Permeate Contains Control Modules to display the flow rate and quality of the
purified water.
Brine Contains Control Modules to display the pressure and flow rate of the
brine discharged.
MPC Contains the Control Module of the multi-variable controller
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 10
2 Preparation and commissioning
All components of reverse osmosis can be operated and monitored via the process
picture. In addition, the plant operator receives information (KPIs: Key Performance
Indicators) on the current process state.
Note Please note that after starting the program (PLCSIM) it takes approx. 2 minutes
until the reverse osmosis is at the operating point. During the running production
operation, all controllers are released for operation. You can recognize this state
for example in the SFC, if it has successfully processed all process steps.
The following two scenarios show different approaches for the compensation of
fouling at the filter membranes by comparing:
Reverse osmosis without multi-variable controller
Reverse osmosis with multi-variable controller
2. Left click the “On/Off” button in the “Tag names” field to display the block
names.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 11
2 Preparation and commissioning
3. Click on the block symbol of the "RO-PIC Feed" block and select "Internal" for
"Setpoint". Confirm your entry by clicking on "OK".
4. Enter the setpoint "57.24" in the faceplate of the "RO-PIC feed" module and
confirm the entry by clicking on "OK".
Siemens AG 2018 All rights reserved
5. Repeat steps 3 and 4 for the PID controller "RO-FIC-Recirc" and enter the
setpoint "728.59".
6. Switch to the simulation process screen.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 12
2 Preparation and commissioning
10. Click on the "Retrieve/Compile trend groups" button and select the "Overview"
trend display.
11. Open the trend display by clicking on "Display".
12. Wait 2 minutes and enter a new setpoint of "57.54" for RO-PIC feed.
13. Wait another 1 minute and enter a new setpoint of "57.84".
14. Wait another 2 minutes and enter a new setpoint of "58.24".
15. Wait 2 minutes and enter a new setpoint of "740" for RO-FIC-Recirc.
16. Wait another 3 minutes and click on the "Start/Stop" icon to evaluate the rule
result.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 13
2 Preparation and commissioning
Evaluation
The figure shows the trend curves of reverse osmosis.
Fouling
Due to fouling of the filter membranes, the flow resistance of the membrane
increases. This leads to a deterioration of the quality and reduction of the amount
of drinking water produced. In order to compensate for the deterioration of product
Siemens AG 2018 All rights reserved
properties, the operator must manually increase the setpoint for the PID control
loop of the high-pressure pump. By increasing the pressure on the filter
membranes in several steps, the fouling effect can be compensated for about 10
minutes. After 10 minutes, the control loop of the inflow reaches the manipulated
variable limits and cleaning of the membrane becomes necessary.
Note Cleaning of the membrane is not a part of this application example. In the
simulation, only the degree of fouling is reset.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 14
2 Preparation and commissioning
In this scenario, the process of reverse osmosis is simulated in the same way as in
scenario A. In order to compensate for the fouling effects of the filter membranes,
the setpoints of inflow and recirculation control must be adapted. In this scenario,
these interventions are not carried out manually by the operator, but automatically
by the multi-variable master controller.
1. Switch to the reverse osmosis process screen.
Siemens AG 2018 All rights reserved
2. Left click the “On/Off” button in the “Process tag name” field to display the
block names.
3. Click on the block symbol of the SFC "Startup" and click "Start" in the menu
bar. Confirm your entry by clicking on "OK".
The sequencer set the PID controllers back to automatic mode and to setpoint
input from the MPC.
4. Switch to the simulation process screen.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 15
2 Preparation and commissioning
10. Wait approx. 10 minutes and click on the "Start/Stop" icon to evaluate the rule
result.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 16
2 Preparation and commissioning
Evaluation
The figure shows the trend curves of reverse osmosis.
Fouling
Due to fouling of filter membranes, the flow resistance of the membrane increases.
Siemens AG 2018 All rights reserved
This leads to a deterioration of the quality and reduction of the amount of drinking
water produced. As long as salinity after the membrane is lower than the specified
upper limit, the multi-variable master controller regulates the flow rate after the
membrane. As soon as salinity after the membrane exceeds the limit, salinity is
primarily controlled. By increasing the pressure on the filter membranes, the effect
of fouling on production can be compensated for about 10 minutes. After 10
minutes, the control loop reaches the manipulated variable limits and cleaning of
the membrane becomes necessary.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 17
3 Integration of unit template into a user project
Note If you have already worked with CMTs in your existing project, then check for
equality before the following steps, as this can lead to errors in your existing
project or the unit template to be integrated.
3. Copy the enumerations from the master data library and paste them into the
target project.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 18
3 Integration of unit template into a user project
Note The hierarchy folders of the plant sections "Overview" and "Simulation" are not
necessary for operation. If you want to operate your system without simulation,
you do not have to copy them.
Siemens AG 2018 All rights reserved
2. Copy the process screen "RevOsmosis" from the OS project of the unit
template into the plant hierarchy of the target project. If necessary, also copy
the pictures "Simulation" and "Overview".
Note When copying the process screens, make sure that you copy the screens to the
hierarchy level of the target project that is parameterized as the OS area.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 19
3 Integration of unit template into a user project
Note When you export or import the colors, all color tables are always taken into
account. It is not possible to export individual color tables.
If you have created your own color tables in your project, you can also export these
and merge the tables with an editor in the XML file. Alternatively, create a new
color table in your project and define the colors individually. Also make sure that
the color index does not change, otherwise you would have to adjust the color
settings of the objects in the process picture. Of course, it is up to you to change
the colors according to your requirements.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 20
3 Integration of unit template into a user project
005F87 0 95 135
003C55 0 60 85
494949 73 73 73
The following figure shows a simplified representation of how the colors are used in
the process picture.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 21
4 Engineering
4 Engineering
4.1 Control module types
In this unit template the following Control Module Types from the library "SWL
PCS7 V90 SP1" are used.
A detailed description of the Control Module Types can be found in the paper
"Equipment Modules for SIMATIC PCS 7 using the example of the Chemical
Industry" at [Link]
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 22
4 Engineering
4.1.1 WCMT_MonAnalog
In the application example, from the optional variants, only "MonAnIn" is used. The
optional variants "PMonAnalog" and "SelFp" require the PCS 7 Industry Library.
The following Control Modules are of type "WCMT_MonAnalog":
TI-Feed PI-Recirc
FI-Feed PI-Reject
JI-Feed JI-Recirc
FI-Permeate PI-Brine
PI-Permeate FI-Brine
QI-Permeate
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 23
4 Engineering
4.1.2 WCMT_MotSpdCon
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 24
4 Engineering
4.1.3 WCMT_PIDConL
The controller is used in the Unit Template to control the pressure at the membrane
and the flow of recirculation. No options are activated at the type instances used.
The following controllers are of type "WCMT_PIDConL":
PIC-Feed
FIC-Recirc
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 25
4 Engineering
4.1.4 CtrlMPC
The CMT "CtrlMPC" is used for multi-variable control. In contrast to the "Ctrl", the
multi-variable controller can handle up to four dependent manipulated and
controlled variables. MPC is short for "Model Predictive Control".
Siemens AG 2018 All rights reserved
The multi-variable controller is used in the Unit Template to directly control the
target values permeate flow and salinity of the permeate, thus compensating for
the effect of "fouling" at the membrane. The following options are activated for the
type instances used:
Opt_Ctrl_1
Opt_Ctrl_2
Opt_Ctrl_3
Opt_Ctrl_4
The controller "XC_Desalination" is of type "CtrlMPC":
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 26
4 Engineering
The pre-cleaned sea water from the ultrafiltration is transported via the inflow to
reverse osmosis unit. In order to exploit the existing pressure of the retentate, part
of the fresh sea water is passed through the pressure exchanger (energy recovery
device). The high-pressure pump generates the required pressure at the
membrane. The pressure level is specified as the setpoint at the controller.
Setup
PIC
Feed
TI FI NI JI
Feed Feed Feed Feed
Membrane
Pre-Treatment
Siemens AG 2018 All rights reserved
Pressure
Exchange
The following Control Modules are used in the "Feed" area of the plant section:
Control module Control module type Variants Description
RO-FI-Feed WCMT_MonAnalog MonAnIn Flow measurement (m³/h)
RO-TI-Feed WCMT_MonAnalog MonAnIn Temperature measurement (°C)
RO-JI-Feed WCMT_MonAnalog MonAnIn Power measurement (kW)
RO-NI-Feed WCMT_MotSpdCon OutFwd Variable speed drive
OutSpeed
FbkFwd
RbkSpeed
RO-PIC-Feed WCMT_PIDConL PV_In Pressure controller
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 27
4 Engineering
Parameter assignment
RO-FI-Feed
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 2000 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1349 Unit of measurement of the Control
Module (m³/h)
I PV_WL_Lim 300.0 Warning low limit
PV_AL_Lim 200.0 Alarm Low limit
PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
The following connections have been added in addition to the standard connection:
Block Connection Target Description
Siemens AG 2018 All rights reserved
RO-TI-Feed
The following parameters were changed from the default values during project
planning:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 28
4 Engineering
The following connections have been added in addition to the standard connection:
RO-JI-Feed
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 1300.0 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1190 Unit of measurement of the Control
Module (kW)
I PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
PV_AL_En 0 Alarm Low (Off)
PV_WL_En 0 Warning Low (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
Siemens AG 2018 All rights reserved
The following connections have been added in addition to the standard connection:
RO-NI-Feed
All parameters were used with the default values.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 29
4 Engineering
RO-PIC-Feed
The following parameters were changed from the default values during project
planning:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 30
4 Engineering
4.2.2 Recirculation
The fresh sea water, which has been lifted to a higher pressure level by the
pressure exchanger, is pumped to the membrane by the booster pump. The flow
rate to be pumped is specified as the flow setpoint at the controller:
Setup
Membrane
Siemens AG 2018 All rights reserved
Pre-Treatment
PI
Recirc
FIC
Recirc
NI JI
Recirc Recirc
Pressure
Exchange
The following Control Modules are used in the "Recirc" plant section area:
Control module Control module type Variants Description
RO-PI-Recirc WCMT_MonAnalog MonAnIn Pressure measurement (bar)
RO-JI-Recirc WCMT_MonAnalog MonAnIn Power measurement (kW)
RO-NI-Recirc WCMT_MotSpdCon OutFwd Variable speed drive
OutSpeed
FbkFwd
RbkSpeed
RO-FIC-Recirc WCMT_PIDConL PV_In Flow controller
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 31
4 Engineering
Parameter assignment
RO-PI-Recirc
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 90.0 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1137 Unit of measurement of the Control
Module (bar)
I PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
PV_AL_En 0 Alarm Low (Off)
PV_WL_En 0 Warning Low (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
The following connections have been added in addition to the standard connection:
Block Connection Target Description
Siemens AG 2018 All rights reserved
RO-JI-Recirc
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 140.0 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1190 Unit of measurement of the Control
Module (kW)
I PV_AH_En 0 High alarm (Off)
PV_WH_En 0 High warning (Off)
PV_AL_En 0 Low alarm (Off)
PV_WL_En 0 Low Warning (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 32
4 Engineering
The following connections have been added in addition to the standard connection:
RO-NI-Recirc
All parameters were used with the default values.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 33
4 Engineering
RO-FIC-Recirc
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
C Gain 0.16 Controller gain
TI 4.7 Controller delay time
SP_Int 728.6 Internal setpoint
PV_AH_En 80 Alarm High (Off)
PV_WH_En 75 Warning High (Off)
PV_WL_En 55 Alarm Low (Off)
PV_AL_Em 50 Warning Low (Off)
SP_InHiLim 900 Set point range corresponding to the
measuring range of the Control Module
SP_InLoLim 0
PV_In PV_InUnit 1349 Unit of measurement of the process value
(m³/h)
The following connections were added to the standard:
Block Connection Target Description
C SP to_Master.ReStru1 Merge connection to
MPC
SP_InHiOut to_Master.ReStru2
Siemens AG 2018 All rights reserved
SP_InLoOut to_Master.ReStru3
PV_Out to_Master.ReStru4
CasaCut to_Master.BoStru1
LockAct to_Master.BoStru3
SP_Ext from_Master.Restruc1 Disconnect wiring from
MPC
ModLiOp SFC "Start-up” A detailed description of
AutModLi the SFC can be found in
the section:4.2.7
ManModLi
SP_LiOp
SP_ExtLi
SP_IntLi
AutAct
SP_ExtAct
SP
PV_WH_Ac
OosAct Out to_Master.BoStru2 Merge connection to
PV_In PV_OutUnit to_Master.Int1 MPC
ScaleOut to_Master.Scale1
to_Master Out XC_Desalination\from_Ctrl2.In Connection to MPC
from_Master In XC_Desalination\to_Ctrl2.Out Connection from MPC
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 34
4 Engineering
4.2.3 Permeate
Here, the residual salinity and the quantity of desalinated seawater are recorded.
Setup
PI FI
Permeate Permeate
Membrane
Permeate
QI
Permeate
The following Control Modules are used in the "Permeate" plant section:
Control module Control module type Variants Description
RO-FI-Permeate WCMT_MonAnalog MonAnIn Flow measurement (m³/h)
RO-PI-Permeate WCMT_MonAnalog MonAnIn Pressure measurement (bar)
RO-QI-Permeate WCMT_MonAnalog MonAnIn Measurement of conductivity
(µS/cm)
In addition to conductivity, the quality of the product can also be represented by
salinity. For this purpose, the salinity is calculated in simplified form using the
following linear conversion factor:
Siemens AG 2018 All rights reserved
g µS
1 = ̂ 1226.1
L cm
Conductivity 𝑆 is usually measured at a real plant. However, the conversion into
salinity must be carried out individually. Conductivity depends, for example, on salt
composition, pressure and temperature.
Parameter assignment
RO-FI-Permeate
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 2000 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1349 Unit of measurement of the Control
Module (m³/h)
I PV_WL_Lim 100.0 Warning low limit
PV_AL_Lim 80.0 Alarm Low limit
PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 35
4 Engineering
The following connections have been added in addition to the standard connection:
RO-PI-Permeate
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 90.0 Measuring range of the Control
Siemens AG 2018 All rights reserved
I [Link] 0 Module
PV_InUnit 1137 Unit of measurement of the Control
Module (bar)
PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
PV_AL_En 0 Alarm Low (Off)
PV_WL_En 0 Warning Low (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
The following connections have been added in addition to the standard connection:
Block Connection Target Description
MonAnIn SimOn SIM_On_Off.Activate Activates/deactivates the
simulation
SimPV_In SIM_PI-[Link] Simulated process value
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 36
4 Engineering
RO-QI-Feed
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 1800.0 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 0 Unit of measurement of the Control
Module (µS/cm)
PV_AH_Lim 1300 Alarm high limit
PV_WH_LIM 1280 Warning high limit
PV_AL_En 0 Alarm Low (Off)
PV_WL_En 0 Warning Low (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
The following connections have been added in addition to the standard connection:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 37
4 Engineering
4.2.4 Brine
In this system area, the pressure of the retentate is measured and the pressure is
transferred to the fresh seawater by the pressure exchanger. Flow of the brine is
recorded in the discharge pipe.
Setup:
Membrane
PI
Reject
PI FI
Brine Brine
Pressure
Exchange
Brine
In the Equipment Modules "Brine" the following Control Modules are used:
Control module Control module type Variants Description
RO-FI-Brine WCMT_MonAnalog MonAnIn Flow measurement (m³/h)
RO-PI-Brine WCMT_MonAnalog MonAnIn Pressure measurement (bar)
RO-PI-Reject WCMT_MonAnalog MonAnIn Pressure measurement (bar)
Siemens AG 2018 All rights reserved
Parameter assignment
RO-FI-Brine
The following parameters were changed from the default values during project
planning:
The following connections have been added in addition to the standard connection:
Block Connection Target Description
MonAnIn SimOn SIM_On_Off.Activate Activates/deactivates the
simulation
SimPV_In SIM_FI_Brine Simulated process value
PV_Out SIM_FI_Brine.In2 Calculation for the simulation
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 38
4 Engineering
RO-PI-Brine
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MonAnIn [Link] 90.0 Measuring range of the Control
I [Link] 0 Module
PV_InUnit 1137 Unit of measurement of the Control
Module (bar)
PV_AH_En 0 Alarm High (Off)
PV_WH_En 0 Warning High (Off)
PV_AL_En 0 Alarm Low (Off)
PV_WL_En 0 Warning Low (Off)
GradHUpEn 0 Gradient High Alarm upwards (Off)
GradHDnEn 0 Gradient High Alarm downwards
(Off)
The following connections have been added in addition to the standard connection:
Block Connection Target Description
MonAnIn SimOn SIM_On_Off.Activate Activates/deactivates the
simulation
SimPV_In SIM_PI-[Link] Simulated process value
Siemens AG 2018 All rights reserved
RO-PI-Reject
The following parameters were changed from the default values during project
planning:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 39
4 Engineering
The multi-variable control system regulates flow rate and salt concentration of
water as a measure of product quality. For this purpose, the controller delivers its
output values as external setpoints to the slave controllers for feed pressure and
recirculation flow.
Product quality (salinity) has the highest priority but remains within its dead zone
during normal operation. The controller only has to intervene if the salinity should
be higher than permitted. Therefore, the main control variable in normal operation
is the production output (permeate flow).
The electrical power consumption of high-pressure pump and booster pump are
low-priority controlled variables. The target values correspond to the operating
points with optimum pump efficiency.
Setup
PIC XC
Feed Desalination
NI JI PI FI
Feed Feed Permeate Permeate
Membrane
Pre-Treatment Permeate
Siemens AG 2018 All rights reserved
FIC
Recirc
NI JI
Recirc Recirc
Pressure
Exchange
Brine
The following Control Modules are used in the "Desalination" plant section:
Control module Control module type Variants Description
RO-XC-Desalination CtrlMPC Opt_Ctrl_1 Multi-variable controller as
Opt_Ctrl_2 master controller
Opt_Ctrl_3
Opt_Ctrl_4
Parameter assignment
RO-XC-Desalination
The Control Module contains communication blocks for connecting slave
controllers and for displaying controlled variables, and is an instance of the Control
Module Type "CtrlMPC". The communication blocks are connected to the following
variables.
CVs (Controlled Variables):
Salinity after membrane (RO-QI-Permante)
Flow after membrane (RO-FI-Permante)
High-pressure pump power consumption (RO-JI feed)
Booster pump power consumption (RO-JI-Recirc)
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 40
4 Engineering
The following parameters were changed from the default values during project
planning:
Block Parameters Value Description
MPC SP1 533.31 Setpoint setting for the process value
1
SP2 475.0 Setpoint setting for process value 2
SP3 913.0 Setpoint setting for process value 3
SP4 65.0 Setpoint setting for process value 4
PreFilt1 24.0 Settling time in s of setpoint filter for
setpoint SP1
PreFilt1 36.0 Settling time in s of setpoint filter for
setpoint SP2
MV1Man 55.0 Control value in manual mode
MV2Man 700.0 Control value in manual mode
DB_No 18 DB number with controller data
DeadBand_SP1 In1 606.92 Upper limit of the deadband
Siemens AG 2018 All rights reserved
The following connections have been added in addition to the standard connection:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 41
4 Engineering
RO-NI-Feed RO-NI-Recirc
Output variables
In the simulation plan "Sim_Membran" the process variables of the MPC are
calculated. Operating points, delays and interactions are defined for each process
variable. The dynamic model describes deviations from the operating point for the
respective process variable.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 42
4 Engineering
For the transfer functions G11, G21, G31, G32, G41 and G42 a first-order delay
function (PT1 behavior) around the operating point is simulated.
1
2 3
The transfer functions G12 and G22 cannot be realistically simulated by first-order
delay functions (PT1 behavior). Therefore, for these two transfer functions, the
form
1+𝑇𝑧 ∙𝑠
𝐺(𝑠) = 𝐾𝑝 ∙ is selected
(1+𝑇𝑝1 ∙𝑠)(1+𝑇𝑝1 ∙𝑠)
1
Siemens AG 2018 All rights reserved
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 43
4 Engineering
Note The conversion of salinity to conductivity (measurable at the real plant) is carried
out for the template in simplified form with the following linear conversion factor:
g µS
1 = ̂ 1226.1
L cm
In a real plant, the actual salinity can only be calculated from the measured
conductivity. The conversion depends on salt composition, pressure and
temperature and must be calibrated individually.
Process simulation
In the simulation plan "Simulation" the process variables of the two PID controllers
are calculated. Operating points, delays and interactions are defined for each
process variable. The dynamic model describes deviations from the operating point
for the respective process variable.
1
2 3
2
Siemens AG 2018 All rights reserved
2 3
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 44
4 Engineering
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 45
4 Engineering
After the CPU has been started, the SFC "Startup" drives the system into the
operating point. The SFC starts the drives and defines setpoints for the controllers.
The messages of the Control Modules are blocked until all process values are
within the normal range. The SFC is processed only once after the start of the
CPU.
(1) "Lock Messages":
The messages of the affected blocks are
blocked.
1
(2) "NI-Feed-Link" and "NI-Recirc-Link":
The operation of the drives is set to
automatic and the setpoint source is set to 2
external.
(5) "Start_MPC".
Starting the MPC in manual mode and
setting the output value
6
(7) "Auto_MPC":
The MPC is given the setpoints and put into 8
automatic mode.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 46
4 Engineering
The CFC "KPI" contains key figures that inform the operator about the performance
of the process. The following key performance indicators are calculated and
displayed in the visualization:
1. Sheet: Specific energy consumption: The specific energy consumption is
calculated from the ratio of total power consumption to volume flow. The total
power is calculated by adding the power of the high-pressure pump and the
̇
booster pump. The outgoing volume flow 𝑉𝑃𝑒𝑟𝑚𝑎𝑡𝑒 corresponds to the permeate
product outflow.
𝑃Feed + 𝑃Recirc
𝑆𝐸𝐶 =
̇
𝑉Permeate
desalinated water.
̇
𝑉Product = ∫ 𝑉Permeate d𝑡
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 47
5 Basics
5 Basics
5.1 P&I diagram
The following P&ID shows the process of reverse osmosis within a seawater
desalination plant. This process is described in more detail in this application
example.
PIC XC
Feed Desalination
TI FI NI JI PI FI
Feed Feed Feed Feed Permeate Permeate
Membrane
Pre-Treatment Permeate
PI QI
Recirc Permeate
PIC
Recirc
NI JI PI
Recirc Recirc Reject
Pressure PI FI
Exchange Brine Brine
Siemens AG 2018 All rights reserved
Brine
For the composition of the process tags a uniform naming convention is used,
which corresponds to the European standard EN 62424. As shown here using the
example of a process tag for pressure recording, the process tag designations in
the AS program are structured as follows:
RO-PI-Feed
Plant code: RO (Reverse Osmosis)
First letter: P-pressure
Next letter: I - indicator
Measuring point code
The following tables contain the designations used in this application example and
their meaning:
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 48
5 Basics
The plant hierarchy is defined with three levels (plant, plant section and Equipment
Module) and the OS level is defined as level 2. The AS program for seawater
desalination is set up in the "RevOsmosis" plant unit.
The 'RevOsmosis' unit contains the Equipment Modules in which the CFCs are
located.
The process picture of reverse osmosis is displayed at the operator station in the
plant area "RevOsmosis". The process screen contains the Control Modules of all
Equipment Modules.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 49
5 Basics
Desalination OS - Project
Overview RevOsmosis Simulation
Desalination AS - Project
RevOsmosis
Birne
Feed
Permeate
Recirc
MPC
RevOsmosis
CFC SFC CFC
RO_XC_Desalination Startup KPI
RevOsmosis
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 50
5 Basics
2 4
1
Siemens AG 2018 All rights reserved
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 51
5 Basics
Startup
After you start the CPU, the SFC "Startup" is executed. You can check the status
of the SFC at the block symbol with the corresponding faceplate and restart the
sequencer if necessary.
Siemens AG 2018 All rights reserved
PID control
The drives "NI-Feed" and "NI-Recirc" are controlled by a PID controller. The
controller "PIC-Feed" controls the pressure "PI-Feed" at the osmosis membrane.
The controller "FIC-Recirc" regulates the flow "FI-Recirc" of fresh sea water, which
has been brought to a higher pressure level by the pressure exchanger.
The setpoints for PID control of pressure and flow are specified by the multi-
variable controller.
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 52
5 Basics
MPC
The PID controllers "PIC-Feed" and "FIC-Recirc" receive the setpoints from a
master multi-variable controller. The multi-variable controller commands up to four
interacting manipulated and controlled variables as well as one measurable
disturbance variable. In this case, the flow rate and the quality of the product are
read and the manipulated variables for the desalination process are calculated.
Siemens AG 2018 All rights reserved
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 53
5 Basics
Then connect the connection "PV_In" or "PV_Out" of all driver blocks to the
process periphery.
Siemens AG 2018 All rights reserved
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 54
6 Appendix
6 Appendix
6.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
[Link]
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
[Link]/industry/supportrequest
Siemens AG 2018 All rights reserved
Service offer
Our range of services includes the following:
Plant data services
Spare parts services
Repair services
On-site and maintenance services
Retrofitting and modernization services
Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
[Link]
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 55
6 Appendix
Reverse osmosis
Entry ID: 109741119, V1.0, 10/2018 56