[TRNSYS-users] TRNOPT reporting weird error when using parametric runs

David BRADLEY d.bradley at tess-inc.com
Mon Aug 8 06:28:17 PDT 2022


Amin,

  Make sure that all of the path names to external files in your project 
are absolute (ie c:\Trnsys18\MyProjects\ProjectX\myBuilding.b18). 
TRNOpt/GenOpt makes a copy of your input file, adds in the present 
values of your variables and runs it from its own location. If you have 
relative paths (ie .\MyProjects\ProjectX\myBuilding.b18) then those 
files don't exist at the specified location once the input file has been 
moved.

kind regards,

  David


On 08/07/2022 19:45, Amin HADDAD via TRNSYS-users wrote:
> Dear all,
>
> I am trying to use TRNOPT for parametric/optimisation runs, but when I 
> run the simulation (after setting all the settings up as shown in the 
> documentation relative to TRNOPT) I get an error message and the 
> simulation stops before even starting. The error is shown in the 
> attached picture 1.
>
> It reports that I need to specify at least one output for the surface 
> number (-1) while this number associated with this supposed surface 
> does not exist at all in my TRNBuild project.
> Also the zone number is not specified in the error message (while 
> there are 2 thermal zones in my project).
>
> If anyone encountered this issue I would grateful to receive help
>
> Best regards,
> Amin
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220808/9d403fc8/attachment.htm>


More information about the TRNSYS-users mailing list