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

Re: [TRNSYS-users] Creating new components with g95



I was able to successfully create a simple working component using g95.  If anyone else requires assistance with this, I can help out as much as I am able.  My email address is    urbanej@appstate.edu   


2009/4/30 <trnsys-users-request@cae.wisc.edu>
Send TRNSYS-users mailing list submissions to
       trnsys-users@cae.wisc.edu

To subscribe or unsubscribe via the World Wide Web, visit
       https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
       trnsys-users-request@cae.wisc.edu

You can reach the person managing the list at
       trnsys-users-owner@cae.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: TRNBuild problem. (David Bradley)
  2. Creating new components with g95 (Eric Urban)
  3. Problem in tracing the runtime errors (a8304506@graduate.hku.hk)
  4. Re: Problem in tracing the runtime errors (David Bradley)
  5. Re: single Room simulation (David Bradley)


---------- Forwarded message ----------
From: David Bradley <bradley@tess-inc.com>
To: baseplast <baseplast@mail.ru>
Date: Wed, 29 Apr 2009 13:39:55 -0500
Subject: Re: [TRNSYS-users] TRNBuild problem.
Please contact the distributor from whom you originally purchased TRNSYS. If you aren't sure who to contact, please send me your user16.id file and I will find the right person. If you do not have the user16.id file, please send me your institution name, address, username, etc and I will try to find it in the data base.
Kind regards,
David


baseplast wrote:
Hi,
had virus attack on my pc, lost the TRNBuild.exe file, please, can
anyone send me this file or upload somewhere?
version 16.002.

tanx a lot


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users



 

--
***********************************************************************
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: bradley@tess-inc.com Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

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




---------- Forwarded message ----------
From: Eric Urban <ericjurban@gmail.com>
To: trnsys-users@cae.wisc.edu
Date: Wed, 29 Apr 2009 19:00:27 -0400
Subject: [TRNSYS-users] Creating new components with g95
I don't know if anyone has addressed this yet, but has anyone successfully recompiled TRNDll.dll with a new type subroutine using the open source fortran 95 compiler g95?  I am stumped.


---------- Forwarded message ----------
From: a8304506@graduate.hku.hk
To: Trnsys discussion group <trnsys-users@engr.wisc.edu>
Date: Thu, 30 Apr 2009 15:17:59 +0800
Subject: [TRNSYS-users] Problem in tracing the runtime errors
Hello, Trnsys users.

I get an "Invalid floating point operation" error when running a simulation.
However, I can't find any information about the error source in the .lst file.
Does anyone know if there is any method to trace at which component (and
hopefully at which line) does the error come from?  Your reply is appreciated.
Thank you!

Best Regards
LEE, Chun Kwong
Division of Building Science and Technology
City University of Hong Kong








---------- Forwarded message ----------
From: David Bradley <bradley@tess-inc.com>
To: a8304506@graduate.hku.hk
Date: Thu, 30 Apr 2009 11:31:16 -0500
Subject: Re: [TRNSYS-users] Problem in tracing the runtime errors
Chun Kwong,
  An invalid floating point error is a generic error generated by the DLL when a problem was not caught in the code. For example, a division by zero or sometimes taking the log of a negative number will cause an invalid floating point error. The fortran code of the Type should always check such arguments before executing the division or taking the log but it doesn't always.

  The first thing to do is to go into the Studio control cards (where you set the simulation time step, start time, etc.) and switch the "debug mode" to "true." This will make your simulation run a good bit more slowly but will check two conditions that can cause those invalid floating points (it checks to see if an output got set to "NaN" and it checks to make sure that no Types are writing outside of their allotted OUT() array space.

  If that does not lead you to the solution and you are able to run the simulation from the compiler in debug mode, it will sometimes stop and indicate the line that caused the error.

  If neither of those solves the problem, please send me your input file and any external files that I need in order to run it and I will see what I can do about finding the cause of the error.

Kind regards,
 David


a8304506@graduate.hku.hk wrote:
Hello, Trnsys users.

I get an "Invalid floating point operation" error when running a simulation. 
However, I can't find any information about the error source in the .lst file. 
Does anyone know if there is any method to trace at which component (and
hopefully at which line) does the error come from?  Your reply is appreciated. 
Thank you!

Best Regards
LEE, Chun Kwong
Division of Building Science and Technology
City University of Hong Kong





  

_______________________________________________ TRNSYS-users mailing list TRNSYS-users@cae.wisc.edu https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users

-- 
***********************************************************************
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: bradley@tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

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


---------- Forwarded message ----------
From: David Bradley <bradley@tess-inc.com>
To: Sebastian Schlott <ses@kbp.de>
Date: Thu, 30 Apr 2009 12:01:12 -0500
Subject: Re: [TRNSYS-users] single Room simulation
Sebastian,
 I would think that all you would need would be Type56 and Type109 (plus Type33 and Type69 I think). You can just set the cooling temperature in your zones to 24.2C and allow the cooling equipment to have unlimited power, then take a look at the maximum cooling load that was required. That should give you the required system size. Keep in mind three things:

1. Type109 reads a typical (average) weather year file - not an extreme one and typically (right or wrong) system sizing is done based on a worst-case scenario, not on an average year.

2. If you plan for your lab to have temperature setups and setbacks, your max cooling load will be enormous because technically the load is infinite when your set point temperature comes back from its set up condition. I would recommend using a constant setpoint in order to find your system size.

3. The Type56 output QSENS is sensible cooling only! In order to get a latent component, you must also impose an RH setpoint on the zone and look at the QLAT output from Type56. This isn't ideal because often the latent cooling is an effect of the sensible cooling (not something that can be controlled separately). We wrote a component based on some curve fits that calculate the amount of latent cooling that a "cooling coil type" of cooling device can do based on zone temperature and ambient wet bulb (If I am remembering correctly). Its latent cooling ability turns into a negative moisture gain on the space, which is fed back to Type56. The component will be part of the TESSLibs 3.0 but for the moment is an individual component.
Kind regards,
David


Sebastian Schlott wrote:
My Problem,

I have 2 rooms, used as a lab.

In this rooms there is a thermal load of 15kw which has to be cooled away.

The ambition is the simulation of the room temperature. Target: 24°C +- 0,2 °C
Question: Is the installed system strong enough, which systempower do I need?

At the moment the installed system has not the ability to cool 15 kw away.

is it enough to use the build (type56) and weather data(Type109) to simulate this situation?

Mit freundlichem Gruß

i. A. Sebastian Schlott


------------------------------------
Kuehn Bauer Partner
Beratende Ingenieure GmbH
Wilhelm-Wagenfeld-Strasse 6
80807 München

T: +49 89 189 16-182
F: +49 89 189 16-110
E: ses@kbp.de

Geschäftsführung: Michael Kuehn jr.
HRB 102024
------------------------------------
 

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users



 

--
***********************************************************************
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: bradley@tess-inc.com Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

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



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users