Hi everyone, So far as my understanding, the procedure to build a
redistributable program is two-step stage: 1.
We build a scenario with components in “Simulation
Studio” to testify our idea. 2.
We create an input file with .trd extension which should be used
in TRNEdit program to build an executable program which is redistributable. Now the issue occurs between the steps. For example, I create a
very simple scenario with two components, one data reader and one online
plotter without file. The data reader is supposed to read 44640(=31x24x60)
values from a file output it to the plotter. The data is supposed to represent
a power plant’s output in January that the simulation timestep is 1 min.
At first I run it without checking “Write Trnsed Commands” in
Controlling cards settings. It displays correctly 44640 values in output
figure( time axis in hour step, so it will plot value from 0-744(31x24) ). Then
I check “Write Trnsed Commands” and rerun the simulation. The
output can only be from 0-672 (28 x 24). I find that there is no such 31 value
setting in Length.dat file. But even I add such setting it still can’t
work correctly. Now
my question is why the Simulation Studio can’t work properly only with
“Write Trnsed Commands” in different conditions. This problem is a big obstacle for us to build a correct
redistributable as the results are different based on the same input files!
Looking forward to your help. Thanks. Regards, qichao |