Resource

Test model reads the first character from resources/y.txt during initialization and applies its integer value to y.

with the variables

Variable Start Unit Causality Variability Description
time independent continuous Simulation time
y output discrete Value of the first character in resources/y.txt

The plot shows the trajectories of the output variables computed with fmusim.

fmusim --interface-type me --solver cvode --output-interval 1 --output-file Resource_out.csv Resource.fmu

plot