First time here? Check out the Help page!
1 | initial version |
If you set the communication step to 1 hour, then you get hourly values. Please see the external interface documentation.
I don't know what you mean by storing (Troom, Texternal) as a matrix in Modelica. These are real signals, which you can assemble into an array with Modelica.Blocks.Routing.Multiplex2
. Modelica tools write their results as time series, so this is a matrix form with time in the first column and the results in the other columns.
If you want to store old values in the Modelica model, such as for use in a controller, you can program a block that does this, or use Modelica.Blocks.Discrete.UnitDelay
to delay the signal value by some sample period.