<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hanani,<br>
 I would recommend looking at the Matlab example to make sure that it
runs and that you understand how the communication works between the
two programs, then try to modify it to suit your own needs.<br>
Kind regards,<br>
 David<br>
<br>
<br>
Hanani Abd Wahab wrote:
<blockquote
 cite="mid:c7abb34c0903221348m5ff485dew470c12c4e80138b7@mail.gmail.com"
 type="cite">
  <pre wrap="">HI,

I am new user in TRNSYS . I want to couple between matlab/Simulink and
TRNSYS but I dont know how.
I'd understand that type 155 in TRNSYS is the component to couple both
software agian I dont have any idea how .mdl file work with
TRNSYS........

Let's say like this: I want to design controller using
matlab/Simulink. and I have the model in Simulink  .mdl file. How I
can integrate  this file with TRNSYS? What should I do first,next and
so on....

Can anyone help me to solve this problem?

Thanks a lot in advance,

Regards,

Hanani

2009/3/21  <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users-request@cae.wisc.edu"><trnsys-users-request@cae.wisc.edu></a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Send TRNSYS-users mailing list submissions to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>

To subscribe or unsubscribe via the World Wide Web, visit
       <a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
or, via email, send a message with subject or body 'help' to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-request@cae.wisc.edu">trnsys-users-request@cae.wisc.edu</a>

You can reach the person managing the list at
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-owner@cae.wisc.edu">trnsys-users-owner@cae.wisc.edu</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."

Today's Topics:

  1. Runtime error using Type155 Matlab Calling (<a class="moz-txt-link-abbreviated" href="mailto:baragiak@katamail.com">baragiak@katamail.com</a>)
  2. TRNSYS message 14 (fr?d?ry lavoye)
  3. Re: TRNSYS message 14 (David Bradley)


---------- Forwarded message ----------
From: <a class="moz-txt-link-abbreviated" href="mailto:baragiak@katamail.com">baragiak@katamail.com</a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users@cae.wisc.edu"><trnsys-users@cae.wisc.edu></a>
Date: Fri, 20 Mar 2009 09:41:44 +0100
Subject: [TRNSYS-users] Runtime error using Type155 Matlab Calling
Dear all,

I wrote some small programs in matlab using .m files. I then coupled these .m files with Trnsys16 Studio using the type155 component. They work fine individually, but when i try to make them comunicate, linking outputs from one of them to inputs of another one, i receive this error message:

"Runtime error!

Program: C:\Program Files\Trnsys16\Exe\TRNExe.exe

This application has requested the Runtime to terminate it in an unusual way."

On the other end, liniking the Type155 with a different component, as the weather data reading and processing Type109, doesn't give me the same problem.



Can anyone help me to solve this problem?

Thank a lot in advance
Best regards

Giacomo
________________________________
Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail

---------- Forwarded message ----------
From: "frédéry lavoye" <a class="moz-txt-link-rfc2396E" href="mailto:fredery.lavoye@gmail.com"><fredery.lavoye@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>
Date: Fri, 20 Mar 2009 12:17:40 +0100
Subject: [TRNSYS-users] TRNSYS message 14
Dear trnsys users,
I'm simulating an energetic concept on trnsys simulation studio and i've this error message:
"TRNSYS message 14; the trnsys processor has reported an error while trying to process EQUATIONS and CONSTANTS in the provided TRNSYS input file. The maximum allowable number of constants + equations has been exceeded. Either reduce the number of equations and constants in the input file or increase the limit on the number of equations and constants. If the limit is to be increased, the variable nMaxEquations should be modified in the TrnsysConstants file. The TRNSYS source code will then have to be re-compiled and a new TRNSYS dynamic link librairy created."

I cannot reduce the number of equations and constants otherwise my model is false. How can i re-compiled my TRNSYS source code and is there any risk in doing that ? Furthermore, where can i find the Trnsysconstants file ?
Thanks for your answer.
Best Regards.
Frédéry.

2009/3/19 <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users-request@cae.wisc.edu"><trnsys-users-request@cae.wisc.edu></a>
    </pre>
    <blockquote type="cite">
      <pre wrap="">Send TRNSYS-users mailing list submissions to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>

To subscribe or unsubscribe via the World Wide Web, visit
       <a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
or, via email, send a message with subject or body 'help' to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-request@cae.wisc.edu">trnsys-users-request@cae.wisc.edu</a>

You can reach the person managing the list at
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-owner@cae.wisc.edu">trnsys-users-owner@cae.wisc.edu</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."

Today's Topics:

  1. Runtime error using Type155 Matlab Calling (Giacomo Barale)
  2. Re: (no subject) (David Bradley)


---------- Message transféré ----------
From: "Giacomo Barale" <a class="moz-txt-link-rfc2396E" href="mailto:stage02@ferasrl.it"><stage02@ferasrl.it></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users@cae.wisc.edu"><trnsys-users@cae.wisc.edu></a>
Date: Thu, 19 Mar 2009 10:34:41 +0100
Subject: [TRNSYS-users] Runtime error using Type155 Matlab Calling
Dear all,

I wrote some some small programs in matlab using .m files. I then coupled these .m files with Trnsys16 Studio using the type155 component. They work fine individually, but when i try to make them comunicate, linking outputs from one of them to inputs of another one, i receive this error message:

"Runtime error!

Program: C:\Program Files\Trnsys16\Exe\TRNExe.exe

This application has requested the Runtime to terminate it in an unusual way."

On the other end, liniking the Type155 with a different component, as the weather data reading and processing Type109, doesn't give me the same problem.



Can anyone help me to solve this problem?

Thank a lot in advance
Best regards

Giacomo

