Skip to content

Commit

Permalink
increased timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Feb 21, 2024
1 parent fe55e83 commit 38045c5
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docker-compose-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
restart: always
ports:
- "8000:8000"
command: gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server --timeout 200
command: gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server --timeout 500
#command: bash -c "julia -e 'using PkgCompiler; PkgCompiler.clear_cache()' && gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server --timeout 200"

nginx:
Expand Down
16 changes: 8 additions & 8 deletions streamlit/input_files/battmo_formatted_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"bruggemanCoefficient": 1.5,
"ActiveMaterial": {
"massFraction": 0.8,
"density": 1852.0,
"density": 2240.0,
"electronicConductivity": 100.0,
"specificHeatCapacity": 632.0,
"thermalConductivity": 1.04,
"Interface": {
"saturationConcentration": 31540.0,
"volumetricSurfaceArea": 142372.0,
"density": 1852.0,
"saturationConcentration": 30555.0,
"volumetricSurfaceArea": 723600.0,
"density": 2240.0,
"numberOfElectronsTransferred": 1,
"activationEnergyOfReaction": 4000.0,
"reactionRateConstant": 1.76e-11,
"guestStoichiometry100": 0.51873811,
"guestStoichiometry0": 0.001,
"activationEnergyOfReaction": 5000.0,
"reactionRateConstant": 5.031e-11,
"guestStoichiometry100": 0.88551,
"guestStoichiometry0": 0.1429,
"chargeTransferCoefficient": 0.5,
"openCircuitPotential": {
"type": "function",
Expand Down
18 changes: 9 additions & 9 deletions streamlit/input_files/linked_data_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@type": "echem:MaximumConcentration",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 31540.0
"hasNumericalData": 30555.0
},
"unit": {
"label": "MolePerCubicMetre",
Expand All @@ -111,7 +111,7 @@
"@type": "echem:VolumetricSurfaceArea",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 142372.0
"hasNumericalData": 723600.0
},
"unit": {
"label": "Metre",
Expand All @@ -124,7 +124,7 @@
"@type": "emmo:Density",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 1852.0
"hasNumericalData": 2240.0
},
"unit": {
"label": "GramPerCubicMetre",
Expand All @@ -150,7 +150,7 @@
"@type": "emmo:Energy",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 4000.0
"hasNumericalData": 5000.0
},
"unit": {
"label": "JoulePerMoleKelvin",
Expand All @@ -163,7 +163,7 @@
"@type": "None",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 1.76e-11
"hasNumericalData": 5.031e-11
},
"unit": {
"label": "MolePerSquareMetrePerSecond",
Expand All @@ -176,7 +176,7 @@
"@type": "emmo:StoichiometricNumberOfSubstance",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 0.51873811
"hasNumericalData": 0.88551
},
"unit": {
"label": "UnitOne",
Expand All @@ -189,7 +189,7 @@
"@type": "emmo:StoichiometricNumberOfSubstance",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 0.001
"hasNumericalData": 0.1429
},
"unit": {
"label": "UnitOne",
Expand Down Expand Up @@ -507,7 +507,7 @@
"@type": "emmo:MassLoading",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 16.482816
"hasNumericalData": 19.264
},
"unit": {
"label": "MiliGramPerCubicCentiMeter",
Expand Down Expand Up @@ -1350,7 +1350,7 @@
"@type": "emmo:N/PRatio",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 0.94
"hasNumericalData": 1.1
},
"unit": {
"label": "UnitOne",
Expand Down
2 changes: 1 addition & 1 deletion streamlit/output_files/calculated_values.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"calculatedParameters": {"effective_density": 3849.2, "mass_loadings": {"negative_electrode": 16.482816, "positive_electrode": 17.552352}}}
{"calculatedParameters": {"effective_density": 3849.2, "mass_loadings": {"negative_electrode": 19.264, "positive_electrode": 17.552352}}}
2 changes: 1 addition & 1 deletion streamlit/pages/1_Simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


# Get page name
url = st_javascript("await fetch('').then(r => window.parent.location.href)")
url = str(st_javascript("await fetch('').then(r => window.parent.location.href)"))
page_name = url.rsplit('/',1)[1]


Expand Down
2 changes: 1 addition & 1 deletion streamlit/pages/2_Results.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from app_scripts import app_view

# Get page name
url = st_javascript("await fetch('').then(r => window.parent.location.href)")
url = str(st_javascript("await fetch('').then(r => window.parent.location.href)"))
page_name = url.rsplit('/',1)[1]


Expand Down

0 comments on commit 38045c5

Please sign in to comment.