-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from statnett/tkap-320-cigre207
Implement CIGRE 207
- Loading branch information
Showing
35 changed files
with
2,160 additions
and
1,138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Convective cooling in CIGRE207 | ||
------------------------------ | ||
|
||
.. automodule:: linerate.equations.cigre207.convective_cooling | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Solar heating in CIGRE207 | ||
------------------------- | ||
|
||
.. automodule:: linerate.equations.cigre207.solar_heating | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Convective cooling | ||
------------------ | ||
|
||
.. automodule:: linerate.equations.convective_cooling | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Dimensionless numbers | ||
--------------------- | ||
|
||
.. automodule:: linerate.equations.dimensionless | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Mathematical utilities | ||
---------------------- | ||
|
||
.. automodule:: linerate.equations.cigre601.joule_heating | ||
.. automodule:: linerate.equations.math | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Solar heating | ||
------------- | ||
|
||
.. automodule:: linerate.equations.solar_heating | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
""" | ||
This submodule contains implementations of equations listed in :cite:p:`cigre207`. | ||
""" | ||
|
||
from . import convective_cooling, solar_heating # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from linerate.units import OhmPerMeter | ||
|
||
|
||
def correct_resistance_for_skin_effect( | ||
dc_resistance: OhmPerMeter, | ||
) -> OhmPerMeter: | ||
r""" | ||
Return resistance with constant correction for skin effect, using simple method from | ||
Cigre 207, see section 2.1.1. | ||
Parameters | ||
---------- | ||
dc_resistance: | ||
:math:`R~\left[\Omega\right]`. The DC resistance of the conductor. | ||
Returns | ||
------- | ||
Union[float, float64, ndarray[Any, dtype[float64]]] | ||
:math:`R_\text{corrected}~\left[\Omega\right]`. The resistance of the conductor after | ||
taking skin effect into account. | ||
""" | ||
return 1.0123 * dc_resistance | ||
|
||
|
||
# TODO: Implement section 2.1.2? |
Oops, something went wrong.