From 12c28ef8917bb28c0c4dc4c67201af199a49fc7d Mon Sep 17 00:00:00 2001 From: Tristan Milnthorp <5693174+tmilnthorp@users.noreply.github.com> Date: Tue, 6 Oct 2026 21:09:37 -0400 Subject: [PATCH 1/2] Fix five conversion factors that disagree with their definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - BoilerHorsepower: 9812.5 W -> 9809.5 W (NIST SP 811, Appendix B.8). - ThermEc: 1.05505585262e8 J (100,000 BTU_IT) -> 1.05506e8 J, the defined EC therm (NIST SP 811, Appendix B.8). - TorrLiterPerSecond: 1/7.5 Pa·m³/s -> 101325/760 * 1e-3 Pa·m³/s, using the exact torr, as Pressure.Torr already does. 7.5 is a rounding. - SolarTemperature: 5778 K -> 5772 K, the IAU 2015 Resolution B3 nominal solar effective temperature, like SolarRadius and SolarLuminosity. - SolarMass: 1.98947e30 kg -> 1.98847e30 kg. The old value matches no source and looks like a typo; the new one is within the uncertainty of the current best estimate (1.988475 ± 0.000092) e30 kg. Each changed unit's XmlDocSummary now states the value used and its source, and XmlDocRemarks links to it. ThermEc gets a description of the EC therm instead of the generic one, and TorrLiterPerSecond and SolarTemperature get docs. Also removes a trailing comma in Mass.json, which isn't valid JSON. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012XKhDsyHDc5BHrmibxScqG --- Common/UnitDefinitions/Energy.json | 8 ++++---- Common/UnitDefinitions/LeakRate.json | 6 ++++-- Common/UnitDefinitions/Mass.json | 8 ++++---- Common/UnitDefinitions/Power.json | 8 ++++---- Common/UnitDefinitions/Temperature.json | 6 ++++-- UnitsNet.Tests/CustomCode/EnergyTests.cs | 2 +- UnitsNet.Tests/CustomCode/LeakRateTests.cs | 2 +- UnitsNet.Tests/CustomCode/MassTests.cs | 2 +- UnitsNet.Tests/CustomCode/PowerTests.cs | 2 +- UnitsNet.Tests/CustomCode/TemperatureTests.cs | 2 +- 10 files changed, 25 insertions(+), 21 deletions(-) diff --git a/Common/UnitDefinitions/Energy.json b/Common/UnitDefinitions/Energy.json index c12d3a934f..ce920eb841 100644 --- a/Common/UnitDefinitions/Energy.json +++ b/Common/UnitDefinitions/Energy.json @@ -141,10 +141,10 @@ { "SingularName": "ThermEc", "PluralName": "ThermsEc", - "XmlDocSummary": "The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.", - "XmlDocRemarks": "https://en.wikipedia.org/wiki/Therm", - "FromUnitToBaseFunc": "{x} * 1.05505585262e8", - "FromBaseToUnitFunc": "{x} / 1.05505585262e8", + "XmlDocSummary": "The EC therm (symbol, thm) is a non-SI unit of heat energy, defined in the European Community as 100,000 ISO British thermal units, exactly 105,506,000 joules (NIST SP 811). One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. The US and UK therms differ slightly, because the BTU is not standardised worldwide.", + "XmlDocRemarks": "https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8", + "FromUnitToBaseFunc": "{x} * 1.05506e8", + "FromBaseToUnitFunc": "{x} / 1.05506e8", "Prefixes": [ "Deca" ], "Localization": [ { diff --git a/Common/UnitDefinitions/LeakRate.json b/Common/UnitDefinitions/LeakRate.json index b87402851d..68273cf990 100644 --- a/Common/UnitDefinitions/LeakRate.json +++ b/Common/UnitDefinitions/LeakRate.json @@ -45,8 +45,10 @@ { "SingularName": "TorrLiterPerSecond", "PluralName": "TorrLitersPerSecond", - "FromUnitToBaseFunc": "{x} / 7.5", - "FromBaseToUnitFunc": "{x} * 7.5", + "XmlDocSummary": "A leak rate of one liter per second at a pressure of one torr. The torr is exactly 101325/760 pascals (1/760 of a standard atmosphere), so one torr liter per second is about 0.1333224 Pa·m³/s.", + "XmlDocRemarks": "https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8", + "FromUnitToBaseFunc": "{x} * 101325 / 760 / 1e3", + "FromBaseToUnitFunc": "{x} * 760 / 101325 * 1e3", "Localization": [ { "Culture": "en-US", diff --git a/Common/UnitDefinitions/Mass.json b/Common/UnitDefinitions/Mass.json index 1d50317003..7046062043 100644 --- a/Common/UnitDefinitions/Mass.json +++ b/Common/UnitDefinitions/Mass.json @@ -244,10 +244,10 @@ "BaseUnits": { "M": "SolarMass" }, - "XmlDocSummary": "Solar mass is a ratio unit to the mass of the solar system star, the sun.", + "XmlDocSummary": "Solar mass is a ratio unit to the mass of the solar system star, the sun. This unit uses 1.98847×10^30 kg, within the uncertainty of the best estimate of (1.988475 ± 0.000092)×10^30 kg. The IAU defines only a nominal solar mass parameter (GM), so a nominal mass in kilograms depends on the measured gravitational constant.", "XmlDocRemarks": "https://en.wikipedia.org/wiki/Solar_mass", - "FromUnitToBaseFunc": "{x} * 1.98947e30", - "FromBaseToUnitFunc": "{x} / 1.98947e30", + "FromUnitToBaseFunc": "{x} * 1.98847e30", + "FromBaseToUnitFunc": "{x} / 1.98847e30", "Localization": [ { "Culture": "en-US", @@ -289,6 +289,6 @@ "Abbreviations": [ "Da", "u" ] } ] - }, + } ] } diff --git a/Common/UnitDefinitions/Power.json b/Common/UnitDefinitions/Power.json index c850f494f2..238f9c1613 100644 --- a/Common/UnitDefinitions/Power.json +++ b/Common/UnitDefinitions/Power.json @@ -71,10 +71,10 @@ { "SingularName": "BoilerHorsepower", "PluralName": "BoilerHorsepower", - "XmlDocSummary": "Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour.", - "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Boiler_horsepower", - "FromUnitToBaseFunc": "{x} * 9812.5", - "FromBaseToUnitFunc": "{x} / 9812.5", + "XmlDocSummary": "Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour. This unit uses 9809.5 W, the value given by NIST SP 811 for the 1884 ASME definition of about 33,469.5 BTU/h. Current industrial practice instead uses 33,475 BTU/h, about 9811 W.", + "XmlDocRemarks": "https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8", + "FromUnitToBaseFunc": "{x} * 9809.5", + "FromBaseToUnitFunc": "{x} / 9809.5", "Localization": [ { "Culture": "en-US", diff --git a/Common/UnitDefinitions/Temperature.json b/Common/UnitDefinitions/Temperature.json index 598f560bb3..5409b8b1b3 100644 --- a/Common/UnitDefinitions/Temperature.json +++ b/Common/UnitDefinitions/Temperature.json @@ -145,11 +145,13 @@ { "SingularName": "SolarTemperature", "PluralName": "SolarTemperatures", + "XmlDocSummary": "The nominal solar effective temperature of 5772 K, adopted by IAU 2015 Resolution B3 as a conversion constant for expressing stellar temperatures.", + "XmlDocRemarks": "https://arxiv.org/abs/1510.07674", "BaseUnits": { "Θ": "SolarTemperature" }, - "FromUnitToBaseFunc": "{x} * 5778", - "FromBaseToUnitFunc": "{x} / 5778", + "FromUnitToBaseFunc": "{x} * 5772", + "FromBaseToUnitFunc": "{x} / 5772", "Localization": [ { "Culture": "en-US", diff --git a/UnitsNet.Tests/CustomCode/EnergyTests.cs b/UnitsNet.Tests/CustomCode/EnergyTests.cs index b47fea65dc..7c6890154e 100644 --- a/UnitsNet.Tests/CustomCode/EnergyTests.cs +++ b/UnitsNet.Tests/CustomCode/EnergyTests.cs @@ -49,7 +49,7 @@ public class EnergyTests : EnergyTestsBase protected override double TerawattDaysInOneJoule => 1.157407407407410E-17; - protected override double ThermsEcInOneJoule => 9.4781712031331720001278504447561e-9; + protected override double ThermsEcInOneJoule => 9.47813394498891058328436297462e-9; protected override double FootPoundsInOneJoule => 0.737562149; diff --git a/UnitsNet.Tests/CustomCode/LeakRateTests.cs b/UnitsNet.Tests/CustomCode/LeakRateTests.cs index 4f77889c60..96fd75fa43 100644 --- a/UnitsNet.Tests/CustomCode/LeakRateTests.cs +++ b/UnitsNet.Tests/CustomCode/LeakRateTests.cs @@ -29,7 +29,7 @@ public class LeakRateTests : LeakRateTestsBase protected override double MillibarLitersPerSecondInOnePascalCubicMeterPerSecond => 10; - protected override double TorrLitersPerSecondInOnePascalCubicMeterPerSecond => 7.5; + protected override double TorrLitersPerSecondInOnePascalCubicMeterPerSecond => 7.50061682704169750801875154207; } } diff --git a/UnitsNet.Tests/CustomCode/MassTests.cs b/UnitsNet.Tests/CustomCode/MassTests.cs index 9b4b35b50b..a80ca1396e 100644 --- a/UnitsNet.Tests/CustomCode/MassTests.cs +++ b/UnitsNet.Tests/CustomCode/MassTests.cs @@ -59,7 +59,7 @@ public class MassTests : MassTestsBase protected override double EarthMassesInOneKilogram => 1.6744248350691500000000000E-25; - protected override double SolarMassesInOneKilogram => 5.0264643347223100000000000E-31; + protected override double SolarMassesInOneKilogram => 5.02899213968528567189849482265E-31; protected override double FemtogramsInOneKilogram => 1E18; diff --git a/UnitsNet.Tests/CustomCode/PowerTests.cs b/UnitsNet.Tests/CustomCode/PowerTests.cs index 92b374e569..d4fd254205 100644 --- a/UnitsNet.Tests/CustomCode/PowerTests.cs +++ b/UnitsNet.Tests/CustomCode/PowerTests.cs @@ -48,7 +48,7 @@ public class PowerTests : PowerTestsBase protected override double KilobritishThermalUnitsPerHourInOneWatt => 3.412141633e-3; - protected override double BoilerHorsepowerInOneWatt => 1.0191082802547770700636942675159e-4; + protected override double BoilerHorsepowerInOneWatt => 1.01941995004842244762730006626e-4; protected override double MegabritishThermalUnitsPerHourInOneWatt => 3.412141633e-6; diff --git a/UnitsNet.Tests/CustomCode/TemperatureTests.cs b/UnitsNet.Tests/CustomCode/TemperatureTests.cs index 46fcceceb4..9e9e86524c 100644 --- a/UnitsNet.Tests/CustomCode/TemperatureTests.cs +++ b/UnitsNet.Tests/CustomCode/TemperatureTests.cs @@ -23,7 +23,7 @@ public class TemperatureTests : TemperatureTestsBase protected override double MillidegreesCelsiusInOneKelvin => -272150; - protected override double SolarTemperaturesInOneKelvin => 1.73070266528210E-04; + protected override double SolarTemperaturesInOneKelvin => 1.73250173250173250173250173250E-04; [Fact] public void AllBaseQuantityUnitsAreBaseUnits() From 00be8c80c78e4fbff7fe332304ce0252a6ad4be9 Mon Sep 17 00:00:00 2001 From: Tristan Milnthorp <5693174+tmilnthorp@users.noreply.github.com> Date: Tue, 6 Oct 2026 21:09:37 -0400 Subject: [PATCH 2/2] Regenerate code Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012XKhDsyHDc5BHrmibxScqG --- UnitsNet/GeneratedCode/Quantities/Energy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/Mass.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/Power.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/Temperature.g.cs | 2 +- UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs | 4 ++-- UnitsNet/GeneratedCode/Units/LeakRateUnit.g.cs | 5 +++++ UnitsNet/GeneratedCode/Units/MassUnit.g.cs | 2 +- UnitsNet/GeneratedCode/Units/PowerUnit.g.cs | 4 ++-- UnitsNet/GeneratedCode/Units/TemperatureUnit.g.cs | 5 +++++ 10 files changed, 21 insertions(+), 11 deletions(-) diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs index 5b6c1e1d60..105de2b226 100644 --- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs @@ -136,7 +136,7 @@ public static IEnumerable> GetDefaultMappings() new QuantityValue(125, 523) ); yield return new (EnergyUnit.DecathermEc, "DecathermEc", "DecathermsEc", BaseUnits.Undefined, - new QuantityValue(50, 52752792631) + new QuantityValue(1, 1055060000) ); yield return new (EnergyUnit.DecathermImperial, "DecathermImperial", "DecathermsImperial", BaseUnits.Undefined, new QuantityValue(25000, 26376396314337) @@ -233,7 +233,7 @@ public static IEnumerable> GetDefaultMappings() new QuantityValue(1, 3600000000000000) ); yield return new (EnergyUnit.ThermEc, "ThermEc", "ThermsEc", BaseUnits.Undefined, - new QuantityValue(500, 52752792631) + new QuantityValue(1, 105506000) ); yield return new (EnergyUnit.ThermImperial, "ThermImperial", "ThermsImperial", BaseUnits.Undefined, new QuantityValue(250000, 26376396314337) diff --git a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs index d33a66d643..a9c51d08d1 100644 --- a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs @@ -129,7 +129,7 @@ public static IEnumerable> GetDefaultMappings() ); yield return new (LeakRateUnit.PascalCubicMeterPerSecond, "PascalCubicMeterPerSecond", "PascalCubicMetersPerSecond", new BaseUnits(length: LengthUnit.Meter, mass: MassUnit.Kilogram, time: DurationUnit.Second)); yield return new (LeakRateUnit.TorrLiterPerSecond, "TorrLiterPerSecond", "TorrLitersPerSecond", BaseUnits.Undefined, - new QuantityValue(15, 2) + new QuantityValue(30400, 4053) ); } } diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs index f4993cc01a..d8ed07bcb5 100644 --- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs @@ -215,7 +215,7 @@ public static IEnumerable> GetDefaultMappings() new QuantityValue(609600000000, 8896443230521) ); yield return new (MassUnit.SolarMass, "SolarMass", "SolarMasses", new BaseUnits(mass: MassUnit.SolarMass), - new QuantityValue(1, new BigInteger(198947) * QuantityValue.PowerOfTen(25)) + new QuantityValue(1, new BigInteger(198847) * QuantityValue.PowerOfTen(25)) ); yield return new (MassUnit.Stone, "Stone", "Stone", new BaseUnits(mass: MassUnit.Stone), new QuantityValue(50000000, 317514659) diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs index ab15bcfe09..e25afd4539 100644 --- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs @@ -136,7 +136,7 @@ public static PowerInfo CreateDefault(Func public static IEnumerable> GetDefaultMappings() { yield return new (PowerUnit.BoilerHorsepower, "BoilerHorsepower", "BoilerHorsepower", BaseUnits.Undefined, - new QuantityValue(2, 19625) + new QuantityValue(2, 19619) ); yield return new (PowerUnit.BritishThermalUnitPerHour, "BritishThermalUnitPerHour", "BritishThermalUnitsPerHour", BaseUnits.Undefined, new QuantityValue(180000000000, 52752792631) diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs index a4d01e36c7..8a54ad7c3c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs @@ -148,7 +148,7 @@ public static IEnumerable> GetDefaultMappings() new ConversionExpression(coefficient: new QuantityValue(1, 1000), constantTerm: new QuantityValue(5463, 20)) ); yield return new (TemperatureUnit.SolarTemperature, "SolarTemperature", "SolarTemperatures", new BaseUnits(temperature: TemperatureUnit.SolarTemperature), - new QuantityValue(1, 5778) + new QuantityValue(1, 5772) ); } } diff --git a/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs b/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs index 87b58d3a8a..dd88e5bd8b 100644 --- a/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs +++ b/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs @@ -82,9 +82,9 @@ public enum EnergyUnit TerawattHour = 31, /// - /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory. + /// The EC therm (symbol, thm) is a non-SI unit of heat energy, defined in the European Community as 100,000 ISO British thermal units, exactly 105,506,000 joules (NIST SP 811). One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. The US and UK therms differ slightly, because the BTU is not standardised worldwide. /// - /// https://en.wikipedia.org/wiki/Therm + /// https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8 ThermEc = 32, /// diff --git a/UnitsNet/GeneratedCode/Units/LeakRateUnit.g.cs b/UnitsNet/GeneratedCode/Units/LeakRateUnit.g.cs index e48896681e..f2c3aa6e1a 100644 --- a/UnitsNet/GeneratedCode/Units/LeakRateUnit.g.cs +++ b/UnitsNet/GeneratedCode/Units/LeakRateUnit.g.cs @@ -28,6 +28,11 @@ public enum LeakRateUnit AtmCubicCentimeterPerSecond = 10, MillibarLiterPerSecond = 7, PascalCubicMeterPerSecond = 2, + + /// + /// A leak rate of one liter per second at a pressure of one torr. The torr is exactly 101325/760 pascals (1/760 of a standard atmosphere), so one torr liter per second is about 0.1333224 Pa·m³/s. + /// + /// https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8 TorrLiterPerSecond = 4, } diff --git a/UnitsNet/GeneratedCode/Units/MassUnit.g.cs b/UnitsNet/GeneratedCode/Units/MassUnit.g.cs index 55b385ee83..8b90fecaa8 100644 --- a/UnitsNet/GeneratedCode/Units/MassUnit.g.cs +++ b/UnitsNet/GeneratedCode/Units/MassUnit.g.cs @@ -105,7 +105,7 @@ public enum MassUnit Slug = 22, /// - /// Solar mass is a ratio unit to the mass of the solar system star, the sun. + /// Solar mass is a ratio unit to the mass of the solar system star, the sun. This unit uses 1.98847×10^30 kg, within the uncertainty of the best estimate of (1.988475 ± 0.000092)×10^30 kg. The IAU defines only a nominal solar mass parameter (GM), so a nominal mass in kilograms depends on the measured gravitational constant. /// /// https://en.wikipedia.org/wiki/Solar_mass SolarMass = 23, diff --git a/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs b/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs index c0ddfe10ec..60eeef81a5 100644 --- a/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs +++ b/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs @@ -27,9 +27,9 @@ public enum PowerUnit { /// - /// Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour. + /// Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour. This unit uses 9809.5 W, the value given by NIST SP 811 for the 1884 ASME definition of about 33,469.5 BTU/h. Current industrial practice instead uses 33,475 BTU/h, about 9811 W. /// - /// https://en.wikipedia.org/wiki/Horsepower#Boiler_horsepower + /// https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8 BoilerHorsepower = 1, /// Based on the International Table (IT) definition of the British thermal unit (BTU), where 1 BTU is defined as exactly 1055.05585262 joules (≈1.05506 kJ). See https://en.wikipedia.org/wiki/British_thermal_unit for details. BritishThermalUnitPerHour = 2, diff --git a/UnitsNet/GeneratedCode/Units/TemperatureUnit.g.cs b/UnitsNet/GeneratedCode/Units/TemperatureUnit.g.cs index 51a02d8902..1bb7aa8334 100644 --- a/UnitsNet/GeneratedCode/Units/TemperatureUnit.g.cs +++ b/UnitsNet/GeneratedCode/Units/TemperatureUnit.g.cs @@ -34,6 +34,11 @@ public enum TemperatureUnit DegreeRoemer = 7, Kelvin = 8, MillidegreeCelsius = 9, + + /// + /// The nominal solar effective temperature of 5772 K, adopted by IAU 2015 Resolution B3 as a conversion constant for expressing stellar temperatures. + /// + /// https://arxiv.org/abs/1510.07674 SolarTemperature = 10, }