Skip to content

Commit

Permalink
removed space between parameter inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Jun 11, 2024
1 parent 87e8283 commit e8db4e9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 22 deletions.
3 changes: 1 addition & 2 deletions streamlit/app_scripts/app_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,6 @@ def fill_category_protocol(self, category_id,category_display_name, category_nam

if parameter.options.get(selected_parameter_id):

st_space(tab)
name_col, input_col = tab.columns([1, 2])

if isinstance(parameter, NumericalParameter):
Expand Down Expand Up @@ -2124,7 +2123,7 @@ def fill_advanced_expander(self, tab,category_name, category_display_name,catego
template_parameter_id=parameter.id,
parameter_set_id=non_material_parameter_set_id
)
st_space(tab_advanced)
#st_space(tab_advanced)
name_col, input_col = tab_advanced.columns(2)

if isinstance(parameter, NumericalParameter):
Expand Down
8 changes: 4 additions & 4 deletions streamlit/input_files/battmo_formatted_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@
"Coating": {
"thickness": 7.599999999999999e-05,
"N": 20,
"effectiveDensity": 728.212,
"effectiveDensity": 3151.12,
"bruggemanCoefficient": 1.5,
"ActiveMaterial": {
"massFraction": 0.9,
"density": 991.0,
"density": 4950.0,
"electronicConductivity": 100.0,
"specificHeatCapacity": 700.0,
"thermalConductivity": 2.1,
"Interface": {
"saturationConcentration": 21200.0,
"volumetricSurfaceArea": 4418460.0,
"density": 991.0,
"density": 4950.0,
"numberOfElectronsTransferred": 1,
"activationEnergyOfReaction": 35000.0,
"reactionRateConstant": 9.736e-07,
Expand Down Expand Up @@ -170,7 +170,7 @@
"Control": {
"controlPolicy": "CCCV",
"initialControl": "charging",
"numberOfCycles": 1,
"numberOfCycles": 3,
"CRate": 1.0,
"DRate": 1.3,
"lowerCutoffVoltage": 2.4,
Expand Down
16 changes: 8 additions & 8 deletions streamlit/input_files/linked_data_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -4165,7 +4165,7 @@
"@type": "emmo:Density",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 991.0
"hasNumericalData": 4950.0
},
"unit": {
"label": "GramPerCubicMetre",
Expand Down Expand Up @@ -4256,7 +4256,7 @@
"@type": "emmo:SpecificCapacity",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 494.7247163027245
"hasNumericalData": 99.04488764767676
},
"unit": {
"label": "MiliAmpereHourPerGram",
Expand Down Expand Up @@ -4599,7 +4599,7 @@
"@type": "emmo:MassLoading",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 5.534411199999999
"hasNumericalData": 23.948511999999994
},
"unit": {
"label": "MiliGramPerCubicCentiMeter",
Expand Down Expand Up @@ -4651,7 +4651,7 @@
"@type": "emmo:Capacity",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 665.336432629897
"hasNumericalData": 576.3905763296764
},
"unit": {
"label": "MiliAmpereHour",
Expand Down Expand Up @@ -6081,7 +6081,7 @@
"@type": "emmo:N/PRatio",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 1.68
"hasNumericalData": 1.94
},
"unit": {
"label": "UnitOne",
Expand All @@ -6094,7 +6094,7 @@
"@type": "emmo:CellMass",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 28.39886829632
"hasNumericalData": 31.7796972032
},
"unit": {
"label": "Gram",
Expand All @@ -6107,7 +6107,7 @@
"@type": null,
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 665.336432629897
"hasNumericalData": 576.3905763296764
},
"unit": {
"label": "AmpereHour",
Expand Down Expand Up @@ -6205,7 +6205,7 @@
"@type": "emmo:NumberOfEntities",
"value": {
"@type": "emmo:Numerical",
"hasNumericalData": 1
"hasNumericalData": 3
},
"unit": {
"label": "UnitOne",
Expand Down
Binary file modified streamlit/output_files/battmo_results.hdf5
Binary file not shown.
4 changes: 2 additions & 2 deletions streamlit/output_files/calculated_values.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"calculatedParameters": {
"effective_density": {
"negative_electrode": 1770.4,
"positive_electrode": 728.212
"positive_electrode": 3151.12
},
"mass_loadings": {
"negative_electrode": 15.0484,
"positive_electrode": 5.534411199999999
"positive_electrode": 23.948511999999994
}
}
}
12 changes: 6 additions & 6 deletions streamlit/output_files/indicator_values.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"Cell": {
"cellMass": {
"value": 28.39886829632,
"value": 31.7796972032,
"unit": "g"
},
"roundTripEfficiency": {
"unit": "1"
},
"nominalCellCapacity": {
"value": 665.336432629897,
"value": 576.3905763296764,
"unit": "mAh"
},
"NPRatio": {
"value": 1.68,
"value": 1.94,
"unit": "1"
}
},
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"PositiveElectrode": {
"massLoading": {
"value": 5.534411199999999,
"value": 23.948511999999994,
"unit": "mg\u00b7cm\u207b\u00b2"
},
"thickness": {
Expand All @@ -54,12 +54,12 @@
"unit": "1"
},
"specificCapacity": {
"value": 665.336432629897,
"value": 576.3905763296764,
"unit": "mAh"
},
"ActiveMaterial": {
"specificCapacity": {
"value": 494.7247163027245,
"value": 99.04488764767676,
"unit": "mAh\u00b7g\u207b\u00b9"
}
}
Expand Down

0 comments on commit e8db4e9

Please sign in to comment.