Dear Leen, This has been done in the past. Essentially Mr. Coffey ran TRNSYS inside TRNSYS so as to simulate a predictive controller based on a combination of TRNSYS and GenOPT. His thesis is available from the link below and the software files are also available online. Check Annex A especially. http://simulationresearch.lbl.gov/GO/publications/BCoffey-MAScThesis-Jun08.pdf George ------------------------------------------------------------------- George Kyriakarakos, Agricultural Engineer MSc Energy Systems & Renewable Energy Sources Agricultural University of Athens, Dept. of Natural Resources and Agricultural Engineering Iera odos street, 75, Athens 11855, Greece Tel. +30.210.5294046 (direct), Fax: +30.210.5294023 Mobile +30.6942.046895 e-mail: <gk@aua.gr> -------------------------------------------------------------------- From: trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] On Behalf Of leen peeters Hi all, I want to design the control of my heating system such that it anticipates upcoming demands. Assume I want the kitchen to heat up to 21 DC at 8 a.m. during week days. When I would model an ideal model prediction, that would mean calling TRNSYS during a TRNSYS simulation. Or in other words stopping the simulation at a certain moment to check what would happen if I provide this or that amount of heat. is there an example for such a trick? thanks, leen |