Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fxdgm_testing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Jan Habscheid
fxdgm_testing
Commits
9f3fdac9
Commit
9f3fdac9
authored
7 months ago
by
Jan Habscheid
Browse files
Options
Downloads
Patches
Plain Diff
Batches + host docs on gitlab pages
parent
c585a679
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+30
-0
30 additions, 0 deletions
.gitlab-ci.yml
README.md
+5
-0
5 additions, 0 deletions
README.md
examples/Visualizations/VisElectrolyticDiode.py
+4
-6
4 additions, 6 deletions
examples/Visualizations/VisElectrolyticDiode.py
with
39 additions
and
6 deletions
.gitlab-ci.yml
0 → 100644
+
30
−
0
View file @
9f3fdac9
image
:
python:3.9
# Use a Python Docker image
stages
:
# Define stages in the pipeline
-
build
-
deploy
# Job to build documentation
build-docs
:
stage
:
build
script
:
-
pip install git+https://git.rwth-aachen.de/Jan.Habscheid/bsc-electrolytemodels
-
pip install sphinx
-
pip install sphinx-rtd-theme
-
pip install myst-parser
-
sphinx-build docs/source docs/build
# Build the documentation
artifacts
:
paths
:
-
docs/build
# Save the build output for later stages
expire_in
:
12 month
# Optional: Set how long to keep the artifacts (default: 30 days)
# Job to deploy documentation to GitLab Pages
pages
:
stage
:
deploy
script
:
-
mv docs/build public
# Move the build output to the "public" directory
artifacts
:
paths
:
-
public
# Files in the "public" folder will be deployed to GitLab Pages
only
:
-
main
# Only deploy if the changes are in the default branch
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
5
−
0
View file @
9f3fdac9
# Reproducibility Repository for Numerical Treatment of a Thermodynamically Consistent Electrolyte Model (B.Sc. Thesis - Jan Habscheid)
[

](https://git.rwth-aachen.de/Jan.Habscheid/bsc-electrolytemodes/pipelines)
[

](https://jan.habscheid.pages.rwth-aachen.de/bsc-electrolytemodes/)
[

](https://git.rwth-aachen.de/jan.habscheid/bsc-electrolytemodes/-/tags)
[

](https://git.rwth-aachen.de/Jan.Habscheid/bsc-electrolytemodes/-/blob/main/LICENSE?ref_type=heads)
## Thesis
This repository contains the code to reproduce the results presented in the bachelor thesis: Numerical Treatment of a Thermodynamically Consistent Electrolyte Model
...
...
This diff is collapsed.
Click to expand it.
examples/Visualizations/VisElectrolyticDiode.py
+
4
−
6
View file @
9f3fdac9
...
...
@@ -49,7 +49,7 @@ color_theme_concentration = 'rainbow' # cool, spring, PuBuGn, YlGnBu, GnBu
color_theme_solvent
=
'
spring
'
color_theme_pressure
=
'
autumn
'
fig
,
axs
=
plt
.
subplots
(
nrows
=
3
,
ncols
=
5
,
figsize
=
(
30
,
30
))
fig
,
axs
=
plt
.
subplots
(
nrows
=
3
,
ncols
=
5
,
figsize
=
(
30
,
30
)
,
sharex
=
True
,
sharey
=
True
)
labelsize
=
30
titlesize
=
25
legend_width
=
8
...
...
@@ -102,11 +102,9 @@ for bias, (y_A, y_C, y_S, phi, p, x, y) in enumerate(zip(y_A_packed, y_C_packed,
axs
[
bias
,
4
].
tick_params
(
axis
=
'
both
'
,
labelsize
=
labelsize
)
axs
[
bias
,
4
].
set_title
(
f
'
$p \in (
{
int
(
round
(
np
.
min
(
p
),
0
))
}
,
{
int
(
round
(
np
.
max
(
p
),
0
))
}
)$
'
,
fontsize
=
titlesize
)
# axs[0,0].set_title('$\\varphi [-]$', fontsize=labelsize)
# axs[0,1].set_title('$y_A [-]$', fontsize=labelsize)
# axs[0,2].set_title('$y_C [-]$', fontsize=labelsize)
# axs[0,3].set_title('$y_S [-]$', fontsize=labelsize)
# axs[0,4].set_title('$p [-]$', fontsize=labelsize)
for
bias
in
range
(
5
):
axs
[
2
,
bias
].
set_xticks
([
0
,
0.01
,
0.02
])
fig
.
tight_layout
()
fig
.
savefig
(
'
../Figures/ElectrolyticDiode.svg
'
)
fig
.
show
()
...
...
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