Giter VIP home page Giter VIP logo

Comments (3)

chrbertsch avatar chrbertsch commented on August 24, 2024

"structuralParameters" & "calculatedParameters" should not be marked with intermediateUpdate = true; to my understanding this is already clear (but could be made more explicit): in the definition of "requiredIntermediateVariables" (https://fmi-standard.org/docs/main/#requiredIntermediateVariables) it is already stated that "For Co-Simulation, these intermediate variables must be continuous-time variables.", and as listed in https://fmi-standard.org/docs/main/#table-allowed-variability-causality-combinations, this excludes structural and calculated parameters.
(btw. "For Co-Simulation ... " is misleading, as intermediateUpate is only used in CS. Should we change this?)

Regarding Clock variables: As they must not have the intermediateUpdate attribute, they cannot be part of "requiredIntermediateVariables" and thus cannot be set. I do no know what to clarify here.

from fmi-standard.

PeterMeisrimelModelon avatar PeterMeisrimelModelon commented on August 24, 2024

Thanks for clarifying the more explicit restriction with the MR.

As for the Clock variables, this might be more of a language consistency concern. "...must not have [...] attribute ..." can be read as "The mere existence of this attribute is erroneous, irregardless of the value". This is particularly odd, since there is a default value.

Compare:

  1. "Type definitions without unit must not have a unit attribute."
  2. "A structural parameter must not have a element"
  3. For the variable with causality = independent, the attribute initial must not be provided, because its start value is set with the startTime parameter of fmi3EnterInitializationMode.

How about "Variables of type Clock must not be marked with intermediateUpdate = true"?

from fmi-standard.

chrbertsch avatar chrbertsch commented on August 24, 2024

Hm.
As in the FMI 3.0. release the sentence "Variables of type <> must not have the <> attribute." is already in, Clocks may really not have this attribute, so it is not only about the value.

from fmi-standard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.