Skip to content

Commit

Permalink
use scalar
Browse files Browse the repository at this point in the history
Signed-off-by: petersalemink95 <[email protected]>
  • Loading branch information
petersalemink95 committed Dec 31, 2024
1 parent 901107d commit 8a30ac7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ template <symmetry_tag current_sensor_symmetry_> class CurrentSensor : public Ge
double base_current = base_power_3p / u_rated / sqrt3;
double scalar = convert_direction() / base_current;
i_sigma_ = input.i_sigma / base_current;
i_measured_ = input.i_measured / base_current;
i_measured_ = input.i_measured * scalar;
}

CurrentSensorCalcParam<symmetric_t> sym_calc_param() const final {
Expand Down

0 comments on commit 8a30ac7

Please sign in to comment.