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
#2614 do not create logical container neighborhoods (#2615)
* #2614 do not create logical container neighborhoods
* #2614 code review
* #2614 remove formula for test failure
* #2614 test fix
* #2614 valid with warnings
* #2614 comments
$"Parameter identification '{parameterIdentificationName}' finished but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}":
1073
-
$"Parameter identification '{parameterIdentificationName}' finished in {duration} but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}";
1070
+
returnstring.IsNullOrEmpty(duration)?$"Parameter identification '{parameterIdentificationName}' finished but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}":$"Parameter identification '{parameterIdentificationName}' finished in {duration} but sensitivity calculation failed.\n\n{string.Join("\n\n",errorMessages)}";
1074
1071
}
1075
1072
1076
1073
publicstaticstringLinkedParametersIn(stringname)
@@ -1316,7 +1313,7 @@ public static string SensitivityAnalysisErrorMessage(IReadOnlyList<string> error
1316
1313
stringBuilder.AppendLine();
1317
1314
stringBuilder.AppendLine();
1318
1315
});
1319
-
1316
+
1320
1317
returnstringBuilder.ToString();
1321
1318
}
1322
1319
}
@@ -1407,7 +1404,7 @@ public static class GroupRowFormat
@@ -1416,7 +1413,6 @@ public static class DeviationLines
1416
1413
publicstaticstringDeviationLineDescription="Will create two deviation lines according to the given fold value which has to be greater than 1 (foldValue >1). An x-fold deviation range includes simulated values within x-fold and 1/x-fold of observed values.";
@@ -1451,12 +1447,12 @@ public static string ProjectVersionCannotBeLoaded(
1451
1447
publicstaticstringLoadObjectFromSnapshot(stringobjectType)=>$"Load {objectType.ToLowerInvariant()} from snapshot";
1452
1448
publicstaticstringSelectSnapshotExportFile(stringobjectName,stringobjectType)=>$"Export snapshot for {objectType.ToLowerInvariant()} '{objectName}'";
1453
1449
publicstaticstringDoYouWantToProceed(paramsstring[]messages)=>$"WARNING:\n{messages.ToString("\n")}\n\nDo you wish to continue?";
1454
-
1450
+
1455
1451
publicstaticreadonlystringSnapshotOfProjectWithChangedSimulationText="Some simulations are in a changed state (red icon) and may not be re-imported correctly.";
$"Cannot find parent container '{parentPath}' defined as target of container '{containerName}' in building block '{buildingBlockName}' in module '{moduleName}'";
1519
1514
1520
-
publicstaticstringNoUnitColumnValues(stringmappingName)=>$"No values for the unit were found in the excel column mapped for '{mappingName}' \n";
1515
+
publicstaticstringNoUnitColumnValues(stringmappingName)=>$"No values for the unit were found in the excel column mapped for '{mappingName}' \n";
1521
1516
1522
1517
publicstaticstringParseErrorMessage(stringerrors)=>$"There were errors while parsing your data: {errors}";
1523
1518
@@ -1596,7 +1591,7 @@ public static string NameAlreadyExists(string name)
return$"'{name}' already exists in {containerType}.";
@@ -1738,6 +1733,7 @@ public static string MoleculeNameExistsInAnotherList(string moleculeName)
1738
1733
{
1739
1734
return$"Cannot add molecule '{moleculeName}' into both molecules to include and molecules to exclude lists";
1740
1735
}
1736
+
1741
1737
publicstaticstringBuildingBlockTypeAlreadyAddedToModule(stringobjectName,stringtype)=>$"BuildingBlock '{type}' for '{objectName}' was already added to module";
1742
1738
1743
1739
publicconststringNotImplemented="This feature is not implemented yet";
@@ -1888,11 +1884,11 @@ public static string TimeArrayValuesDoesNotMatchFirstIndividual(int id, int inde
1888
1884
1889
1885
publicstaticstringUnitIsNotDefinedInDimension(stringunit,stringdimension)=>$"Unit '{unit}' is not defined in dimension '{dimension}'.";
=>$"{ObjectTypes.Simulation.PluralizeIf(simulationNames)}{simulationNames.ToString(", ","'")} used in plots {"is".PluralizeIf(simulationNames)} not found in the list of exported simulations for {ObjectTypes.Project}{project}";
1922
1918
1919
+
publicstaticstringNeighborIsLogical(stringneighborName,stringneighborhoodName)=>$"Container {neighborName} is defined as logical for neighborhood '{neighborhoodName}'";
$"The selected output resolution will generate {numberOfPoints} points and may severely impact the software performance.\nAre you sure you want to run with these setting? If not, consider changing output resolution in simulations settings";
2225
2223
2226
-
publicstaticstringNeighborhoodWasNotFoundInModel(stringneighborhoodName,stringbuildingBlockName)=>$"The neighborhood '{neighborhoodName}' from building block '{buildingBlockName}' was not added to the simulation";
2224
+
publicstaticstringNeighborhoodWasNotFoundInModel(stringneighborhoodName,stringbuildingBlockName)=>$"The neighborhood '{neighborhoodName}' from building block '{buildingBlockName}' was not added to the simulation because it is not defined or at least one of the containers is logical";
protectedoverrideFunc<ModuleHelperForSpecs,SimulationConfiguration>SimulationConfigurationBuilder()=> x =>x.CreateSimulationConfiguration();
107
+
protectedoverrideFunc<ModuleHelperForSpecs,SimulationConfiguration>SimulationConfigurationBuilder()=> x =>x.CreateSimulationConfigurationWithLogicalNeighborhood();
0 commit comments