diff --git a/src/SharpProp/Extensions/FluidsListExtensions.cs b/src/SharpProp/Extensions/FluidsListExtensions.cs index 7c4c5af..034aab0 100644 --- a/src/SharpProp/Extensions/FluidsListExtensions.cs +++ b/src/SharpProp/Extensions/FluidsListExtensions.cs @@ -5,9 +5,7 @@ public static class FluidsListExtensions /// /// CoolProp internal name. /// - /// - /// The member. - /// + /// The member. /// CoolProp internal name. public static string CoolPropName(this FluidsList member) => member.GetAttributes()!.Get()!.Name; @@ -15,9 +13,7 @@ public static string CoolPropName(this FluidsList member) => /// /// CoolProp backend type. /// - /// - /// The member. - /// + /// The member. /// CoolProp backend type. public static string CoolPropBackend(this FluidsList member) => member.GetAttributes()!.Get()!.Backend; @@ -25,9 +21,7 @@ public static string CoolPropBackend(this FluidsList member) => /// /// true if the fluid pure of pseudo-pure. /// - /// - /// The member. - /// + /// The member. /// true if the fluid pure of pseudo-pure. public static bool Pure(this FluidsList member) => member.GetAttributes()!.Get()!.Pure; @@ -35,9 +29,7 @@ public static bool Pure(this FluidsList member) => /// /// Mixture type. /// - /// - /// The member. - /// + /// The member. /// Mixture type. public static Mix MixType(this FluidsList member) => member.GetAttributes()!.Get()!.MixType; @@ -45,12 +37,8 @@ public static Mix MixType(this FluidsList member) => /// /// Minimum possible fraction. /// - /// - /// The member. - /// - /// - /// Minimum possible fraction (by default, %). - /// + /// The member. + /// Minimum possible fraction (by default, %). public static Ratio FractionMin(this FluidsList member) => Ratio .FromDecimalFractions( @@ -61,16 +49,12 @@ public static Ratio FractionMin(this FluidsList member) => /// /// Maximum possible fraction. /// - /// - /// The member. - /// - /// - /// Maximum possible fraction (by default, %). - /// + /// The member. + /// Maximum possible fraction (by default, %). public static Ratio FractionMax(this FluidsList member) => Ratio .FromDecimalFractions( member.GetAttributes()!.Get()!.FractionMax ) .ToUnit(RatioUnit.Percent); -} \ No newline at end of file +} diff --git a/src/SharpProp/Fluids/Fluid.cs b/src/SharpProp/Fluids/Fluid.cs index ccc0f58..f2dbee8 100644 --- a/src/SharpProp/Fluids/Fluid.cs +++ b/src/SharpProp/Fluids/Fluid.cs @@ -16,8 +16,7 @@ public class Fluid : AbstractFluid, IFluid /// /// /// Invalid fraction value! It should be in - /// [{fractionMin};{fractionMax}] %. - /// Entered value = {fraction} %. + /// [{fractionMin};{fractionMax}] %. Entered value = {fraction} %. /// /// /// Need to define the fraction! @@ -171,4 +170,4 @@ private void SetFraction() else Backend.SetVolumeFractions(fractionsVector); } -} \ No newline at end of file +} diff --git a/src/SharpProp/Fluids/IFluid.cs b/src/SharpProp/Fluids/IFluid.cs index 721c91f..4b6afa7 100644 --- a/src/SharpProp/Fluids/IFluid.cs +++ b/src/SharpProp/Fluids/IFluid.cs @@ -26,9 +26,7 @@ public interface IFluid /// /// First input property. /// Second input property. - /// - /// A new fluid instance with a defined state. - /// + /// A new fluid instance with a defined state. /// /// Need to define 2 unique inputs! /// @@ -56,9 +54,7 @@ IKeyedInput secondInput /// /// Compressor isentropic efficiency. /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// Compressor outlet pressure should be higher than inlet pressure! /// @@ -71,9 +67,7 @@ IKeyedInput secondInput /// The process of isenthalpic expansion to a given pressure. /// /// Pressure. - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// Expansion valve outlet pressure should be lower than inlet pressure! /// @@ -83,9 +77,7 @@ IKeyedInput secondInput /// The process of isentropic expansion to a given pressure. /// /// Pressure. - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// Expander outlet pressure should be lower than inlet pressure! /// @@ -98,9 +90,7 @@ IKeyedInput secondInput /// /// Expander isentropic efficiency. /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// Expander outlet pressure should be lower than inlet pressure! /// @@ -116,9 +106,7 @@ IKeyedInput secondInput /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// During the cooling process, the temperature should decrease! /// @@ -137,9 +125,7 @@ public IFluid CoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// During the cooling process, the enthalpy should decrease! /// @@ -158,9 +144,7 @@ public IFluid CoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// During the heating process, the temperature should increase! /// @@ -179,9 +163,7 @@ public IFluid HeatingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// During the heating process, the enthalpy should increase! /// @@ -197,36 +179,28 @@ public IFluid HeatingTo( /// Returns a bubble point at a given pressure. /// /// Pressure. - /// - /// A bubble point at a given pressure. - /// + /// A bubble point at a given pressure. public IFluid BubblePointAt(Pressure pressure); /// /// Returns a bubble point at a given temperature. /// /// Temperature. - /// - /// A bubble point at a given temperature. - /// + /// A bubble point at a given temperature. public IFluid BubblePointAt(Temperature temperature); /// /// Returns a dew point at a given pressure. /// /// Pressure. - /// - /// A dew point at a given pressure. - /// + /// A dew point at a given pressure. public IFluid DewPointAt(Pressure pressure); /// /// Returns a dew point at a given temperature. /// /// Temperature. - /// - /// A dew point at a given temperature. - /// + /// A dew point at a given temperature. public IFluid DewPointAt(Temperature temperature); /// @@ -234,9 +208,7 @@ public IFluid HeatingTo( /// /// Pressure. /// Vapor quality. - /// - /// Two-phase point at a given pressure. - /// + /// Two-phase point at a given pressure. public IFluid TwoPhasePointAt(Pressure pressure, Ratio quality); /// @@ -250,9 +222,7 @@ public IFluid HeatingTo( /// Specific mass flow rate of the fluid at the second state. /// /// Fluid at the second state. - /// - /// The state of the fluid at the end of the process. - /// + /// The state of the fluid at the end of the process. /// /// The mixing process is possible only for the same fluids! /// @@ -265,4 +235,4 @@ public IFluid Mixing( Ratio secondSpecificMassFlow, IFluid second ); -} \ No newline at end of file +} diff --git a/src/SharpProp/Fluids/IMixture.cs b/src/SharpProp/Fluids/IMixture.cs index 2264699..231d863 100644 --- a/src/SharpProp/Fluids/IMixture.cs +++ b/src/SharpProp/Fluids/IMixture.cs @@ -25,9 +25,7 @@ public interface IMixture /// /// First input property. /// Second input property. - /// - /// A new mixture instance with a defined state. - /// + /// A new mixture instance with a defined state. /// /// Need to define 2 unique inputs! /// @@ -43,9 +41,7 @@ IKeyedInput secondInput /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the mixture at the end of the process. - /// + /// The state of the mixture at the end of the process. /// /// During the cooling process, the temperature should decrease! /// @@ -64,9 +60,7 @@ public IMixture CoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the mixture at the end of the process. - /// + /// The state of the mixture at the end of the process. /// /// During the heating process, the temperature should increase! /// @@ -77,4 +71,4 @@ public IMixture HeatingTo( Temperature temperature, Pressure? pressureDrop = null ); -} \ No newline at end of file +} diff --git a/src/SharpProp/Fluids/Mixture.cs b/src/SharpProp/Fluids/Mixture.cs index d3080d8..29dab85 100644 --- a/src/SharpProp/Fluids/Mixture.cs +++ b/src/SharpProp/Fluids/Mixture.cs @@ -10,12 +10,8 @@ public class Mixture : AbstractFluid, IMixture /// /// Mass-based mixture of pure fluids. /// - /// - /// List of selected names of pure fluids. - /// - /// - /// List of mass-based fractions. - /// + /// List of selected names of pure fluids. + /// List of mass-based fractions. /// /// Invalid input! Fluids and Fractions should be of the same length. /// @@ -119,4 +115,4 @@ public override int GetHashCode() => protected override AbstractFluid CreateInstance() => new Mixture(Fluids, Fractions); -} \ No newline at end of file +} diff --git a/src/SharpProp/HumidAir/IHumidAir.cs b/src/SharpProp/HumidAir/IHumidAir.cs index 4e7326f..15cb0fe 100644 --- a/src/SharpProp/HumidAir/IHumidAir.cs +++ b/src/SharpProp/HumidAir/IHumidAir.cs @@ -36,9 +36,7 @@ IKeyedInput thirdInput /// First input property. /// Second input property. /// Third input property. - /// - /// A new humid air instance with a defined state. - /// + /// A new humid air instance with a defined state. /// /// Need to define 3 unique inputs! /// @@ -56,9 +54,7 @@ IKeyedInput thirdInput /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the temperature should decrease! /// @@ -82,9 +78,7 @@ public IHumidAir DryCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the enthalpy should decrease! /// @@ -109,9 +103,7 @@ public IHumidAir DryCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the temperature should decrease! /// @@ -137,9 +129,7 @@ public IHumidAir WetCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the temperature should decrease! /// @@ -165,9 +155,7 @@ public IHumidAir WetCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the enthalpy should decrease! /// @@ -193,9 +181,7 @@ public IHumidAir WetCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the cooling process, the enthalpy should decrease! /// @@ -219,9 +205,7 @@ public IHumidAir WetCoolingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the heating process, the temperature should increase! /// @@ -240,9 +224,7 @@ public IHumidAir HeatingTo( /// /// Pressure drop in the heat exchanger (optional). /// - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the heating process, the enthalpy should increase! /// @@ -259,9 +241,7 @@ public IHumidAir HeatingTo( /// to a given relative humidity ratio. /// /// Relative humidity ratio. - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the humidification process, /// the absolute humidity ratio should increase! @@ -273,9 +253,7 @@ public IHumidAir HeatingTo( /// to a given absolute humidity ratio. /// /// Absolute humidity ratio. - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the humidification process, /// the absolute humidity ratio should increase! @@ -287,9 +265,7 @@ public IHumidAir HeatingTo( /// to a given relative humidity ratio. /// /// Relative humidity ratio. - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the humidification process, /// the absolute humidity ratio should increase! @@ -301,9 +277,7 @@ public IHumidAir HeatingTo( /// to a given absolute humidity ratio. /// /// Absolute humidity ratio. - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// During the humidification process, /// the absolute humidity ratio should increase! @@ -321,9 +295,7 @@ public IHumidAir HeatingTo( /// Specific mass flow rate of the humid air the second state. /// /// Humid air at the second state. - /// - /// The state of the humid air at the end of the process. - /// + /// The state of the humid air at the end of the process. /// /// The mixing process is possible only for flows with the same pressure! /// @@ -333,4 +305,4 @@ public IHumidAir Mixing( Ratio secondSpecificMassFlow, IHumidAir second ); -} \ No newline at end of file +} diff --git a/src/SharpProp/IClonable.cs b/src/SharpProp/IClonable.cs index 4d41736..bf11404 100644 --- a/src/SharpProp/IClonable.cs +++ b/src/SharpProp/IClonable.cs @@ -1,9 +1,8 @@ namespace SharpProp; /// -/// Supports cloning, which creates -/// a new instance of a class with -/// the same value as an existing instance. +/// Supports cloning, which creates a new instance of a class +/// with the same value as an existing instance. /// /// Type of the instance. public interface IClonable diff --git a/src/SharpProp/IFactory.cs b/src/SharpProp/IFactory.cs index 3686c43..13381bf 100644 --- a/src/SharpProp/IFactory.cs +++ b/src/SharpProp/IFactory.cs @@ -1,8 +1,7 @@ namespace SharpProp; /// -/// Supports creating of -/// new instances with no defined state. +/// Supports creating of new instances with no defined state. /// /// Type of the instance. public interface IFactory @@ -11,8 +10,6 @@ public interface IFactory /// /// Creates a new instance with no defined state. /// - /// - /// A new instance with no defined state. - /// + /// A new instance with no defined state. public T Factory(); } diff --git a/src/SharpProp/IO/Input.cs b/src/SharpProp/IO/Input.cs index 9b5384f..d1783ea 100644 --- a/src/SharpProp/IO/Input.cs +++ b/src/SharpProp/IO/Input.cs @@ -1,8 +1,7 @@ namespace SharpProp; /// -/// CoolProp keyed input -/// for fluids and mixtures. +/// CoolProp keyed input for fluids and mixtures. /// public record Input : IKeyedInput { @@ -86,4 +85,4 @@ public static Input SpecificVolume(SpecificVolume value) => /// Temperature for the input. public static Input Temperature(Temperature value) => new(Parameters.iT, value.Kelvins); -} \ No newline at end of file +}