Add gauge pressure, cubic meter per second, and fluence units, #1666
Open
dadge wants to merge 3 commits into
Open
Add gauge pressure, cubic meter per second, and fluence units, #1666dadge wants to merge 3 commits into
dadge wants to merge 3 commits into
Conversation
The usage is deprecated but still prevails in industry. At ITER Organization, we need those unit for business use cases.
At ITER Organization, we need those unit for business use cases.
At ITER Organization, we need those unit for business use cases. In nuclear reactor physics, fluence is the time-integrated neutron flux. It is commonly expressed in neutrons per square centimeter (n/cm²). For example, the fast neutron fluence with energy greater than one mega-electronvolt (velocity greater than 13,830 km/s) received by the wall of a reactor vessel at end-of-life can reach 6 × 10¹⁹ n/cm² (equivalent to one mole per square meter).
Author
|
Hey @angularsen ! Sorry to bother, but the Azure Pipelines is crashing and I don't think it's is related t any of my changes but I may be wrong ? in Any case the error message is not helpful to identify the issue (and I cannot re run it).
Thank you ! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This pull request introduces support for the new physical quantity "Fluence" (measured in neutrons per square centimeter) to UnitsNet, along with enhancements to Power and Pressure units. It adds new gauge pressure units (e.g., bar(g), Pa(g)) and extends the Power quantity with PascalCubicMeterPerSecond and its metric prefixes. The changes include new unit definitions, code generation, and updates to enums and project files.
New Quantity and Units
Fluencewith its base unitNeutronPerSquareCentimeter, including its JSON definition, generated code, and nanoFramework project and nuspec files. [1] [2] [3] [4] [5] [6]Power Unit Extensions
PascalCubicMeterPerSecond(with metric prefixes) to Power units, including JSON definition, enum values, and generated property accessors in the Power quantity. [1] [2] [3] [4] [5] [6] [7] [8]Pressure Unit Extensions
PascalG(Pa(g)) andBarG(bar(g)), with their conversion logic, localizations, and enum values. [1] [2] [3]These changes expand UnitsNet's coverage for nuclear physics and engineering use cases, providing new units and quantities with full support in the codebase. The new units are useful for ITER organization, the international research project to create the first nuclear fusion reactor ( https://www.iter.org/)