Skip to content

Commit

Permalink
Equation simplification fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smariel committed Oct 24, 2021
1 parent f9939d5 commit c717844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/class.Item.Load.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Load extends Item {
}
// for all other loads, p_in = v_in * i_in
else {
p_in = this.getInputVoltage('typ') * this.getInputCurrent(valType);
p_in = this.getInputVoltage(valType) * this.getInputCurrent(valType);
}

return p_in;
Expand Down

0 comments on commit c717844

Please sign in to comment.