Skip to content

Commit

Permalink
Fix missing member
Browse files Browse the repository at this point in the history
  • Loading branch information
Tacha-S committed Dec 10, 2024
1 parent 211f229 commit 92c8eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/battery_plugin/LinearBatteryPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ double LinearBatteryPlugin::OnUpdateVoltage(
+ this->dataPtr->r * this->dataPtr->ismooth;
else
voltage = this->dataPtr->e0 + this->dataPtr->e1 * (
1 - this->dataPtr->q / this->c)
1 - this->dataPtr->q / this->dataPtr->c)
- this->dataPtr->r * this->dataPtr->ismooth;

// Estimate state of charge
Expand Down

0 comments on commit 92c8eac

Please sign in to comment.