Skip to content

Time-series data in SSPΒ #61

Open
Open

Description

@robha67

The possibility to store simulation stimuli (time-series data) in the SSP resources such that any SSP supporting integration tool can interpret the resource and invoke it for executing the simulation. In this context, the time-series data could represent some founding design requirements.

Activity

  1. JochenKoehler commented on Sep 16, 2022

    @JochenKoehler
    Collaborator

    Web meeting 2022-09-16

    • Robert will check if a first definition of requirement could be written as start for a discussion
    • Dag references to a paper with similar topic - will put link here: Modelica conference Munich 2012 (Leo Gall, Martin Otter)
  2. DagBruck commented on Sep 16, 2022

    @DagBruck
    Contributor

    The paper is "Proposal for a Standard Time Series File Format in HDF5" at https://ep.liu.se/ecp/076/050/ecp12076050.pdf.

  3. chrbertsch commented on Sep 16, 2022

    @chrbertsch

    Do you know the "Signal Tables" by @MartinOtter :
    https://www.mdpi.com/2079-9292/11/18/2811

  4. DagBruck commented on Sep 26, 2022

    @DagBruck
    Contributor

    Do you know the "Signal Tables" by @MartinOtter :
    https://www.mdpi.com/2079-9292/11/18/2811

    Yes, that is a very useful paper. However, I did not see any explicit comparison of the performance and size requirements of the serialized SignalTable. As mentioned in the paper, the "trick" DSRES applies to signals of the type a=b or a=-b reduces the file size by up to 75%, which is significant.

  5. MartinOtter commented on Sep 26, 2022

    @MartinOtter
    Member

    As described in the paper and used in the SignalTables.jl prototype, "a=b" is utilized, but not "a=-b" (similar to FMI 3.0). The main reason was to simplify the description and the implementation. I did not yet made serious comparisons between SignalTables.jl and DSRES format, because it is some effort to have exactly the same (realistic) model in Modelica and in Julia/Modia/SignalTables.jl and store exactly the same variables. It would be possible to utilize "a=-b" as well by some additions to the current description and implementation.

  6. trulede commented on Oct 3, 2022

    @trulede

    Could you do this using a Model (FMU) to represent the time series in the simulation?

    Define your time series data as a Parameter (binary with MimeType according to the format), and then connect that to a Component (Model/FMU) which supports that MimeType format, for the purpose of introducing that data to the simulation.

    As I read over the Binary Parameter specification, it does not seem possible to reference a resource file directly. It might be necessary to extend that to include a source attribute, similar to Component source (anyURI). However, the annotation mechanism is available on a Parameter and would also suffice.

    Edit: With binary types increasing representing complex data sources (signals, buses etc.) it might be interesting to represent them as Components. With that, all the existing mechanisms of the SSP become available for creating the structural elements around that data source. There might be some overlap with the new FMI3 clocks, where the source of those clocks might be component of the Simulation environment, or some other (external) system, rather than an FMU.

  7. DagBruck commented on Oct 27, 2022

    @DagBruck
    Contributor

    Another possibility regarding storage file formats is recon, as described in https://ep.liu.se/ecp/096/113/ecp14096113.pdf.

  8. pmai commented on Jun 13, 2024

    @pmai
    Collaborator

    F2F 2024-06-13: To be handled via the common CSV format and other approaches to be defined in FMI-LS-Ref and harmonized across the MA.

  9. transferred this issue fromon Jan 31, 2025
  10. transferred this issue fromon Jan 31, 2025
  11. added this to the 2.1-alpha milestone on Mar 10, 2025
  12. pmai commented on Dec 10, 2025

    @pmai
    Collaborator

    WS 2025-12-10: Could be fully covered for the 2.1 release by ensuring support for fmi-ls-ref/ma-ls-experiment format support in a suitable form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions