Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CCS
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marko Mecina
CCS
Commits
f10d2b26
Commit
f10d2b26
authored
1 year ago
by
Marko Mecina
Browse files
Options
Downloads
Patches
Plain Diff
add function to calculate thermal conductivity
parent
15d65418
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Ccs/tools/simulators/thermal_model.py
+20
-0
20 additions, 0 deletions
Ccs/tools/simulators/thermal_model.py
with
20 additions
and
0 deletions
Ccs/tools/simulators/thermal_model.py
+
20
−
0
View file @
f10d2b26
...
@@ -91,6 +91,26 @@ def cp_al(T):
...
@@ -91,6 +91,26 @@ def cp_al(T):
return
10
**
(
a
+
b
*
(
np
.
log10
(
T
))
+
c
*
(
np
.
log10
(
T
))
**
2
+
d
*
(
np
.
log10
(
T
))
**
3
+
e
*
(
np
.
log10
(
T
))
**
4
+
f
*
(
np
.
log10
(
T
))
**
5
+
g
*
(
np
.
log10
(
T
))
**
6
+
h
*
(
np
.
log10
(
T
))
**
7
+
i
*
(
np
.
log10
(
T
))
**
8
)
return
10
**
(
a
+
b
*
(
np
.
log10
(
T
))
+
c
*
(
np
.
log10
(
T
))
**
2
+
d
*
(
np
.
log10
(
T
))
**
3
+
e
*
(
np
.
log10
(
T
))
**
4
+
f
*
(
np
.
log10
(
T
))
**
5
+
g
*
(
np
.
log10
(
T
))
**
6
+
h
*
(
np
.
log10
(
T
))
**
7
+
i
*
(
np
.
log10
(
T
))
**
8
)
def
k_al
(
T
):
"""
Calculate thermal conductivity of Aluminium 6061-T6 at a given temperature between 4 an 300 K. From https://trc.nist.gov/cryogenics/materials/6061%20Aluminum/6061_T6Aluminum_rev.htm
:param T: Temperature in Kelvin
:return:
"""
a
=
0.07918
b
=
1.0957
c
=
-
0.07277
d
=
0.08084
e
=
0.02803
f
=
-
0.09464
g
=
0.04179
h
=
-
0.00571
i
=
0
return
10
**
(
a
+
b
*
(
np
.
log10
(
T
))
+
c
*
(
np
.
log10
(
T
))
**
2
+
d
*
(
np
.
log10
(
T
))
**
3
+
e
*
(
np
.
log10
(
T
))
**
4
+
f
*
(
np
.
log10
(
T
))
**
5
+
g
*
(
np
.
log10
(
T
))
**
6
+
h
*
(
np
.
log10
(
T
))
**
7
+
i
*
(
np
.
log10
(
T
))
**
8
)
def
vctrl_to_vhtr
(
vctrl
):
def
vctrl_to_vhtr
(
vctrl
):
"""
"""
Calculate heater voltage from control voltage; linear behaviour
Calculate heater voltage from control voltage; linear behaviour
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment