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
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
Perform incomplete matching for over/underdet syst
This performs an incomplete matching after producing the message unbalanced
equation system, and instead of just a number differing OMC will try to
perform a sanity check to figure out if for example a variable is never
referenced in any equation or if two variables must be matched by the same
equation.
public function checkIncidenceMatrixSolvability "Performs a limited matching algorithm to sometimes figure out which equations are superflours or which variables are never solved for."
stringAppendList(list("\n Equation "+String(eq) +": "+BackendDump.equationString(BackendEquation.get(eqsArray, eq)) +", which needs to solve for "+ stringDelimitList(list(ComponentReference.printComponentRefStr(Util.tuple21(tpl)) for tpl in arrayGet(solvedEqs, eq)), ", ") for eq in arrayGet(mTOrig, i)))
protected function getVariableNamesForErrorMessage
9231
+
input BackendDAE.Variables varsArray;
9232
+
input list<Integer> vars;
9233
+
output String names;
9234
+
algorithm
9235
+
names := stringDelimitList(list(ComponentReference.printComponentRefStr(BackendVariable.varCref(BackendVariable.getVarAt(varsArray, v))) for v in vars), ", ");
Util.gettext("Base class targeted by class extends %s not found in the inherited classes."));
880
880
public constant MessageASSIGN_PARAM_FIXED_ERROR=MESSAGE(580, TRANSLATION(), ERROR(),
881
881
Util.gettext("Trying to assign to parameter component %s(fixed=true) in %s := %s"));
882
+
public constant MessageEQN_NO_SPACE_TO_SOLVE=MESSAGE(581, SYMBOLIC(), WARNING(),
883
+
Util.gettext("Equation %s (size: %s) %s is not big enough to solve for enough variables.\n Remaining unsolved variables are: %s\n Already solved: %s\n Equations used to solve those variables:%s"));
884
+
public constant MessageVAR_NO_REMAINING_EQN=MESSAGE(582, SYMBOLIC(), WARNING(),
885
+
Util.gettext("Variable %s does not have any remaining equation to be solved in.\n The original equations were:%s"));
882
886
883
887
public constant MessageMATCH_SHADOWING=MESSAGE(5001, TRANSLATION(), ERROR(),
884
888
Util.gettext("Local variable '%s' shadows another variable."));
0 commit comments