From 8b10051e9bbaead62d3526e0fd61bf0d5f2dc11e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Wed, 24 Dec 2014 02:27:26 +0100 Subject: [PATCH] Limit maximum indifferent/shared electrolyte concentration so we do not exceed the range where McInnes approximation is valid --- src/problem_generators/problem_generator.ads | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/problem_generators/problem_generator.ads b/src/problem_generators/problem_generator.ads index 9f15b76..e8e72e1 100644 --- a/src/problem_generators/problem_generator.ads +++ b/src/problem_generators/problem_generator.ads @@ -100,8 +100,8 @@ private type SS_Float is digits 17; subtype Stochiometric_Count is Positive range 1 .. 5; - ELECTROLYTE_CONCENTRATION_LOG_MAX: constant SS_Float := 0.176; - ELECTROLYTE_CONCENTRATION_LOG_MIN: constant SS_Float := -4.0; + ELECTROLYTE_CONCENTRATION_LOG_MAX: constant SS_Float := -2.0; + ELECTROLYTE_CONCENTRATION_LOG_MIN: constant SS_Float := -4.5; MOLAR_WEIGHT_MAX: constant SS_Float := 450.0; MOLAR_WEIGHT_MIN: constant SS_Float := 45.0; PKS_MAX: constant SS_Float := 54.0; -- 2.43.5