Skip to content

ModelicaSystem.simulate with csv for inputs #353

Open

Description

@FaBiasch

Hi,

I have the impression that a lot of progress is made with the ModelicaSystem module right now, which is great!

I have a question for the current implementation:
If is use

mod = ModelicaSystem(model_path, model_name)
simargs = {'csvInput': input_file_path}
mod.simulate(resultfile=rslt_file_path, simargs=simargs)

the input csv is always overridden here.
What is the proposed way to set an input via a csv file?

Thx.

Activity

  1. syntron commented on Sep 5, 2025

    @syntron
    Contributor

    @FaBiasch would it be possible for you to set the inputs (= content of the csv file) via the setInputs() method?

    Else it could help to add a wrapper which uses a csv file and defines the content in self._inputs ...

  2. adeas31 commented on Dec 2, 2025

    @adeas31
    Member

    @syntron any update on this?

  3. syntron commented on Mar 6, 2026

    @syntron
    Contributor

    @FaBiasch could you please test PR #447?

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions