<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I’ve read some posts talking about the missing storage
functions in the trnsys.h file, I tried to add them manually, writing :<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'>extern</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <font
color=maroon><span style='color:maroon'>"C"</span></font> <font
color=blue><span style='color:blue'>__declspec</span></font>(<font color=blue><span
style='color:blue'>dllimport</span></font>) <font color=blue><span
style='color:blue'>void</span></font> <font color=blue><span
style='color:blue'>_cdecl</span></font> TRNSYSFUNCTIONS_mp_SETSTORAGEVARS(<font
color=blue><span style='color:blue'>double</span></font>[],<font color=blue><span
style='color:blue'>int</span></font>,<font color=blue><span style='color:blue'>int</span></font>[]);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'>extern</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <font
color=maroon><span style='color:maroon'>"C"</span></font> <font
color=blue><span style='color:blue'>__declspec</span></font>(<font color=blue><span
style='color:blue'>dllimport</span></font>) <font color=blue><span
style='color:blue'>void</span></font> <font color=blue><span
style='color:blue'>_cdecl</span></font> TRNSYSFUNCTIONS_mp_SETSTORAGESIZE(<font
color=blue><span style='color:blue'>int</span></font>,<font color=blue><span
style='color:blue'>int</span></font>[]);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:blue'>extern</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> <font color=maroon><span style='color:maroon'>"C"</span></font>
<font color=blue><span style='color:blue'>__declspec</span></font>(<font
color=blue><span style='color:blue'>dllimport</span></font>) <font color=blue><span
style='color:blue'>void</span></font> <font color=blue><span
style='color:blue'>_cdecl</span></font> TRNSYSFUNCTIONS_mp_GETSTORAGEVARS(<font
color=blue><span style='color:blue'>double</span></font>[],<font color=blue><span
style='color:blue'>int</span></font>,<font color=blue><span style='color:blue'>int</span></font>[]);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>in the “<font
color=green><span style='color:green'>Functions to access TRNSYS global
variables” </span></font>and :<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'>#define</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
setStorageVars TRNSYSFUNCTIONS_mp_SETSTORAGEVARS<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:blue'>#define</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
setStorageSize TRNSYSFUNCTIONS_mp_SETSTORAGESIZE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:blue'>#define</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> getStorageVars
TRNSYSFUNCTIONS_mp_GETSTORAGEVARS<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>In the “<font
color=green><span style='color:green'>Short aliases for functions included in
module TrnsysFunctions + lowercase variants of kernel routines”</span></font>
part of the trnsys.h file.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>But I still get this error
message :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>1>type896.obj : error
LNK2019: symbole externe non résolu __imp__TRNSYSFUNCTIONS_mp_SETSTORAGEVARS
référencé dans la fonction _TYPE896<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face="Courier New"><span lang=EN-GB
style='font-size:8.0pt;font-family:"Courier New"'>1>C:\Program
Files\Trnsys16\UserLib\DebugDLLs\Type896Lib.dll : fatal error LNK1120: 1
externes non résolus<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face="Courier New"><span lang=EN-GB
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>Do you have any idea of how
I could access to those storage functions ?</span></font><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><b><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:black;font-weight:bold'>Rémi PERRIER</span></font></b><span lang=EN-GB><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'><img width=130 height=47 id="_x0000_i1025"
src="cid:image001.jpg@01CABF96.986B02F0" align=baseline border=0></span></font></b><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'>CEA INES</span></font></b><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold'><o:p></o:p></span></font></b></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color="#ff9900"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#FF9900'>Laboratoire
DTS / LETh</span></font><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color=black
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:black'>Bâtiment
PUMA 3, P112</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color=black
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:black'>BP 332 -
50, avenue du Lac Léman - 73377 Le Bourget du Lac FRANCE</span></font><font
size=1 color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color=black
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:black'>Tel :
+33 (0)4 79 44 46 49</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color=black
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:black'>Mobile :
+33 (0)6 76 95 91 86</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color=black
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:black'>Email
: </span></font><a href="mailto:remi.perrier@cea.fr"><font size=1
face=Arial><span style='font-size:7.5pt;font-family:Arial'>remi.perrier@cea.fr</span></font></a><o:p></o:p></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>