---------- Message transféré ----------
From: David Bradley <a class="moz-txt-link-rfc2396E" href="mailto:bradley@tess-inc.com"><bradley@tess-inc.com></a>
To: Giorgos Fragogiannis <a class="moz-txt-link-rfc2396E" href="mailto:gfrago@metal.ntua.gr"><gfrago@metal.ntua.gr></a>
Date: Thu, 19 Mar 2009 11:20:21 -0500
Subject: Re: [TRNSYS-users] (no subject)
Giorgos,
  I would stay with Type753 (heating coil) and Type508 (cooling coil) if indeed that is how the building is being heated and cooled. I am not sure how you are controlling the system but I would recommend putting the zones into temperature level control and adding a thermostat that turns on and off the flow to each coil depending on the temperature of the zone (instead of calculating a zone load and then somehow imposing that on the coils. You may also need to use some diverting valves (Type11) to control whether the water from your heat pump is going to the heating or the cooling coil.
Kind regards,
 David


Giorgos Fragogiannis wrote:

Dear all

I am new user in trnsys and I try to simulate o ground source heat pump system connected to o 7 zone building (type 56), in order to study the interrelation between  ground, HP (water to water), fan coil and building.

My question is what type of fan coil I must used in order to meet  the  heating and cooling demand?

Until now I tried  to solve this problem by using type 753 and 508 simultaneously, but it is difficult to controlled it!



Is the right way to use of water to air heat pump (type 505), as fan coil  or you have any other idea about this problem ?



My Regards

 George Fragogiannis

National Technical University of Athens

School of Mining and Metallurgical Engineering

________________________________
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>


--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                      22 N. Carroll Street - Suite 370
Partner                            Madison, WI 53703
                                   USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a>
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************

_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>

      </pre>
    </blockquote>
    <pre wrap="">

---------- Forwarded message ----------
From: David Bradley <a class="moz-txt-link-rfc2396E" href="mailto:bradley@tess-inc.com"><bradley@tess-inc.com></a>
To: "frédéry lavoye" <a class="moz-txt-link-rfc2396E" href="mailto:fredery.lavoye@gmail.com"><fredery.lavoye@gmail.com></a>
Date: Fri, 20 Mar 2009 11:35:01 -0500
Subject: Re: [TRNSYS-users] TRNSYS message 14
Frédéry,
 the TrnsysConstants file is in the ..\Trnsys16\SourceCode\Kernel directory. The process for recompiling the DLL depends on which compiler you are using. The two most likely are the Compaq Visual Fortran compiler or the Intel Visual Fortran compiler. If you do not have a Fortran compiler then you will need to ask your distributor to create a TRNDll.dll with a higher limit on the number of equations for you.
Kind regards,
 David


frédéry lavoye wrote:

Dear trnsys users,
I'm simulating an energetic concept on trnsys simulation studio and i've this error message:
"TRNSYS message 14; the trnsys processor has reported an error while trying to process EQUATIONS and CONSTANTS in the provided TRNSYS input file. The maximum allowable number of constants + equations has been exceeded. Either reduce the number of equations and constants in the input file or increase the limit on the number of equations and constants. If the limit is to be increased, the variable nMaxEquations should be modified in the TrnsysConstants file. The TRNSYS source code will then have to be re-compiled and a new TRNSYS dynamic link librairy created."

I cannot reduce the number of equations and constants otherwise my model is false. How can i re-compiled my TRNSYS source code and is there any risk in doing that ? Furthermore, where can i find the Trnsysconstants file ?
Thanks for your answer.
Best Regards.
Frédéry.

2009/3/19 <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users-request@cae.wisc.edu"><trnsys-users-request@cae.wisc.edu></a>
    </pre>
    <blockquote type="cite">
      <pre wrap="">Send TRNSYS-users mailing list submissions to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>

To subscribe or unsubscribe via the World Wide Web, visit
       <a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
or, via email, send a message with subject or body 'help' to
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-request@cae.wisc.edu">trnsys-users-request@cae.wisc.edu</a>

You can reach the person managing the list at
       <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-owner@cae.wisc.edu">trnsys-users-owner@cae.wisc.edu</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."

Today's Topics:

  1. Runtime error using Type155 Matlab Calling (Giacomo Barale)
  2. Re: (no subject) (David Bradley)


---------- Message transféré ----------
From: "Giacomo Barale" <a class="moz-txt-link-rfc2396E" href="mailto:stage02@ferasrl.it"><stage02@ferasrl.it></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:trnsys-users@cae.wisc.edu"><trnsys-users@cae.wisc.edu></a>
Date: Thu, 19 Mar 2009 10:34:41 +0100
Subject: [TRNSYS-users] Runtime error using Type155 Matlab Calling
Dear all,

I wrote some some small programs in matlab using .m files. I then coupled these .m files with Trnsys16 Studio using the type155 component. They work fine individually, but when i try to make them comunicate, linking outputs from one of them to inputs of another one, i receive this error message:

"Runtime error!

Program: C:\Program Files\Trnsys16\Exe\TRNExe.exe

This application has requested the Runtime to terminate it in an unusual way."

On the other end, liniking the Type155 with a different component, as the weather data reading and processing Type109, doesn't give me the same problem.



Can anyone help me to solve this problem?

Thank a lot in advance
Best regards

Giacomo

---------- Message transféré ----------
From: David Bradley <a class="moz-txt-link-rfc2396E" href="mailto:bradley@tess-inc.com"><bradley@tess-inc.com></a>
To: Giorgos Fragogiannis <a class="moz-txt-link-rfc2396E" href="mailto:gfrago@metal.ntua.gr"><gfrago@metal.ntua.gr></a>
Date: Thu, 19 Mar 2009 11:20:21 -0500
Subject: Re: [TRNSYS-users] (no subject)
Giorgos,
  I would stay with Type753 (heating coil) and Type508 (cooling coil) if indeed that is how the building is being heated and cooled. I am not sure how you are controlling the system but I would recommend putting the zones into temperature level control and adding a thermostat that turns on and off the flow to each coil depending on the temperature of the zone (instead of calculating a zone load and then somehow imposing that on the coils. You may also need to use some diverting valves (Type11) to control whether the water from your heat pump is going to the heating or the cooling coil.
Kind regards,
 David


Giorgos Fragogiannis wrote:

Dear all

I am new user in trnsys and I try to simulate o ground source heat pump system connected to o 7 zone building (type 56), in order to study the interrelation between  ground, HP (water to water), fan coil and building.

My question is what type of fan coil I must used in order to meet  the  heating and cooling demand?

Until now I tried  to solve this problem by using type 753 and 508 simultaneously, but it is difficult to controlled it!



Is the right way to use of water to air heat pump (type 505), as fan coil  or you have any other idea about this problem ?



My Regards

 George Fragogiannis

National Technical University of Athens

School of Mining and Metallurgical Engineering

________________________________
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>


--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                      22 N. Carroll Street - Suite 370
Partner                            Madison, WI 53703
                                   USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a>
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************

_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>

      </pre>
    </blockquote>
    <pre wrap="">________________________________
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>


--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                      22 N. Carroll Street - Suite 370
Partner                            Madison, WI 53703
                                   USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a>
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************

_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>



  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a> 
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************</pre>
</body>
</html>