Skip to content

Having a Unit.SI #519

@Mobz87

Description

@Mobz87

I find myself having a lot of:

entropy.JoulesPerKelvin
enthalpy.JoulesPerKilogram
pressure.Pascals

And a lot of:

MassFlow.FromKilogramsPerSecond(...)
VolumeFlow.FromCubicMetersPerSecond(...)
Power.FromWatts(...)

in my code.

I would love at have a option to not have to write the long SI-units (fx. KilogramsPerSecond).

If I could write instead:

entropy.SI
enthalpy.SI
pressure.SI
MassFlow.FromSI(...)
VolumeFlow.FromSI(...)
Power.FromSI(...)

Then my code would look much more clean and there would be less errors.
What do you think of this idea? And how difficult would it be to implement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions