[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Recompile TrnsysConstants



Dear Sajid,

when you add Inputs or Outputs in TRNBuild you need to update Type 56 in Simulation Studio by right click  -> update variable list.

Best,
Christoph

Von: TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> im Auftrag von MEHMOOD Sajid via TRNSYS-users <trnsys-users@lists.onebuilding.org>
Gesendet: Freitag, 8. März 2019 13:02
An: TRNSYS users mailing list at OneBuilding.org
Cc: MEHMOOD Sajid
Betreff: Re: [TRNSYS-users] Recompile TrnsysConstants
 
Hi everyone.

I am new user of TRNSYS software. I am using latest version of TRNSYS with sketch up make 17. I modelled a simple room in sketch up and then added all details in TRNBuild. 
Now when i run simulation in TRNSYS software. It gives some results. But after one two simulations it gives error as show in attached figure. Then if i upload again *.b18 file (external file) in type 56 and connect links between type 56 and weather file and collector etc. It works. But again after one two simulation gives error. 

Can anyone please suggest me, how i can fix this error permanently?

Thank you.

Best Regards,
Sajid

From: TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> on behalf of David BRADLEY via TRNSYS-users <trnsys-users@lists.onebuilding.org>
Sent: 23 January 2019 16:42
To: TRNSYS users mailing list at OneBuilding.org
Cc: David BRADLEY
Subject: Re: [TRNSYS-users] Recompile TrnsysConstants
 

Len,

 TrnsysConstants.f90 is part of (compiled into) the TRNDll so you'll need to recompile all of the code and relink it into a new TRNDll. This should not be too difficult if you have access to the Intel Visual Fortran compiler. There is a prebuilt workspace that you can open and use to recompile the DLL. If you do not have that compiler, please tell me which you do have and I'll try to make some other suggestions.

kind regards,

 David


On 01/23/2019 06:52, Rijvers, L.P.M. via TRNSYS-users wrote:

Dear TRNSYS-users,

 

I would like to recompile the TrnsysConstants.f90 file, among others to increase the maximum number of labels.

 

In the last attempt I opened the Cvf66-file with Microsoft Visual Studio. (Re)building the TRNDLL-file resulted in the following error:

Severity

Code

Description

Project

File

Line

Suppression State

Error

MSB3073

The command "copy "Release\TRNDll.dll" "..\..\..\Exe\TRNDll.dll"copy "Release\TRNDll.lib" "..\..\..\Exe\TRNDll.lib":VCEnd" exited with code 1.

TRNDll

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets

138

 

Opening the other files (e.g. lvfCXE2011) was not possible. Note that I am using TRNSYS 17.

 

Can anyone provide me with a guideline on how to successfully recompile the TrnsysConstants.f90 file?

 

Thanks in advance.

 

With kind regards,

 

Len Rijvers

 

cid:image001.png@01D4653F.FFFE2DE0   SBC
              Logo zonder tekst

Len Rijvers

Eindhoven University of Technology

Mechanical Engineering, PDEng trainee Smart Buildings and Cities Program

Gemini-Noord 2.119

T: +31 647 59 29 16

 


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-- 
***************************
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
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.