Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Question: what does isAvailable() mean in case of multiple consumers. Do all consumers need to have the same time(s)?
    1. Leave in for now, review after more implementation, one suggestion of modification bool isAvailable(whosAsking);
    2. (warning) Will be discussed later during the meeting, Stef will show an example of using isAvailable(whosAsking);
    3. Related: The code:
Code Block
java
java

while (!providingOutputItem.IsAvailable(consumerThatIsAsking)) {
    providingOutputItem.Component.Update(providingOutputItem);
}
values = providingOutputItem.Values;

is actually representing the original 1.4 GetValues() call. So it might be wise, to put emphasis again on the still working 'pull approach', introduce this getValues() call:

Code Block
java
java

values = providingOutputItem.GetValues(consumerThatIsAsking);

Will be discussed later during the meeting, Stef will show an example of using isAvailable(whosAsking);

  • We will introduce a boolean argument that indicates whether the component should run in a pull mode (like in OpenMI 1.4) or in loop mode
    : Discuss component operation mode here - comment from Peter Gijsbers need to be discussed
  • "string Validate()" / "bool IsValid(IExchangeItem item)" / "IsAvailable()", etc.
    • (warning) to be reviewed at this meeting
  • When we get loops in the compositions - we have to tell which component will be first! In the new GUI, we will let the user indicate the 'Start up component'.
     

...