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
StartEnergyCalcBOOLFALSE
- 2: To start the Energy calculation.
When input is TRUE, the execution starts.
When input is FALSE, the execution stops if running.
TariffREAL1.0
3: Per kWhr tariff rate in terms of currency, e.g. Dollar, Euro etc. Range-Value>0.0
CO2ConversionREAL1.0
4: Factor which helps in converting the energy consumed in terms of CO2 emission tn/MWh. Range-Value>0.0
MonitorDurationINT10
5: Time duration in minutes, to monitor the energy consumption. Range-Value>0
NumberOfPumpsINT8
6: Number of pumps in the pumping station Range- 1 to 8
PumpFlowARRAY [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.
PumpRatedPowerARRAY [1..8] OF REAL
8: Rated power in kW of each pump, if directly connected to the motor. Range-Value>0.0
PumpActPowerARRAY [1..8] OF REAL
9: Actual power of each pump in kW. Read from the VFD.Always PumpActPower < PumpDOLPower. Range-Value>0.0
ResetTotalVolumeBOOLFALSE
- 10: Reset Total volume.
When input is TRUE, total volume is reset.
When input is FALSE, pump continues with total volume.
ResetTotalEnergyBOOLFALSE
- 11: Reset Total Energy.
When input is TRUE, total energy value is reset.
When input is FALSE, pump continues with total energy value.
Inout
TotalVolumeLREAL12: Cumulative Flow Volume in Cubic meters. Total volume which is calculated using flow of all the pumps, in m3.
TotalEnergyLREAL- 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
ErrorID3: Error code in case of error in the function block execution.
EnergyConsumedREAL0.0
4: Indicates energy consumed in the monitoring duration, in kWh. Value>=0.0
EnergySavedREAL0.0
5: Indicates energy saved, in kW. Difference of energy consumed by pump with VFD and pump with DOL. Value>=0.0
MoneySavedREAL0.0
6: Money saved, in tariff units. Value>=0.0
CO2ReductionREAL0.0
7: Reduction of carbon dioxide emissions, in tn/MWh. Value>=0.0
EffInstantREAL0
8: Instant flow vs actual power of the station
EffHourREAL0
9: Hourly flow vs actual power of the station
EffDayREAL0
10: Daily flow vs actual power of the station
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: