-
Hello, I am currently using the pythonfmu library in a Python environment to generate FMU files. When I run my generated FMU file and observe the plot, I notice that the time (s) is displayed as 1. I suspect this might be due to the Default Experiment settings not being configured properly. Could you please provide me with the code to set the start time, stop time, and step size in the Default Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In your constructor, you would have something like: self.default_experiment = DefaultExperiment(start_time=0) However, the issue is probably not related to the default experiment as it is just static information written in the XML file. You may also edit the XML directly to change these values (which may or may not be used for anything depending on the importer) |
Beta Was this translation helpful? Give feedback.
In your constructor, you would have something like:
However, the issue is probably not related to the default experiment as it is just static information written in the XML file. You may also edit the XML directly to change these values (which may or may not be used for anything depending on the importer)