The current dispatcher.js is setting model-specific entries: Catalog_Name and Catalog_Number. In other words, Spring specific symbols are polluting the Piston-Cylinder and Solid models,
case CHANGE_INPUT_SYMBOL_VALUES:
// DO NOT INVOKE invokeInit(store) BECAUSE OF RECURSION
store.dispatch(changeSymbolValue('Catalog_Name', '', action.payload.merit))
store.dispatch(changeSymbolValue('Catalog_Number', '', action.payload.merit))
invokeEquationSet(store);
propagate(store);
updateObjectiveValue(store, action.payload.merit);
break;
case RESTORE_INPUT_SYMBOL_VALUES:
store.dispatch(changeSymbolValue('Catalog_Name', '', action.payload.merit))
store.dispatch(changeSymbolValue('Catalog_Number', '', action.payload.merit))
invokeEquationSet(store);
propagate(store);
updateObjectiveValue(store, action.payload.merit);
break;
These should be moved to a model-specific dispatcher.js or equivalent.
For example, here is a dump of a Piston-Cylinder model
The current
dispatcher.js
is setting model-specific entries: Catalog_Name and Catalog_Number. In other words, Spring specific symbols are polluting the Piston-Cylinder and Solid models,These should be moved to a model-specific dispatcher.js or equivalent.
For example, here is a dump of a Piston-Cylinder model