Send TRNSYS-users mailing list submissions to
trnsys-users@engr.wisc.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
trnsys-users-request@engr.wisc.edu
You can reach the person managing the list at
trnsys-users-owner@engr.wisc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."
------------------------------------------------------------------------
Today's Topics:
1. RE : [TRNSYS-users] type157.dll (keilholz, werner)
------------------------------------------------------------------------
Subject:
RE : [TRNSYS-users] type157.dll
From:
"keilholz, werner" <werner.keilholz@cstb.fr>
Date:
Mon, 11 Apr 2005 15:44:16 +0200
To:
"'Hilde Breesch'" <Hilde.Breesch@ugent.be>, "'TRNSYS users'"
<trnsys-users@engr.wisc.edu>
To:
"'Hilde Breesch'" <Hilde.Breesch@ugent.be>, "'TRNSYS users'"
<trnsys-users@engr.wisc.edu>
CC:
"keilholz, werner" <werner.keilholz@cstb.fr>
Dear Hilde,
I am in the process of updating our COMIS Web pages for TRNSYS 16
(sorry, it still takes some time). I have just sent you an email
including the updated source code of type 157, the workspace and the
finished DLL in release mode.
If you don't want to bother compiling, just copy
Type157_31.dll
into
Trnsys16\UserLib
and all COMIS 3.1 examples should work (if they don't, please tell me).
If you want to use my compile project, it expects COMIS in \comis32
and Trnsys in \Trnsys16
(There is a slight difference in the way the type has to be compiled
(like for all types, you have to add a line like
!DEC$ATTRIBUTES DLLEXPORT :: TYPE157
to you source, to make the type visible).
If any other COMIS user wants it, please just send me an email.
Werner
--
/ \____ Werner Keilholz
\____/ CSTB Sophia Antipolis
/ \____ BP 209, 06904 SOPHIA ANTIPOLIS, F R A N C E
\____/ phone: +33 (0)4 93 95 67 00 -- fax: +33 (0)4 93 95 67 33
/ \____ Mailto:werner@cstb.fr <mailto:werner@cstb.fr> --
ASPAM=antispamwpk42
\____/ http://evl.cstb.fr/english/team/WK/werner.htm
*** 7èmes Journées TRNSYS francophones : 25-27 Mai 2005 ***
http://software.cstb.fr/events/trnsys7/journees_trnsys7.htm
-----Message d'origine-----
*De :* trnsys-users-bounces@engr.wisc.edu
[mailto:trnsys-users-bounces@engr.wisc.edu] *De la part de* Hilde Breesch
*Envoyé :* vendredi 1 avril 2005 16:34
*À :* TRNSYS users
*Objet :* [TRNSYS-users] type157.dll
Dear TRNSYS-16 users,
I am trying to implement COMIS 3.1 as an external dll (type 157.dll)
in TRNSYS 16 - I have already used the coupling between TRNSYS 15 and
COMIS - but have some problems.
I used CVF 6.6B, followed the instructions in the manual to create a
library of user components (progammer's guide p.8-114 to 116), added
the source code of COMIS (except COMV-MAI.for) and the coupling file
COMV-TRN.for as described in the coupling package of COMIS 3.1-Trnsys
15.3 and succesfully created type157.dll in Trnsys16\Userlib. But I
failed to run the example of calling Comis 'rest_comT16_C31.tpf' and
got the following warmings and errors:
- notice: "Type157.dll" was found but did not contain any components
from the input file.
- notice 2: TRNSYS found at least one user DLL in the UserLib
directory. (Note: Only DLL's including Types that are used in the
simulation are loaded) 0 user DLLs were loaded after searching in
"C:\Trnsys16\UserLib"
- Fatal Error, Generated by Type 157: A TYPE was called in the TRNSYS
input file but was either not linked into trndll.dll or was not found
in an external dll. A dummy subroutine was called in its place. Please
link the TYPE or remove it from the input file
Where did I go wrong? And how can I solve this problem?
best regards,
hilde
Hilde Breesch
PhD student Buildings & Climatic Control
Department of Architecture & Urban Planning
Ghent University
J. Plateaustraat 22, B-9000 GENT
tel. +32 9 264 78 61 fax. +32 9 264 41 85
e-mail: Hilde.Breesch@UGent.be <mailto:Hilde.Breesch@UGent.be>
http://allserv.ugent.be/~hbreesch/research
<http://allserv.ugent.be/%7Ehbreesch/research>
------------------------------------------------------------------------
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users