HvacPumpEnergyCalc
(FB)
FUNCTION_BLOCK HvacPumpEnergyCalc EXTENDS AbbLConC3
Only to be used when station has VFD based pumps. This function block calculates the energy consumed and saved. Based on that, the CO2 emission reductions and money saved is also computed. The Function block HvacPmpEnergyCalc calculates the energy consumption of the pumping station run by variable frequency drive and gives the information on cumulative flow in cubic meters. The Function Block includes following calculations:
Total energy consumed
Total energy saved
Total cost saved
Reduced CO2 emission
Note
For correct calculations this function block must be called in the task manager with 50 ms cyclic time.
- InOut:
Scope
Name
Type
Initial
Comment
Input
StartEnergyCalc
BOOL
FALSE
- 2: To start the Energy calculation.
When input is TRUE, the execution starts.
When input is FALSE, the execution stops if running.
Tariff
REAL
1.0
3: Per kWhr tariff rate in terms of currency, e.g. Dollar, Euro etc. Range-Value>0.0
CO2Conversion
REAL
1.0
4: Factor which helps in converting the energy consumed in terms of CO2 emission tn/MWh. Range-Value>0.0
MonitorDuration
INT
10
5: Time duration in minutes, to monitor the energy consumption. Range-Value>0
NumberOfPumps
INT
8
6: Number of pumps in the pumping station Range- 1 to 8
PumpFlow
ARRAY [1..8] OF REAL
- 7: Actual flow of each pump in m3/hr. Range-Value>0.0
..Note:: The index 1 array is connected to the PumpID = 1. This pattern follows for all pump IDs.
PumpRatedPower
ARRAY [1..8] OF REAL
8: Rated power in kW of each pump, if directly connected to the motor. Range-Value>0.0
PumpActPower
ARRAY [1..8] OF REAL
9: Actual power of each pump in kW. Read from the VFD.Always PumpActPower < PumpDOLPower. Range-Value>0.0
ResetTotalVolume
BOOL
FALSE
- 10: Reset Total volume.
When input is TRUE, total volume is reset.
When input is FALSE, pump continues with total volume.
ResetTotalEnergy
BOOL
FALSE
- 11: Reset Total Energy.
When input is TRUE, total energy value is reset.
When input is FALSE, pump continues with total energy value.
Inout
TotalVolume
LREAL
12: Cumulative Flow Volume in Cubic meters. Total volume which is calculated using flow of all the pumps, in m3.
TotalEnergy
LREAL
- 13: The variable input/output TotalEnergy indicates the total actual energy in kWh.
The total energy is calculated by combining the actual power of all pumps in kW in a hour.
Output
ErrorID
3: Error code in case of error in the function block execution.
EnergyConsumed
REAL
0.0
4: Indicates energy consumed in the monitoring duration, in kWh. Value>=0.0
EnergySaved
REAL
0.0
5: Indicates energy saved, in kW. Difference of energy consumed by pump with VFD and pump with DOL. Value>=0.0
MoneySaved
REAL
0.0
6: Money saved, in tariff units. Value>=0.0
CO2Reduction
REAL
0.0
7: Reduction of carbon dioxide emissions, in tn/MWh. Value>=0.0
EffInstant
REAL
0
8: Instant flow vs actual power of the station
EffHour
REAL
0
9: Hourly flow vs actual power of the station
EffDay
REAL
0
10: Daily flow vs actual power of the station
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: