using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Calculations.Electric { /// /// Calculations parameters if winding of synchronous/asynchronous motor/generator/transformer change connection between star and triangle /// public class ConnectionTriangleStar { /// /// Calculate voltage in triangle from star voltage /// /// Voltage in Star /// Voltage in Triangle public static decimal VoltageStarToTriangle(decimal Voltage) { return Voltage / (decimal)Math.Sqrt(3); } /// /// Calculate voltage in star from triangle voltage /// /// Voltage in Triangle /// Voltage in Star public static decimal VoltageTriangleToStar(decimal Voltage) { return Voltage * (decimal)Math.Sqrt(3); } /// /// Calculate current in triangle from star current /// /// Current in Star /// Current in Triangle public static decimal CurrentStarToTriangle(decimal Current) { return Current * (decimal)Math.Sqrt(3); } /// /// Calculate current in star from triangle current /// /// Current in Triangle /// Current in Star public static decimal CurrentTriangleToStar(decimal Current) { return Current / (decimal)Math.Sqrt(3); } } }