Hoofar, GenOpt is presumably adjusting the values of some constants in
your input file. Could you simply send the values of those
constants to your printer? Admittedly you'd have some columns in
your output file whose values are the same for every time step of
your simulation but I think that from one run to the next those
values would reflect the value that GenOpt ran, not the value that
you originally set.
Essentially you'd have an equation in your project that sets a variable (one that GenOpt is going to modify) such as AREA = 6. You'd then connect AREA to your printer, which is in append mode. When GenOpt runs, it makes a copy of your input file, renames it, and moves it to its own directory (.\TrnsysXX\Optimization\GenOpt\Simulation\tmp-genopt-run-xxx\GenoptInputFile.dck). Any output files that the *.dck (input file) generates will also be in that folder.
Again, I am not sure this will work but it may be worth a try. regards, David
On 05/06/2019 15:04, Hemmatabady,
Hoofar via TRNSYS-users wrote:
-- *************************** David BRADLEY Principal Thermal Energy Systems Specialists, LLC 3 North Pinckney Street - suite 202 Madison, WI 53703 USA P:+1.608.274.2577 F:+1.608.278.1475 d.bradley@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |