Skip to content

Commit 3ab969c

Browse files
committed
[skip ci] Updated CHANGELOG for CommonMath.hpp.
1 parent c130661 commit 3ab969c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
- Added support for DependencyTracking::Variable in PowerElectronics models.
3838
- Updated Jacobian value storage from `ScalarT` to `RealT`.
3939
- Added a header file defining constants to be used throughout the code.
40+
- Added a header file defining common math functions (e.g., sigmoid) to be used throughout the code.
4041

4142
## v0.1
4243

GridKit/CommonMath.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ namespace GridKit
1414
*
1515
* @note The sigmoid constant (mu) value of the constant to balance accuracy
1616
* and finite derivatives. Large values more closely approximate a step
17-
* function, but lead to inf or NaN derivatives. The value of 240 corresponds
18-
* to a time step of 1/4 of a 60Hz cycle.
17+
* function, but lead to inf or NaN derivatives.
18+
* The value of 240 corresponds to a time step of 1/4 of a 60Hz cycle.
19+
* From experiments, numerical derivatives break down for mu above 700.
1920
*
2021
* @tparam ScalarT - scalar data type
2122
*

0 commit comments

Comments
 (0)