You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#2760 Add validation of Nan and Inf parameters at t=0 (#2761)
* Fixes#2760 Add validation of Nan and Inf parameters at t=0
* refactory names and id's in tests
* modify requirement for braces in all loops/conditionals
* pr feedback
* change the object type resolver call
* update xml doc
$"Parameter identification '{parameterIdentificationName}' finished but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}":
1067
+
returnstring.IsNullOrEmpty(duration)?
1068
+
$"Parameter identification '{parameterIdentificationName}' finished but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}":
1069
1069
$"Parameter identification '{parameterIdentificationName}' finished in {duration} but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}";
$"Cannot find parent container '{parentPath}' defined as target of container '{containerName}' in building block '{buildingBlockName}' in module '{moduleName}'";
1510
1510
1511
-
publicstaticstringNoUnitColumnValues(stringmappingName)=>$"No values for the unit were found in the excel column mapped for '{mappingName}' \n";
1511
+
publicstaticstringNoUnitColumnValues(stringmappingName)=>$"No values for the unit were found in the excel column mapped for '{mappingName}' \n";
1512
1512
1513
1513
publicstaticstringParseErrorMessage(stringerrors)=>$"There were errors while parsing your data: {errors}";
1514
1514
@@ -1587,7 +1587,7 @@ public static string NameAlreadyExists(string name)
$"Could not find neighborhood between '{container1}' and '{container2}' referenced by formula '{formulaName}' used by '{usingFormulaPath}'";
1901
1901
1902
1902
publicstaticstringFirstNeighborNotDefinedFor(stringneighborhoodName)=>$"First neighbor is undefined for neighborhood '{neighborhoodName}'";
1903
-
1903
+
1904
1904
publicstaticstringSecondNeighborNotDefinedFor(stringneighborhoodName)=>$"Second neighbor is undefined for neighborhood '{neighborhoodName}'";
1905
1905
1906
1906
publicconststringInParentTagCanOnlyBeUsedWithAndOperator="IN PARENT tag can only be used with AND operator";
@@ -2208,6 +2208,10 @@ public static string LargeNumberOfOutputPoints(int numberOfPoints) =>
2208
2208
publicstaticstringNeighborhoodWasNotFoundInModel(stringneighborhoodName,stringbuildingBlockName)=>$"The neighborhood '{neighborhoodName}' from building block '{buildingBlockName}' was not added to the simulation";
2209
2209
2210
2210
publicstaticstringExpressionMoleculeNotFoundInSimulation(stringmoleculeName)=>$"The molecule '{moleculeName}' is not part of the simulation structure";
2211
+
2212
+
publicstaticstringRemovedParameterDueToNanAtTimeZero(stringpathForRemovedParameter)=>$"The parameter '{pathForRemovedParameter}' was removed because it evaluates to NaN at time t=0";
2213
+
publicstaticstringQuantityIsNanAtTimeZero(stringpathForNanQuantity,stringquantityType)=>$"The {quantityType} with path '{pathForNanQuantity}' is NaN at time t=0";
2214
+
publicstaticstringQuantityIsInfinityAtTimeZero(stringpathForInfinityQuantity,stringquantityType)=>$"The {quantityType} with path '{pathForInfinityQuantity}' is infinite at time t=0";
0 commit comments