/
Cryogen.py
51 lines (39 loc) · 1.38 KB
/
Cryogen.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## @ingroup Attributes-Cryogens
# Cryogen.py
#
# Created: Feb 2020, K. Hamilton - Through New Zealand Ministry of Business Innovation and Employment Research Contract RTVU2004
# ----------------------------------------------------------------------
# Imports
# ----------------------------------------------------------------------
from SUAVE.Core import Data
# ----------------------------------------------------------------------
# Class
# ----------------------------------------------------------------------
## @ingroup Attributes-Cryogens
class Cryogen(Data):
"""Holds values for a cryogen
Assumptions:
None
Source:
None
"""
def __defaults__(self):
"""This sets the default values.
Assumptions:
None
Source:
Values commonly available
Inputs:
None
Outputs:
None
Properties Used:
None
"""
self.tag = 'Cryogen'
self.density = 0.0 # kg/m^3
self.specific_energy = 0.0 # MJ/kg
self.energy_density = 0.0 # MJ/m^3
self.temperatures = Data()
self.temperatures.freeze = 0.0 # K
self.temperatures.boiling = 0.0 # K