Skip to content

Commit

Permalink
Add baseline value of 10 ohms, see #10
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 29, 2020
1 parent 1aae6a9 commit 43f763f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/model/ModifiedNodalAnalysisAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class ModifiedNodalAnalysisAdapter {
const coefficient = 3;

// shift by base so at V=0 the log is 1
resistorAdapter.value = coefficient * V / logWithBase( V + base, base );
resistorAdapter.value = 10 + coefficient * V / logWithBase( V + base, base );
}
} );

Expand Down

0 comments on commit 43f763f

Please sign in to comment.