Skip to content

Commit

Permalink
chore: add rate type to compressor model results and convert to time …
Browse files Browse the repository at this point in the history
…series (#187)

* chore: add rate type to compressor model results and convert to time series
  • Loading branch information
frodehk authored Sep 25, 2023
1 parent db1e9b1 commit c86bf3f
Show file tree
Hide file tree
Showing 6 changed files with 5,358 additions and 750 deletions.
4 changes: 4 additions & 0 deletions src/libecalc/common/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ class Unit(str, Enum):
NONE = "N/A"
KG_BOE = "kg/BOE"
KG_SM3 = "kg/Sm3"
KG_M3 = "kg/m3"
STANDARD_CUBIC_METER = "Sm3"
BOE = "BOE"

TONS_PER_DAY = "t/d"
TONS = "t"

KILO_PER_DAY = "kg/d"
KILO_PER_HOUR = "kg/h"
KILO = "kg"

LITRES_PER_DAY = "L/d"
Expand Down Expand Up @@ -84,6 +86,8 @@ class Unit(str, Enum):
NORWEGIAN_KRONER_PER_DAY = "NOK/d"
NORWEGIAN_KRONER = "NOK"

SPEED_RPM = "RPM"

def __str__(self) -> str:
return self.value

Expand Down
Loading

0 comments on commit c86bf3f

Please sign in to comment.