MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
electricity_reduction.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
21namespace electricity_reduction {
22
34 double supply_voltage = 0.0;
35 double average_current = 0.0;
36 double power_factor = 0.0;
37};
38
49 double rated_motor_power = 0.0;
50 bool variable_speed_motor = false;
51 double operational_frequency = 0.0;
52 double line_frequency = 0.0;
54 double load_factor = 0.0;
55};
56
67 double power = 0.0;
68};
69
79 double energy = 0.0;
80};
81
89 Multimeter = 0,
90 Nameplate = 1,
91 PowerMeter = 2,
92 Other = 3
93};
94
114
124 double energy_use = 0.0;
125 double energy_cost = 0.0;
126 double power = 0.0;
127};
128
142ElectricityReductionOutput electricityReduction(const std::vector<ElectricityReductionInput>& input_vec);
143
161 double electricity_cost, int units);
162
182 double electricity_cost, int units);
183
200 double electricity_cost, int units);
201
216
217} // namespace electricity_reduction
ElectricityReductionOutput powerMeterReduction(const PowerMeterData &data, int operating_hours, double electricity_cost, int units)
Calculates annual energy use and cost using the power meter measurement method.
ElectricityReductionOutput multimeterReduction(const MultimeterData &data, int operating_hours, double electricity_cost, int units)
Calculates annual energy use and cost using the multimeter measurement method.
ElectricityReductionOutput nameplateReduction(const NameplateData &data, int operating_hours, double electricity_cost, int units)
Calculates annual energy use and cost using the nameplate measurement method.
ElectricityReductionOutput otherReduction(const ElectricityOtherMethodData &data, double electricity_cost)
Calculates annual energy cost using a directly supplied energy consumption value.
ElectricityReductionOutput electricityReduction(const std::vector< ElectricityReductionInput > &input_vec)
Calculates total annual electricity use, cost, and power for a collection of measures.
Electricity reduction calculations for treasure hunt measures.
@ Multimeter
Multimeter method — uses voltage, current, and power factor.
@ Other
Other method — uses a directly supplied annual energy value.
@ Nameplate
Nameplate method — uses rated motor power, load factor, and efficiency.
@ PowerMeter
Power meter method — uses a direct power reading.
Input data for the other (direct energy) measurement method.
Input data for a single electricity reduction measure.
ElectricityReductionMeasurementMethod measurement_method
Measurement method to apply.
ElectricityOtherMethodData other_method_data
Data for the other method.
int units
Quantity multiplier (number of identical loads)
MultimeterData multimeter_data
Data for the multimeter method.
NameplateData nameplate_data
Data for the nameplate method.
PowerMeterData power_meter_data
Data for the power meter method.
Output data for an electricity reduction calculation.
double power
Power draw per load (single unit) .
Input data for the multimeter measurement method.
int number_of_phases
Number of electrical phases (1 or 3)
double average_current
Average current measured by the meter .
double power_factor
Power factor of the load (dimensionless, 0–1)
Input data for the nameplate measurement method.
double load_factor
Motor load factor (dimensionless, 0–1)
bool variable_speed_motor
Whether the motor is driven by a variable-speed drive.
double motor_and_drive_efficiency
Combined motor and drive efficiency (percent, 0–100)
double operational_frequency
Actual operating frequency .
double rated_motor_power
Rated motor power from the nameplate .
double line_frequency
Nominal line frequency .
Input data for the power meter measurement method.
double power
Direct power reading from the power meter .