WaterReductionOutput volumeMeterReduction(const VolumeMeterMethodData &data, int operating_hours, double water_cost)
Calculates annual water use and cost using the volume meter method.
WaterReductionOutput otherReduction(const WaterOtherMethodData &data, double water_cost)
Calculates annual water use and cost using a directly supplied consumption value.
WaterReductionOutput waterReduction(const std::vector< WaterReductionInput > &input_vec)
Calculates total annual water use and cost for a collection of water reduction measures.
WaterReductionOutput meteredFlowReduction(const MeteredFlowMethodData &data, int operating_hours, double water_cost)
Calculates annual water use and cost using the metered flow method.
WaterReductionOutput bucketReduction(const BucketMethodData &data, int operating_hours, double water_cost)
Calculates annual water use and cost using the bucket measurement method.
Water reduction calculations for treasure hunt measures.
WaterReductionMeasurementMethod
@ Metered
Metered flow method — uses an instantaneous flow meter reading.
@ Bucket
Bucket method — uses the time required to fill a container of known volume.
@ Other
Other method — uses a directly supplied annual consumption value.
@ Volume
Volume meter method — uses initial/final totalizing meter readings over a timed interval.
Input data for the bucket measurement method.
double bucket_fill_time
Time required to fill the bucket .
double bucket_volume
Volume of the bucket used for the measurement .
Input data for the metered flow measurement method.
double meter_reading
Instantaneous flow rate from the meter .
Input data for the volume meter measurement method.
double final_meter_reading
Final meter reading at end of measurement interval .
double initial_meter_reading
Initial meter reading at start of measurement interval .
double elapsed_time
Duration of the measurement interval .
Input data for the other (direct consumption) measurement method.
double consumption
Annual water consumption .
Output data for a water reduction calculation.
double water_cost
Annual water cost .
double water_use
Annual water use .