18 83585 Control Philosophy - G01-E002453-01-001
18 83585 Control Philosophy - G01-E002453-01-001
18 83585 Control Philosophy - G01-E002453-01-001
List of Figures
Figure 1: Compressor Capacity Control .......................................................................................................................15
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 3 of 19
Enerflex Document #: G01-E002453-01-001
When a shutdown or alarm occurs, the cause of the condition is displayed on the HMI. Any active alarms or
shutdowns are displayed on the active alarms annunciation display. The alarm or shutdown will disappear if the
condition is cleared and the reset button on the local HMI is pushed. An alarm history page is also provided; it lists
all alarms and shutdowns that have occurred.
Alarms
Alarms are events that are not severe enough to cause a shutdown; however, the information may be of interest
to an operator so the triggered alarm is displayed on the HMI. Input values are compared against engineering
limits to determine if an alarm condition is present.
Shutdowns
Shutdown conditions are determined by monitoring analog and discrete input values to determine if a shutdown
condition is present. Some or all the equipment will be disabled on the package depending on the severity of
the shutdown condition.
The control panel is equipped with an emergency shutdown (ESD) push button. When pressed, the ESD button
will disable all equipment on the package and force the equipment to its fail-safe state. All digital outputs will be
de-energized via a hardwired disconnect of power to the digital output module. All analogs outputs will be
forced to 4 mA via the controller logic to reach their fail state.
The cause and effect relationship for each shutdown is listed in the control system Shutdown Key
documentation.
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 4 of 19
Enerflex Document #: G01-E002453-01-001
Shutdown transmitter - The above error would cause a trip and drive the input into a shutdown state
Control or alarm transmitter - An alarm would be indicated. In general, a PID loop controller will hold
the last output value upon transmitter or PV signal failure.
Shutdown Bypass
The control system is equipped with screens, which allow the operator to put analog and digital input devices
into bypass mode. This allows for maintenance or testing on devices without triggering related shut downs in
the package. Only one bypass at a time is allowed at a time. Critical items like ESD, valve and motor status
failures, oil circuit protection cannot be bypassed. Once a device is put in bypass mode a timer (default 5
minutes) will begin counting down. An alarm will flag as soon as a bypass is enabled to notify and record that a
bypass was used. When there is one-minute left on the bypass timer a warning will appear, which indicates that
the bypass is about to expire. Once the timer expires all bypasses will be reset. If necessary to extend the timer
a reset button can be pressed which will restart the bypass timer. Login credentials are required to use the
shutdown bypass feature. The unit cannot be started while bypasses are active.
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 5 of 19
Enerflex Document #: G01-E002453-01-001
At any point in time during the start sequence, the operator can set the auto loading of the compressor to “on”
or “off”. If auto loading is turned on the capacity control output limit will be gradually ramped to 100% and
automated PID loops will be enabled. If auto loading is turned off, the capacity control output limit will be
ramped to 0% and the automated PID control loops will be disabled.
Note: The compressor will not begin to load until warm-up step is complete.
Below is the sequence of events for the startup of the compressor and engine:
The start sequence will remain in Step 0 until all active shutdowns are cleared.
Table 2: Permissives Required to Move to Step 1 – Ready to Start
Permissives
All active shutdowns must be cleared. For this to occur all analog instruments must be within
operating setpoints, all digital shutdowns must be satisfied, and reset button must be pressed.
Compressor oil temperature must be above 0 °C before proceeding
All shutdown bypasses must be clear
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 6 of 19
Enerflex Document #: G01-E002453-01-001
The start sequence will remain in Step 1 until a start command is issued by the operator. If a process
shutdown comes in while ready to start the sequence will return to step 0. When the start command is
pressed all controllers and HOA will be set to auto.
Table 5: Permissives required to move to Step 2 – Skid Pressure Adjustment
Permissives
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 7 of 19
Enerflex Document #: G01-E002453-01-001
In order for the compressor to start properly, the suction pressure of the package must be within the
minimum and maximum start-up setpoints (adjustable from HMI). If the suction pressure is above the
maximum start-up pressure, then the compressor will blowdown until it reaches the maximum start-up
pressure setpoint. If the suction pressure is below the minimum start-up pressure, the operator must
check/adjust upstream inlet valve to ensure the minimum start-up pressure setpoint is reached.
Table 7: Permissives Required to Move to Step 3 – Pre-Lube
Permissives
Gas inlet pressure PIT-2002A is greater than minimum start-up pressure setpoint.
Gas inlet pressure PIT-2002A is less than maximum start-up pressure setpoint.
Note: If the above permissives are not met within the allocated maximum pressure adjustment time,
the start sequence will be aborted.
Step 3 – Pre-lube
Prior to running the unit, it is important that the compressor has adequate lubrication. The compressor
pre-lube pump is controlled via solenoid UY-5104A. The sequence will stay in the pre-lube step until the
compressor oil pressure reaches the minimum oil pressure permissive setpoint, and maintains this
pressure for a minimum of 120 seconds. Once the minimum timer has expired, the sequence will move to
the “Start Driver” step. If the compressor pre-lube pump runs for a maximum amount of time (adjustable
from HMI) without reaching the permissive, the start sequence will be aborted. Engine pre-lube is
controlled by ESM.
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 8 of 19
Enerflex Document #: G01-E002453-01-001
Once in the “Start Driver” step, the control system will send a signal to the ESM to initiate the engine
start. All fuel and ignition sequencing is done internally in the ESM. The “Start Driver” step is considered
complete once minimum speed permissive of the engine is complete. If this speed is not reached in a
maximum amount of time (Max Crank Time setpoint adjustable from HMI) the “Start Driver” step will
retry to start and a crank attempt will be recorded. There will be a pause in between crank attempts
(adjustable from HMI). If the maximum number of crank attempts is exceeded the start sequence will be
aborted.
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 9 of 19
Enerflex Document #: G01-E002453-01-001
While in the Warm-up step, the engine will run at idle speed. It will continue to do so until the engine
jacket water and compressor oil temperatures meet their set permissives (adjustable from HMI). In
addition to these permissives, there is a minimum warm-up timer that must expire prior to going online.
This ensures that the oil and jacket water have a chance to circulate and ensure that there is not an
inaccurate reading on the temperatures. Once the temperature permissives have been met and the
minimum start time has completed, the engine will ramp up to minimum load speed. It will remain
running at minimum load speed until the operator pushes the “Auto Load” button located on the HMI in
case it is disabled. At this point, the package will be considered online and all PID loops will become
active.
Table 13: Permissives Required to Move to Step 6 – Online
Permissives
Compressor oil temperature meets minimum permissive setpoint (adjustable from HMI)
Engine Jacket Water temperature meets minimum permissive setpoint (adjustable from HMI)
Minimum Warm-up timer expires
“Auto Load” is set to on.
Engine speed reaches minimum load speed (an optional dead-band can be added if the min load
speed cannot be reached)
When online all PID loops are enabled, the compressor will operate to maintain the set operating
conditions. It will continue to run in this manner until either an operator stop request is initiated, a
process shutdown, or an ESD occurs. If at any time when the compressor is online and the “Auto Load” is
set to off, the package will ramp to a fully unloaded state (compressor motor at minimum speed and
bypass valve is fully open). It will remain this way until “Auto Load” is turned back on.
Table 15: Events which will cause the package to go offline
Permissives
Local or Remote Stop is initiated
Process Shutdown Occurs
Emergency Shutdown Occurs
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 10 of 19
Enerflex Document #: G01-E002453-01-001
If a “Soft Stop” of the package is initiated, then the start sequence will move to the cool down step. In
this step, the engine is ramped to idle speed and the bypass valve is ramped fully open. The package will
run in this state until the cool down at idle timer expires. If for any reason the engine is unable to ramp to
idle speed, then the cool down will complete when a maximum cool down timer expires. Upon
completion of this step, the start sequence will move to the post lube step.
Table 18: Events Which Will Initiate a Cool Down
Permissives
“Stop” pushbutton is pressed on the local HMI
“Remote Stop” is initiated from the plant PLC
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 11 of 19
Enerflex Document #: G01-E002453-01-001
Upon completion of the cool down, or after any process shutdown the Post Lube step will be initiated. At
this time, the compressor and engine post lube pumps will be turned on in order to prevent damage to
the equipment that can occur from hard stops. The most important aspect of this step is to provide oil to
the engine turbo chargers while they spin to a stop. The post lube will continue until the minimum post
lube timer has expired, at which point the start sequence will be reset. If there are no shutdowns
present, the sequence will be ready to restart. If there are process shutdowns active, they would have to
be cleared prior to restarting the package.
Table 22: Events Which Will Initiate a Post Lube
Permissives
Cool Down step is complete
Process Shutdown occurs
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 13 of 19
Enerflex Document #: G01-E002453-01-001
Controller Modes
Each control loop in the system is programmed to operate in either “Auto” or “Manual” mode. In “Auto” mode,
the PID output is controlled according the automated control scheme. “Manual” mode allows the operator to
set the control output manually to any value within the valid range of 0-100%.
Both the engine speed and the bypass control valve position can be controlled automatically or manually by the
operator depending on the position of the “Auto” / “Manual” soft selector hand switch located in the HMI.
“Auto” Mode
The bypass valve position and engine speed are determined via capacity control PID controllers
(as shown in Figure 1: Compressor Capacity Control).
The output of the low signal select is then split as follows:
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 14 of 19
Enerflex Document #: G01-E002453-01-001
The following Figure 1: Compressor Capacity Control depicts the compressor capacity control configuration:
PIC-2002A PIC-1301A
Master suction Master discharge
pressure control pressure control
Low Select
Se
Split Range
PY-2018A SY-2018A
Recycle Valve Driver Speed
Manual Manual
Setpoint Setpoint
Se Se
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 15 of 19
Enerflex Document #: G01-E002453-01-001
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 16 of 19
Enerflex Document #: G01-E002453-01-001
There are 3 situations which will trigger a blowdown sequence, these are described below in table below:
Emergency A unit or plant emergency Upon this shutdown, the blowdown valve will immediately open
Shutdown shutdown or loss of power to and remain open until the Emergency Shutdown is cleared and
the control panel immediately reset.
stops the driver and does not Note: During an emergency shutdown all equipment will be in its
execute any post-lube. fail state.
Start If in Step 2 (Skid Pressure The blowdown valve will open and remain open until the relevant
Sequence Adjustment) and suction suction pressure is below its maximum startup setpoint. Once
Initiated pressure is above the startup this occurs, the blowdown valve will close and the start sequence
setpoint. will proceed.
Manual The manual blowdown At any time when the package is stopped and the start sequence
Blowdown pushbutton on the local HMI is has not been initiated, the operator can manually open the
pressed. automatic blowdown valve using the local HMI.
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 17 of 19
Enerflex Document #: G01-E002453-01-001
5 Signals to Plant
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 18 of 19
Enerflex Document #: G01-E002453-01-001
Set Point (SP): The desired pressure or temperature or level or flow or speed
Process Variable (PV): The actual pressure or temperature or level or flow or speed being measured
Error (E): The difference between the set point and the process variable
Control Variable (CV): The output of the PID equation, which is used to manipulate a valve to affect the
process conditions
The calculation is performed every 100 ms (dt). The CV is calculated using three constants in the PID equation:
Proportional (KC): A value directly proportional to the error in the system. KC is the controller gain and
its value affects all three terms. This is the dependent form of the equation (ISA Standard).
Integral (TI): The integral time in minutes and works to reduce the error in the system. The longer the
error exists in the system and the greater the error, the greater the effect of the integral term.
Derivative (TD): The derivative time in minutes and it looks at how quickly process conditions are
changing. The faster the conditions change, the greater the effect on the derivative term.
The three factors KC, TI, and TD are adjusted to vary the respective effect of the proportional, integral and
derivative terms and are therefore used to tune the PID equation.
Tuning Tips
When changing the tuning parameters make small changes (such as 0.1 for gain and integral) and monitor the
effect on the process. Simulate changes to the process by changing the set point by a realistic amount and make
changes to the following three parameters as follows:
Proportional (KC): When the gain is increased, the controller will react more quickly when an error is
introduced to the system. If the gain is too high, however, the controller will oscillate and it will not be
able to maintain the process at the desired set point. If the gain is gradually increased until the controller
begins to oscillate, reduce the gain by ½ before continuing with tuning. Note: A change to the gain affects
all three terms.
Integral (TI): The integral time should be set close to the natural period of the system. This is the time
between peaks when the controller is oscillating. Increase the integral time constant to reduce the speed
at which the controller works away at the system error.
Derivative (TD): The derivative time can be set at 0 and increased by small increments (0.01) if necessary
Project #: E002453-01/02/03
Customer / Description: National Gas Company of Trinidad and Tobago, JGD/6-1, Reciprocating Compressor
Created by: Yelena Snider
Date: August 24, 2017
Revision #: A Page 19 of 19