Coverage for backend/core/auxiliary/enums/pinchEnums.py: 100%

39 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2025-11-06 23:27 +0000

1from django.db import models 

2 

3class HeatFlowUnits(models.TextChoices): 

4 W = "W" 

5 kW = "kW" 

6 MW = "MW" 

7 GW = "GW" 

8 

9class StreamType(models.TextChoices): 

10 Hot = "Hot" 

11 Cold = "Cold" 

12 Both = "Both" 

13 Unassigned = '' 

14 

15class ArrowHead(models.TextChoices): 

16 START = "Start" 

17 END = "End" 

18 NO_ARROW = "None" 

19 

20class LineColour(models.IntegerChoices): 

21 Hot = 0 

22 Cold = 1 

23 Other = 2 

24 Black = 3 

25 

26class GraphType(models.TextChoices): 

27 CC = "CC" 

28 SCC = "SCC" 

29 BCC = "BCC" 

30 GCC = "GCC" 

31 GCC_NP = "GCC_NP" 

32 GCCU = "GCCU" 

33 LGCC = "LGCC" 

34 ERC = "ERC" 

35 NLC = "NLC" 

36 EC = "EC" 

37 

38class SummaryRowType(models.TextChoices): 

39 CONTENT = "content" 

40 FOOTER = "footer" 

41 

42class TurbineModel(models.TextChoices): 

43 MEDINA_FLORES = 'Medina-Flores et al. (2010)' 

44 SUN_SMITH = 'Sun & Smith (2015)' 

45 VARBANOV = 'Varbanov et al. (2004)' 

46 ISENTROPIC = 'Fixed Isentropic Turbine'