Skip to content
Snippets Groups Projects
Commit 9f3fdac9 authored by Jan Habscheid's avatar Jan Habscheid
Browse files

Batches + host docs on gitlab pages

parent c585a679
No related branches found
No related tags found
1 merge request!4Added Ci to deploy docs + batches for README
Pipeline #1448777 failed
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
# Reproducibility Repository for Numerical Treatment of a Thermodynamically Consistent Electrolyte Model (B.Sc. Thesis - Jan Habscheid)
[![Pipeline Status](https://git.rwth-aachen.de/Jan.Habscheid/bsc-electrolytemodes/badges/main/pipeline.svg)](https://git.rwth-aachen.de/Jan.Habscheid/bsc-electrolytemodes/pipelines)
[![Documentation](https://img.shields.io/badge/docs-latest-blue)](https://jan.habscheid.pages.rwth-aachen.de/bsc-electrolytemodes/)
[![GitLab Version](https://img.shields.io/badge/version-1.0-blue.svg)](https://git.rwth-aachen.de/jan.habscheid/bsc-electrolytemodes/-/tags)
[![License](https://img.shields.io/badge/license-GPLv3-blue)](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
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment