-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Milestone
Description
This model is currently considered completely locally balanced:
model LocalImbalanceByType
model A "Currently locally balanced model"
Real x;
Boolean b;
Boolean c;
equation
b = c; // Boolean equation
x + (if b then 1.0 else 2.0) = 0; // Real equation
x + (if c then 1.0 else 2.0) = 0; // Real equation
end A;
A a;
end LocalImbalanceByType;
However, I would like to be able to reject this with support in the specification to say that it is locally imbalanced for both Boolean and Real types in the component a.
Am I missing something when I think it should be possible to do separate counting for Real and Integer?
Metadata
Metadata
Assignees
Labels
No labels