Skip to content

Commit

Permalink
* Fixed error on Rogers Ratio FailureType calculation function
Browse files Browse the repository at this point in the history
* Updated README file and fixed typos
  • Loading branch information
Carlos-Gamez-WP committed Aug 23, 2017
1 parent bca1780 commit 1cee974
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# xDGA

**xDGA** is an Excel add-in that gives you the capability to apply Dissolved Gases Analysis (DGA) algorithms from all the major international guidelines.
**xDGA** is an Excel add-in that contains custom formulas that apply Dissolved Gases Analysis (DGA) algorithms from all the major international guidelines.

**xDGA** helps the user to use their existing DGA data and be able to quicly run assessments algorithms from any of the major international guidelines and industry best practices.

So far, **xDGA** implements the following guidelines and algorithms:
**xDGA** implements the following guidelines and algorithms:

* IEC 60599 ed.3 2015.
* Duval Triangles for Transformers, Reactors, Cables and On-Load Tap Changers
* Duval Pentagons
* Rogers Ratios

## Usage

The add-in is activated by opening the **xDGA.ADDIN64.xll** or **xDGA.ADDIN.xll** file, depending on your architecture. Both files are in the **Distribution** folder and they are stand-alone (i.e. don't need other files or libraries to run).
The add-in is activated by opening the **xDGA.ADDIN64.xll** or **xDGA.ADDIN.xll** file, depending on your architecture. Both files are in the <a href="Distribution">**Distribution**</a> folder and they are stand-alone (i.e. don't need other files or libraries to run).

The formulas can then be applied to any Excel spreadsheet with DGA data.

Expand All @@ -31,7 +30,7 @@ The SERIALIZEDGA() function accepts the date and the nine gases that constitute
<img src="Images/SERIALIZEDGA.PNG" alt="SERIALIZEDGA()" width="70%" />
</p>

This is a helper function that prepares the date that can then be fed into any of the funcitons that require DGA data.
This is a helper function that prepares DGA data in a way that can be fed into any of the funcitons that require it.

For example, the IEC_60599() function takes in the Current and the Previous DGA as well as a boolean value indicating whether the transformer has an On-Load Tap Changer (OLTC) and the volume of oil in the tank in litres.

Expand Down
7 changes: 7 additions & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# xDGA

## Version 0.5
### August 2017

#### xDGA.CORE
* Fixed error on Rogers Ratio FailureType calculation function
* Updated README file and fixed typos

## Version 0.4
### August 2017

Expand Down
4 changes: 2 additions & 2 deletions xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ private FailureType.Code CalculateFailureCode()

if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.MethaneToHydrogen] < 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T1;

if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T2;
if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T2;

if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.EthyleneToEthane] >= 3.0) code = FailureType.Code.T3;
if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 3.0) code = FailureType.Code.T3;

return code;
}
Expand Down

0 comments on commit 1cee974

Please sign in to comment.