José Javier Rubio Rubio -
Your code sets the outputs to 0!
Call SetOutputValue(1, 0.d0) ! Air infiltrations mass rate Call SetOutputValue(2, 0.d0) ! Amount of goods stored
Regards,
Tim
---
--------------------------- Timothy P McDowell Executive Vice President Thermal Energy System Specialists, LLC 3 N Pinckney St, Suite 202 Madison, WI 53703 Phone: 608-274-2577 Cell: 608-225-5250
On 2021-12-14 03:37, RUBIO RUBIO wrote:
Dear all,
I have created and coded a new Type through the integrated tool of FORTRAN in TRNSYS 18 whose purpose is very simple because it is only to do a simple mathematical operation. Even though it compiles properly, when I start a simulation in TRNSYS, the output from the new Type is zero. I have already checked inputs, code and everything but I can figure it out. Anyone might help? I coded a new type in the same way some time ago and it worked perfectly but this time it is impossible. Attached you will find the .f90 for those who want to take a look at the code.
Thank you very much in advance,
Best regards,
José Javier Rubio Rubio
|